open-sdr / openwifi

open-source IEEE 802.11 WiFi baseband FPGA (chip) design: driver, software
GNU Affero General Public License v3.0
3.9k stars 659 forks source link

Cannot boot ZCU102+ FMCOMMS2: [ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004 ] #366

Open gnocil opened 1 year ago

gnocil commented 1 year ago
  1. Could you send email to xianjun.jiao@ugent.be to introduce your self? Sent

  2. Our image is used directly or you build your own image? I used the image "openwifi-1.4.0-notter.img" unzipped from "openwifi-1.4.0-notter.img.xz".

  3. What is your own modification? No modification

  4. Versions: OS, Vivado, openwifi/openwifi-hw repo branch and commit revision Ubuntu 22.04, using openwifi/openwifi-hw version in the quick instruction page, Vivado not used yet

  5. Board/hardware type ZCU102, FMCOMMS2

  6. WiFi channel number Not reach this step so far.

  7. Steps to reproduce the issue, and the related error message, screenshot, etc I followed the quick start instruction : a. flash SD card with image openwifi-1.4.0-notter.img; b. copied all files in the folder Boot/openwifi/zcu102_fmcs2/* to Boot/; Screenshot from 2023-11-23 13-51-29

Screenshot of Boot partition: Screenshot from 2023-11-23 13-46-48 Screenshot from 2023-11-23 13-46-23 Screenshot from 2023-11-23 13-46-03

c. check these two folders rootfs/root/kernel_modules rootfs/etc/network/interfaces.new and confirm these two don't exist;

Screenshot of rootfs partition: Screenshot from 2023-11-23 13-48-28 Screenshot from 2023-11-23 13-47-14

d. insert SD card to ZCU102 sd card slot with lock switched off; e. configure the boot switches to on-off-off-off to enable boot from SD card; f. connect the USB cable to PC and configure the UART console successfully; g. switch the ZCU102 board on and start seeing output as attached below.

Dear Dr. Jiao,

I built a bootable SD card for ZCU102+FMCOMMS2 using the latest image openwifi-1.4.0-notter.img.xz following the quick start instructions and I am able to see printouts from UART. However, the boot process stopped in the middle so I cannot get the OpenWiFi system running at the moment.

SD writer tool:    Ubuntu 22.04.1 Startup Disk Creator
SD card:           16 GB and 32 GB both tried

Please see the attached log from the UART. The booting ends with an error of [ end Kernel panic - not syncing] and I am unsure if it is caused by the bootable SD card files or something else as I didn't see any similar existing issues from the issue history.

Thank you for looking into the issue!

Xilinx Zynq MP First Stage Boot Loader
Release 2021.1   Mar 14 2023  -  14:21:41
NOTICE:  BL31: v2.4(release):xilinx-v2020.2-2024-g0a69763
NOTICE:  BL31: Built : 07:48:38, Sep 23 2021
PMUFW:  v1.1

U-Boot 2018.01-21439-gd244ce5 (Jul 29 2021 - 16:37:20 +0100) Xilinx ZynqMP ZCU102 revA, Build: jenkins-development-build_uboot-1

I2C:   ready
DRAM:  4 GiB
EL Level:       EL2
Chip ID:        zu9eg
MMC:   sdhci@ff170000: 0 (SD)
*** Warning - bad CRC, using default environment

In:    serial@ff000000
Out:   serial@ff000000
Err:   serial@ff000000
Bootmode: LVL_SHFT_SD_MODE1
Net:   ZYNQ GEM: ff0e0000, phyaddr 15, interface rgmii-id

Warning: ethernet@ff0e0000 using MAC address from ROM
eth0: ethernet@ff0e0000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Device: sdhci@ff170000
Manufacturer ID: 3
OEM: 5344
Name: SP32G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29.5 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
reading uEnv.txt
407 bytes read in 20 ms (19.5 KiB/s)
Loaded environment from uEnv.txt
Importing environment from SD ...
Running uenvcmd ...
Copying Linux from SD to RAM...
** No boot file defined **
reading system.dtb
60368 bytes read in 30 ms (1.9 MiB/s)
reading Image
32997888 bytes read in 2199 ms (14.3 MiB/s)
## Flattened Device Tree blob at 04000000
   Booting using the fdt blob at 0x4000000
   Loading Device Tree to 000000000ffee000, end 000000000ffffbcf ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.10.0-98248-g1bbe32fa5182-dirty (jxj@jxj-pc) (aarch64-xilinx-linux-gcc.real (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.0.20200730) #4 SMP Tue Mar 14 12:25:14 CET 2023
[    0.000000] Machine model: ZynqMP ZCU102 Rev1.0
[    0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[    0.000000] printk: bootconsole [cdns0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 256 MiB at 0x0000000070000000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000087fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000]   node   0: [mem 0x0000000800000000-0x000000087fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000087fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 22 pages/cpu s49496 r8192 d32424 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1034240
[    0.000000] Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlycon rootfstype=ext4 rootwait clk_ignore_unused cpuidle.off=1 root=/dev/mmcblk0p2 rw rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x000000003bfff000-0x000000003ffff000] (64MB)
[    0.000000] Memory: 3761116K/4194304K available (15744K kernel code, 1696K rwdata, 12016K rodata, 2624K init, 508K bss, 171044K reserved, 262144K cma-reserved)
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x31c/0x550 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 100.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
[    0.000004] sched_clock: 56 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
[    0.008464] Console: colour dummy device 80x25
[    0.012483] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
[    0.022840] pid_max: default: 32768 minimum: 301
[    0.027562] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.034788] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.043412] rcu: Hierarchical SRCU implementation.
[    0.047558] EFI services will not be available.
[    0.051939] smp: Bringing up secondary CPUs ...
[    0.056664] Detected VIPT I-cache on CPU1
[    0.056703] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.057073] Detected VIPT I-cache on CPU2
[    0.057097] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.057437] Detected VIPT I-cache on CPU3
[    0.057460] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.057507] smp: Brought up 1 node, 4 CPUs
[    0.091779] SMP: Total of 4 processors activated.
[    0.096452] CPU features: detected: 32-bit EL0 Support
[    0.101555] CPU features: detected: CRC32 instructions
[    0.106695] CPU: All CPU(s) started at EL2
[    0.110736] alternatives: patching kernel code
[    0.116181] devtmpfs: initialized
[    0.124519] Registered cp15_barrier emulation handler
[    0.124570] Registered setend emulation handler
[    0.128551] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.138132] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.151511] pinctrl core: initialized pinctrl subsystem
[    0.152231] NET: Registered protocol family 16
[    0.156559] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.162587] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.170313] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.178120] audit: initializing netlink subsys (disabled)
[    0.183575] audit: type=2000 audit(0.116:1): state=initialized audit_enabled=0 res=1
[    0.183915] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.197948] ASID allocator initialised with 65536 entries
[    0.224276] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.225334] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.232005] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.238667] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    1.304357] DRBG: Continuing without Jitter RNG
[    1.382115] raid6: neonx8   gen()  2137 MB/s
[    1.450175] raid6: neonx8   xor()  1597 MB/s
[    1.518240] raid6: neonx4   gen()  2205 MB/s
[    1.586292] raid6: neonx4   xor()  1565 MB/s
[    1.654356] raid6: neonx2   gen()  2078 MB/s
[    1.722413] raid6: neonx2   xor()  1432 MB/s
[    1.790481] raid6: neonx1   gen()  1780 MB/s
[    1.858533] raid6: neonx1   xor()  1220 MB/s
[    1.926600] raid6: int64x8  gen()  1438 MB/s
[    1.994653] raid6: int64x8  xor()   771 MB/s
[    2.062727] raid6: int64x4  gen()  1602 MB/s
[    2.130776] raid6: int64x4  xor()   819 MB/s
[    2.198853] raid6: int64x2  gen()  1395 MB/s
[    2.266905] raid6: int64x2  xor()   747 MB/s
[    2.334974] raid6: int64x1  gen()  1032 MB/s
[    2.403030] raid6: int64x1  xor()   517 MB/s
[    2.403069] raid6: using algorithm neonx4 gen() 2205 MB/s
[    2.407017] raid6: .... xor() 1565 MB/s, rmw enabled
[    2.411952] raid6: using neon recovery algorithm
[    2.416966] iommu: Default domain type: Translated
[    2.421583] SCSI subsystem initialized
[    2.425244] usbcore: registered new interface driver usbfs
[    2.430575] usbcore: registered new interface driver hub
[    2.435850] usbcore: registered new device driver usb
[    2.440979] mc: Linux media interface: v0.10
[    2.445103] videodev: Linux video capture interface: v2.00
[    2.450574] pps_core: LinuxPPS API ver. 1 registered
[    2.455463] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.464553] PTP clock support registered
[    2.468466] EDAC MC: Ver: 3.0.0
[    2.471931] zynqmp-ipi-mbox mailbox@ff990400: Registered ZynqMP IPI mbox with TX/RX channels.
[    2.480406] jesd204: found 0 devices and 0 topologies
[    2.485073] FPGA manager framework
[    2.488549] Advanced Linux Sound Architecture Driver Initialized.
[    2.494862] Bluetooth: Core ver 2.22
[    2.498030] NET: Registered protocol family 31
[    2.502432] Bluetooth: HCI device and connection manager initialized
[    2.508748] Bluetooth: HCI socket layer initialized
[    2.513592] Bluetooth: L2CAP socket layer initialized
[    2.518612] Bluetooth: SCO socket layer initialized
[    2.523804] clocksource: Switched to clocksource arch_sys_counter
[    2.529606] VFS: Disk quotas dquot_6.6.0
[    2.533444] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.544167] NET: Registered protocol family 2
[    2.544891] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    2.553076] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    2.561106] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    2.568554] TCP: Hash tables configured (established 32768 bind 32768)
[    2.574779] MPTCP token hash table entries: 4096 (order: 4, 98304 bytes, linear)
[    2.582084] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    2.588746] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    2.595923] NET: Registered protocol family 1
[    2.600371] RPC: Registered named UNIX socket transport module.
[    2.605980] RPC: Registered udp transport module.
[    2.610646] RPC: Registered tcp transport module.
[    2.615314] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.622303] PCI: CLS 0 bytes, default 64
[    2.626015] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    2.632865] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    2.641238] Initialise system trusted keyrings
[    2.644896] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[    2.651819] NFS: Registering the id_resolver key type
[    2.656238] Key type id_resolver registered
[    2.660381] Key type id_legacy registered
[    2.664373] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.671038] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    2.678209] fuse: init (API version 7.32)
[    2.717711] NET: Registered protocol family 38
[    2.717754] xor: measuring software checksum speed
[    2.725445]    8regs           :  2363 MB/sec
[    2.729114]    32regs          :  2799 MB/sec
[    2.734058]    arm64_neon      :  2379 MB/sec
[    2.734247] xor: using function: 32regs (2799 MB/sec)
[    2.739272] Key type asymmetric registered
[    2.743333] Asymmetric key parser 'x509' registered
[    2.748194] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    2.755532] io scheduler mq-deadline registered
[    2.760028] io scheduler kyber registered
[    2.789329] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.794074] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.800303] brd: module loaded
[    2.804485] loop: module loaded
[    2.804788] Registered mathworks_ip class
[    2.808328] libphy: Fixed MDIO Bus: probed
[    2.811265] tun: Universal TUN/TAP device driver, 1.6
[    2.815390] CAN device driver interface
[    2.819964] usbcore: registered new interface driver asix
[    2.824504] usbcore: registered new interface driver ax88179_178a
[    2.830554] usbcore: registered new interface driver cdc_ether
[    2.836341] usbcore: registered new interface driver net1080
[    2.841962] usbcore: registered new interface driver cdc_subset
[    2.847843] usbcore: registered new interface driver zaurus
[    2.853393] usbcore: registered new interface driver cdc_ncm
[    2.859837] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.865476] ehci-pci: EHCI PCI platform driver
[    2.870287] usbcore: registered new interface driver uas
[    2.875202] usbcore: registered new interface driver usb-storage
[    2.881178] usbcore: registered new interface driver usbserial_generic
[    2.887630] usbserial: USB Serial support registered for generic
[    2.893602] usbcore: registered new interface driver ftdi_sio
[    2.899305] usbserial: USB Serial support registered for FTDI USB Serial Device
[    2.906582] usbcore: registered new interface driver upd78f0730
[    2.912453] usbserial: USB Serial support registered for upd78f0730
[    2.920140] rtc_zynqmp ffa60000.rtc: registered as rtc0
[    2.923879] rtc_zynqmp ffa60000.rtc: setting system clock to 2038-04-28T20:26:38 UTC (2156099198)
[    2.932743] i2c /dev entries driver
[    2.938077] usbcore: registered new interface driver uvcvideo
[    2.941853] USB Video Class driver (1.1.1)
[    2.947480] Bluetooth: HCI UART driver ver 2.3
[    2.950336] Bluetooth: HCI UART protocol H4 registered
[    2.955434] Bluetooth: HCI UART protocol BCSP registered
[    2.960723] Bluetooth: HCI UART protocol LL registered
[    2.965812] Bluetooth: HCI UART protocol ATH3K registered
[    2.971187] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.977442] Bluetooth: HCI UART protocol Intel registered
[    2.982777] Bluetooth: HCI UART protocol QCA registered
[    2.987980] usbcore: registered new interface driver bcm203x
[    2.993601] usbcore: registered new interface driver bpa10x
[    2.999135] usbcore: registered new interface driver bfusb
[    3.004585] usbcore: registered new interface driver btusb
[    3.010050] usbcore: registered new interface driver ath3k
[    3.015531] EDAC MC: ECC not enabled
[    3.019164] EDAC DEVICE0: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[    3.031483] sdhci: Secure Digital Host Controller Interface driver
[    3.037261] sdhci: Copyright(c) Pierre Ossman
[    3.041587] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.047650] ledtrig-cpu: registered to indicate activity on CPUs
[    3.053192] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    3.059617] zynqmp_firmware_probe Platform Management API v1.1
[    3.065377] zynqmp_firmware_probe Trustzone version v1.0
[    3.104211] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: zynqmp pinctrl initialized
[    3.151868] zynqmp-aes firmware:zynqmp-firmware:zynqmp-aes: will run requests pump with realtime priority
[    3.167589] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[    3.168315] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[    3.173810] usbcore: registered new interface driver usbhid
[    3.179201] usbhid: USB HID core driver
[    3.190080] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    3.191373] usbcore: registered new interface driver snd-usb-audio
[    3.198846] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    3.205017] Initializing XFRM netlink socket
[    3.208862] NET: Registered protocol family 10
[    3.213617] Segment Routing with IPv6
[    3.216974] NET: Registered protocol family 17
[    3.221252] NET: Registered protocol family 15
[    3.225745] can: controller area network core
[    3.230003] NET: Registered protocol family 29
[    3.234391] can: raw protocol
[    3.237328] can: broadcast manager protocol
[    3.241483] can: netlink gateway - max_hops=1
[    3.245888] Bluetooth: RFCOMM TTY layer initialized
[    3.250657] Bluetooth: RFCOMM socket layer initialized
[    3.255764] Bluetooth: RFCOMM ver 1.11
[    3.259476] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.264747] Bluetooth: BNEP filters: protocol multicast
[    3.269941] Bluetooth: BNEP socket layer initialized
[    3.274868] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.280755] Bluetooth: HIDP socket layer initialized
[    3.285807] 9pnet: Installing 9P2000 support
[    3.289929] NET: Registered protocol family 36
[    3.294344] Key type dns_resolver registered
[    3.298782] registered taskstats version 1
[    3.302639] Loading compiled-in X.509 certificates
[    3.307743] Btrfs loaded, crc32c=crc32c-generic
[    3.320382] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 48, base_baud = 6249999) is a xuartps
[    3.329401] printk: console [ttyPS0] enabled
[    3.329401] printk: console [ttyPS0] enabled
[    3.333695] printk: bootconsole [cdns0] disabled
[    3.333695] printk: bootconsole [cdns0] disabled
[    3.343326] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 49, base_baud = 6249999) is a xuartps
[    3.356535] of-fpga-region fpga-full: FPGA Region probed
[    3.363462] nwl-pcie fd0e0000.pcie: host bridge /axi/pcie@fd0e0000 ranges:
[    3.370357] nwl-pcie fd0e0000.pcie:      MEM 0x00e0000000..0x00efffffff -> 0x00e0000000
[    3.378358] nwl-pcie fd0e0000.pcie:      MEM 0x0600000000..0x07ffffffff -> 0x0600000000
[    3.386419] nwl-pcie fd0e0000.pcie: Link is DOWN
[    3.391175] nwl-pcie fd0e0000.pcie: PCI host bridge to bus 0000:00
[    3.397355] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.402836] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    3.409707] pci_bus 0000:00: root bus resource [mem 0x600000000-0x7ffffffff pref]
[    3.417210] pci 0000:00:00.0: [10ee:d021] type 01 class 0x060400
[    3.423269] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
[    3.433742] pci 0000:00:00.0: PCI bridge to [bus 01-0c]
[    3.439324] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[    3.446495] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[    3.453663] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[    3.460834] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[    3.468002] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[    3.475170] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[    3.482338] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[    3.489509] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[    3.496898] xilinx-zynqmp-dpdma fd4c0000.dma-controller: Xilinx DPDMA engine is probed
[    3.505424] ahci-ceva fd0c0000.ahci: supply ahci not found, using dummy regulator
[    3.512968] ahci-ceva fd0c0000.ahci: supply phy not found, using dummy regulator
[    3.521422] ad9361 spi1.0: ad9361_probe : enter (ad9361)
[    3.527666] ad9361 spi1.0: No GPIOs defined for ext band ctrl
[    3.543305] random: fast init done
[    3.759336] ad9361 spi1.0: ad9361_probe : AD936x Rev 0 successfully initialized
[    3.767393] spi-nor spi0.0: SPI-NOR-UniqueID 2c3991000211000b006bce71c54b
[    3.774181] spi-nor spi0.0: found mt25qu512a, expected m25p80
[    3.780578] spi-nor spi0.0: trying to lock already unlocked area
[    3.786581] spi-nor spi0.0: mt25qu512a (131072 Kbytes)
[    3.791732] 4 fixed-partitions partitions found on MTD device spi0.0
[    3.798078] Creating 4 MTD partitions on "spi0.0":
[    3.802862] 0x000000000000-0x000000100000 : "qspi-fsbl-uboot"
[    3.809363] 0x000000100000-0x000000600000 : "qspi-linux"
[    3.815305] 0x000000600000-0x000000620000 : "qspi-device-tree"
[    3.821802] 0x000000620000-0x000000c00000 : "qspi-rootfs"
[    3.830314] macb ff0e0000.ethernet: Not enabling partial store and forward
[    3.837828] libphy: MACB_mii_bus: probed
[    3.842811] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0e0000 irq 30 (00:0a:35:04:cc:2a)
[    3.853031] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[    3.859588] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[    3.866110] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[    3.872639] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[    3.882664] pca953x 0-0020: supply vcc not found, using dummy regulator
[    3.889345] pca953x 0-0020: using no AI
[    3.893839] gpio-496 (sel0): hogged as output/low
[    3.898734] gpio-497 (sel1): hogged as output/high
[    3.903721] gpio-498 (sel2): hogged as output/high
[    3.908709] gpio-499 (sel3): hogged as output/high
[    3.913886] pca953x 0-0021: supply vcc not found, using dummy regulator
[    3.920559] pca953x 0-0021: using no AI
[    3.926314] ina2xx 2-0040: power monitor ina226 (Rshunt = 5000 uOhm)
[    3.933344] ina2xx 2-0041: power monitor ina226 (Rshunt = 5000 uOhm)
[    3.940377] ina2xx 2-0042: power monitor ina226 (Rshunt = 5000 uOhm)
[    3.947402] ina2xx 2-0043: power monitor ina226 (Rshunt = 5000 uOhm)
[    3.954419] ina2xx 2-0044: power monitor ina226 (Rshunt = 5000 uOhm)
[    3.961448] ina2xx 2-0045: power monitor ina226 (Rshunt = 5000 uOhm)
[    3.968482] ina2xx 2-0046: power monitor ina226 (Rshunt = 5000 uOhm)
[    3.975505] ina2xx 2-0047: power monitor ina226 (Rshunt = 5000 uOhm)
[    3.982581] ina2xx 2-004a: power monitor ina226 (Rshunt = 5000 uOhm)
[    3.989608] ina2xx 2-004b: power monitor ina226 (Rshunt = 5000 uOhm)
[    3.996014] i2c i2c-0: Added multiplexed i2c bus 2
[    4.001606] ina2xx 3-0040: power monitor ina226 (Rshunt = 2000 uOhm)
[    4.008633] ina2xx 3-0041: power monitor ina226 (Rshunt = 5000 uOhm)
[    4.015659] ina2xx 3-0042: power monitor ina226 (Rshunt = 5000 uOhm)
[    4.022685] ina2xx 3-0043: power monitor ina226 (Rshunt = 5000 uOhm)
[    4.029712] ina2xx 3-0044: power monitor ina226 (Rshunt = 5000 uOhm)
[    4.036737] ina2xx 3-0045: power monitor ina226 (Rshunt = 5000 uOhm)
[    4.043760] ina2xx 3-0046: power monitor ina226 (Rshunt = 5000 uOhm)
[    4.050799] ina2xx 3-0047: power monitor ina226 (Rshunt = 5000 uOhm)
[    4.057196] i2c i2c-0: Added multiplexed i2c bus 3
[    4.113325] i2c i2c-0: Added multiplexed i2c bus 4
[    4.118268] i2c i2c-0: Added multiplexed i2c bus 5
[    4.123055] pca954x 0-0075: registered 4 multiplexed busses for I2C mux pca9544
[    4.130404] cdns-i2c ff020000.i2c: 400 kHz mmio ff020000 irq 32
[    4.138169] at24 6-0054: supply vcc not found, using dummy regulator
[    4.145054] at24 6-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
[    4.151808] i2c i2c-1: Added multiplexed i2c bus 6
[    4.158078] si5341 7-0036: Chip: 5341 Grade: 1 Rev: 1
[    4.196103] i2c i2c-1: Added multiplexed i2c bus 7
[    4.203780] si570 8-005d: registered, current frequency 300000000 Hz
[    4.210182] i2c i2c-1: Added multiplexed i2c bus 8
[    4.229975] si570 9-005d: registered, current frequency 148500000 Hz
[    4.236378] i2c i2c-1: Added multiplexed i2c bus 9
[    4.241434] si5324 10-0069: si5328 probed
[    4.308244] si5324 10-0069: si5328 probe successful
[    4.313170] i2c i2c-1: Added multiplexed i2c bus 10
[    4.318211] i2c i2c-1: Added multiplexed i2c bus 11
[    4.323229] i2c i2c-1: Added multiplexed i2c bus 12
[    4.328249] i2c i2c-1: Added multiplexed i2c bus 13
[    4.333128] pca954x 1-0074: registered 8 multiplexed busses for I2C switch pca9548
[    4.342297] at24 14-0050: supply vcc not found, using dummy regulator
[    4.349081] at24 14-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[    4.355836] i2c i2c-1: Added multiplexed i2c bus 14
[    4.360876] i2c i2c-1: Added multiplexed i2c bus 15
[    4.365912] i2c i2c-1: Added multiplexed i2c bus 16
[    4.370948] i2c i2c-1: Added multiplexed i2c bus 17
[    4.375981] i2c i2c-1: Added multiplexed i2c bus 18
[    4.381020] i2c i2c-1: Added multiplexed i2c bus 19
[    4.386052] i2c i2c-1: Added multiplexed i2c bus 20
[    4.391082] i2c i2c-1: Added multiplexed i2c bus 21
[    4.395962] pca954x 1-0075: registered 8 multiplexed busses for I2C switch pca9548
[    4.403571] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 33
[    4.413303] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s
[    4.457213] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[    4.592622] mmc0: new high speed SDHC card at address c7c7
[    4.598448] mmcblk0: mmc0:c7c7 SP32G 29.5 GiB
[    4.604320]  mmcblk0: p1 p2 p3
[    5.245692] cf_axi_adc 99020000.cf-ad9361-lpc: ADI AIM (10.01.b) at 0x99020000 mapped to 0x(____ptrval____), probed ADC AD9361 as MASTER
[    5.276279] cf_axi_dds 99024000.cf-ad9361-dds-core-lpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.01.b) at 0x99024000 mapped to 0x(____ptrval____), probed DDS AD9361
[    5.291953] zynqmp-display fd4a0000.display: vtc bridge property not present
[    5.300152] zynqmp_clk_divider_set_rate() set divider failed for spi1_ref_div1, ret = -13
[    5.309834] xilinx-dp-snd-codec fd4a0000.display:zynqmp_dp_snd_codec0: Failed to get required clock freq
[    5.319334] xilinx-dp-snd-codec: probe of fd4a0000.display:zynqmp_dp_snd_codec0 failed with error -22
[    5.328870] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[    5.337031] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[    5.345279] OF: graph: no port node found in /axi/display@fd4a0000
[    5.351670] xlnx-drm xlnx-drm.0: bound fd4a0000.display (ops 0xffffffc01103c4f8)
[    6.435819] zynqmp-display fd4a0000.display: [drm] Cannot find any crtc or sizes
[    6.443445] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.display on minor 0
[    6.450938] zynqmp-display fd4a0000.display: ZynqMP DisplayPort Subsystem driver probed
[    6.459241] ahci-ceva fd0c0000.ahci: supply ahci not found, using dummy regulator
[    6.466788] ahci-ceva fd0c0000.ahci: supply phy not found, using dummy regulator
[    6.474242] ahci-ceva fd0c0000.ahci: supply target not found, using dummy regulator
[    6.482072] ahci-ceva fd0c0000.ahci: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    6.491026] ahci-ceva fd0c0000.ahci: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst
[    6.501562] scsi host0: ahci-ceva
[    6.505156] scsi host1: ahci-ceva
[    6.508577] ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 45
[    6.516496] ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 45
[    6.525114] OF: graph: no port node found in /axi/phy@fd400000
[    6.540479] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    6.547761] of_cfs_init
[    6.550229] of_cfs_init: OK
[    6.553209] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.690588] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.697124] clk: Not disabling unused clocks
[    6.701656] ALSA device list:
[    6.704619]   No soundcards found.
[    6.708295] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    6.716910] cfg80211: failed to load regulatory.db
[    6.838009] ata2: SATA link down (SStatus 0 SControl 330)
[    6.843426] ata1: SATA link down (SStatus 0 SControl 330)
[    6.863572] EXT4-fs (mmcblk0p2): recovery complete
[    6.868372] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    6.876476] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    6.890866] devtmpfs: mounted
[    6.894699] Freeing unused kernel memory: 2624K
[    6.899365] Run /sbin/init as init process
Assertion 'clock_gettime(map_clock_id(clock_id), &ts) == 0' faile[    7.485238] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
d at src/basic/ti[m e- u t il7.c.:4549,6 f2u2nc7t]io n CnPowU(:).3 PID: 1 Comm: init Not tainted 5.10.0-98248-g1bbe32fa5182-dirty #4
 Abortin[g.
   7.507852] Hardware name: ZynqMP ZCU102 Rev1.0 (DT)
[    7.513842] Call trace:
[    7.516280]  dump_backtrace+0x0/0x190
[    7.519928]  show_stack+0x18/0x30
[    7.523236]  dump_stack+0xd4/0x110
[    7.526630]  panic+0x15c/0x310
[    7.529676]  do_exit+0x8b8/0x904
[    7.531831] zynqmp-display fd4a0000.display: [drm] Cannot find any crtc or sizes
[    7.532898]  do_group_exit+0x38/0xa0
[    7.543833]  get_signal+0x154/0x76c
[    7.547305]  do_notify_resume+0x228/0x12ec
[    7.551384]  work_pending+0xc/0x39c
[    7.554858] SMP: stopping secondary CPUs
[    7.558773] Kernel Offset: disabled
[    7.562251] CPU features: 0x0040002,20002004
[    7.566503] Memory Limit: none
[    7.569546] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004 ]---
wangdan25 commented 1 year ago

The reason I had this problem earlier was that the SD was locked, you can check SD card

gnocil commented 1 year ago

The reason I had this problem earlier was that the SD was locked, you can check SD card

Hi, thanks for sharing your experience. I have checked the lock switch on my SD, but, unfortunately, it is not locked. I have tried to put it on lock mode, and I was having unable to mount error and kernel panic error.

JiaoXianjun commented 1 year ago

Can you fill in all the info in our template?

Can you share the detailed info of all your operation from downloading the img to inserting the sd card on board? (The Linux commands and the outputs, the file operations, etc.)

gnocil commented 1 year ago

Can you fill in all the info in our template?

Can you share the detailed info of all your operation from downloading the img to inserting the sd card on board? (The Linux commands and the outputs, the file operations, etc.)

Hi Dr Jiao,

Please see the updated post on the top with all requested info supplied.

Basically, I just flashed the .img into a 16GB SD card and have not done anything else. The UART prints Kernel panic errors, so haven't had the chance to input Linux commands yet. I also tried the SD card coming along with the FMCOMNNS2 board, and I can see the linux successfully running with root@analog: prompt.

OGRLEAF commented 1 month ago

I encountered the same issue. I suspect that the RTC is in an abnormal state. During initialization, Kuiper requests the clock, but it fails. The most apparent solution is to set CONFIG_RTC_DRV_ZYNQMP=n in the kernel configuration and then rebuild the kernel.