Post Go back to editing

AD-DAC-FMC-EBZ with AD9163 bring-up

Hello Everyone,

I hope you are all doing great! 

I am new to AD evaluation platforms and will first time use the Linux image on the following setup: 

HW: A10SoC+AD9163-FMCC-EBZ (Eval-AD916x) 

HDL: AD-DAC-FMC-EBZ 

config.tcl: AD9163 mode:08 (set params(AD9163,08) {2 8 2 1 1 16 16}) 

I would like to send out patterns read out from DMA (from DDR4) patterns 

My first question is : 

Which Linux image should I use for this purpose? 

Then What is the easiest way to feed the desired patterns over the DDR4 - DMA path to the DAC and get the maximum speed in the end as possible with this 8 lane configuration.

Best Regards,

Ömer.

Parents
  • Hi,

    As a starting point you can use the HDL design referenced here.

    Together with that you can use the latest Kuiper linux image but unfortunately the devicetree is not included in BOOT partition yet so you'll have to build one on your own using this devicetree source

    After that please try to use the IIO OSC tool already built in Kuiper image. With OSC tool you can load a waveform file and it will be streamed from DDR to DAC using the DMA.

  • Hello, 

    Thank you for the reply.

    The device tree source you mentioned is socfpga_arria10_socdk_ad9136_fmc_ebz.dts

    So is this also covering ad9163? 

    and can you suggest me a way to build it? 

    Best Regards,

    Ömer.

  • The devicetree I linked is targeted for https://wiki.analog.com/resources/eval/user-guides/ad-dac-fmc-ebz and it should support ad9163.

    You can follow the steps presented here: https://wiki.analog.com/resources/tools-software/linux-build/generic/zynq to build the device tree

  • Thank you, I have used the device tree from your link and followed the steps from here to build the Kernel and the Device tree https://wiki.analog.com/resources/tools-software/linux-build/generic/socfpga

    I have built also the FPGA project in Quartus and generated rbf and put all in the SDcard and booted. It seems boot is successful. 

    I have also the  EVAL-AD916X board attached to FMCA connector of the A10SoC.

    Now how can I verify actually that I have everything in place correctly? Are there some simple check points that you can suggest and any simple application examples to read/write registers and so on.. ?

    Best Regards,

    Ömer.

  • for example at the situation now, I don't have any iio devices appearing on the linux system. Is this normal? What should it look like to be said "it is OK to try some application now"

  • BTW - please don't open multiple threads for the same issue.

    Can you please provide your kernel startup messages?

    -Michael

  • Hello.

    I opened the other thread since I thought and I saw in other past threads comments that encourage to open seperate tickets once the initial question is answered, and I even thought that not doing so would be a reason to not getting response since the thread is getting longer and longer

    Aboiut the issue

    I dig into the problem more in the meantime. And I realized that the kernel modules are not present/installed and loaded. in other words usr/lib/$(uname -r) does not exist.

    I am trying to find out now: 

    1- How can I build the .ko files during the kernel compilation?

    2-How can I be sure that the rootfs has all the necessary files (including these modules built in 1-.  but are there any that I need to manually put in or somehow be sure with a script that all is in.)

    Below are the full startup messages. Hope not too long. 

    U-Boot 2014.10-00334-gf7a7e26-dirty (Feb 19 2021 - 17:04:19), Build: jenkins-2019_r2-hdl_jobs_for_linux-projects-daq2.a10soc-28

    CPU : Altera SOCFPGA Arria 10 Platform
    BOARD : Altera SOCFPGA Arria 10 Dev Kit
    I2C: ready
    DRAM: WARNING: Caches not enabled
    SOCFPGA DWMMC: 0
    FPGA: writing socfpga_arria10_socdk.rbf ...
    Full Configuration Succeeded.
    DDRCAL: Success
    INFO : Skip relocation as SDRAM is non secure memory
    Reserving 2048 Bytes for IRQ stack at: ffe386e8
    DRAM : 1 GiB
    WARNING: Caches not enabled
    MMC: *** Warning - bad CRC, using default environment

    In: serial
    Out: serial
    Err: serial
    Model: SOCFPGA Arria10 Dev Kit
    Net: dwmac.ff800000
    Hit any key to stop autoboot: 0
    FPGA must be in Early Release mode to program core.
    fpga - loadable FPGA image support

    ** Unable to read file u-boot.scr **
    5111408 bytes read in 233 ms (20.9 MiB/s)
    27958 bytes read in 4 ms (6.7 MiB/s)
    FPGA BRIDGES: enable
    Kernel image @ 0x010000 [ 0x000000 - 0x4dfe70 ]
    ## Flattened Device Tree blob at 00000100
    Booting using the fdt blob at 0x000100
    Loading Device Tree to 01ff6000, end 01fffd35 ... OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    ** 22 printk messages dropped ** [ 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 : 0xc0008000 - 0xc0800000 (8160 kB)
    [ 0.000000] .init : 0xc0e00000 - 0xc0f00000 (1024 kB)
    [ 0.000000] .data : 0xc0f00000 - 0xc0fcb748 ( 814 kB)
    [ 0.000000] .bss : 0xc0fd1b5c - 0xc0ff33d8 ( 135 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [ 0.000000] ftrace: allocating 25195 entries in 74 pages
    [ 0.000000] Hierarchical RCU implementation.
    [ 0.000000] RCU event tracing is enabled.
    [ 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: enabling full line of zeros but not enabled in Cortex-A9
    [ 0.000000] L2C-310 ID prefetch enabled, offset 1 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.000005] sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns
    [ 0.000014] Switching to timer-based delay loop, resolution 10ns
    [ 0.000186] Console: colour dummy device 80x30
    [ 0.000209] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=1000000)
    [ 0.000220] pid_max: default: 32768 minimum: 301
    [ 0.000314] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000326] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000762] CPU: Testing write buffer coherency: ok
    [ 0.000959] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.001319] Setting up static identity map for 0x100000 - 0x100060
    [ 0.001426] Hierarchical SRCU implementation.
    [ 0.001822] smp: Bringing up secondary CPUs ...
    [ 0.002470] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.002556] smp: Brought up 1 node, 2 CPUs
    [ 0.002570] SMP: Total of 2 processors activated (400.00 BogoMIPS).
    [ 0.002575] CPU: All CPU(s) started in SVC mode.
    [ 0.003345] devtmpfs: initialized
    [ 0.006846] random: get_random_u32 called from bucket_table_alloc+0xfc/0x24c with crng_init=0
    [ 0.007072] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [ 0.007236] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.007252] futex hash table entries: 512 (order: 3, 32768 bytes)
    [ 0.011166] NET: Registered protocol family 16
    [ 0.013225] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.014058] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [ 0.014074] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [ 0.017743] ------------[ cut here ]------------
    [ 0.017768] WARNING: CPU: 0 PID: 1 at drivers/irqchip/irq-gic.c:1016 gic_irq_domain_translate+0xec/0xf4
    [ 0.017774] Modules linked in:
    [ 0.017787] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.73-ltsi-g4445ce4 #2
    [ 0.017792] Hardware name: Altera SOCFPGA Arria10
    [ 0.017817] [<c01117e0>] (unwind_backtrace) from [<c010cd24>] (show_stack+0x20/0x24)
    [ 0.017830] [<c010cd24>] (show_stack) from [<c07b6b28>] (dump_stack+0x8c/0xa0)
    [ 0.017845] [<c07b6b28>] (dump_stack) from [<c0121830>] (__warn+0xf8/0x110)
    [ 0.017856] [<c0121830>] (__warn) from [<c0121918>] (warn_slowpath_null+0x30/0x38)
    [ 0.017866] [<c0121918>] (warn_slowpath_null) from [<c0447e4c>] (gic_irq_domain_translate+0xec/0xf4)
    [ 0.017881] [<c0447e4c>] (gic_irq_domain_translate) from [<c017513c>] (irq_create_fwspec_mapping+0x64/0x338)
    [ 0.017893] [<c017513c>] (irq_create_fwspec_mapping) from [<c0175474>] (irq_create_of_mapping+0x64/0x6c)
    [ 0.017907] [<c0175474>] (irq_create_of_mapping) from [<c05ccd80>] (of_irq_get+0x68/0x78)
    [ 0.017918] [<c05ccd80>] (of_irq_get) from [<c05ccdb8>] (of_irq_to_resource+0x28/0xcc)
    [ 0.017927] [<c05ccdb8>] (of_irq_to_resource) from [<c05ccea8>] (of_irq_to_resource_table+0x4c/0x5c)
    [ 0.017941] [<c05ccea8>] (of_irq_to_resource_table) from [<c05c7844>] (of_device_alloc+0x108/0x18c)
    [ 0.017954] [<c05c7844>] (of_device_alloc) from [<c05c7920>] (of_platform_device_create_pdata+0x58/0xac)
    [ 0.017966] [<c05c7920>] (of_platform_device_create_pdata) from [<c05c7ae4>] (of_platform_bus_create+0x104/0x35c)
    [ 0.017977] [<c05c7ae4>] (of_platform_bus_create) from [<c05c7b40>] (of_platform_bus_create+0x160/0x35c)
    [ 0.017987] ---[ end trace 8cc47b5a4b8c6b89 ]---
    [ 0.018028] ------------[ cut here ]------------
    [ 0.018040] WARNING: CPU: 0 PID: 1 at drivers/irqchip/irq-gic.c:1016 gic_irq_domain_translate+0xec/0xf4
    [ 0.018044] Modules linked in:
    [ 0.018054] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.14.73-ltsi-g4445ce4 #2
    [ 0.018058] Hardware name: Altera SOCFPGA Arria10
    [ 0.018070] [<c01117e0>] (unwind_backtrace) from [<c010cd24>] (show_stack+0x20/0x24)
    [ 0.018079] [<c010cd24>] (show_stack) from [<c07b6b28>] (dump_stack+0x8c/0xa0)
    [ 0.018088] [<c07b6b28>] (dump_stack) from [<c0121830>] (__warn+0xf8/0x110)
    [ 0.018098] [<c0121830>] (__warn) from [<c0121918>] (warn_slowpath_null+0x30/0x38)
    [ 0.018107] [<c0121918>] (warn_slowpath_null) from [<c0447e4c>] (gic_irq_domain_translate+0xec/0xf4)
    [ 0.018117] [<c0447e4c>] (gic_irq_domain_translate) from [<c0448214>] (gic_irq_domain_alloc+0x40/0x94)
    [ 0.018127] [<c0448214>] (gic_irq_domain_alloc) from [<c0174d88>] (__irq_domain_alloc_irqs+0x140/0x2b8)
    [ 0.018137] [<c0174d88>] (__irq_domain_alloc_irqs) from [<c01752e0>] (irq_create_fwspec_mapping+0x208/0x338)
    [ 0.018146] [<c01752e0>] (irq_create_fwspec_mapping) from [<c0175474>] (irq_create_of_mapping+0x64/0x6c)
    [ 0.018155] [<c0175474>] (irq_create_of_mapping) from [<c05ccd80>] (of_irq_get+0x68/0x78)
    [ 0.018165] [<c05ccd80>] (of_irq_get) from [<c05ccdb8>] (of_irq_to_resource+0x28/0xcc)
    [ 0.018174] [<c05ccdb8>] (of_irq_to_resource) from [<c05ccea8>] (of_irq_to_resource_table+0x4c/0x5c)
    [ 0.018185] [<c05ccea8>] (of_irq_to_resource_table) from [<c05c7844>] (of_device_alloc+0x108/0x18c)
    [ 0.018196] [<c05c7844>] (of_device_alloc) from [<c05c7920>] (of_platform_device_create_pdata+0x58/0xac)
    [ 0.018207] [<c05c7920>] (of_platform_device_create_pdata) from [<c05c7ae4>] (of_platform_bus_create+0x104/0x35c)
    [ 0.018218] [<c05c7ae4>] (of_platform_bus_create) from [<c05c7b40>] (of_platform_bus_create+0x160/0x35c)
    [ 0.018223] ---[ end trace 8cc47b5a4b8c6b8a ]---
    [ 0.018436] ------------[ cut here ]------------
    [ 0.018450] WARNING: CPU: 0 PID: 1 at drivers/irqchip/irq-gic.c:1016 gic_irq_domain_translate+0xec/0xf4
    [ 0.018454] Modules linked in:
    [ 0.018464] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.14.73-ltsi-g4445ce4 #2
    [ 0.018468] Hardware name: Altera SOCFPGA Arria10
    [ 0.018482] [<c01117e0>] (unwind_backtrace) from [<c010cd24>] (show_stack+0x20/0x24)
    [ 0.018491] [<c010cd24>] (show_stack) from [<c07b6b28>] (dump_stack+0x8c/0xa0)
    [ 0.018501] [<c07b6b28>] (dump_stack) from [<c0121830>] (__warn+0xf8/0x110)
    [ 0.018511] [<c0121830>] (__warn) from [<c0121918>] (warn_slowpath_null+0x30/0x38)
    [ 0.018521] [<c0121918>] (warn_slowpath_null) from [<c0447e4c>] (gic_irq_domain_translate+0xec/0xf4)
    [ 0.018532] [<c0447e4c>] (gic_irq_domain_translate) from [<c017513c>] (irq_create_fwspec_mapping+0x64/0x338)
    [ 0.018542] [<c017513c>] (irq_create_fwspec_mapping) from [<c0175474>] (irq_create_of_mapping+0x64/0x6c)
    [ 0.018553] [<c0175474>] (irq_create_of_mapping) from [<c05ccd80>] (of_irq_get+0x68/0x78)
    [ 0.018562] [<c05ccd80>] (of_irq_get) from [<c05ccdb8>] (of_irq_to_resource+0x28/0xcc)
    [ 0.018572] [<c05ccdb8>] (of_irq_to_resource) from [<c05ccea8>] (of_irq_to_resource_table+0x4c/0x5c)
    [ 0.018583] [<c05ccea8>] (of_irq_to_resource_table) from [<c05c7844>] (of_device_alloc+0x108/0x18c)
    [ 0.018594] [<c05c7844>] (of_device_alloc) from [<c05c7920>] (of_platform_device_create_pdata+0x58/0xac)
    [ 0.018605] [<c05c7920>] (of_platform_device_create_pdata) from [<c05c7ae4>] (of_platform_bus_create+0x104/0x35c)
    [ 0.018616] [<c05c7ae4>] (of_platform_bus_create) from [<c05c7b40>] (of_platform_bus_create+0x160/0x35c)
    [ 0.018622] ---[ end trace 8cc47b5a4b8c6b8b ]---
    [ 0.018650] ------------[ cut here ]------------
    [ 0.018660] WARNING: CPU: 0 PID: 1 at drivers/irqchip/irq-gic.c:1016 gic_irq_domain_translate+0xec/0xf4
    [ 0.018664] Modules linked in:
    [ 0.018673] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.14.73-ltsi-g4445ce4 #2
    [ 0.018677] Hardware name: Altera SOCFPGA Arria10
    [ 0.018688] [<c01117e0>] (unwind_backtrace) from [<c010cd24>] (show_stack+0x20/0x24)
    [ 0.018696] [<c010cd24>] (show_stack) from [<c07b6b28>] (dump_stack+0x8c/0xa0)
    [ 0.018705] [<c07b6b28>] (dump_stack) from [<c0121830>] (__warn+0xf8/0x110)
    [ 0.018715] [<c0121830>] (__warn) from [<c0121918>] (warn_slowpath_null+0x30/0x38)
    [ 0.018725] [<c0121918>] (warn_slowpath_null) from [<c0447e4c>] (gic_irq_domain_translate+0xec/0xf4)
    [ 0.018734] [<c0447e4c>] (gic_irq_domain_translate) from [<c0448214>] (gic_irq_domain_alloc+0x40/0x94)
    [ 0.018744] [<c0448214>] (gic_irq_domain_alloc) from [<c0174d88>] (__irq_domain_alloc_irqs+0x140/0x2b8)
    [ 0.018754] [<c0174d88>] (__irq_domain_alloc_irqs) from [<c01752e0>] (irq_create_fwspec_mapping+0x208/0x338)
    [ 0.018764] [<c01752e0>] (irq_create_fwspec_mapping) from [<c0175474>] (irq_create_of_mapping+0x64/0x6c)
    [ 0.018773] [<c0175474>] (irq_create_of_mapping) from [<c05ccd80>] (of_irq_get+0x68/0x78)
    [ 0.018783] [<c05ccd80>] (of_irq_get) from [<c05ccdb8>] (of_irq_to_resource+0x28/0xcc)
    [ 0.018792] [<c05ccdb8>] (of_irq_to_resource) from [<c05ccea8>] (of_irq_to_resource_table+0x4c/0x5c)
    [ 0.018803] [<c05ccea8>] (of_irq_to_resource_table) from [<c05c7844>] (of_device_alloc+0x108/0x18c)
    [ 0.018814] [<c05c7844>] (of_device_alloc) from [<c05c7920>] (of_platform_device_create_pdata+0x58/0xac)
    [ 0.018825] [<c05c7920>] (of_platform_device_create_pdata) from [<c05c7ae4>] (of_platform_bus_create+0x104/0x35c)
    [ 0.018835] [<c05c7ae4>] (of_platform_bus_create) from [<c05c7b40>] (of_platform_bus_create+0x160/0x35c)
    [ 0.018841] ---[ end trace 8cc47b5a4b8c6b8c ]---
    [ 0.032953] SCSI subsystem initialized
    [ 0.033208] usbcore: registered new interface driver usbfs
    [ 0.033266] usbcore: registered new interface driver hub
    [ 0.033327] usbcore: registered new device driver usb
    [ 0.033466] usb_phy_generic soc:usbphy: soc:usbphy supply vcc not found, using dummy regulator
    [ 0.119894] lcd-comm 0-0028: LCD driver initialized
    [ 0.120451] pps_core: LinuxPPS API ver. 1 registered
    [ 0.120461] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.120484] PTP clock support registered
    [ 0.120836] jesd204: found 0 devices and 0 topologies
    [ 0.120889] FPGA manager framework
    [ 0.121750] clocksource: Switched to clocksource timer1
    [ 0.157802] NET: Registered protocol family 2
    [ 0.158268] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.158341] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.158448] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.158585] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.158627] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.158771] NET: Registered protocol family 1
    [ 0.159170] RPC: Registered named UNIX socket transport module.
    [ 0.159180] RPC: Registered udp transport module.
    [ 0.159185] RPC: Registered tcp transport module.
    [ 0.159190] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.160593] workingset: timestamp_bits=30 max_order=18 bucket_order=0
    [ 0.165731] NFS: Registering the id_resolver key type
    [ 0.165762] Key type id_resolver registered
    [ 0.165768] Key type id_legacy registered
    [ 0.165800] ntfs: driver 2.1.32 [Flags: R/W].
    [ 0.166000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [ 0.167178] bounce: pool size: 64 pages
    [ 0.167198] io scheduler noop registered (default)
    [ 0.167204] io scheduler mq-deadline registered
    [ 0.167210] io scheduler kyber registered
    [ 0.170747] altera-a10-fpll ff225000.altera-a10-fpll: FPLL PLL calibration OK (1400 us)
    [ 0.170926] ------------[ cut here ]------------
    [ 0.170949] WARNING: CPU: 0 PID: 1 at drivers/irqchip/irq-gic.c:1016 gic_irq_domain_translate+0xec/0xf4
    [ 0.170955] Modules linked in:
    [ 0.170968] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.14.73-ltsi-g4445ce4 #2
    [ 0.170973] Hardware name: Altera SOCFPGA Arria10
    [ 0.170994] [<c01117e0>] (unwind_backtrace) from [<c010cd24>] (show_stack+0x20/0x24)
    [ 0.171007] [<c010cd24>] (show_stack) from [<c07b6b28>] (dump_stack+0x8c/0xa0)
    [ 0.171021] [<c07b6b28>] (dump_stack) from [<c0121830>] (__warn+0xf8/0x110)
    [ 0.171032] [<c0121830>] (__warn) from [<c0121918>] (warn_slowpath_null+0x30/0x38)
    [ 0.171042] [<c0121918>] (warn_slowpath_null) from [<c0447e4c>] (gic_irq_domain_translate+0xec/0xf4)
    [ 0.171058] [<c0447e4c>] (gic_irq_domain_translate) from [<c017513c>] (irq_create_fwspec_mapping+0x64/0x338)
    [ 0.171069] [<c017513c>] (irq_create_fwspec_mapping) from [<c0175474>] (irq_create_of_mapping+0x64/0x6c)
    [ 0.171082] [<c0175474>] (irq_create_of_mapping) from [<c05ccd80>] (of_irq_get+0x68/0x78)
    [ 0.171098] [<c05ccd80>] (of_irq_get) from [<c04b09fc>] (platform_get_irq+0x2c/0x104)
    [ 0.171112] [<c04b09fc>] (platform_get_irq) from [<c0469d88>] (axi_dmac_probe+0x50/0x638)
    [ 0.171124] [<c0469d88>] (axi_dmac_probe) from [<c04b05f4>] (platform_drv_probe+0x5c/0xc0)
    [ 0.171134] [<c04b05f4>] (platform_drv_probe) from [<c04ae554>] (driver_probe_device+0x210/0x2d8)
    [ 0.171146] [<c04ae554>] (driver_probe_device) from [<c04ae6e4>] (__driver_attach+0xc8/0xcc)
    [ 0.171156] [<c04ae6e4>] (__driver_attach) from [<c04ac6f0>] (bus_for_each_dev+0x78/0xac)
    [ 0.171165] [<c04ac6f0>] (bus_for_each_dev) from [<c04ade9c>] (driver_attach+0x2c/0x30)
    [ 0.171175] [<c04ade9c>] (driver_attach) from [<c04ad96c>] (bus_add_driver+0x1ac/0x224)
    [ 0.171185] [<c04ad96c>] (bus_add_driver) from [<c04af370>] (driver_register+0x88/0x108)
    [ 0.171195] [<c04af370>] (driver_register) from [<c04b0544>] (__platform_driver_register+0x50/0x58)
    [ 0.171207] [<c04b0544>] (__platform_driver_register) from [<c0e2ff0c>] (axi_dmac_driver_init+0x24/0x28)
    [ 0.171218] [<c0e2ff0c>] (axi_dmac_driver_init) from [<c0101c94>] (do_one_initcall+0x54/0x17c)
    [ 0.171230] [<c0101c94>] (do_one_initcall) from [<c0e00fe4>] (kernel_init_freeable+0x1d8/0x268)
    [ 0.171242] [<c0e00fe4>] (kernel_init_freeable) from [<c07cb8cc>] (kernel_init+0x18/0x120)
    [ 0.171255] [<c07cb8cc>] (kernel_init) from [<c0108268>] (ret_from_fork+0x14/0x2c)
    [ 0.171261] ---[ end trace 8cc47b5a4b8c6b8d ]---
    [ 0.173677] dma-pl330 ffda1000.pdma: Loaded driver for PL330 DMAC-341330
    [ 0.173694] dma-pl330 ffda1000.pdma: DBUFF-512x8bytes Num_Chans-8 Num_Peri-32 Num_Events-8
    [ 0.177384] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [ 0.178260] console [ttyS0] disabled
    [ 0.178302] ffc02100.serial1: ttyS0 at MMIO 0xffc02100 (irq = 37, base_baud = 6250000) is a 16550A
    [ 1.569216] console [ttyS0] enabled
    [ 1.574051] brd: module loaded
    [ 1.578326] at24 0-0051: 4096 byte 24c32 EEPROM, writable, 32 bytes/write
    [ 1.586765] libphy: Fixed MDIO Bus: probed
    [ 1.591568] CAN device driver interface
    [ 1.595875] socfpga-dwmac ff800000.ethernet: PTP uses main clock
    [ 1.602057] stmmac - user ID: 0x10, Synopsys ID: 0x37
    [ 1.607092] socfpga-dwmac ff800000.ethernet: Ring mode enabled
    [ 1.612925] socfpga-dwmac ff800000.ethernet: DMA HW capability register supported
    [ 1.620374] socfpga-dwmac ff800000.ethernet: Enhanced/Alternate descriptors
    [ 1.627322] socfpga-dwmac ff800000.ethernet: Enabled extended descriptors
    [ 1.634089] socfpga-dwmac ff800000.ethernet: RX Checksum Offload Engine supported
    [ 1.641537] socfpga-dwmac ff800000.ethernet: COE Type 2
    [ 1.646745] socfpga-dwmac ff800000.ethernet: TX Checksum insertion supported
    [ 1.653770] socfpga-dwmac ff800000.ethernet: Enable RX Mitigation via HW Watchdog Timer
    [ 1.668940] libphy: stmmac: probed
    [ 1.672361] Micrel KSZ9031 Gigabit PHY stmmac-0:07: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=stmmac-0:07, irq=POLL)
    [ 1.685926] dwc2 ffb00000.usb: ffb00000.usb supply vusb_d not found, using dummy regulator
    [ 1.694226] dwc2 ffb00000.usb: ffb00000.usb supply vusb_a not found, using dummy regulator
    [ 1.702609] dwc2 ffb00000.usb: EPs: 16, dedicated fifos, 8064 entries in SPRAM
    [ 1.710422] dwc2 ffb00000.usb: DWC OTG Controller
    [ 1.715162] dwc2 ffb00000.usb: new USB bus registered, assigned bus number 1
    [ 1.722229] dwc2 ffb00000.usb: irq 38, io mem 0xffb00000
    [ 1.727652] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 1.734431] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.741621] usb usb1: Product: DWC OTG Controller
    [ 1.746321] usb usb1: Manufacturer: Linux 4.14.73-ltsi-g4445ce4 dwc2_hsotg
    [ 1.753173] usb usb1: SerialNumber: ffb00000.usb
    [ 1.758179] hub 1-0:1.0: USB hub found
    [ 1.761967] hub 1-0:1.0: 1 port detected
    [ 1.766522] usbcore: registered new interface driver usb-storage
    [ 1.775090] rtc-ds1307 0-0068: SET TIME!
    [ 1.786713] rtc-ds1307 0-0068: registered as rtc0
    [ 1.791489] i2c /dev entries driver
    [ 1.795188] IR NEC protocol handler initialized
    [ 1.799702] IR RC5(x/sz) protocol handler initialized
    [ 1.804751] IR RC6 protocol handler initialized
    [ 1.809261] IR JVC protocol handler initialized
    [ 1.813779] IR Sony protocol handler initialized
    [ 1.818372] IR SANYO protocol handler initialized
    [ 1.823060] IR Sharp protocol handler initialized
    [ 1.827741] IR MCE Keyboard/mouse protocol handler initialized
    [ 1.833551] IR XMP protocol handler initialized
    [ 1.841421] ltc2978: probe of 0-005c failed with error -121
    [ 1.847692] Synopsys Designware Multimedia Card Interface Driver
    [ 1.853810] dw_mmc ff808000.dwmmc0: 'num-slots' was deprecated.
    [ 1.859816] dw_mmc ff808000.dwmmc0: IDMAC supports 32-bit address mode.
    [ 1.866497] dw_mmc ff808000.dwmmc0: Using internal DMA controller.
    [ 1.872694] dw_mmc ff808000.dwmmc0: Version ID is 270a
    [ 1.877849] dw_mmc ff808000.dwmmc0: DW MMC controller at irq 31,32 bit host data width,1024 deep fifo
    [ 1.887104] mmc_host mmc0: card is polling.
    [ 1.911758] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
    [ 1.942181] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.948334] usbcore: registered new interface driver usbhid
    [ 1.953904] usbhid: USB HID core driver
    [ 1.959390] ------------[ cut here ]------------
    [ 1.964034] WARNING: CPU: 0 PID: 1 at drivers/irqchip/irq-gic.c:1016 gic_irq_domain_translate+0xec/0xf4
    [ 1.973392] Modules linked in:
    [ 1.976439] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.14.73-ltsi-g4445ce4 #2
    [ 1.984834] Hardware name: Altera SOCFPGA Arria10
    [ 1.989532] [<c01117e0>] (unwind_backtrace) from [<c010cd24>] (show_stack+0x20/0x24)
    [ 1.997243] [<c010cd24>] (show_stack) from [<c07b6b28>] (dump_stack+0x8c/0xa0)
    [ 2.004439] [<c07b6b28>] (dump_stack) from [<c0121830>] (__warn+0xf8/0x110)
    [ 2.011371] [<c0121830>] (__warn) from [<c0121918>] (warn_slowpath_null+0x30/0x38)
    [ 2.018908] [<c0121918>] (warn_slowpath_null) from [<c0447e4c>] (gic_irq_domain_translate+0xec/0xf4)
    [ 2.028006] [<c0447e4c>] (gic_irq_domain_translate) from [<c017513c>] (irq_create_fwspec_mapping+0x64/0x338)
    [ 2.037791] [<c017513c>] (irq_create_fwspec_mapping) from [<c0175474>] (irq_create_of_mapping+0x64/0x6c)
    [ 2.047231] [<c0175474>] (irq_create_of_mapping) from [<c05ccd80>] (of_irq_get+0x68/0x78)
    [ 2.055379] [<c05ccd80>] (of_irq_get) from [<c04b09fc>] (platform_get_irq+0x2c/0x104)
    [ 2.063184] [<c04b09fc>] (platform_get_irq) from [<c06569b0>] (axi_jesd204_tx_probe+0x30/0x68c)
    [ 2.071846] [<c06569b0>] (axi_jesd204_tx_probe) from [<c04b05f4>] (platform_drv_probe+0x5c/0xc0)
    [ 2.080593] [<c04b05f4>] (platform_drv_probe) from [<c04ae554>] (driver_probe_device+0x210/0x2d8)
    [ 2.089427] [<c04ae554>] (driver_probe_device) from [<c04ae6e4>] (__driver_attach+0xc8/0xcc)
    [ 2.097827] [<c04ae6e4>] (__driver_attach) from [<c04ac6f0>] (bus_for_each_dev+0x78/0xac)
    [ 2.105968] [<c04ac6f0>] (bus_for_each_dev) from [<c04ade9c>] (driver_attach+0x2c/0x30)
    [ 2.113936] [<c04ade9c>] (driver_attach) from [<c04ad96c>] (bus_add_driver+0x1ac/0x224)
    [ 2.121904] [<c04ad96c>] (bus_add_driver) from [<c04af370>] (driver_register+0x88/0x108)
    [ 2.129960] [<c04af370>] (driver_register) from [<c04b0544>] (__platform_driver_register+0x50/0x58)
    [ 2.138969] [<c04b0544>] (__platform_driver_register) from [<c0e3bf6c>] (axi_jesd204_tx_driver_init+0x24/0x28)
    [ 2.148927] [<c0e3bf6c>] (axi_jesd204_tx_driver_init) from [<c0101c94>] (do_one_initcall+0x54/0x17c)
    [ 2.158021] [<c0101c94>] (do_one_initcall) from [<c0e00fe4>] (kernel_init_freeable+0x1d8/0x268)
    [ 2.166682] [<c0e00fe4>] (kernel_init_freeable) from [<c07cb8cc>] (kernel_init+0x18/0x120)
    [ 2.174913] [<c07cb8cc>] (kernel_init) from [<c0108268>] (ret_from_fork+0x14/0x2c)
    [ 2.182473] ---[ end trace 8cc47b5a4b8c6b8e ]---
    [ 2.208476] altera_adxcvr ff224000.jesd204-phy: ATX PLL calibration OK (10 ms)
    [ 2.260864] altera_adxcvr ff224000.jesd204-phy: Lane 0 TX termination and VOD calibration OK (44800 us)
    [ 2.284013] altera_adxcvr ff224000.jesd204-phy: Lane 1 TX termination and VOD calibration OK (13600 us)
    [ 2.323655] altera_adxcvr ff224000.jesd204-phy: Lane 2 TX termination and VOD calibration OK (30000 us)
    [ 2.359072] altera_adxcvr ff224000.jesd204-phy: Lane 3 TX termination and VOD calibration OK (25800 us)
    [ 2.380906] altera_adxcvr ff224000.jesd204-phy: Lane 4 TX termination and VOD calibration OK (12300 us)
    [ 2.429002] altera_adxcvr ff224000.jesd204-phy: Lane 5 TX termination and VOD calibration OK (38400 us)
    [ 2.464619] altera_adxcvr ff224000.jesd204-phy: Lane 6 TX termination and VOD calibration OK (26000 us)
    [ 2.518848] altera_adxcvr ff224000.jesd204-phy: Lane 7 TX termination and VOD calibration OK (44500 us)
    [ 2.528229] altera_adxcvr ff224000.jesd204-phy: Altera ADXCVR (17.01.a) probed
    [ 2.535834] fpga_manager fpga0: SoCFPGA Arria10 FPGA Manager registered
    [ 2.542947] oprofile: no performance counters
    [ 2.547405] oprofile: using timer interrupt.
    [ 2.552340] NET: Registered protocol family 10
    [ 2.558155] altera_adxcvr ff224000.jesd204-phy: Setting link rate to 100000000 (lane rate: 4000000)
    [ 2.572092] Segment Routing with IPv6
    [ 2.575789] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 2.582144] NET: Registered protocol family 17
    [ 2.586584] NET: Registered protocol family 15
    [ 2.591007] can: controller area network core (rev 20170425 abi 9)
    [ 2.597219] NET: Registered protocol family 29
    [ 2.601644] can: raw protocol (rev 20170425)
    [ 2.605903] can: broadcast manager protocol (rev 20170425 t)
    [ 2.611538] can: netlink gateway (rev 20170425) max_hops=1
    [ 2.617151] 8021q: 802.1Q VLAN Support v1.8
    [ 2.621345] Key type dns_resolver registered
    [ 2.625667] ThumbEE CPU extension supported.
    [ 2.629922] Registering SWP/SWPB emulation handler
    [ 2.637379] ------------[ cut here ]------------
    [ 2.642036] WARNING: CPU: 1 PID: 573 at drivers/irqchip/irq-gic.c:1016 gic_irq_domain_translate+0xec/0xf4
    [ 2.651556] Modules linked in:
    [ 2.654622] CPU: 1 PID: 573 Comm: kworker/1:1 Tainted: G W 4.14.73-ltsi-g4445ce4 #2
    [ 2.663365] Hardware name: Altera SOCFPGA Arria10
    [ 2.668054] Workqueue: events deferred_probe_work_func
    [ 2.673183] [<c01117e0>] (unwind_backtrace) from [<c010cd24>] (show_stack+0x20/0x24)
    [ 2.680895] [<c010cd24>] (show_stack) from [<c07b6b28>] (dump_stack+0x8c/0xa0)
    [ 2.688091] [<c07b6b28>] (dump_stack) from [<c0121830>] (__warn+0xf8/0x110)
    [ 2.695024] [<c0121830>] (__warn) from [<c0121918>] (warn_slowpath_null+0x30/0x38)
    [ 2.702561] [<c0121918>] (warn_slowpath_null) from [<c0447e4c>] (gic_irq_domain_translate+0xec/0xf4)
    [ 2.711658] [<c0447e4c>] (gic_irq_domain_translate) from [<c017513c>] (irq_create_fwspec_mapping+0x64/0x338)
    [ 2.721443] [<c017513c>] (irq_create_fwspec_mapping) from [<c0175474>] (irq_create_of_mapping+0x64/0x6c)
    [ 2.730883] [<c0175474>] (irq_create_of_mapping) from [<c05ccd80>] (of_irq_get+0x68/0x78)
    [ 2.739029] [<c05ccd80>] (of_irq_get) from [<c04b09fc>] (platform_get_irq+0x2c/0x104)
    [ 2.746833] [<c04b09fc>] (platform_get_irq) from [<c06569b0>] (axi_jesd204_tx_probe+0x30/0x68c)
    [ 2.755496] [<c06569b0>] (axi_jesd204_tx_probe) from [<c04b05f4>] (platform_drv_probe+0x5c/0xc0)
    [ 2.764243] [<c04b05f4>] (platform_drv_probe) from [<c04ae554>] (driver_probe_device+0x210/0x2d8)
    [ 2.773077] [<c04ae554>] (driver_probe_device) from [<c04ae790>] (__device_attach_driver+0xa8/0xdc)
    [ 2.782082] [<c04ae790>] (__device_attach_driver) from [<c04ac7c0>] (bus_for_each_drv+0x70/0xa4)
    [ 2.790829] [<c04ac7c0>] (bus_for_each_drv) from [<c04ae1f8>] (__device_attach+0xc0/0x124)
    [ 2.799057] [<c04ae1f8>] (__device_attach) from [<c04ae820>] (device_initial_probe+0x1c/0x20)
    [ 2.807543] [<c04ae820>] (device_initial_probe) from [<c04ad6b0>] (bus_probe_device+0x94/0x9c)
    [ 2.816115] [<c04ad6b0>] (bus_probe_device) from [<c04adb64>] (deferred_probe_work_func+0x68/0x160)
    [ 2.825123] [<c04adb64>] (deferred_probe_work_func) from [<c013c4c0>] (process_one_work+0x15c/0x510)
    [ 2.834216] [<c013c4c0>] (process_one_work) from [<c013cb20>] (worker_thread+0x2ac/0x5e0)
    [ 2.842357] [<c013cb20>] (worker_thread) from [<c01429c0>] (kthread+0x144/0x174)
    [ 2.849723] [<c01429c0>] (kthread) from [<c0108268>] (ret_from_fork+0x14/0x2c)
    [ 2.856929] ---[ end trace 8cc47b5a4b8c6b90 ]---
    [ 2.862394] of_cfs_init
    [ 2.864893] of_cfs_init: OK
    [ 2.868006] ttyS0 - failed to request DMA
    [ 2.872190] Waiting for root device /dev/mmcblk0p2...
    [ 3.568829] altera_adxcvr ff224000.jesd204-phy: Link activation error:
    [ 3.575341] altera_adxcvr ff224000.jesd204-phy: Link PLL not locked
    [ 3.581666] altera_adxcvr ff224000.jesd204-phy: Lane 0 transceiver not ready
    [ 3.588777] altera_adxcvr ff224000.jesd204-phy: Lane 1 transceiver not ready
    [ 3.595888] altera_adxcvr ff224000.jesd204-phy: Lane 2 transceiver not ready
    [ 3.602996] altera_adxcvr ff224000.jesd204-phy: Lane 3 transceiver not ready
    [ 3.610098] altera_adxcvr ff224000.jesd204-phy: Lane 4 transceiver not ready
    [ 3.617207] altera_adxcvr ff224000.jesd204-phy: Lane 5 transceiver not ready
    [ 3.624315] altera_adxcvr ff224000.jesd204-phy: Lane 6 transceiver not ready
    [ 3.631416] altera_adxcvr ff224000.jesd204-phy: Lane 7 transceiver not ready
    [ 3.744508] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
    [ 3.754258] mmc0: new high speed SDHC card at address aaaa
    [ 3.760060] mmcblk0: mmc0:aaaa SE32G 29.7 GiB
    [ 3.767256] mmcblk0: p1 p2 p3
    [ 3.773908] random: fast init done
    [ 3.785700] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 3.793859] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 3.808983] devtmpfs: mounted
    [ 3.813630] Freeing unused kernel memory: 1024K
    [ 4.408777] systemd[1]: System time before build time, advancing clock.
    [ 4.440346] systemd[1]: Failed to lookup module alias 'autofs4': Function not implemented
    [ 4.474558] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
    [ 4.496169] systemd[1]: Detected architecture arm.

    Welcome to Kuiper GNU/Linux 10 (buster)!

    [ 4.544279] systemd[1]: Set hostname to <analog>.
    [ 4.912731] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [ 4.929734] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [ 5.094766] systemd[1]: /etc/systemd/system/tof-server.service:1: Assignment outside of section. Ignoring.
    [ 5.104440] systemd[1]: /etc/systemd/system/tof-server.service:2: Assignment outside of section. Ignoring.
    [ 5.290317] random: systemd: uninitialized urandom read (16 bytes read)
    [ 5.304742] random: systemd: uninitialized urandom read (16 bytes read)
    [ 5.312256] systemd[1]: Created slice system-getty.slice.
    [ OK ] Created slice system-getty.slice.
    [ 5.351947] random: systemd: uninitialized urandom read (16 bytes read)
    [ 5.358939] systemd[1]: Listening on udev Kernel Socket.
    [ OK ] Listening on udev Kernel Socket.
    [ 5.402332] systemd[1]: Listening on fsck to fsckd communication Socket.
    [ OK ] Listening on fsck to fsckd communication Socket.
    [ OK ] Reached target Swap.
    [ OK ] Listening on initctl Compatibility Named Pipe.
    [ OK ] Listening on Journal Socket.
    Starting Restore / save the current clock...
    Mounting Kernel Debug File System...
    Starting Load Kernel Modules...
    [ OK ] Listening on Journal Socket (/dev/log).
    Mounting RPC Pipe File System...
    [ OK ] Created slice system-serial\x2dgetty.slice.
    [ OK ] Listening on Syslog Socket.
    [ OK ] Created slice User and Session Slice.
    [ OK ] Reached target Slices.
    [ OK ] Created slice system-systemd\x2dfsck.slice.
    Starting Set the console keyboard layout...
    [ OK ] Started Forward Password R…uests to Wall Directory Watch.
    [ OK ] Listening on udev Control Socket.
    Starting udev Coldplug all Devices...
    Starting Journal Service...
    [ OK ] Started Restore / save the current clock.
    [ OK ] Mounted Kernel Debug File System.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [ OK ] Started Journal Service.
    [ OK ] Mounted RPC Pipe File System.
    [ OK ] Started Set the console keyboard layout.
    Mounting Kernel Configuration File System...
    Starting Apply Kernel Variables...
    Starting Remount Root and Kernel File Systems...
    [ OK ] Mounted Kernel Configuration File System.
    [ OK ] Started Apply Kernel Variables.
    [ OK ] Started udev Coldplug all Devices.
    Starting Helper to synchronize boot up for ifupdown...
    [ OK ] Started Helper to synchronize boot up for ifupdown.
    [ OK ] Started Remount Root and Kernel File Systems.
    Starting Flush Journal to Persistent Storage...
    Starting Load/Save Random Seed...
    Starting Create System Users...
    [ OK ] Started Load/Save Random Seed.
    [ OK ] Started Create System Users.
    [ OK ] Started Flush Journal to Persistent Storage.
    Starting Create Static Device Nodes in /dev...
    [ OK ] Started Create Static Device Nodes in /dev.
    Starting udev Kernel Device Manager...
    [ OK ] Reached target Local File Systems (Pre).
    [ OK ] Started udev Kernel Device Manager.
    Starting Show Plymouth Boot Screen...
    [ OK ] Started Show Plymouth Boot Screen.
    [ OK ] Reached target Local Encrypted Volumes.
    [ OK ] Started Forward Password R…s to Plymouth Directory Watch.
    [ OK ] Found device /dev/ttyS0.
    [ OK ] Found device /dev/disk/by-partuuid/18f1f9d5-01.
    Starting File System Check…isk/by-partuuid/18f1f9d5-01...
    [ OK ] Started File System Check Daemon to report status.
    [ OK ] Started File System Check …/disk/by-partuuid/18f1f9d5-01.
    Mounting /boot...
    [ OK ] Mounted /boot.
    [ OK ] Reached target Local File Systems.
    Starting Preprocess NFS configuration...
    Starting Set console font and keymap...
    Starting Create Volatile Files and Directories...
    Starting Raise network interfaces...
    Starting Tell Plymouth To Write Out Runtime Data...
    [ OK ] Started Preprocess NFS configuration.
    [ OK ] Started Set console font and keymap.
    [ OK ] Started Tell Plymouth To Write Out Runtime Data.
    [ OK ] Reached target NFS client services.
    [ OK ] Reached target Remote File Systems (Pre).
    [ OK ] Reached target Remote File Systems.
    [ OK ] Started Create Volatile Files and Directories.
    Starting Update UTMP about System Boot/Shutdown...
    Starting Network Time Synchronization...
    [ OK ] Started Update UTMP about System Boot/Shutdown.
    [ OK ] Started Network Time Synchronization.
    Starting Tell Plymouth To Write Out Runtime Data...
    [ OK ] Reached target System Time Synchronized.
    Starting Load Kernel Modules...
    [ OK ] Started Raise network interfaces.
    [ OK ] Started Tell Plymouth To Write Out Runtime Data.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [ OK ] Reached target System Initialization.
    [ OK ] Listening on GPS (Global P…ioning System) Daemon Sockets.
    [ OK ] Started CUPS Scheduler.
    [ OK ] Reached target Paths.
    [ OK ] Listening on CUPS Scheduler.
    [ OK ] Started Daily man-db regeneration.
    [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [ OK ] Listening on triggerhappy.socket.
    [ OK ] Listening on D-Bus System Message Bus Socket.
    [ OK ] Reached target Sockets.
    [ OK ] Reached target Basic System.
    Starting Check for Raspberry Pi EEPROM updates...
    Starting rng-tools.service...
    Starting triggerhappy global hotkey daemon...
    Starting System Logging Service...
    Starting LSB: Switch to on…nless shift key is pressed)...
    Starting Disk Manager...
    Starting dphys-swapfile - …unt, and delete a swap file...
    [ OK ] Started CUPS Scheduler.
    [ OK ] Started D-Bus System Message Bus.
    Starting WPA supplicant...
    Starting Modem Manager...
    Starting Avahi mDNS/DNS-SD Stack...
    [ OK ] Started Daily apt download activities.
    [ OK ] Started Daily apt upgrade and clean activities.
    [ OK ] Started Regular background program processing daemon.
    [ OK ] Started Daily rotation of log files.
    Starting Login Service...
    [ OK ] Started Daily Cleanup of Temporary Directories.
    [ OK ] Reached target Timers.
    Starting dhcpcd on all interfaces...
    [ OK ] Started tof-server.service.
    [ OK ] Started triggerhappy global hotkey daemon.
    [ OK ] Started System Logging Service.
    [ OK ] Started Check for Raspberry Pi EEPROM updates.
    [FAILED] Failed to start rng-tools.service.
    See 'systemctl status rng-tools.service' for details.
    [ OK ] Started Login Service.
    [ OK ] Started LSB: Switch to ond…(unless shift key is pressed).
    [ OK ] Started dhcpcd on all interfaces.
    [ OK ] Started dphys-swapfile - s…mount, and delete a swap file.
    [ OK ] Started Avahi mDNS/DNS-SD Stack.
    [ OK ] Started WPA supplicant.
    Starting Authorization Manager...
    [ OK ] Started Make remote CUPS printers available locally.
    [ OK ] Reached target Network.
    Starting /etc/rc.local Compatibility...
    [ OK ] Started IIO Daemon.
    Starting HTTP based time synchronization tool...
    Starting Permit User Sessions...
    Starting OpenBSD Secure Shell server...
    [ OK ] Started /etc/rc.local Compatibility.
    [ OK ] Started HTTP based time synchronization tool.
    [ OK ] Started Permit User Sessions.
    [ OK ] Started Authorization Manager.
    [ OK ] Started Modem Manager.
    Starting Light Display Manager...
    Starting Hold until boot process finishes up...
    [ OK ] Started Disk Manager.

    Raspbian GNU/Linux 10 analog ttyS0

    analog login: root (automatic login)

    Last login: Wed Jul 14 16:17:26 BST 2021 on ttyS0
    Linux analog 4.14.73-ltsi-g4445ce4 #2 SMP Mon Jul 12 10:41:45 CEST 2021 armv7l

    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    root@analog:~#

  • Some more log about the problem: 

    root@analog:~# systemctl status systemd-modules-load.service
    ● systemd-modules-load.service - Load Kernel Modules
    Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled)
    Active: failed (Result: exit-code) since Thu 2021-07-15 11:17:01 BST; 2h 29min ago
    Docs: man:systemd-modules-load.service(8)
    man:modules-load.d(5)
    Process: 786 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
    Main PID: 786 (code=exited, status=1/FAILURE)

    Jul 15 11:17:01 analog systemd-modules-load[786]: could not open moddep file '/lib/modules/4.14.73-ltsi-g4445ce4/modules.dep.bin'
    Jul 15 11:17:01 analog systemd-modules-load[786]: Failed to lookup module alias 'i2c-dev': Function not implemented
    Jul 15 11:17:01 analog systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
    Jul 15 11:17:01 analog systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
    Jul 15 11:17:01 analog systemd[1]: Failed to start Load Kernel Modules.
    Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

  • Update: 

    I have managed to  get the relevant directory stucture by 

    make modules_install ... command and copy it into the rootfs to the relevant location. 

    now the errors about the Load Kernel Modules has gone. 

    Still I dont have and spidev or iio devices. 

    One thing also I did is I have configured the spidev as an external modules instead of a builtin one and it loads also during the boot now as a module with its own .ko file. 

    However at the moment I am looking into udev rules and I cannot see anything that could create relevant nodes either for iio devices or spidev.  

    Most probably I will add some rules for those purposes as a next step. 

    However it would be really great to have a proved rootfs ready alongside the pre-build Kernel image coming as a packet with the Kuiper SDCard image comes from below:

    Kuiper linux image

    I will update if I have something more.

  • Dear and , would it be possible to share the Linux root file system of the evaluation board ADS7-V2EBZ ? At least I could have an idea to look into which drivers should be loaded at boot,  what udev config is needed and so on..  

    Otherwise do you have any suggestions to get correct root file system to be able to do the following?: 

    On A10soc Board, DAC-FMC board connected via FMCA, run the example application code given in the EVAL916x API for example?  Or as you suggested get something out using IIO_OSC? At the moment I cannot move a single step forward to evaluate the 9163 DAC in this setup, no single byte send to configure any chip on the DAC FMC board, no signal coming out.. 

    Best Regards,

    Ömer.

  • I don't think the rootfs of the ADS7-V2EBZ will be any useful. This board is supposed to work with ACE. A closed source evaluation application. And all driver actually run on your Windows PC.

    Use our Kuiper image, build all drivers into the kernel, as we typically not use modules.

    Use this devicetree as an example:

    There are some more AD916x examples here:

    Bindings are explained here:

    Build HDL from here:

    -Michael

Reply Children
No Data