Post Go back to editing

AD7768-1 buffer not functioning on custom Yocto image. DE10-Nano/CN0540

Category: Software
Product Number: ad7768-1

I have created a custom Yocto image for use with the DE10-Nano and CN0540. The AD7768-1's buffer does not work, however the rest of its functions seem to work correctly. I have confirmed it's not a hardware issue by using the Kuiper image provided.

If I try to use the buffer by doing:

> echo 1 > scan_elements/in_voltage0_en
> echo 1 > buffer/enable
> cat /dev/iio:device0 | hexdump

the device will crash and reboot, unless I set the length of the buffer to one with:

> echo 1 > buffer/length

then the device will still crash, but instead of rebooting it repeatedly outputs:

[  441.310599] rcu: INFO: rcu_sched self-detected stall on CPU
[  441.316258] rcu:     0-....: (2099 ticks this GP) idle=10f/1/0x40000002 softirq=2509/2509 fqs=1033
[  441.325163]  (t=2100 jiffies g=497 q=7)
[  441.329057] NMI backtrace for cpu 0
[  441.332592] CPU: 0 PID: 163 Comm: cat Not tainted 5.15.0-yocto-standard-adi #1
[  441.339927] Hardware name: Altera SOCFPGA
[  441.343988] Backtrace:
[  441.346453] [<c0d914b0>] (dump_backtrace) from [<c0d916fc>] (show_stack+0x20/0x24)
[  441.354073]  r7:c010edfc r6:00000000 r5:60070193 r4:c143b218
[  441.359801] [<c0d916dc>] (show_stack) from [<c0d94ecc>] (dump_stack_lvl+0x48/0x54)
[  441.367360] [<c0d94e84>] (dump_stack_lvl) from [<c0d94ef0>] (dump_stack+0x18/0x1c)
[  441.374907]  r5:00000000 r4:20070193
[  441.378525] [<c0d94ed8>] (dump_stack) from [<c05850fc>] (nmi_cpu_backtrace+0xe0/0x114)
[  441.386424] [<c058501c>] (nmi_cpu_backtrace) from [<c0585218>] (nmi_trigger_cpumask_backtrace+0xe8/0x134)
[  441.395965]  r7:c010edfc r6:c0e01ee4 r5:c170469c r4:00000000
[  441.401597] [<c0585130>] (nmi_trigger_cpumask_backtrace) from [<c010fd68>] (arch_trigger_cpumask_backtrace+0x20/0x24)
[  441.412180]  r9:c1703f10 r8:c0e01ee0 r7:c1835438 r6:00000000 r5:c1703fa4 r4:c171e840
[  441.419886] [<c010fd48>] (arch_trigger_cpumask_backtrace) from [<c0d9340c>] (rcu_dump_cpu_stacks+0x144/0x174)
[  441.429922] [<c0d932c8>] (rcu_dump_cpu_stacks) from [<c0198490>] (rcu_sched_clock_irq+0x6a8/0xa58)
[  441.438860]  r10:2e138000 r9:c1702d00 r8:c1693f40 r7:c18361a0 r6:00000000 r5:ef7cbf40
[  441.446784]  r4:c171e840
[  441.449304] [<c0197de8>] (rcu_sched_clock_irq) from [<c01a354c>] (update_process_times+0x98/0xc4)
[  441.458174]  r10:c1702d80 r9:c1702d40 r8:c184fd40 r7:2e138000 r6:c1702d00 r5:00000000
[  441.465969]  r4:ef7c5540
[  441.468524] [<c01a34b4>] (update_process_times) from [<c01b74e0>] (tick_sched_timer+0x88/0x2d8)
[  441.477198]  r7:c1ea9dc0 r6:00000066 r5:bf87a4da r4:ef7c6128
[  441.482830] [<c01b7458>] (tick_sched_timer) from [<c01a4260>] (__hrtimer_run_queues+0x1fc/0x36c)
[  441.491730]  r10:ef7c5e14 r9:ef7c6128 r8:20070193 r7:00000000 r6:c01b7458 r5:ef7c5dc0
[  441.499645]  r4:ef7c5e00
[  441.502183] [<c01a4064>] (__hrtimer_run_queues) from [<c01a5158>] (hrtimer_interrupt+0x13c/0x2c8)
[  441.511041]  r10:ef7c5e98 r9:ef7c5e70 r8:ef7c5e48 r7:ef7c5dcc r6:00000003 r5:20070193
[  441.518836]  r4:ef7c5dc0
[  441.521357] [<c01a501c>] (hrtimer_interrupt) from [<c0110744>] (twd_handler+0x44/0x4c)
[  441.529394]  r10:c1ea8000 r9:c1ea9dc0 r8:f080210c r7:c1d08240 r6:00000018 r5:c17046b4
[  441.537301]  r4:00000001
[  441.539821] [<c0110700>] (twd_handler) from [<c01838c8>] (handle_percpu_devid_irq+0x9c/0x200)
[  441.548321]  r5:c17046b4 r4:c1d09000
[  441.551888] [<c018382c>] (handle_percpu_devid_irq) from [<c017ced4>] (handle_domain_irq+0x6c/0x88)
[  441.560961]  r7:0000001d r6:00000000 r5:00000000 r4:c1692a14
[  441.566593] [<c017ce68>] (handle_domain_irq) from [<c0101300>] (gic_handle_irq+0x88/0x9c)
[  441.574767]  r7:c1692a20 r6:f0802100 r5:c177a344 r4:c17046b4
[  441.580494] [<c0101278>] (gic_handle_irq) from [<c0100afc>] (__irq_svc+0x5c/0x78)
[  441.587952] Exception stack(0xc1ea9dc0 to 0xc1ea9e08)
[  441.593047] 9dc0: c28b3700 00000000 00000000 00000003 00001000 c28b3700 c2b47f40 befe9c04
[  441.601193] 9de0: c28b3774 befe9c04 c1ea8000 c1ea9e24 c1ea9e28 c1ea9e10 c0a95530 c0a949ac
[  441.609342] 9e00: 20070013 ffffffff
[  441.612863]  r9:c1ea8000 r8:c28b3774 r7:c1ea9df4 r6:ffffffff r5:20070013 r4:c0a949ac
[  441.620699] [<c0a949a0>] (iio_dma_buffer_dequeue) from [<c0a95530>] (iio_dma_buffer_read+0x148/0x19c)
[  441.629894]  r5:c28b3700 r4:00001000
[  441.633452] [<c0a953e8>] (iio_dma_buffer_read) from [<c0952618>] (iio_buffer_read+0x178/0x228)
[  441.642168]  r10:c1ea8000 r9:befe9c04 r8:00001000 r7:00000400 r6:00000002 r5:c1e43000
[  441.649962]  r4:c28b3700
[  441.652483] [<c09524a0>] (iio_buffer_read) from [<c0954b24>] (iio_buffer_read_wrapper+0x2c/0x38)
[  441.661248]  r10:00000003 r9:c0954af8 r8:00001000 r7:00000001 r6:c1ea8000 r5:c1ea9f60
[  441.669050]  r4:c2b28540
[  441.671571] [<c0954af8>] (iio_buffer_read_wrapper) from [<c02b2da8>] (vfs_read+0xc4/0x320)
[  441.679817] [<c02b2ce4>] (vfs_read) from [<c02b348c>] (ksys_read+0x74/0xec)
[  441.686766]  r10:00000003 r9:00000000 r8:00000000 r7:befe9c04 r6:c1ea8000 r5:c2b28540
[  441.694560]  r4:c2b28540
[  441.697081] [<c02b3418>] (ksys_read) from [<c02b351c>] (sys_read+0x18/0x1c)
[  441.704027]  r9:c1ea8000 r8:c0100244 r7:00000003 r6:b6f681a0 r5:befe9c04 r4:00001000
[  441.711733] [<c02b3504>] (sys_read) from [<c0100060>] (ret_fast_syscall+0x0/0x48)
[  441.719310] Exception stack(0xc1ea9fa8 to 0xc1ea9ff0)
[  441.724344] 9fa0:                   00001000 befe9c04 00000003 befe9c04 00001000 00000000
[  441.732488] 9fc0: 00001000 befe9c04 b6f681a0 00000003 00000000 01000000 00000003 befe9c04
[  441.740769] 9fe0: 00000003 befe9bb8 b6e6070f b6de1ae6

every ~20 seconds.

If I try to use:

> iio_readdev ad7768-1

I get the error:

> Unable to refill buffer: Connection timed out (110)

The output of

> iio_info

is:

Library version: 0.23 (git tag: 92d6a35)
Compiled with backends: local xml ip usb serial
IIO context created with local backend.
Backend version: 0.23 (git tag: 92d6a35)
Backend description string: Linux VibMonProto 5.15.0-yocto-standard-adi #1 SMP Thu Apr 27 16:34:06 UTC 2023 armv7l
IIO context has 2 attributes:
        local,kernel: 5.15.0-yocto-standard-adi
        uri: local:
IIO context has 5 devices:
        iio:device0: ad7768-1 (buffer capable)
                1 channels found:
                        voltage0:  (input, index: 0, format: le:s24/32>>8)
                        3 channel-specific attributes found:
                                attr  0: label value: (null)
                                attr  1: raw value: -2246463
                                attr  2: scale value: 0.000488281
                4 device-specific attributes found:
                                attr  0: common_mode_voltage value: (AVDD1-AVSS)/2
                                attr  1: common_mode_voltage_available value: (AVDD1-AVSS)/2 2V5 2V05 1V9 1V65 1V1 0V9 OFF
                                attr  2: sampling_frequency value: 256000
                                attr  3: sampling_frequency_available value: 256000 128000 64000 32000 16000 8000 4000 2000 1000
                3 buffer-specific attributes found:
                                attr  0: data_available value: 0
                                attr  1: length_align_bytes value: 16
                                attr  2: watermark value: 2048
                1 debug attributes found:
                                debug attr  0: direct_reg_access value: 0x0
                No trigger on this device
        iio:device1: ltc2308
                8 channels found:
                        voltage6:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 175
                                attr  1: scale value: 1.000000000
                        voltage3:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 163
                                attr  1: scale value: 1.000000000
                        voltage7:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 166
                                attr  1: scale value: 1.000000000
                        voltage0:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 162
                                attr  1: scale value: 1.000000000
                        voltage4:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 169
                                attr  1: scale value: 1.000000000
                        voltage1:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 165
                                attr  1: scale value: 1.000000000
                        voltage5:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 168
                                attr  1: scale value: 1.000000000
                        voltage2:  (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 161
                                attr  1: scale value: 1.000000000
                2 device-specific attributes found:
                                attr  0: sleep_mode value: DISABLED
                                attr  1: sleep_mode_available value: DISABLED ENABLED
                No trigger on this device
        iio:device2: one-bit-adc-dac
                8 channels found:
                        voltage0:  (input)
                        2 channel-specific attributes found:
                                attr  0: label value: cn0540_sw_ff_gpio
                                attr  1: raw value: 0
                        voltage1:  (output)
                        2 channel-specific attributes found:
                                attr  0: label value: cn0540_red_led
                                attr  1: raw value: 0
                        voltage5:  (output)
                        2 channel-specific attributes found:
                                attr  0: label value: cn0540_FDA_DIS
                                attr  1: raw value: 0
                        voltage0:  (output)
                        2 channel-specific attributes found:
                                attr  0: label value: cn0540_blue_led
                                attr  1: raw value: 0
                        voltage3:  (output)
                        2 channel-specific attributes found:
                                attr  0: label value: cn0540_ad7768-1-gpio0
                                attr  1: raw value: 0
                        voltage6:  (output)
                        2 channel-specific attributes found:
                                attr  0: label value: cn0540_FDA_MODE
                                attr  1: raw value: 0
                        voltage2:  (output)
                        2 channel-specific attributes found:
                                attr  0: label value: cn0540_shutdown_gpio
                                attr  1: raw value: 0
                        voltage4:  (output)
                        2 channel-specific attributes found:
                                attr  0: label value: cn0540_ad7768-1-gpio1
                                attr  1: raw value: 0
                No trigger on this device
        iio:device3: ltc2606
                1 channels found:
                        voltage0:  (output)
                        5 channel-specific attributes found:
                                attr  0: powerdown value: 0
                                attr  1: powerdown_mode value: 90kohm_to_gnd
                                attr  2: powerdown_mode_available value: 90kohm_to_gnd
                                attr  3: raw value: 32768
                                attr  4: scale value: 0.062500000
                No trigger on this device
        iio_sysfs_trigger:
                0 channels found:
                2 device-specific attributes found:
                                attr  0: add_trigger ERROR: Permission denied (13)
                                attr  1: remove_trigger ERROR: Permission denied (13)
                No trigger on this device

The custom image uses the adi kernel fork for its kernel, u-boot-socfpga for its u-boot by utilizing meta-altera, and CN0540 HDL to program the FPGA.

The HDL is compiled and converted to rbf FPPx16, then loaded onto the FPGA by modifying the U-boot bootcmd to include:

fatload mmc 0:1 0x2000000 fpga_design.rbf;
fpga load 0 0x2000000 0x700000;
bridge enable;

The socfpga_cyclone5_de10_nano_cn0540.dts device tree, and socfpga_adi_defconfig are used to configure the kernel.

sysvinit is changed to systemd as well.

Is there a step I'm missing to use this device with a custom image?

Parents
  • I suspect the issue may lie with the DMA interrupt rx-dma 

    Before running > iio_readdev ad7768-1
    
               CPU0       CPU1
     16:       8772       8971     GIC-0  29 Edge      twd
     17:          0          0     GIC-0 199 Level     timer0
     18:          0          0     GIC-0 208 Level     arm-pmu
     19:          0          0     GIC-0 209 Level     arm-pmu
     20:          0          0     GIC-0 136 Level     ffe01000.pdma
     21:        465          0     GIC-0 137 Level     ffe01000.pdma
     22:          0          0     GIC-0 138 Level     ffe01000.pdma
     23:          0          0     GIC-0 139 Level     ffe01000.pdma
     24:          0          0     GIC-0 140 Level     ffe01000.pdma
     25:          0          0     GIC-0 141 Level     ffe01000.pdma
     26:          0          0     GIC-0 142 Level     ffe01000.pdma
     27:          0          0     GIC-0 143 Level     ffe01000.pdma
     28:          0          0     GIC-0 207 Level     ff706000.fpgamgr
     29:          0          0     GIC-0 152 Level     eth0
     30:        123          0     GIC-0 190 Level     ffc04000.i2c
     31:          0          0     GIC-0 191 Level     ffc05000.i2c
     33:      34906          0     GIC-0 171 Level     dw-mci
     38:         96          0     GIC-0 194 Level     ttyS0
     40:          0          0     GIC-0 160 Level     ffb40000.usb, ffb40000.usb, dwc2_hsotg:usb1
     41:          0          0     GIC-0  75 Level     ff30a000.altera_spi
     42:          0          0     GIC-0  79 Level     ff280000.dma
     43:          0          0     GIC-0  76 Level     ff220000.rx-dma
     44:         13          0     GIC-0  77 Level     ff230000.spi_engine
    IPI1:          0          0  Timer broadcast interrupts
    IPI2:       4599      11586  Rescheduling interrupts
    IPI3:        311       1944  Function call interrupts
    IPI4:          0          0  CPU stop interrupts
    IPI5:          0          0  IRQ work interrupts
    IPI6:          0          0  completion interrupts
    Err:          0
    
    
    After running > iio_readdev ad7768-1
    
    
               CPU0       CPU1
     16:      20729      20423     GIC-0  29 Edge      twd
     17:          0          0     GIC-0 199 Level     timer0
     18:          0          0     GIC-0 208 Level     arm-pmu
     19:          0          0     GIC-0 209 Level     arm-pmu
     20:          0          0     GIC-0 136 Level     ffe01000.pdma
     21:        534          0     GIC-0 137 Level     ffe01000.pdma
     22:          0          0     GIC-0 138 Level     ffe01000.pdma
     23:          0          0     GIC-0 139 Level     ffe01000.pdma
     24:          0          0     GIC-0 140 Level     ffe01000.pdma
     25:          0          0     GIC-0 141 Level     ffe01000.pdma
     26:          0          0     GIC-0 142 Level     ffe01000.pdma
     27:          0          0     GIC-0 143 Level     ffe01000.pdma
     28:          0          0     GIC-0 207 Level     ff706000.fpgamgr
     29:          0          0     GIC-0 152 Level     eth0
     30:        189          0     GIC-0 190 Level     ffc04000.i2c
     31:          0          0     GIC-0 191 Level     ffc05000.i2c
     33:      40639          0     GIC-0 171 Level     dw-mci
     38:        154          0     GIC-0 194 Level     ttyS0
     40:          0          0     GIC-0 160 Level     ffb40000.usb, ffb40000.usb, dwc2_hsotg:usb1
     41:          0          0     GIC-0  75 Level     ff30a000.altera_spi
     42:          0          0     GIC-0  79 Level     ff280000.dma
     43:      13592          0     GIC-0  76 Level     ff220000.rx-dma
     44:         15          0     GIC-0  77 Level     ff230000.spi_engine
    IPI1:          0          0  Timer broadcast interrupts
    IPI2:       4756      11782  Rescheduling interrupts
    IPI3:        311       1958  Function call interrupts
    IPI4:          0          0  CPU stop interrupts
    IPI5:          0          0  IRQ work interrupts
    IPI6:          0          0  completion interrupts
    Err:          0
    
    Before running > iio_readdev ad7768-1
    
    
               CPU0       CPU1
     24:       3055       3223     GIC-0  29 Edge      twd
     25:          0          0     GIC-0 199 Level     timer0
     26:          0          0     GIC-0 201 Level     timer2
     27:          0          0     GIC-0 202 Level     timer3
     28:          0          0     GIC-0 208 Level     arm-pmu
     29:          0          0     GIC-0 209 Level     arm-pmu
     30:          0          0     GIC-0 136 Level     ffe01000.pdma
     31:         29          0     GIC-0 137 Level     ffe01000.pdma
     32:          0          0     GIC-0 138 Level     ffe01000.pdma
     33:          0          0     GIC-0 139 Level     ffe01000.pdma
     34:          0          0     GIC-0 140 Level     ffe01000.pdma
     35:          0          0     GIC-0 141 Level     ffe01000.pdma
     36:          0          0     GIC-0 142 Level     ffe01000.pdma
     37:          0          0     GIC-0 143 Level     ffe01000.pdma
     38:          0          0     GIC-0 207 Level     ff706000.fpgamgr
     39:          0          0     GIC-0 152 Level     end0
     40:          2          0     GIC-0 190 Level     ffc04000.i2c
     41:          0          0     GIC-0 191 Level     ffc05000.i2c
     43:       9116          0     GIC-0 171 Level     dw-mci
     46:         22          0     GIC-0 194 Level     ttyS0
     48:          0          0     GIC-0 160 Level     ffb40000.usb, ffb40000.usb, dwc2_hsotg:usb1
     49:          0          0     GIC-0 203 Edge      ffd02000.watchdog
     50:          0          0     GIC-0  75 Level     ff30a000.spi
     51:          0          0     GIC-0  79 Level     ff280000.dma
     52:          0          0     GIC-0  76 Level     ff220000.rx-dma
     53:         13          0     GIC-0  77 Level     ff230000.spi
    IPI0:          0          0  CPU wakeup interrupts
    IPI1:          0          0  Timer broadcast interrupts
    IPI2:         28         36  Rescheduling interrupts
    IPI3:        758       5790  Function call interrupts
    IPI4:          0          0  CPU stop interrupts
    IPI5:          0          0  IRQ work interrupts
    IPI6:          0          0  completion interrupts
    Err:          0
    
    
    After running > iio_readdev ad7768-1
    
    
               CPU0       CPU1
     24:      11164      11811     GIC-0  29 Edge      twd
     25:          0          0     GIC-0 199 Level     timer0
     26:          0          0     GIC-0 201 Level     timer2
     27:          0          0     GIC-0 202 Level     timer3
     28:          0          0     GIC-0 208 Level     arm-pmu
     29:          0          0     GIC-0 209 Level     arm-pmu
     30:          0          0     GIC-0 136 Level     ffe01000.pdma
     31:         66          0     GIC-0 137 Level     ffe01000.pdma
     32:          0          0     GIC-0 138 Level     ffe01000.pdma
     33:          0          0     GIC-0 139 Level     ffe01000.pdma
     34:          0          0     GIC-0 140 Level     ffe01000.pdma
     35:          0          0     GIC-0 141 Level     ffe01000.pdma
     36:          0          0     GIC-0 142 Level     ffe01000.pdma
     37:          0          0     GIC-0 143 Level     ffe01000.pdma
     38:          0          0     GIC-0 207 Level     ff706000.fpgamgr
     39:          0          0     GIC-0 152 Level     end0
     40:          2          0     GIC-0 190 Level     ffc04000.i2c
     41:          0          0     GIC-0 191 Level     ffc05000.i2c
     43:      10167          0     GIC-0 171 Level     dw-mci
     46:         48          0     GIC-0 194 Level     ttyS0
     48:          0          0     GIC-0 160 Level     ffb40000.usb, ffb40000.usb, dwc2_hsotg:usb1
     49:          0          0     GIC-0 203 Edge      ffd02000.watchdog
     50:          0          0     GIC-0  75 Level     ff30a000.spi
     51:          0          0     GIC-0  79 Level     ff280000.dma
     52:          2          0     GIC-0  76 Level     ff220000.rx-dma
     53:         15          0     GIC-0  77 Level     ff230000.spi
    IPI0:          0          0  CPU wakeup interrupts
    IPI1:          0          0  Timer broadcast interrupts
    IPI2:         30         37  Rescheduling interrupts
    IPI3:        767       6372  Function call interrupts
    IPI4:          0          0  CPU stop interrupts
    IPI5:          0          0  IRQ work interrupts
    IPI6:          0          0  completion interrupts
    Err:          0
    
     the attached files show the result of > cat /proc/interrupts before and after trying to read the ADC on the Kuiper image provided and my custom image. I patched the ad7768-1.c driver at this line to print out spi->irq and the result was 0. Does this mean something is configured wrong and the driver is not getting any interrupts?

  • spi->irq being 0 is expected according to your devicetree - there is no irq specified there for ad7768-1. That's correct since I guess you want to use iio_dmaengine_buffer instead of iio_triggered_buffer.

    However, there are only 2 ff220000.rx-dma irqs triggered on you custom image, while in the demo image there are many more.

    Can you share the entire booting log?

    Thanks,
    Dragos

  • Ok, that makes sense with the interrupt.

    U-Boot SPL 2021.04-14499-gfcb08e4ed9-dirty (Aug 27 2021 - 05:31:08 +0000)
    Trying to boot from MMC1
    
    
    U-Boot 2021.04-14499-gfcb08e4ed9-dirty (Aug 27 2021 - 05:31:08 +0000)
    
    CPU:   Altera SoCFPGA Platform
    FPGA:  Altera Cyclone V, SE/A6 or SX/C6 or ST/D6, version 0x0
    BOOT:  SD/MMC Internal Transceiver (3.0V)
           Watchdog enabled
    DRAM:  1 GiB
    MMC:   dwmmc0@ff704000: 0
    Loading Environment from MMC... *** Warning - bad CRC, using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    Model: Terasic DE10-Nano
    Net:
    Error: ethernet@ff702000 address not set.
    No ethernet found.
    
    Hit any key to stop autoboot:  0
    --- Programming FPGA ---
    7007204 bytes read in 351 ms (19 MiB/s)
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    Found /extlinux/extlinux.conf
    Retrieving file: /extlinux/extlinux.conf
    233 bytes read in 4 ms (56.6 KiB/s)
    1:      Cyclone5 SOCDK SDMMC
    Retrieving file: /extlinux/../zImage
    8306440 bytes read in 417 ms (19 MiB/s)
    append: root=/dev/mmcblk0p3 rootwait rw earlycon console=,115200
    Retrieving file: /extlinux/../socfpga_cyclone5_de10_nano_cn0540.dtb
    24316 bytes read in 6 ms (3.9 MiB/s)
    ## Flattened Device Tree blob at 02000000
       Booting using the fdt blob at 0x2000000
       Loading Device Tree to 09ff7000, end 09fffefb ... OK
    
    Starting kernel ...
    
    Deasserting all peripheral resets
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 5.10.0-yocto-standard-adi (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.40.20230119) #1 SMP Thu Jun 1 14:38:12 UTC 2023
    [    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: Terasic DE10-Nano
    [    0.000000] earlycon: uart0 at MMIO32 0xffc02000 (options '115200n8')
    [    0.000000] printk: bootconsole [uart0] enabled
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] cma: Reserved 128 MiB at 0x38000000
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
    [    0.000000]   HighMem  [mem 0x0000000030000000-0x000000003fffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000000000000-0x000000003fffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
    [    0.000000] percpu: Embedded 19 pages/cpu s45324 r8192 d24308 u77824
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260608
    [    0.000000] Kernel command line: root=/dev/mmcblk0p3 rootwait rw earlycon console=,115200
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 883944K/1048576K available (13312K kernel code, 1287K rwdata, 7560K rodata, 1024K init, 486K bss, 33560K reserved, 131072K cma-reserved, 131072K highmem)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] ftrace: allocating 42236 entries in 83 pages
    [    0.000000] ftrace: allocated 83 pages with 4 groups
    [    0.000000] rcu: Hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000]  Rude variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] L2C-310 erratum 769419 enabled
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
    [    0.000000] L2C-310 ID prefetch enabled, offset 8 lines
    [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
    [    0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
    [    0.000000] L2C-310: CACHE_ID 0x410030c9, AUX_CTRL 0x76460001
    [    0.000000] random: get_random_bytes called from start_kernel+0x39c/0x558 with crng_init=0
    [    0.000000] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
    [    0.000007] sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns
    [    0.007978] Switching to timer-based delay loop, resolution 10ns
    [    0.014411] Console: colour dummy device 80x30
    [    0.018915] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=1000000)
    [    0.029546] pid_max: default: 32768 minimum: 301
    [    0.034337] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    0.041690] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    0.050167] CPU: Testing write buffer coherency: ok
    [    0.055130] CPU0: Spectre v2: using BPIALL workaround
    [    0.060404] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.066720] Setting up static identity map for 0x100000 - 0x100060
    [    0.073095] rcu: Hierarchical SRCU implementation.
    [    0.078236] smp: Bringing up secondary CPUs ...
    [    0.083533] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.083542] CPU1: Spectre v2: using BPIALL workaround
    [    0.094458] smp: Brought up 1 node, 2 CPUs
    [    0.098585] SMP: Total of 2 processors activated (400.00 BogoMIPS).
    [    0.104924] CPU: All CPU(s) started in SVC mode.
    [    0.110107] devtmpfs: initialized
    [    0.118513] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.126539] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.136377] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.148837] NET: Registered protocol family 16
    [    0.155329] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.163369] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.171436] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.186612] OF: /soc/gpio@ff708000/gpio-controller@0: could not get #gpio-cells for /soc/clkmgr@ffd04000/clocks/sdmmc_clk
    [    0.197778] OF: /soc/gpio@ff709000/gpio-controller@0: could not get #gpio-cells for /soc/clkmgr@ffd04000/clocks/sdmmc_clk
    [    0.208903] OF: /soc/gpio@ff70a000/gpio-controller@0: could not get #gpio-cells for /soc/clkmgr@ffd04000/clocks/main_pll@40/main_nand_sdmmc_clk@58
    [    0.224598] OF: /soc/gpio@ff708000/gpio-controller@0: could not get #gpio-cells for /soc/clkmgr@ffd04000/clocks/sdmmc_clk
    [    0.235718] OF: /soc/gpio@ff709000/gpio-controller@0: could not get #gpio-cells for /soc/clkmgr@ffd04000/clocks/sdmmc_clk
    [    0.246821] OF: /soc/gpio@ff70a000/gpio-controller@0: could not get #gpio-cells for /soc/clkmgr@ffd04000/clocks/main_pll@40/main_nand_sdmmc_clk@58
    [    0.273799] debugfs: Directory 'fixed-supply' with parent 'regulator' already present!
    [    0.282004] vgaarb: loaded
    [    0.285049] SCSI subsystem initialized
    [    0.289049] usbcore: registered new interface driver usbfs
    [    0.294657] usbcore: registered new interface driver hub
    [    0.300045] usbcore: registered new device driver usb
    [    0.305309] usb_phy_generic soc:usbphy: supply vcc not found, using dummy regulator
    [    0.315340] mc: Linux media interface: v0.10
    [    0.319689] videodev: Linux video capture interface: v2.00
    [    0.325318] pps_core: LinuxPPS API ver. 1 registered
    [    0.330324] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.339550] PTP clock support registered
    [    0.343791] jesd204: found 0 devices and 0 topologies
    [    0.348926] FPGA manager framework
    [    0.352449] Advanced Linux Sound Architecture Driver Initialized.
    [    0.359669] clocksource: Switched to clocksource timer1
    [    1.038902] NET: Registered protocol family 2
    [    1.043918] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
    [    1.052354] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
    [    1.060240] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    1.067535] TCP: Hash tables configured (established 8192 bind 8192)
    [    1.074059] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    1.080782] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    1.088057] NET: Registered protocol family 1
    [    1.092966] RPC: Registered named UNIX socket transport module.
    [    1.098925] RPC: Registered udp transport module.
    [    1.103678] RPC: Registered tcp transport module.
    [    1.108407] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    1.114939] PCI: CLS 0 bytes, default 64
    [    1.119490] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
    [    1.128998] workingset: timestamp_bits=30 max_order=18 bucket_order=0
    [    1.141572] NFS: Registering the id_resolver key type
    [    1.146641] Key type id_resolver registered
    [    1.150861] Key type id_legacy registered
    [    1.154885] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    1.161933] ntfs: driver 2.1.32 [Flags: R/W].
    [    1.166484] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [    1.173155] fuse: init (API version 7.32)
    [    1.177595] bounce: pool size: 64 pages
    [    1.181486] io scheduler mq-deadline registered
    [    1.186050] io scheduler kyber registered
    [    1.227823] dma-pl330 ffe01000.pdma: Loaded driver for PL330 DMAC-341330
    [    1.234615] dma-pl330 ffe01000.pdma:         DBUFF-512x8bytes Num_Chans-8 Num_Peri-32 Num_Events-8
    [    1.246450] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [    1.254027] ffc02000.serial0: ttyS0 at MMIO 0xffc02000 (irq = 46, base_baud = 6250000) is a 16550A
    [    1.263886] ffc03000.serial1: ttyS1 at MMIO 0xffc03000 (irq = 47, base_baud = 6250000) is a 16550A
    [    1.273874] adv7511 0-0039: supply avdd not found, using dummy regulator
    [    1.280823] adv7511 0-0039: supply dvdd not found, using dummy regulator
    [    1.287616] adv7511 0-0039: supply pvdd not found, using dummy regulator
    [    1.294458] adv7511 0-0039: supply bgvdd not found, using dummy regulator
    [    1.301375] adv7511 0-0039: supply dvdd-3v not found, using dummy regulator
    [    1.309382] adv7511: probe of 0-0039 failed with error -121
    [    1.316358] brd: module loaded
    [    1.320917] spi_altera ff30a000.spi: regoff 0, irq 50
    [    1.328034] libphy: Fixed MDIO Bus: probed
    [    1.332824] CAN device driver interface
    [    1.337010] socfpga-dwmac ff702000.ethernet: IRQ eth_wake_irq not found
    [    1.343751] socfpga-dwmac ff702000.ethernet: IRQ eth_lpi not found
    [    1.350105] socfpga-dwmac ff702000.ethernet: PTP uses main clock
    [    1.356181] socfpga-dwmac ff702000.ethernet: No sysmgr-syscon node found
    [    1.362925] socfpga-dwmac ff702000.ethernet: Unable to parse OF data
    [    1.369465] socfpga-dwmac: probe of ff702000.ethernet failed with error -524
    [    1.376797] stmmaceth ff702000.ethernet: IRQ eth_wake_irq not found
    [    1.383149] stmmaceth ff702000.ethernet: IRQ eth_lpi not found
    [    1.389142] stmmaceth ff702000.ethernet: PTP uses main clock
    [    1.395037] stmmaceth ff702000.ethernet: Version ID not available
    [    1.401180] stmmaceth ff702000.ethernet:     DWMAC1000
    [    1.406084] stmmaceth ff702000.ethernet: DMA HW capability register supported
    [    1.413278] stmmaceth ff702000.ethernet: RX Checksum Offload Engine supported
    [    1.420455] stmmaceth ff702000.ethernet: COE Type 2
    [    1.425321] stmmaceth ff702000.ethernet: TX Checksum insertion supported
    [    1.432013] stmmaceth ff702000.ethernet: Enhanced/Alternate descriptors
    [    1.438599] stmmaceth ff702000.ethernet: Extended descriptors not supported
    [    1.445549] stmmaceth ff702000.ethernet: Ring mode enabled
    [    1.451048] stmmaceth ff702000.ethernet: device MAC address 1e:16:4b:b4:0e:61
    [    1.466641] libphy: stmmac: probed
    [    1.470091] Micrel KSZ9031 Gigabit PHY stmmac-0:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
    [    1.484161] usbcore: registered new interface driver asix
    [    1.489641] usbcore: registered new interface driver ax88179_178a
    [    1.495784] usbcore: registered new interface driver cdc_ether
    [    1.501642] usbcore: registered new interface driver net1080
    [    1.507384] usbcore: registered new interface driver cdc_subset
    [    1.513397] usbcore: registered new interface driver zaurus
    [    1.519052] usbcore: registered new interface driver cdc_ncm
    [    1.525404] dwc2 ffb40000.usb: supply vusb_d not found, using dummy regulator
    [    1.532734] dwc2 ffb40000.usb: supply vusb_a not found, using dummy regulator
    [    1.540199] dwc2 ffb40000.usb: EPs: 16, dedicated fifos, 8064 entries in SPRAM
    [    1.547931] dwc2 ffb40000.usb: DWC OTG Controller
    [    1.552749] dwc2 ffb40000.usb: new USB bus registered, assigned bus number 1
    [    1.559909] dwc2 ffb40000.usb: irq 48, io mem 0xffb40000
    [    1.565440] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [    1.573802] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.581098] usb usb1: Product: DWC OTG Controller
    [    1.585853] usb usb1: Manufacturer: Linux 5.10.0-yocto-standard-adi dwc2_hsotg
    [    1.593154] usb usb1: SerialNumber: ffb40000.usb
    [    1.598337] hub 1-0:1.0: USB hub found
    [    1.602182] hub 1-0:1.0: 1 port detected
    [    1.607076] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.613673] ehci-pci: EHCI PCI platform driver
    [    1.618746] usbcore: registered new interface driver uas
    [    1.624216] usbcore: registered new interface driver usb-storage
    [    1.630366] usbcore: registered new interface driver usbserial_generic
    [    1.636973] usbserial: USB Serial support registered for generic
    [    1.643086] usbcore: registered new interface driver ftdi_sio
    [    1.648904] usbserial: USB Serial support registered for FTDI USB Serial Device
    [    1.656359] usbcore: registered new interface driver upd78f0730
    [    1.662326] usbserial: USB Serial support registered for upd78f0730
    [    1.670185] i2c /dev entries driver
    [    1.674619] usbcore: registered new interface driver uvcvideo
    [    1.680422] USB Video Class driver (1.1.1)
    [    1.686642] Synopsys Designware Multimedia Card Interface Driver
    [    1.693272] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.693277] dw_mmc ff704000.dwmmc0: IDMAC supports 32-bit address mode.
    [    1.693366] dw_mmc ff704000.dwmmc0: Using internal DMA controller.
    [    1.699470] usbcore: registered new interface driver usbhid
    [    1.706030] dw_mmc ff704000.dwmmc0: Version ID is 240a
    [    1.712272] usbhid: USB HID core driver
    [    1.717935] dw_mmc ff704000.dwmmc0: DW MMC controller at irq 43,32 bit host data width,1024 deep fifo
    [    1.727119] mmc_host mmc0: card is polling.
    [    1.749090] axi_sysid ff218000.axi-sysid-0: AXI System ID core version (1.01.a) found
    [    1.753130] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
    [    1.757324] axi_sysid ff218000.axi-sysid-0: [cn0540] on [de10nano] git branch <hdl_2021_r2> git <d0336c0f6ff88061d906621c11b616145f96358e> clean [2023-06-04 02:04:09] UTC
    [    1.782526] fpga_manager fpga0: Altera SOCFPGA FPGA Manager registered
    [    1.790074] usbcore: registered new interface driver snd-usb-audio
    [    1.798683] NET: Registered protocol family 10
    [    1.804173] Segment Routing with IPv6
    [    1.807943] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.814522] NET: Registered protocol family 17
    [    1.819054] NET: Registered protocol family 15
    [    1.823726] can: controller area network core
    [    1.828182] NET: Registered protocol family 29
    [    1.832687] can: raw protocol
    [    1.835662] can: broadcast manager protocol
    [    1.839893] can: netlink gateway - max_hops=1
    [    1.844421] 8021q: 802.1Q VLAN Support v1.8
    [    1.848692] NET: Registered protocol family 36
    [    1.853218] Key type dns_resolver registered
    [    1.857815] oprofile: using arm/armv7-ca9
    [    1.861947] ThumbEE CPU extension supported.
    [    1.866275] Registering SWP/SWPB emulation handler
    [    1.876076] of_cfs_init
    [    1.878572] of_cfs_init: OK
    [    1.881639] ALSA device list:
    [    1.884664]   No soundcards found.
    [    1.888112] Warning: unable to open an initial console.
    [    1.893501] Waiting for root device /dev/mmcblk0p3...
    [    1.912093] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
    [    1.921972] mmc0: new high speed SDHC card at address aaaa
    [    1.928108] mmcblk0: mmc0:aaaa SA08G 7.40 GiB
    [    1.935714]  mmcblk0: p1 p2 p3
    [    1.977997] random: fast init done
    [    2.037706] EXT4-fs (mmcblk0p3): recovery complete
    [    2.043892] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
    [    2.052054] VFS: Mounted root (ext4 filesystem) on device 179:3.
    [    2.059447] devtmpfs: mounted
    [    2.065859] Freeing unused kernel memory: 1024K
    [    2.070982] Run /sbin/init as init process
    [    2.428587] systemd[1]: System time before build time, advancing clock.
    [    2.487915] systemd[1]: systemd 253.1^ running in system mode (-PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    2.520522] systemd[1]: Detected architecture arm.
    [    2.563895] systemd[1]: Hostname set to <VibMonProto>.
    [    2.698693] systemd-sysv-generator[70]: SysV service '/etc/init.d/halt' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.724483] systemd-sysv-generator[70]: SysV service '/etc/init.d/sendsigs' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.749363] systemd-sysv-generator[70]: SysV service '/etc/init.d/reboot' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.780371] systemd-sysv-generator[70]: SysV service '/etc/init.d/alignment.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.807151] systemd-sysv-generator[70]: SysV service '/etc/init.d/umountnfs.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.832199] systemd-sysv-generator[70]: SysV service '/etc/init.d/umountfs' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.861860] systemd-sysv-generator[70]: SysV service '/etc/init.d/save-rtc.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.887611] systemd-sysv-generator[70]: SysV service '/etc/init.d/sshd' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.912851] systemd-sysv-generator[70]: SysV service '/etc/init.d/single' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    3.485824] systemd[1]: Queued start job for default target Multi-User System.
    [    3.497996] systemd[1]: Created slice Slice /system/getty.
    [    3.505263] systemd[1]: Created slice Slice /system/modprobe.
    [    3.512582] systemd[1]: Created slice Slice /system/serial-getty.
    [    3.519507] systemd[1]: Created slice User and Session Slice.
    [    3.525940] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    3.534350] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    3.542659] systemd[1]: Reached target Path Units.
    [    3.547757] systemd[1]: Reached target Remote File Systems.
    [    3.553601] systemd[1]: Reached target Slice Units.
    [    3.558790] systemd[1]: Reached target Swaps.
    [    3.566106] systemd[1]: Listening on Syslog Socket.
    [    3.571688] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    3.591081] systemd[1]: Journal Audit Socket was skipped because of an unmet condition check (ConditionSecurity=audit).
    [    3.602954] systemd[1]: Listening on Journal Socket (/dev/log).
    [    3.609963] systemd[1]: Listening on Journal Socket.
    [    3.616208] systemd[1]: Listening on Network Service Netlink Socket.
    [    3.623791] systemd[1]: Listening on udev Control Socket.
    [    3.630116] systemd[1]: Listening on udev Kernel Socket.
    [    3.636367] systemd[1]: Listening on User Database Manager Socket.
    [    3.643458] systemd[1]: Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
    [    3.656968] systemd[1]: POSIX Message Queue File System was skipped because of an unmet condition check (ConditionPathExists=/proc/sys/fs/mqueue).
    [    3.673779] systemd[1]: Mounting Kernel Debug File System...
    [    3.683617] systemd[1]: Mounting Kernel Trace File System...
    [    3.695495] systemd[1]: Mounting Temporary Directory /tmp...
    [    3.702546] systemd[1]: Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/lib/modules/5.10.0-yocto-standard-adi/modules.devname).
    [    3.724059] systemd[1]: Starting Load Kernel Module configfs...
    [    3.735480] systemd[1]: Starting Load Kernel Module drm...
    [    3.746522] systemd[1]: Starting Load Kernel Module fuse...
    [    3.753163] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    3.767086] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    3.780010] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    3.791580] systemd[1]: Starting Journal Service...
    [    3.800022] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met.
    [    3.813560] systemd[1]: Starting Generate network units from Kernel command line...
    [    3.826250] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.838194] systemd[1]: Starting Apply Kernel Variables...
    [    3.858214] systemd[1]: Starting Coldplug All udev Devices...
    [    3.907512] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
    [    3.932306] systemd[1]: Mounted Kernel Debug File System.
    [    3.945241] systemd[1]: Mounted Kernel Trace File System.
    [    3.951922] systemd[1]: Mounted Temporary Directory /tmp.
    [    3.953448] systemd-journald[78]: Collecting audit messages is disabled.
    [    3.966111] systemd[1]: modprobe@configfs.service: Deactivated successfully.
    [    3.974341] systemd[1]: Finished Load Kernel Module configfs.
    [    3.982184] systemd[1]: modprobe@drm.service: Deactivated successfully.
    [    4.000052] systemd[1]: Finished Load Kernel Module drm.
    [    4.007252] systemd[1]: modprobe@fuse.service: Deactivated successfully.
    [    4.030955] systemd[1]: Finished Load Kernel Module fuse.
    [    4.049886] systemd[1]: Finished Generate network units from Kernel command line.
    [    4.058910] systemd[1]: Finished Remount Root and Kernel File Systems.
    [    4.081320] systemd[1]: Finished Apply Kernel Variables.
    [    4.088255] systemd[1]: Reached target Preparation for Network.
    [    4.114731] systemd[1]: Mounting FUSE Control File System...
    [    4.133396] systemd[1]: Mounting Kernel Configuration File System...
    [    4.152761] systemd[1]: Rebuild Hardware Database was skipped because of an unmet condition check (ConditionNeedsUpdate=/etc).
    [    4.180588] systemd[1]: Create System Users was skipped because no trigger condition checks were met.
    [    4.194046] systemd[1]: Starting Create Static Device Nodes in /dev...
    [    4.208609] systemd[1]: Started Journal Service.
    [    4.299398] systemd-journald[78]: Received client request to flush runtime journal.
    [    5.393829] stmmaceth ff702000.ethernet end0: renamed from eth0
    [    6.483318] systemd-journald[78]: Oldest entry in /run/log/journal/cac13421fe074691851dd5ea354c17ad/system.journal is older than the configured file retention duration (1month), suggesting rotation.
    [    6.582611] systemd-journald[78]: /run/log/journal/cac13421fe074691851dd5ea354c17ad/system.journal: Journal header limits reached or header out-of-date, rotating.
    [    7.038792] stmmaceth ff702000.ethernet end0: PHY [stmmac-0:01] driver [Micrel KSZ9031 Gigabit PHY] (irq=POLL)
    [    7.067574] stmmaceth ff702000.ethernet end0: No Safety Features support found
    [    7.077191] stmmaceth ff702000.ethernet end0: registered PTP clock
    [    7.101348] stmmaceth ff702000.ethernet end0: configuring for phy/rgmii link mode
    [    7.260369] random: dbus-daemon: uninitialized urandom read (12 bytes read)
    [    7.328287] random: dbus-daemon: uninitialized urandom read (12 bytes read)
    [    8.149704] random: crng init done
    

    I've attached the boot log of the device.

    Thank you,

    Wyatt

  • Hello,

    I tried to use the 2019_R2 release of the kernel and HDL, as that's the version used in the Kuiper image I have.

    However, I was not able to get the image to boot, I would get to the point of loading the ethernet then reboot.

    Has anything changed in the kernel between 2021_R2 and 2019_R2 that would cause this?

    The boot log for that kernel version is:

    U-Boot 2021.04 (Aug 27 2021 - 05:31:08 +0000)
    
    CPU:   Altera SoCFPGA Platform
    FPGA:  Altera Cyclone V, SE/A6 or SX/C6 or ST/D6, version 0x0
    BOOT:  SD/MMC Internal Transceiver (3.0V)
           Watchdog enabled
    DRAM:  1 GiB
    MMC:   dwmmc0@ff704000: 0
    Loading Environment from MMC... *** Warning - bad CRC, using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    Model: Terasic DE10-Nano
    Net:
    Error: ethernet@ff702000 address not set.
    No ethernet found.
    
    Hit any key to stop autoboot:  0
    --- Programming FPGA ---
    7007204 bytes read in 397 ms (16.8 MiB/s)
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    Found /extlinux/extlinux.conf
    Retrieving file: /extlinux/extlinux.conf
    233 bytes read in 6 ms (37.1 KiB/s)
    1:      Cyclone5 SOCDK SDMMC
    Retrieving file: /extlinux/../zImage
    7244704 bytes read in 426 ms (16.2 MiB/s)
    append: root=/dev/mmcblk0p3 rootwait rw earlycon console=,115200
    Retrieving file: /extlinux/../socfpga_cyclone5_de10_nano_cn0540.dtb
    22791 bytes read in 9 ms (2.4 MiB/s)
    ## Flattened Device Tree blob at 02000000
       Booting using the fdt blob at 0x2000000
       Loading Device Tree to 09ff7000, end 09fff906 ... OK
    
    Starting kernel ...
    
    Deasserting all peripheral resets
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.0-yocto-standard-adi (oe-user@oe-host) (gcc version 12.2.0 (GCC)) #1 SMP Fri Mar 10 15:52:30 UTC 2023
    [    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: Terasic DE10-Nano
    [    0.000000] earlycon: uart0 at MMIO32 0xffc02000 (options '115200n8')
    [    0.000000] bootconsole [uart0] enabled
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] cma: Reserved 128 MiB at 0x38000000
    [    0.000000] random: get_random_bytes called from start_kernel+0xa8/0x488 with crng_init=0
    [    0.000000] percpu: Embedded 16 pages/cpu @(ptrval) s36812 r8192 d20532 u65536
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260608
    [    0.000000] Kernel command line: root=/dev/mmcblk0p3 rootwait rw earlycon console=,115200
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 886248K/1048576K available (11264K kernel code, 1086K rwdata, 6412K rodata, 1024K init, 460K bss, 31256K reserved, 131072K cma-reserved, 131072K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (12256 kB)
    [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
    [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   (1087 kB)
    [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 461 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] ftrace: allocating 36787 entries in 108 pages
    [    0.000000] rcu: Hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
    [    0.000000] L2C-310 ID prefetch enabled, offset 8 lines
    [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
    [    0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
    [    0.000000] L2C-310: CACHE_ID 0x410030c9, AUX_CTRL 0x76460001
    [    0.000000] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
    [    0.000006] sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns
    [    0.008036] Switching to timer-based delay loop, resolution 10ns
    [    0.014366] Console: colour dummy device 80x30
    [    0.018892] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=1000000)
    [    0.029589] pid_max: default: 32768 minimum: 301
    [    0.034407] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.041018] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.048549] CPU: Testing write buffer coherency: ok
    [    0.053534] CPU0: Spectre v2: using BPIALL workaround
    [    0.058778] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.065090] Setting up static identity map for 0x100000 - 0x100060
    [    0.071514] rcu: Hierarchical SRCU implementation.
    [    0.076912] smp: Bringing up secondary CPUs ...
    [    0.082178] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.082184] CPU1: Spectre v2: using BPIALL workaround
    [    0.093139] smp: Brought up 1 node, 2 CPUs
    [    0.097282] SMP: Total of 2 processors activated (400.00 BogoMIPS).
    [    0.103638] CPU: All CPU(s) started in SVC mode.
    [    0.109288] devtmpfs: initialized
    [    0.117305] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.125162] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.134990] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.147013] NET: Registered protocol family 16
    [    0.153336] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.161400] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.169521] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.200684] fixed-supply: Failed to create debugfs directory
    [    0.206762] vgaarb: loaded
    [    0.209818] SCSI subsystem initialized
    [    0.213929] usbcore: registered new interface driver usbfs
    [    0.219548] usbcore: registered new interface driver hub
    [    0.225009] usbcore: registered new device driver usb
    [    0.230309] usb_phy_generic soc:usbphy: soc:usbphy supply vcc not found, using dummy regulator
    [    0.239118] usb_phy_generic soc:usbphy: Linked as a consumer to regulator.0
    [    0.246806] media: Linux media interface: v0.10
    [    0.251490] videodev: Linux video capture interface: v2.00
    [    0.257169] pps_core: LinuxPPS API ver. 1 registered
    [    0.262227] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.271516] PTP clock support registered
    [    0.275823] jesd204: found 0 devices and 0 topologies
    [    0.281035] FPGA manager framework
    [    0.284594] Advanced Linux Sound Architecture Driver Initialized.
    [    0.291814] clocksource: Switched to clocksource timer1
    [    0.357974] NET: Registered protocol family 2
    [    0.363166] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
    [    0.370949] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.378219] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.384879] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.391429] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.397485] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.404105] NET: Registered protocol family 1
    [    0.408944] RPC: Registered named UNIX socket transport module.
    [    0.414975] RPC: Registered udp transport module.
    [    0.419754] RPC: Registered tcp transport module.
    [    0.424538] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.431702] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
    [    0.441883] workingset: timestamp_bits=30 max_order=18 bucket_order=0
    [    0.456428] NFS: Registering the id_resolver key type
    [    0.461567] Key type id_resolver registered
    [    0.465842] Key type id_legacy registered
    [    0.469917] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    0.477267] ntfs: driver 2.1.32 [Flags: R/W].
    [    0.481986] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [    0.491926] bounce: pool size: 64 pages
    [    0.495820] io scheduler noop registered (default)
    [    0.500676] io scheduler mq-deadline registered
    [    0.505430] io scheduler kyber registered
    [    0.518967] dma-pl330 ffe01000.pdma: Loaded driver for PL330 DMAC-341330
    [    0.525919] dma-pl330 ffe01000.pdma:         DBUFF-512x8bytes Num_Chans-8 Num_Peri-32 Num_Events-8
    [    0.538596] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [    0.546405] ffc02000.serial0: ttyS0 at MMIO 0xffc02000 (irq = 38, base_baud = 6250000) is a 16550A
    [    0.556205] ffc03000.serial1: ttyS1 at MMIO 0xffc03000 (irq = 39, base_baud = 6250000) is a 16550A
    [    0.567410] brd: module loaded
    [    0.572392] spi_altera ff30a000.altera_spi: base (ptrval), irq 41
    [    0.579959] libphy: Fixed MDIO Bus: probed
    [    0.584948] CAN device driver interface
    [    0.589388] socfpga-dwmac ff702000.ethernet: PTP uses main clock
    [    0.595785] socfpga-dwmac ff702000.ethernet: Version ID not available
    [    0.602358] socfpga-dwmac ff702000.ethernet:         DWMAC1000
    [    0.607651] socfpga-dwmac ff702000.ethernet: DMA HW capability register supported
    [    0.615289] socfpga-dwmac ff702000.ethernet: RX Checksum Offload Engine supported
    [    0.622904] socfpga-dwmac ff702000.ethernet: COE Type 2
    [    0.628210] socfpga-dwmac ff702000.ethernet: TX Checksum insertion supported
    [    0.635369] socfpga-dwmac ff702000.ethernet: Enhanced/Alternate descriptors
    [    0.642432] socfpga-dwmac ff702000.ethernet: Extended descriptors not supported
    [    0.649829] socfpga-dwmac ff702000.ethernet: Ring mode enabled
    [    0.663553] libphy: stmmac: probed
    [    0.667016] Micrel KSZ9031 Gigabit PHY stmmac-0:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
    [    0.680956] usbcore: registered new interface driver asix
    [    0.686499] usbcore: registered new interface driver ax88179_178a
    [    0.692734] usbcore: registered new interface driver cdc_ether
    [    0.698701] usbcore: registered new interface driver net1080
    [    0.704489] usbcore: registered new interface driver cdc_subset
    [    0.710539] usbcore: registered new interface driver zaurus
    [    0.716276] usbcore: registered new interface driver cdc_ncm
    [    0.722730] dwc2 ffb40000.usb: ffb40000.usb supply vusb_d not found, using dummy regulator
    [    0.731187] dwc2 ffb40000.usb: Linked as a consumer to regulator.0
    [    0.737497] dwc2 ffb40000.usb: ffb40000.usb supply vusb_a not found, using dummy regulator
    [    0.746040] dwc2 ffb40000.usb: dwc2_check_params: Invalid parameter lpm=1
    [    0.752951] dwc2 ffb40000.usb: dwc2_check_params: Invalid parameter lpm_clock_gating=1
    [    0.760972] dwc2 ffb40000.usb: dwc2_check_params: Invalid parameter besl=1
    [    0.767942] dwc2 ffb40000.usb: dwc2_check_params: Invalid parameter hird_threshold_en=1
    [    0.776090] dwc2 ffb40000.usb: EPs: 16, dedicated fifos, 8064 entries in SPRAM
    [    0.784110] dwc2 ffb40000.usb: DWC OTG Controller
    [    0.788907] dwc2 ffb40000.usb: new USB bus registered, assigned bus number 1
    [    0.796128] dwc2 ffb40000.usb: irq 40, io mem 0xffb40000
    [    0.801696] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [    0.810138] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.817483] usb usb1: Product: DWC OTG Controller
    [    0.822249] usb usb1: Manufacturer: Linux 4.19.0-yocto-standard-adi dwc2_hsotg
    [    0.829569] usb usb1: SerialNumber: ffb40000.usb
    [    0.834787] hub 1-0:1.0: USB hub found
    [    0.838615] hub 1-0:1.0: 1 port detected
    [    0.843370] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    0.849994] ehci-pci: EHCI PCI platform driver
    [    0.855040] usbcore: registered new interface driver uas
    [    0.860503] usbcore: registered new interface driver usb-storage
    [    0.866722] usbcore: registered new interface driver usbserial_generic
    [    0.873399] usbserial: USB Serial support registered for generic
    [    0.879527] usbcore: registered new interface driver ftdi_sio
    [    0.885403] usbserial: USB Serial support registered for FTDI USB Serial Device
    [    0.892935] usbcore: registered new interface driver upd78f0730
    [    0.898991] usbserial: USB Serial support registered for upd78f0730
    [    0.907164] i2c /dev entries driver
    [    0.911485] usbcore: registered new interface driver uvcvideo
    [    0.917373] USB Video Class driver (1.1.1)
    [    0.923541] Synopsys Designware Multimedia Card Interface Driver
    [    0.930054] dw_mmc ff704000.dwmmc0: IDMAC supports 32-bit address mode.
    [    0.936810] dw_mmc ff704000.dwmmc0: Using internal DMA controller.
    [    0.943117] dw_mmc ff704000.dwmmc0: Version ID is 240a
    [    0.948376] dw_mmc ff704000.dwmmc0: DW MMC controller at irq 33,32 bit host data width,1024 deep fifo
    [    0.957687] mmc_host mmc0: card is polling.
    [    0.974554] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
    [    0.997323] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.003561] usbcore: registered new interface driver usbhid
    [    1.009120] usbhid: USB HID core driver
    [    1.015084] ad7768-1 spi1.0: Linked as a consumer to regulator.2
    [    1.024077] ltc2308 spi0.0: Linked as a consumer to regulator.1
    [    1.036431] fpga_manager fpga0: Altera SOCFPGA FPGA Manager registered
    [    1.043809] altera_hps2fpga_bridge ff400000.fpga_bridge: fpga bridge [lwhps2fpga] registered
    [    1.052524] altera_hps2fpga_bridge ff500000.fpga_bridge: fpga bridge [hps2fpga] registered
    [    1.061655] usbcore: registered new interface driver snd-usb-audio
    [    1.070454] oprofile: using arm/armv7-ca9
    [    1.075502] NET: Registered protocol family 10
    [    1.080899] Segment Routing with IPv6
    [    1.084746] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.091356] NET: Registered protocol family 17
    [    1.095939] NET: Registered protocol family 15
    [    1.100817] can: controller area network core (rev 20170425 abi 9)
    [    1.107199] NET: Registered protocol family 29
    [    1.111648] can: raw protocol (rev 20170425)
    [    1.115970] can: broadcast manager protocol (rev 20170425 t)
    [    1.121623] can: netlink gateway (rev 20170425) max_hops=1
    [    1.127405] 8021q: 802.1Q VLAN Support v1.8
    [    1.131638] NET: Registered protocol family 36
    [    1.136128] Key type dns_resolver registered
    [    1.140460] ThumbEE CPU extension supported.
    [    1.144737] Registering SWP/SWPB emulation handler
    [    1.154383] adv7511 0-0039: 0-0039 supply avdd not found, using dummy regulator
    [    1.161723] adv7511 0-0039: Linked as a consumer to regulator.0
    [    1.167673] adv7511 0-0039: 0-0039 supply dvdd not found, using dummy regulator
    [    1.175033] adv7511 0-0039: 0-0039 supply pvdd not found, using dummy regulator
    [    1.182511] adv7511 0-0039: 0-0039 supply bgvdd not found, using dummy regulator
    [    1.190057] adv7511 0-0039: 0-0039 supply dvdd-3v not found, using dummy regulator
    [    1.198259] adv7511: probe of 0-0039 failed with error -121
    [    1.205289] ad5064 1-0010: Linked as a consumer to regulator.2
    [    1.212508] of_cfs_init
    [    1.215031] of_cfs_init: OK
    [    1.218117] ALSA device list:
    [    1.221116]   No soundcards found.
    [    1.224622] Warning: unable to open an initial console.
    [    1.230071] Waiting for root device /dev/mmcblk0p3...
    [    1.260614] mmc0: Problem switching card into high-speed mode!
    [    1.266557] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 25000000Hz, actual 25000000HZ div = 1)
    [    1.276535] mmc0: new SDHC card at address 0001
    [    1.282094] mmcblk0: mmc0:0001 00000 7.26 GiB
    [    1.288879]  mmcblk0: p1 p2 p3
    [    1.350715] random: fast init done
    [    1.519216] EXT4-fs (mmcblk0p3): recovery complete
    [    1.530902] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
    [    1.539171] VFS: Mounted root (ext4 filesystem) on device 179:3.
    [    1.545373] devtmpfs: mounted
    [    1.552546] Freeing unused kernel memory: 1024K
    [    1.557517] Run /sbin/init as init process
    [    2.247963] systemd[1]: System time before build time, advancing clock.
    [    2.312814] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.331456] systemd[1]: systemd 253.1^ running in system mode (-PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    2.363821] systemd[1]: Detected architecture arm.
    [    2.375240] systemd[1]: Hostname set to <VibMonProto>.
    [    2.414214] random: (sd-executor): uninitialized urandom read (16 bytes read)
    [    2.510231] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read)
    [    2.557021] systemd-sysv-generator[1183]: SysV service '/etc/init.d/reboot' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.582098] systemd-sysv-generator[1183]: SysV service '/etc/init.d/sshd' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.612915] systemd-sysv-generator[1183]: SysV service '/etc/init.d/sendsigs' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.637690] systemd-sysv-generator[1183]: SysV service '/etc/init.d/halt' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.665000] systemd-sysv-generator[1183]: SysV service '/etc/init.d/single' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.691080] systemd-sysv-generator[1183]: SysV service '/etc/init.d/umountnfs.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.716281] systemd-sysv-generator[1183]: SysV service '/etc/init.d/umountfs' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.741444] systemd-sysv-generator[1183]: SysV service '/etc/init.d/save-rtc.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.766588] systemd-sysv-generator[1183]: SysV service '/etc/init.d/alignment.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    3.485941] systemd[1]: Queued start job for default target Multi-User System.
    [    3.497988] systemd[1]: Created slice Slice /system/getty.
    [    3.505311] systemd[1]: Created slice Slice /system/modprobe.
    [    3.512705] systemd[1]: Created slice Slice /system/serial-getty.
    [    3.519793] systemd[1]: Created slice User and Session Slice.
    [    3.526176] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    3.534576] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    3.542809] systemd[1]: Reached target Path Units.
    [    3.547874] systemd[1]: Reached target Remote File Systems.
    [    3.553673] systemd[1]: Reached target Slice Units.
    [    3.558842] systemd[1]: Reached target Swaps.
    [    3.566698] systemd[1]: Listening on Syslog Socket.
    [    3.572319] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    3.597157] systemd[1]: Journal Audit Socket was skipped because of an unmet condition check (ConditionSecurity=audit).
    [    3.609096] systemd[1]: Listening on Journal Socket (/dev/log).
    [    3.616068] systemd[1]: Listening on Journal Socket.
    [    3.622356] systemd[1]: Listening on Network Service Netlink Socket.
    [    3.629864] systemd[1]: Listening on udev Control Socket.
    [    3.636153] systemd[1]: Listening on udev Kernel Socket.
    [    3.642464] systemd[1]: Listening on User Database Manager Socket.
    [    3.649469] systemd[1]: Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
    [    3.663048] systemd[1]: POSIX Message Queue File System was skipped because of an unmet condition check (ConditionPathExists=/proc/sys/fs/mqueue).
    [    3.679886] systemd[1]: Mounting Kernel Debug File System...
    [    3.689692] systemd[1]: Mounting Kernel Trace File System...
    [    3.701652] systemd[1]: Mounting Temporary Directory /tmp...
    [    3.708791] systemd[1]: Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/lib/modules/4.19.0-yocto-standard-adi/modules.devname).
    [    3.730461] systemd[1]: Starting Load Kernel Module configfs...
    [    3.742042] systemd[1]: Starting Load Kernel Module drm...
    [    3.753190] systemd[1]: Starting Load Kernel Module fuse...
    [    3.759578] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    3.773581] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    3.786687] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    3.798222] systemd[1]: Starting Journal Service...
    [    3.814219] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met.
    [    3.828420] systemd[1]: Starting Generate network units from Kernel command line...
    [    3.841935] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.854275] systemd[1]: Starting Apply Kernel Variables...
    [    3.860826] systemd-journald[1191]: Collecting audit messages is disabled.
    [    3.873128] systemd[1]: Starting Coldplug All udev Devices...
    [    3.913474] systemd[1]: Mounted Kernel Debug File System.
    [    3.923632] systemd[1]: Mounted Kernel Trace File System.
    [    3.930329] systemd[1]: Mounted Temporary Directory /tmp.
    [    3.953941] systemd[1]: modprobe@configfs.service: Deactivated successfully.
    [    3.962271] systemd[1]: Finished Load Kernel Module configfs.
    [    3.966032] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
    [    3.980262] systemd[1]: modprobe@drm.service: Deactivated successfully.
    [    3.988258] systemd[1]: Finished Load Kernel Module drm.
    [    3.995977] systemd[1]: modprobe@fuse.service: Deactivated successfully.
    [    4.003687] systemd[1]: Finished Load Kernel Module fuse.
    [    4.011035] systemd[1]: Finished Generate network units from Kernel command line.
    [    4.020402] systemd[1]: Finished Remount Root and Kernel File Systems.
    [    4.028861] systemd[1]: Finished Apply Kernel Variables.
    [    4.035321] systemd[1]: Started Journal Service.
    [    4.115777] systemd-journald[1191]: Received client request to flush runtime journal.
    [    4.875814] socfpga-dwmac ff702000.ethernet end1: renamed from eth0
    [    5.854060] socfpga-dwmac ff702000.ethernet end1: device MAC address b2:21:5c:0d:2a:d2
    [    5.968006] Micrel KSZ9031 Gigabit PHY stmmac-0:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
    [    6.002064] socfpga-dwmac ff702000.ethernet end1: No Safety Features support found
    [    6.011217] socfpga-dwmac ff702000.ethernet end1: registered PTP clock
    [    6.018466] IPv6: ADDRCONF(NETDEV_UP): end1: link is not ready
    [    9.112728] socfpga-dwmac ff702000.ethernet end1: Link is Up - 1Gbps/Full - flow control off
    [    9.121355] IPv6: ADDRCONF(NETDEV_CHANGE): end1: link becomes ready
    

    Thanks,

    Wyatt

    P.S Did you see my reply with the boot log?

  • Hi Wyatt,

    I don't see any message related to the AXI System ID IP:
    https://github.com/analogdevicesinc/linux/blob/2021_R2/arch/arm/boot/dts/socfpga_cyclone5_de10_nano.dtsi#L109-L112

    It seems that the devicetree, the kernel and/or the defconfig are not the same as the ones used by the Kuiper image.

    Thanks,
    Dragos

  • Hi Dragos

    The reason there is no AXI System ID in the boot log you looked at was because that image was built using branch 2019_R2, which does not have that functionally.

    The Kuiper image found on this page also does not have system ID in its boot log. If I build the image with branch 2021_R2, dmesg has these lines for sysid.

    [    1.716497] axi_sysid ff218000.axi-sysid-0: AXI System ID core version (1.01.a) found
    [    1.724743] axi_sysid ff218000.axi-sysid-0: [cn0540] on [de10nano] git branch <hdl_2021_r2> git <d0336c0f6ff88061d906621c11b616145f96358e> clean [2023-06-04 02:04:09] UTC
    

    I'm pretty sure I'm using the device tree (socfpga_cyclone5_de10_nano_cn0540.dts), and defconfig (socfpga_adi_defconfig) intended for this device, am I wrong in that assumption?

    Are there any specific details I haven't provided that would be helpful for debugging this issue?

    Thank You,

    Wyatt

Reply
  • Hi Dragos

    The reason there is no AXI System ID in the boot log you looked at was because that image was built using branch 2019_R2, which does not have that functionally.

    The Kuiper image found on this page also does not have system ID in its boot log. If I build the image with branch 2021_R2, dmesg has these lines for sysid.

    [    1.716497] axi_sysid ff218000.axi-sysid-0: AXI System ID core version (1.01.a) found
    [    1.724743] axi_sysid ff218000.axi-sysid-0: [cn0540] on [de10nano] git branch <hdl_2021_r2> git <d0336c0f6ff88061d906621c11b616145f96358e> clean [2023-06-04 02:04:09] UTC
    

    I'm pretty sure I'm using the device tree (socfpga_cyclone5_de10_nano_cn0540.dts), and defconfig (socfpga_adi_defconfig) intended for this device, am I wrong in that assumption?

    Are there any specific details I haven't provided that would be helpful for debugging this issue?

    Thank You,

    Wyatt

Children
No Data