Hello,
=======================================
I’m using board ZC702.
Peatalinux, vivado, and vitis versions are all 2022.1,
Ubuntu version is 18.04.1.
Currently, I succeeded in creating an SD card image through the SD card image creation document presented by PYNQ.
After creating the image, I put the .img file on the sd card through the dd command.
(“cp” command was not used.)
(.img files are located under PYNQ/sdbuild/output/ZC702-3.0.1.img)
Problem 1) Unfortunately, however, I put the SD card in ZC702, but the DONE LED didn’t come up.
- I’ve checked the POWER,
- The board wasn’t broken,
- I also checked the BOOTING MODE(SD CARD).
Maybe it’s because of Problem 1, but even if I connect to Ethernet, the ip doesn’t connect.
Just in case, I checked on the uart serial terminal,
It stopped making these errors.
U-Boot 2022.01 (Apr 04 2022 - 07:53:54 +0000)
CPU: Zynq 7z020
Silicon: v3.1
Model: Zynq ZC702 Development Board
DRAM: ECC disabled 1 GiB
Flash: 0 Bytes
NAND: 0 MiB
MMC: mmc@e0100000: 0
Loading Environment from FAT... *** Error - No Valid Environment Area found
*** Warning - bad env area, using default environment
In: serial@e0001000
Out: serial@e0001000
Err: serial@e0001000
Net:
ZYNQ GEM: e000b000, mdio bus e000b000, phyaddr 7, interface rgmii-id
zynq_gem ethernet@e000b000: Failed to read eth PHY id, err: -2
Could not get PHY for eth0: addr 7
No ethernet found.
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
2776 bytes read in 9 ms (300.8 KiB/s)
## Executing script at 03000000
Trying to load boot images from mmc0
6470556 bytes read in 364 ms (17 MiB/s)
## Loading kernel from FIT Image at 10000000 ...
Using 'conf-1' configuration
Verifying Hash Integrity ... OK
Trying 'kernel-0' kernel subimage
Description: Linux Kernel
Type: Kernel Image
Compression: uncompressed
Data Start: 0x100000d4
Data Size: 6442720 Bytes = 6.1 MiB
Architecture: ARM
OS: Linux
Load Address: 0x00080000
Entry Point: 0x00080000
Hash algo: sha1
Hash value: b056acb229d05b806f975396dacae4ad04002e0c
Verifying Hash Integrity ... sha1+ OK
## Loading fdt from FIT Image at 10000000 ...
Using 'conf-1' configuration
Verifying Hash Integrity ... OK
Trying 'fdt-0' fdt subimage
Description: Flattened Device Tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x106250a8
Data Size: 26019 Bytes = 25.4 KiB
Architecture: ARM
Hash algo: sha1
Hash value: 360e0b1c776b65df3b4adafff3fbb54b08b3c064
Verifying Hash Integrity ... sha1+ OK
Booting using the fdt blob at 0x106250a8
ZYNQ GEM: e000b000, mdio bus e000b000, phyaddr 7, interface rgmii-id
zynq_gem ethernet@e000b000: Failed to read eth PHY id, err: -2
Could not get PHY for eth0: addr 7
ZYNQ GEM: e000b000, mdio bus e000b000, phyaddr 7, interface rgmii-id
zynq_gem ethernet@e000b000: Failed to read eth PHY id, err: -2
Could not get PHY for eth0: addr 7
Loading Kernel Image
Loading Device Tree to 2fff6000, end 2ffff5a2 ... OK
Starting kernel ...
Booting Linux on physical CPU 0x0
Linux version 5.15.19-xilinx-v2022.1 (oe-user@oe-host) (arm-xilinx-linux-gnueabi-gcc (GCC) 11.2.inutils) 2.37.20210721) #1 SMP PREEMPT Mon Apr 11 17:52:14 UTC 2022
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: Zynq ZC702 Development Board
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 12 pages/cpu s18828 r8192 d22132 u49152
Built 1 zonelists, mobility grouping on. Total pages: 260416
Kernel command line: root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait devtmpfs.mount=q.of_id="generic-uio" clk_ignore_unused
Unknown kernel command line parameters "earlyprintk", will be passed to user space.
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: 892856K/1048576K available (9216K kernel code, 324K rwdata, 2512K rodata, 1024K init, 29eserved, 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.
Tracing 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)
GIC physical location is 0xf8f01000
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+0x364/0x5f8 with crng_init=0
zynq_clock_init: clkc starts at (ptrval)
Zynq clock init
sched_clock: 64 bits at 166MHz, resolution 6ns, wraps every 4398046511103ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x26703d7dd8, max_idle_ns: 4
Switching to timer-based delay loop, resolution 6ns
Console: colour dummy device 80x30
printk: console [tty0] enabled
Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=
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 (666.66 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 PF_NETLINK/PF_ROUTE protocol family
DMA: preallocated 256 KiB pool for atomic coherent allocations
thermal_sys: Registered thermal governor 'step_wise'
cpuidle: using governor menu
amba f8801000.etb: Fixing up cyclic dependency with replicator
amba f8803000.tpiu: Fixing up cyclic dependency with replicator
amba f8804000.funnel: Fixing up cyclic dependency with replicator
amba f889c000.ptm: Fixing up cyclic dependency with f8804000.funnel
amba f889d000.ptm: Fixing up cyclic dependency with f8804000.funnel
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
zynq-ocm f800c000.ocmc: can't request region for resource [mem 0xfffc0000-0xffffffff]
zynq-ocm: probe of f800c000.ocmc failed with error -16
raid6: int32x8 gen() 120 MB/s
raid6: int32x8 xor() 80 MB/s
raid6: int32x4 gen() 127 MB/s
raid6: int32x4 xor() 91 MB/s
raid6: int32x2 gen() 206 MB/s
raid6: int32x2 xor() 129 MB/s
raid6: int32x1 gen() 185 MB/s
raid6: int32x1 xor() 102 MB/s
raid6: using algorithm int32x2 gen() 206 MB/s
raid6: .... xor() 129 MB/s, rmw enabled
raid6: using intx1 recovery algorithm
vgaarb: loaded
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
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
EDAC MC: Ver: 3.0.0
FPGA manager framework
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource arm_global_timer
NET: Registered PF_INET protocol family
IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
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 PF_UNIX/PF_LOCAL protocol family
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.
PCI: CLS 0 bytes, default 64
armv7-pmu f8891000.pmu: hw perfevents: no interrupt-affinity property, guessing.
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
Initialise system trusted keyrings
workingset: timestamp_bits=14 max_order=18 bucket_order=4
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
xor: measuring software checksum speed
arm4regs : 1072 MB/sec
8regs : 826 MB/sec
32regs : 857 MB/sec
xor: using function: arm4regs (1072 MB/sec)
Key type asymmetric registered
Asymmetric key parser 'x509' registered
bounce: pool size: 64 pages
io scheduler mq-deadline registered
io scheduler kyber registered
zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
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
spi-nor spi0.0: found s25fl256s1, expected n25q128a11
spi-nor spi0.0: s25fl256s1 (32768 Kbytes)
3 fixed-partitions partitions found on MTD device spi0.0
Creating 3 MTD partitions on "spi0.0":
0x000000000000-0x000000500000 : "boot"
0x000000500000-0x000000520000 : "bootenv"
0x000000520000-0x000000fa0000 : "kernel"
tun: Universal TUN/TAP device driver, 1.6
CAN device driver interface
xilinx_can e0008000.can can0: TDC Offset value not in range
macb e000b000.ethernet: invalid hw address, using random
mdio_bus e000b000.ethernet-ffffffff: MDIO device at address 7 is missing.
macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 36 (e6:14:d2:7f:e4:3a)
e1000e: Intel(R) PRO/1000 Network Driver
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver cdc_wdm
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 usb_serial_simple
usbserial: USB Serial support registered for carelink
usbserial: USB Serial support registered for zio
usbserial: USB Serial support registered for funsoft
usbserial: USB Serial support registered for flashloader
usbserial: USB Serial support registered for google
usbserial: USB Serial support registered for libtransistor
usbserial: USB Serial support registered for vivopay
usbserial: USB Serial support registered for moto_modem
usbserial: USB Serial support registered for motorola_tetra
usbserial: USB Serial support registered for novatel_gps
usbserial: USB Serial support registered for hp4x
usbserial: USB Serial support registered for suunto
usbserial: USB Serial support registered for siemens_mpi
ULPI transceiver vendor/product ID 0x0451/0x1507
Found TI TUSB1210 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
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
i2c_dev: i2c /dev entries driver
cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 31
pca954x 0-0074: probe failed
cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer with timeout 10s
device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
EDAC MC: ECC not enabled
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
clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns
timer #0 at (ptrval), irq=49
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
xlnk xlnk: Major 244
xlnk xlnk: xlnk driver loaded
xlnk xlnk: xlnk_pdev is not null
fpga_manager fpga0: Xilinx Zynq FPGA Manager registered
IPVS: Registered protocols (TCP, UDP)
IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
IPVS: ipvs loaded.
IPVS: [rr] scheduler registered.
Initializing XFRM netlink socket
NET: Registered PF_INET6 protocol family
Segment Routing with IPv6
In-situ OAM (IOAM) with IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered PF_PACKET protocol family
can: controller area network core
NET: Registered PF_CAN protocol family
can: raw protocol
can: broadcast manager protocol
can: netlink gateway - max_hops=1
zynq_pm_remap_ocm: OCM pool is not available
zynq_pm_suspend_init: Unable to map OCM.
Registering SWP/SWPB emulation handler
Loading compiled-in X.509 certificates
Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 34, base_baud = 3125000) is a xuartps
mmc0: SDHCI controller on e0100000.mmc [e0100000.mmc] using ADMA
printk: console [ttyPS0] enabled
mmc0: new high speed SDHC card at address aaaa
of-fpga-region fpga-full: FPGA Region probed
mmcblk0: mmc0:aaaa SL16G 14.8 GiB (ro)
input: gpio-keys as /devices/soc0/gpio-keys/input/input0
mmcblk0: p1 p2
of_cfs_init
of_cfs_init: OK
cfg80211: Loading compiled-in X.509 certificates for regulatory database
cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
clk: Not disabling unused clocks
ALSA device list:
No soundcards found.
cfg80211: failed to load regulatory.db
VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -30
Please append a correct "root=" boot option; here are the available partitions:
0100 16384 ram0
(driver?)
0101 16384 ram1
(driver?)
0102 16384 ram2
(driver?)
0103 16384 ram3
(driver?)
0104 16384 ram4
(driver?)
0105 16384 ram5
(driver?)
0106 16384 ram6
(driver?)
0107 16384 ram7
(driver?)
0108 16384 ram8
(driver?)
0109 16384 ram9
(driver?)
010a 16384 ram10
(driver?)
010b 16384 ram11
(driver?)
010c 16384 ram12
(driver?)
010d 16384 ram13
(driver?)
010e 16384 ram14
(driver?)
010f 16384 ram15
(driver?)
1f00 5120 mtdblock0
(driver?)
1f01 128 mtdblock1
(driver?)
1f02 10752 mtdblock2
(driver?)
b300 15558144 mmcblk0
driver: mmcblk
b301 133120 mmcblk0p1 2cb70649-01
b302 8059095 mmcblk0p2 2cb70649-02
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
CPU0: stopping
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.19-xilinx-v2022.1 #1
Hardware name: Xilinx Zynq Platform
[<c010d090>] (unwind_backtrace) from [<c0108f00>] (show_stack+0x10/0x14)
[<c0108f00>] (show_stack) from [<c09b65e0>] (dump_stack_lvl+0x40/0x4c)
[<c09b65e0>] (dump_stack_lvl) from [<c010b680>] (do_handle_IPI+0x80/0x140)
[<c010b680>] (do_handle_IPI) from [<c010b754>] (ipi_handler+0x14/0x20)
[<c010b754>] (ipi_handler) from [<c01624cc>] (handle_percpu_devid_irq+0x4c/0xe8)
[<c01624cc>] (handle_percpu_devid_irq) from [<c015d460>] (handle_irq_desc+0x24/0x34)
[<c015d460>] (handle_irq_desc) from [<c015dae4>] (handle_domain_irq+0x40/0x54)
[<c015dae4>] (handle_domain_irq) from [<c04d8f38>] (gic_handle_irq+0x68/0x78)
[<c04d8f38>] (gic_handle_irq) from [<c0100afc>] (__irq_svc+0x5c/0x90)
Exception stack(0xc0e01ed8 to 0xc0e01f20)
1ec0: 00000000 00000000
1ee0: 2e987000 ef6cbd80 ef6cb078 abc60dbc 00000000 00000000 00000001 c0e44138
1f00: aa4b8ffe 00000001 00000015 c0e01f28 c072c614 c072c638 60000013 ffffffff
[<c0100afc>] (__irq_svc) from [<c072c638>] (cpuidle_enter_state+0x110/0x27c)
[<c072c638>] (cpuidle_enter_state) from [<c072c7e0>] (cpuidle_enter+0x28/0x38)
[<c072c7e0>] (cpuidle_enter) from [<c01428cc>] (do_idle+0x23c/0x264)
[<c01428cc>] (do_idle) from [<c0142a64>] (cpu_startup_entry+0x18/0x1c)
[<c0142a64>] (cpu_startup_entry) from [<c0d00e40>] (start_kernel+0x524/0x5f8)
[<c0d00e40>] (start_kernel) from [<00000000>] (0x0)
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) ]---
Please feel free to let me know if you need any files for review. I’ll give it to you right away.
Thank you for reading this topic…