We are facing the Linux boot issue, we figured out the cause for not booting the Linux.
We are giving
interrupt-parent = <0x4>;
in system-user.dtsi file present in the path "\meta-user\recipes-bsp\device-tree\files"
When we give the interrupt-parent = <0x4> Linux hangs, but if we not mentioned any thing about interrupt-parent=<0x4> Linux is booting but ad9434 device is not detecting.
Is there any missing configuration?, I am straightforwardly using the meta-adi 2021_2.
And also I am passing KERNEL_DTB = "zynq-zc702" in petalinuxbsp.conf file present in meta-user/conf and after that I have manually added the pl-delete-nodes-zynq-zc702.dtsi in the /meta-adi/meta-adi-xilinx/recipes-bsp/device-tree/files and also added this file in the bb file
Here I am attaching the both cases logs with interrupt-parent Linux kernel hang log and without interrupt-parent ad9434 device not detected log
/include/ "system-conf.dtsi" /delete-node/ &axi_ad9434; /delete-node/ &axi_ad9434_dma; /delete-node/ &misc_clk_0; / { interrupt-parent = <0x4>; model = "Xilinx Zynq Zc702"; clocks { ad9517_ref_clk: clock@0 { compatible = "fixed-clock"; clock-frequency = <500000000>; clock-output-names = "ad9517_refclk"; #clock-cells = <0>; }; }; }; &amba_pl { rx_dma: rx-dmac@44a30000 { compatible = "adi,axi-dmac-1.00.a"; reg = <0x44a30000 0x10000>; #dma-cells = <1>; interrupts = <0 57 4>; /* 57 */ clocks = <&clkc 16>; adi,channels { #size-cells = <0>; #address-cells = <1>; dma-channel@0 { reg = <0>; adi,source-bus-width = <64>; adi,source-bus-type = <2>; adi,destination-bus-width = <64>; adi,destination-bus-type = <0>; }; }; }; axi_ad9434_core_0: axi-ad9434-core-lpc@44a00000 { compatible = "xlnx,axi-ad9434-1.00.a"; reg = <0x44a00000 0x10000>; dmas = <&rx_dma 0>; dma-names = "rx"; spibus-connected = <&adc_ad9434>; }; }; &spi0 { status = "okay"; adc_ad9434: ad9434@0 { compatible = "adi,ad9434"; reg = <0>; spi-max-frequency = <10000000>; adi,spi-3wire-enable; clocks = <&clk_ad9517 3>; clock-names = "adc_clk"; }; clk_ad9517: ad9517@1 { compatible = "adi,ad9517-4"; reg = <1>; spi-max-frequency = <10000000>; adi,spi-3wire-enable; clocks = <&ad9517_ref_clk>, <&ad9517_ref_clk>; clock-names = "refclk", "clkin"; clock-output-names = "out0", "out1", "out2", "out3", "out4", "out5", "out6", "out7"; #clock-cells = <1>; firmware = "ad9467_intbypass_ad9517.stp"; }; }; &gem0 { status = "okay"; phy-handle = <ðernet_phy>; phy-mode = "rgmii-id"; ethernet_phy: ethernet-phy@7{ reg =<7>; }; };
U-Boot 2021.01 (Oct 12 2021 - 09:28:42 +0000) CPU: Zynq 7z020 Silicon: v3.1 Model: Xilinx Zynq Zc702 DRAM: ECC disabled 1 GiB Flash: 0 Bytes NAND: 0 MiB MMC: mmc@e0100000: 0 Loading Environment from FAT... *** Warning - bad CRC, using default environment In: serial@e0001000 Out: serial@e0001000 Err: serial@e0001000 Net: ZYNQ GEM: e000b000, mdio bus e000b000, phyaddr 7, interface rgmii-id Warning: ethernet@e000b000 (eth0) using random MAC address - c6:09:44:8a:6a:b7 eth0: ethernet@e000b000 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr 2710 bytes read in 13 ms (203.1 KiB/s) ## Executing script at 03000000 Trying to load boot images from mmc0 24093608 bytes read in 1353 ms (17 MiB/s) ## Loading kernel from FIT Image at 10000000 ... Using 'conf-system-top.dtb' configuration Verifying Hash Integrity ... OK Trying 'kernel-1' kernel subimage Description: Linux kernel Type: Kernel Image Compression: uncompressed Data Start: 0x10000100 Data Size: 7722224 Bytes = 7.4 MiB Architecture: ARM OS: Linux Load Address: 0x00200000 Entry Point: 0x00200000 Hash algo: sha256 Hash value: e7e5df98916c70e5f774e0677b850a4981e62f24556c9828d67b37175973a27e Verifying Hash Integrity ... sha256+ OK ## Loading ramdisk from FIT Image at 10000000 ... Using 'conf-system-top.dtb' configuration Verifying Hash Integrity ... OK Trying 'ramdisk-1' ramdisk subimage Description: petalinux-image-minimal Type: RAMDisk Image Compression: uncompressed Data Start: 0x10764340 Data Size: 16341745 Bytes = 15.6 MiB Architecture: ARM OS: Linux Load Address: unavailable Entry Point: unavailable Hash algo: sha256 Hash value: 167ee8605f9ea445a89e8f57c611df9d3f79614b68f8b177dd7c06fb7f3f277b Verifying Hash Integrity ... sha256+ OK ## Loading fdt from FIT Image at 10000000 ... Using 'conf-system-top.dtb' configuration Verifying Hash Integrity ... OK Trying 'fdt-system-top.dtb' fdt subimage Description: Flattened Device Tree blob Type: Flat Device Tree Compression: uncompressed Data Start: 0x1075d6fc Data Size: 27510 Bytes = 26.9 KiB Architecture: ARM Hash algo: sha256 Hash value: ead7b81f72e4b2f1dc2c592842a3900bffa86d5b5f5f14b986796b08a69a8ca7 Verifying Hash Integrity ... sha256+ OK Booting using the fdt blob at 0x1075d6fc Loading Kernel Image Loading Ramdisk to 2f06a000, end 2ffffaf1 ... OK Loading Device Tree to 2f060000, end 2f069b75 ... OK Starting kernel ... Booting Linux on physical CPU 0x0 Linux version 5.10.0-xilinx-v2021.2 (oe-user@oe-host) (arm-xilinx-linux-gnueabi-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #1 SMP PREEMPT Tue Oct 10 13:10:16 UTC 2023 CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache OF: fdt: Machine model: Xilinx Zynq Zc702 earlycon: cdns0 at MMIO 0xe0001000 (options '115200n8') printk: bootconsole [cdns0] enabled Memory policy: Data cache writealloc cma: Reserved 128 MiB at 0x38000000 Zone ranges: Normal [mem 0x0000000000000000-0x000000002fffffff] HighMem [mem 0x0000000030000000-0x000000003fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000000000000-0x000000003fffffff] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff] percpu: Embedded 15 pages/cpu s30028 r8192 d23220 u61440 Built 1 zonelists, mobility grouping on. Total pages: 260416 Kernel command line: console=ttyPS0,115200 earlycon root=/dev/ram0 rw Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 869000K/1048576K available (11264K kernel code, 826K rwdata, 7652K rodata, 1024K init, 491K bss, 48504K reserved, 131072K cma-reserved, 131072K highmem) rcu: Preemptible hierarchical RCU implementation. rcu: RCU event tracing is enabled. rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. Trampoline variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 efuse mapped to (ptrval) slcr mapped to (ptrval) L2C: platform modifies aux control register: 0x72360000 -> 0x72760000 L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000 L2C-310 erratum 769419 enabled L2C-310 enabling early BRESP for Cortex-A9 L2C-310 full line of zeros enabled for Cortex-A9 L2C-310 ID prefetch enabled, offset 1 lines L2C-310 dynamic clock gating enabled, standby mode enabled L2C-310 cache controller enabled, 8 ways, 512 kB L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001 random: get_random_bytes called from start_kernel+0x33c/0x4ec with crng_init=0 zynq_clock_init: clkc starts at (ptrval) Zynq clock init sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce07af025, max_idle_ns: 440795209040 ns Switching to timer-based delay loop, resolution 3ns clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns timer #0 at (ptrval), irq=25 Console: colour dummy device 80x30 Calibrating delay loop (skipped), value calculated using timer frequency.. 666.66 BogoMIPS (lpj=3333333) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) CPU: Testing write buffer coherency: ok CPU0: Spectre v2: using BPIALL workaround CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 Setting up static identity map for 0x100000 - 0x100060 rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 CPU1: Spectre v2: using BPIALL workaround smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated (1333.33 BogoMIPS). CPU: All CPU(s) started in SVC mode. devtmpfs: initialized VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations thermal_sys: Registered thermal governor 'step_wise' cpuidle: using governor ladder
U-Boot 2021.01 (Oct 12 2021 - 09:28:42 +0000) CPU: Zynq 7z020 Silicon: v3.1 Model: Xilinx Zynq Zc702 DRAM: ECC disabled 1 GiB Flash: 0 Bytes NAND: 0 MiB MMC: mmc@e0100000: 0 Loading Environment from FAT... *** Warning - bad CRC, using default environment In: serial@e0001000 Out: serial@e0001000 Err: serial@e0001000 Net: ZYNQ GEM: e000b000, mdio bus e000b000, phyaddr 7, interface rgmii-id Warning: ethernet@e000b000 (eth0) using random MAC address - 16:bb:a8:81:c0:af eth0: ethernet@e000b000 Hit any key to stop autoboot: 2 1 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr 2710 bytes read in 13 ms (203.1 KiB/s) ## Executing script at 03000000 Trying to load boot images from mmc0 24055720 bytes read in 1727 ms (13.3 MiB/s) ## Loading kernel from FIT Image at 10000000 ... Using 'conf-system-top.dtb' configuration Verifying Hash Integrity ... OK Trying 'kernel-1' kernel subimage Description: Linux kernel Type: Kernel Image Compression: uncompressed Data Start: 0x10000100 Data Size: 7682824 Bytes = 7.3 MiB Architecture: ARM OS: Linux Load Address: 0x00200000 Entry Point: 0x00200000 Hash algo: sha256 Hash value: cc402c3f823a6d933ac073a89210666c675b9a84a79975c108c0f32788753617 Verifying Hash Integrity ... sha256+ OK ## Loading ramdisk from FIT Image at 10000000 ... Using 'conf-system-top.dtb' configuration Verifying Hash Integrity ... OK Trying 'ramdisk-1' ramdisk subimage Description: petalinux-image-minimal Type: RAMDisk Image Compression: uncompressed Data Start: 0x1075abb8 Data Size: 16342650 Bytes = 15.6 MiB Architecture: ARM OS: Linux Load Address: unavailable Entry Point: unavailable Hash algo: sha256 Hash value: bc33b314a8adc3042bf846f125f5384c4b0872b106bc90f653b911ba5b875493 Verifying Hash Integrity ... sha256+ OK ## Loading fdt from FIT Image at 10000000 ... Using 'conf-system-top.dtb' configuration Verifying Hash Integrity ... OK Trying 'fdt-system-top.dtb' fdt subimage Description: Flattened Device Tree blob Type: Flat Device Tree Compression: uncompressed Data Start: 0x10753d14 Data Size: 28118 Bytes = 27.5 KiB Architecture: ARM Hash algo: sha256 Hash value: bce9a6a3f0bf7fb8cd3b2b0818bdb18b414328feab98a081094a30c84b1ace64 Verifying Hash Integrity ... sha256+ OK Booting using the fdt blob at 0x10753d14 Loading Kernel Image Loading Ramdisk to 2f06a000, end 2ffffe7a ... OK Loading Device Tree to 2f060000, end 2f069dd5 ... OK Starting kernel ... Booting Linux on physical CPU 0x0 Linux version 5.10.0-xilinx-v2021.2 (oe-user@oe-host) (arm-xilinx-linux-gnueabi-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #1 SMP PREEMPT Mon Feb 6 12:44:01 UTC 2023 CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache OF: fdt: Machine model: Xilinx Zynq Zc702 earlycon: cdns0 at MMIO 0xe0001000 (options '115200n8') printk: bootconsole [cdns0] enabled Memory policy: Data cache writealloc cma: Reserved 128 MiB at 0x38000000 Zone ranges: Normal [mem 0x0000000000000000-0x000000002fffffff] HighMem [mem 0x0000000030000000-0x000000003fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000000000000-0x000000003fffffff] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff] percpu: Embedded 15 pages/cpu s30028 r8192 d23220 u61440 Built 1 zonelists, mobility grouping on. Total pages: 260416 Kernel command line: console=ttyPS0,115200 earlycon root=/dev/ram0 rw Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 869004K/1048576K available (11264K kernel code, 823K rwdata, 7496K rodata, 1024K init, 489K bss, 48500K reserved, 131072K cma-reserved, 131072K highmem) rcu: Preemptible hierarchical RCU implementation. rcu: RCU event tracing is enabled. rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. Trampoline variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 efuse mapped to (ptrval) slcr mapped to (ptrval) L2C: platform modifies aux control register: 0x72360000 -> 0x72760000 L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000 L2C-310 erratum 769419 enabled L2C-310 enabling early BRESP for Cortex-A9 L2C-310 full line of zeros enabled for Cortex-A9 L2C-310 ID prefetch enabled, offset 1 lines L2C-310 dynamic clock gating enabled, standby mode enabled L2C-310 cache controller enabled, 8 ways, 512 kB L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001 random: get_random_bytes called from start_kernel+0x33c/0x4ec with crng_init=0 zynq_clock_init: clkc starts at (ptrval) Zynq clock init sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce07af025, max_idle_ns: 440795209040 ns Switching to timer-based delay loop, resolution 3ns clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns timer #0 at (ptrval), irq=25 Console: colour dummy device 80x30 Calibrating delay loop (skipped), value calculated using timer frequency.. 666.66 BogoMIPS (lpj=3333333) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) CPU: Testing write buffer coherency: ok CPU0: Spectre v2: using BPIALL workaround CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 Setting up static identity map for 0x100000 - 0x100060 rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 CPU1: Spectre v2: using BPIALL workaround smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated (1333.33 BogoMIPS). CPU: All CPU(s) started in SVC mode. devtmpfs: initialized VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations thermal_sys: Registered thermal governor 'step_wise' cpuidle: using governor ladder hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. hw-breakpoint: maximum watchpoint size is 4 bytes. zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0x(ptrval) SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb mc: Linux media interface: v0.10 videodev: Linux video capture interface: v2.00 jesd204: found 0 devices and 0 topologies FPGA manager framework Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arm_global_timer NET: Registered protocol family 2 tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Trying to unpack rootfs image as initramfs... Freeing initrd memory: 15960K hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing. hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available workingset: timestamp_bits=14 max_order=18 bucket_order=4 NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... fuse: init (API version 7.32) bounce: pool size: 64 pages io scheduler mq-deadline registered io scheduler kyber registered zynq-pinctrl 700.pinctrl: zynq pinctrl initialized dma-axi-dmac 44a30000.rx-dmac: IRQ index 0 not found dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330 dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16 brd: module loaded loop: module loaded Registered mathworks_ip class spi-nor spi0.0: SPI-NOR-UniqueID 100000237015042300070024190217084e spi-nor spi0.0: trying to lock already unlocked area spi-nor spi0.0: n25q128a11 (16384 Kbytes) 5 fixed-partitions partitions found on MTD device spi0.0 Creating 5 MTD partitions on "spi0.0": 0x000000000000-0x000000100000 : "qspi-fsbl-uboot" 0x000000100000-0x000000600000 : "qspi-linux" 0x000000600000-0x000000620000 : "qspi-device-tree" 0x000000620000-0x000000c00000 : "qspi-rootfs" 0x000000c00000-0x000001000000 : "qspi-bitstream" MACsec IEEE 802.1AE libphy: Fixed MDIO Bus: probed tun: Universal TUN/TAP device driver, 1.6 libphy: MACB_mii_bus: probed macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 40 (16:bb:a8:81:c0:af) usbcore: registered new interface driver asix usbcore: registered new interface driver ax88179_178a usbcore: registered new interface driver cdc_ether usbcore: registered new interface driver net1080 usbcore: registered new interface driver cdc_subset usbcore: registered new interface driver zaurus usbcore: registered new interface driver cdc_ncm ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver usbcore: registered new interface driver uas usbcore: registered new interface driver usb-storage usbcore: registered new interface driver usbserial_generic usbserial: USB Serial support registered for generic usbcore: registered new interface driver ftdi_sio usbserial: USB Serial support registered for FTDI USB Serial Device usbcore: registered new interface driver upd78f0730 usbserial: USB Serial support registered for upd78f0730 ULPI transceiver vendor/product ID 0x0424/0x0007 Found SMSC USB3320 ULPI transceiver. ULPI integrity check: passed. ci_hdrc ci_hdrc.0: EHCI Host Controller ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1 ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: EHCI Host Controller usb usb1: Manufacturer: Linux 5.10.0-xilinx-v2021.2 ehci_hcd usb usb1: SerialNumber: ci_hdrc.0 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected i2c /dev entries driver cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 34 si570 2-005d: registered, current frequency 148500000 Hz i2c i2c-0: Added multiplexed i2c bus 2 adv7511 3-0039: supply avdd not found, using dummy regulator adv7511 3-0039: supply dvdd not found, using dummy regulator adv7511 3-0039: supply pvdd not found, using dummy regulator adv7511 3-0039: supply bgvdd not found, using dummy regulator adv7511 3-0039: supply dvdd-3v not found, using dummy regulator i2c i2c-0: Added multiplexed i2c bus 3 at24 4-0054: supply vcc not found, using dummy regulator at24 4-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write i2c i2c-0: Added multiplexed i2c bus 4 pca953x 5-0021: supply vcc not found, using dummy regulator pca953x 5-0021: using no AI i2c i2c-0: Added multiplexed i2c bus 5 rtc-pcf8563 6-0051: registered as rtc0 rtc-pcf8563 6-0051: setting system clock to 2018-03-15T10:08:25 UTC (1521108505) i2c i2c-0: Added multiplexed i2c bus 6 i2c i2c-0: Added multiplexed i2c bus 7 i2c i2c-0: Added multiplexed i2c bus 8 i2c i2c-0: Added multiplexed i2c bus 9 pca954x 0-0074: registered 8 multiplexed busses for I2C switch pca9548 usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) gspca_main: v2.14.0 registered ucd9200 9-0034: Device ID UCD9248-80|5.8.0.11400|091112 ucd9200 9-0034: 4 rails configured random: fast init done ucd9200 9-0035: Device ID UCD9248-80|5.8.0.11400|091112 ucd9200 9-0035: 4 rails configured ucd9200 9-0036: Device ID UCD9248-80|5.8.0.11400|091112 ucd9200 9-0036: 2 rails configured cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer with timeout 10s Xilinx Zynq CpuIdle Driver started sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper ledtrig-cpu: registered to indicate activity on CPUs hid: raw HID events driver (C) Jiri Kosina usbcore: registered new interface driver usbhid usbhid: USB HID core driver ad9517 spi1.1: AD9517 successfully initialized mmc0: SDHCI controller on e0100000.mmc [e0100000.mmc] using ADMA fpga_manager fpga0: Xilinx Zynq FPGA Manager registered usbcore: registered new interface driver snd-usb-audio NET: Registered protocol family 10 Segment Routing with IPv6 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered protocol family 17 NET: Registered protocol family 36 Key type dns_resolver registered Registering SWP/SWPB emulation handler e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 37, base_baud = 3125000) is a xuartps printk: console [ttyPS0] enabled printk: console [ttyPS0] enabled printk: bootconsole [cdns0] disabled printk: bootconsole [cdns0] disabled of-fpga-region fpga-full: FPGA Region probed | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IDELAY 0x0 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IDELAY 0x0 input: gpio-keys as /devices/soc0/gpio-keys/input/input0 of_cfs_init of_cfs_init: OK ALSA device list: No soundcards found. Freeing unused kernel memory: 1024K Run /init as init process INIT: version 2.97 booting| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IDELAY 0x0 mmc0: new high speed SD card at address 3ff0 mmcblk0: mmc0:3ff0 SD02G 1.92 GiB mmcblk0: p1 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IDELAY 0x0 Starting udev udevd[87]: starting version 3.2.9 random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) udevd[88]: starting eudev-3.2.9 FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. bootlogd: /dev/ttyPS0urandom_read: 4 callbacks suppressed random: dd: uninitialized urandom read (512 bytes read) Configuring packages on first boot.... (This may take several minutes. Please do not power off the machine.) Running postinst /etc/rpm-postinsts/100-sysvinit-inittab... update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing) Removing any system startup links for run-postinsts ... /etc/rcS.d/S99run-postinsts INIT: Entering runlevel: 5 Configuring network interfaces... macb e000b000.ethernet eth0: PHY [e000b000.ethernet-ffffffff:07] driver [Marvell 88E1116R] (irq=POLL) macb e000b000.ethernet eth0: configuring for phy/rgmii-id link mode done. random: dbus-uuidgen: uninitialized urandom read (12 bytes read) random: dbus-uuidgen: uninitialized urandom read (8 bytes read) Starting system message bus: dbus. Starting haveged: haveged: command socket is listening at fd 3 haveged: haveged starting up Starting Dropbear SSH server: Waiting for kernel randomness to be initialised... haveged: haveged: ver: 1.9.13; arch: generic; vend: ; build: (gcc 10.2.0 CTV); collect: 128K haveged: haveged: cpu: (VC); data: 16K (D); inst: 16K (D); idx: 12/40; sz: 15006/57790 haveged: haveged: tot tests(BA8): A:1/1 B:1/1 continuous tests(B): last entropy estimate 7.99876 haveged: haveged: fills: 0, generated: 0 random: crng init done Generating 2048 bit rsa key, this may take a while... Public key portion is: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCBUA1RSI3dRRRXpwO5tmxXjlg1HvYA8vTnmJ3l/J0rN0DEjrS3uHHENFadtdmmi7mWZMdWiUhCpz8KPBM63dLmALTVcfkWkqRyTL+dvRpWbDHEtjPe1ZY4tCFIk1iPO9TkTrv7OmYTphmVwCrEkWYv37MJ7ir61PMcL+so3dN9KybygtU/r2W73gTXF704CE6zP70usDbLaphtxnewKZ68xt5P3T9fp69kCIfAbhLQ8vYnhwyFqdVzT3zZnAAQ8KXfRXVNVWCYpzOCwK6h2VdDH7r2CuubPfZIKM35AkXYLvZTFWdz4xaKHpR3NtRfbNJEXscMwBTvIEraI+QL7IHJ root@fiber Fingerprint: sha1!! c0:83:f7:bd:d5:59:f7:42:33:cd:da:c8:3f:34:92:ee:a7:39:cc:2f dropbear. Starting Fancontrol Daemon: fancontrold Starting IIO Daemon: iiod Starting internet superserver: inetd. Starting syslogd/klogd: done Starting tcf-agent: OK root@fiber:~# su fiber root_value Func : get_shot_config :: Oh no its NULL ad9517 & ad9434 initialization iio_create_local_passed Dev count : 3 sucessfully ad9517 dev structure ad9517 configuration success Failed ad9434 dev structure Segmentation fault root@fiber:~#