FC2カウンター FPGAの部屋 2023年09月18日
fc2ブログ

FPGAやCPLDの話題やFPGA用のツールの話題などです。 マニアックです。 日記も書きます。

FPGAの部屋

FPGAの部屋の有用と思われるコンテンツのまとめサイトを作りました。Xilinx ISEの初心者の方には、FPGAリテラシーおよびチュートリアルのページをお勧めいたします。

MicroZed Chronicles: UIO をやってみる9

MicroZed Chronicles: UIO をやってみる8”の続き。

MicroZed Chronicles: UIO Part One - Introduction and Set Up”と”MicroZed Chronicles: UIO Part Two - Creating Software Applications”をやってみよう。なお、関連する MicroZed Chronicles のブログの”MicroZed Chronicles: IOCTL SPI, I2C and PetaLinux”も参考にしている。

前回は、root で Vitis を起動してやってみたが同様のエラーだった。次に、通常に Vitis を起動して、Remote Working Directory を /home/petalinux にしてみたところ、デバッグができて、ソフトウェアの動作がうまくいった。今回は、RAM ディスクでやっているのが煩わしいので、Rootfs を MicroSD カードの第 2 パーティションにしようとしたが、Petalinux が起動途中で Kernel panic で落ちてしまった。

今回は、”rootfs on SD card”を参考に Rootfs を SD カードの第 2 パーティションにしてみよう。

まずは、Petalinux で Rootfs を RAM ディスクから SD カードの第 2 パーティションに設定を変更する。

zub1cg_gpio ディレクトリに行って、ハードウェアをインポートした。
petalinux-config --get-hw-description=/media/masaaki/Ubuntu_Disk/ZUBoard1CG/at_2022_2/myproj

Image Packing Configuration -> Root filesystem typeEXT4 (SD/eMMC/SATA/USB) に変更した。
zub1cg_uio_70_230917.png

zub1cg_uio_71_230917.png

セーブして終了した。
zub1cg_uio_72_230917.png

ビルドする前の zub1cg_gpio/images/linux/image.ub の大きさは 76.5 MB だった。
zub1cg_uio_73_230917.png

ビルドを行って成功した。
petalinux-build
zub1cg_uio_74_230917.png

ビルド後の zub1cg_gpio/images/linux/image.ub の大きさは 9.3 MB で小さくなっていた。
zub1cg_uio_75_230917.png

rootfs.tar.gz も images/linux ディレクトリに生成された。
zub1cg_uio_76_230917.png

BOOT.BIN を作成した。
cd images/linux
petalinux-package --boot --fsbl zynqmp_fsbl.elf --u-boot u-boot.elf --pmufw pmufw.elf --fpga system.bit --force

zub1cg_uio_77_230917.png

BOOT.BIN が生成された。
zub1cg_uio_78_230917.png

第 1 パーティションを 1 GB FAT32 フォーマット、第 2 パーティションを残りの約 31 GB EXT4 フォーマットに Micro SD カードをフォーマットする。

私のマシンでは、lsblk を実行すると /dev/sdf1 にマウントされていた。
sudo umount /dev/sdf1
sudo fdisk /dev/sdf


p コマンドでディスクの状態を表示した。

d コマンドでパーティションを削除した。
p コマンドでディスクの状態を表示した

n コマンドで新しいパーティションを作製した。
p で primary を指定した。
バーティション番号を 1 とした。
First sector の指定で Enter キーを押した。
Last sector で +1GB を入力した。第1パーティションに 954 MB の領域を確保した。

n コマンドで新しいパーティションを作製した。
p で primary を指定した。
バーティション番号を 2 とした。
First sector の指定で Enter キーを押した。
Last sector で Enter キーを押して、MicroSD カードの残りの領域を確保した(約 31 GB)。

第 1 パーティションをFAT32 にして、 bootable に設定する。
t コマンドを入力する。
パーティション番号に 1 を指定する。
Partition type に b を指定した。

a コマンドを入力する。
パーティション番号に 1 を入力した。

w コマンドで partition table の変更を保存して終了した。

sudo mkfs.msdos -n boot /dev/sdf1
sdf1 を mkfs.msdos で FAT32 でフォーマットした。
sudo mkfs.ext4 -L root /dev/sdf2
sdf2 を ext4 でフォーマットした。
zub1cg_uio_79_230917.png

フォーマットした microSD カードの boot と root をマウントした。

Micro SD カードの boot パーティションに BOOT.BIN, boot.scr, image.ub をコピーする。
zub1cg_uio_80_230917.png

rootfs.tar.gz を MicroSD カードの root パーティションに展開する。
sudo tar xfz rootfs.tar.gz -C /media/masaaki/root/
sync

zub1cg_uio_81_230917.png

MicroSD カードの root パーティションを示す。
zub1cg_uio_82_230917.png

これで、Micro SD カードの用意が完了した。
Micro SD カードを ZUBoard 1CG に挿入して、電源 ON して、SW7 を押した。
Petalinux が立ち上がりかけたが、Kernel Panic で立ち上がらなかった。
zub1cg_uio_83_230917.png

ログを示す。

NOTICE:  BL31: v2.6(release):xlnx_rebase_v2.6_2022.1_update3-18-g0897efd45
NOTICE:  BL31: Built : 03:55:03, Sep  9 2022


U-Boot 2022.01 (Sep 20 2022 - 06:35:33 +0000)

CPU:   ZynqMP
Silicon: v3
Board: Xilinx ZynqMP
DRAM:  1023 MiB
PMUFW:  v1.1
PMUFW no permission to change config object
EL Level:   EL2
Chip ID:    zu1eg
NAND:  0 MiB
MMC:   mmc@ff170000: 0
Loading Environment from FAT... *** Error - No Valid Environment Area found
*** Warning - bad env area, using default environment

In:    serial
Out:   serial
Err:   serial
Bootmode: SD_MODE1
Reset reason:   EXTERNAL 
Net:   FEC: can't find phy-handle

ZYNQ GEM: ff0d0000, mdio bus ff0d0000, phyaddr 7, interface rgmii-id

Warning: ethernet@ff0d0000 (eth0) using random MAC address - de:ea:70:dd:ae:e5
eth0: ethernet@ff0d0000
scanning bus for devices...
starting USB...
No working controllers 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
2777 bytes read in 14 ms (193.4 KiB/s)
## Executing script at 20000000
Trying to load boot images from mmc0
9310760 bytes read in 688 ms (12.9 MiB/s)
## Loading kernel from FIT Image at 10000000 ...
   Using 'conf-system-top.dtb' configuration
   Trying 'kernel-1' kernel subimage
     Description:  Linux kernel
     Created:      2022-10-03   7:50:07 UTC
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x100000fc
     Data Size:    9268952 Bytes = 8.8 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x00200000
     Entry Point:  0x00200000
     Hash algo:    sha256
     Hash value:   f2afd779a2a59f6aedf7542cc1ccf87b4f7731c4417dfc201e2faabd78544253
   Verifying Hash Integrity ... sha256+ OK
## Loading fdt from FIT Image at 10000000 ...
   Using 'conf-system-top.dtb' configuration
   Trying 'fdt-system-top.dtb' fdt subimage
     Description:  Flattened Device Tree blob
     Created:      2022-10-03   7:50:07 UTC
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x108d70e4
     Data Size:    39897 Bytes = 39 KiB
     Architecture: AArch64
     Hash algo:    sha256
     Hash value:   2641e1fcdaec4ef539b9dd0f987f5ab3f5460ba26ba1f3a54fc0a24a619a8d69
   Verifying Hash Integrity ... sha256+ OK
   Booting using the fdt blob at 0x108d70e4
   Uncompressing Kernel Image
   Loading Device Tree to 000000003bbee000, end 000000003bbfabd8 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.36-xilinx-v2022.2 (oe-user@oe-host) (aarch64-xilinx-linux-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37.20210721) #1 SMP Mon Oct 3 07:50:07 UTC 2022
[    0.000000] Machine model: xlnx,zynqmp
[    0.000000] efi: UEFI not found.
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000000000-0x000000003fefffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003fefffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fefffff]
[    0.000000] On node 0, zone DMA32: 256 pages in unavailable ranges
[    0.000000] cma: Reserved 256 MiB at 0x000000002b800000
[    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 18 pages/cpu s34776 r8192 d30760 u73728
[    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: 257796
[    0.000000] Kernel command line: uio_pdrv_genirq.of_id=generic-uio
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 743380K/1047552K available (13888K kernel code, 990K rwdata, 3916K rodata, 2176K init, 573K bss, 42028K 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=16 to nr_cpu_ids=2.
[    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=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x474/0x6d8 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.000001] sched_clock: 56 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
[    0.000363] Console: colour dummy device 80x25
[    0.000600] printk: console [tty0] enabled
[    0.000635] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
[    0.000656] pid_max: default: 32768 minimum: 301
[    0.000927] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.000949] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.002345] rcu: Hierarchical SRCU implementation.
[    0.002589] EFI services will not be available.
[    0.002702] smp: Bringing up secondary CPUs ...
[    0.003142] Detected VIPT I-cache on CPU1
[    0.003192] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.003276] smp: Brought up 1 node, 2 CPUs
[    0.003300] SMP: Total of 2 processors activated.
[    0.003311] CPU features: detected: 32-bit EL0 Support
[    0.003321] CPU features: detected: CRC32 instructions
[    0.003370] CPU: All CPU(s) started at EL2
[    0.003390] alternatives: patching kernel code
[    0.004398] devtmpfs: initialized
[    0.008833] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.008865] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.018697] pinctrl core: initialized pinctrl subsystem
[    0.019361] DMI not present or invalid.
[    0.019672] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.020962] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.021051] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.021117] audit: initializing netlink subsys (disabled)
[    0.021221] audit: type=2000 audit(0.020:1): state=initialized audit_enabled=0 res=1
[    0.021639] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.021691] ASID allocator initialised with 65536 entries
[    0.021818] Serial: AMBA PL011 UART driver
[    0.040050] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.040083] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.040094] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.040105] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    1.109757] cryptd: max_cpu_qlen set to 1000
[    1.135026] DRBG: Continuing without Jitter RNG
[    1.237062] raid6: neonx8   gen()  2144 MB/s
[    1.305121] raid6: neonx8   xor()  1586 MB/s
[    1.373191] raid6: neonx4   gen()  2186 MB/s
[    1.441242] raid6: neonx4   xor()  1555 MB/s
[    1.509318] raid6: neonx2   gen()  2064 MB/s
[    1.577370] raid6: neonx2   xor()  1428 MB/s
[    1.645453] raid6: neonx1   gen()  1762 MB/s
[    1.713502] raid6: neonx1   xor()  1212 MB/s
[    1.781556] raid6: int64x8  gen()  1365 MB/s
[    1.849621] raid6: int64x8  xor()   773 MB/s
[    1.917685] raid6: int64x4  gen()  1599 MB/s
[    1.985748] raid6: int64x4  xor()   852 MB/s
[    2.053817] raid6: int64x2  gen()  1396 MB/s
[    2.121880] raid6: int64x2  xor()   747 MB/s
[    2.189943] raid6: int64x1  gen()  1033 MB/s
[    2.258006] raid6: int64x1  xor()   517 MB/s
[    2.258017] raid6: using algorithm neonx4 gen() 2186 MB/s
[    2.258026] raid6: .... xor() 1555 MB/s, rmw enabled
[    2.258036] raid6: using neon recovery algorithm
[    2.258661] iommu: Default domain type: Translated 
[    2.258673] iommu: DMA domain TLB invalidation policy: strict mode 
[    2.258962] SCSI subsystem initialized
[    2.259149] usbcore: registered new interface driver usbfs
[    2.259188] usbcore: registered new interface driver hub
[    2.259217] usbcore: registered new device driver usb
[    2.259304] mc: Linux media interface: v0.10
[    2.259330] videodev: Linux video capture interface: v2.00
[    2.259379] pps_core: LinuxPPS API ver. 1 registered
[    2.259389] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.259410] PTP clock support registered
[    2.259445] EDAC MC: Ver: 3.0.0
[    2.259788] zynqmp-ipi-mbox mailbox@ff990400: Registered ZynqMP IPI mbox with TX/RX channels.
[    2.260043] FPGA manager framework
[    2.260187] Advanced Linux Sound Architecture Driver Initialized.
[    2.260581] Bluetooth: Core ver 2.22
[    2.260612] NET: Registered PF_BLUETOOTH protocol family
[    2.260622] Bluetooth: HCI device and connection manager initialized
[    2.260637] Bluetooth: HCI socket layer initialized
[    2.260648] Bluetooth: L2CAP socket layer initialized
[    2.260664] Bluetooth: SCO socket layer initialized
[    2.261097] clocksource: Switched to clocksource arch_sys_counter
[    2.261248] VFS: Disk quotas dquot_6.6.0
[    2.261301] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.265952] NET: Registered PF_INET protocol family
[    2.266071] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    2.266712] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    2.266743] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    2.266810] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    2.266985] TCP: Hash tables configured (established 8192 bind 8192)
[    2.267086] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    2.267120] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    2.267224] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.267579] RPC: Registered named UNIX socket transport module.
[    2.267591] RPC: Registered udp transport module.
[    2.267600] RPC: Registered tcp transport module.
[    2.267609] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.267624] PCI: CLS 0 bytes, default 64
[    2.267956] armv8-pmu pmu: hw perfevents: no interrupt-affinity property, guessing.
[    2.268107] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    2.295512] Initialise system trusted keyrings
[    2.295648] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    2.296497] NFS: Registering the id_resolver key type
[    2.296520] Key type id_resolver registered
[    2.296529] Key type id_legacy registered
[    2.296556] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.296569] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.296597] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    2.332853] NET: Registered PF_ALG protocol family
[    2.332870] xor: measuring software checksum speed
[    2.337055]    8regs           :  2363 MB/sec
[    2.340592]    32regs          :  2799 MB/sec
[    2.344871]    arm64_neon      :  2308 MB/sec
[    2.344881] xor: using function: 32regs (2799 MB/sec)
[    2.344894] Key type asymmetric registered
[    2.344903] Asymmetric key parser 'x509' registered
[    2.344957] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    2.344972] io scheduler mq-deadline registered
[    2.344982] io scheduler kyber registered
[    2.374041] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.375365] Serial: AMBA driver
[    2.376223] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.381217] brd: module loaded
[    2.384762] loop: module loaded
[    2.385814] mtdoops: mtd device (mtddev=name/number) must be supplied
[    2.388915] tun: Universal TUN/TAP device driver, 1.6
[    2.389013] CAN device driver interface
[    2.389717] usbcore: registered new interface driver asix
[    2.389781] usbcore: registered new interface driver ax88179_178a
[    2.389811] usbcore: registered new interface driver cdc_ether
[    2.389843] usbcore: registered new interface driver net1080
[    2.389873] usbcore: registered new interface driver cdc_subset
[    2.389902] usbcore: registered new interface driver zaurus
[    2.389946] usbcore: registered new interface driver cdc_ncm
[    2.390718] usbcore: registered new interface driver uas
[    2.390760] usbcore: registered new interface driver usb-storage
[    2.391570] rtc_zynqmp ffa60000.rtc: registered as rtc0
[    2.391597] rtc_zynqmp ffa60000.rtc: setting system clock to 1970-01-01T00:01:35 UTC (95)
[    2.391671] i2c_dev: i2c /dev entries driver
[    2.393449] usbcore: registered new interface driver uvcvideo
[    2.393897] Bluetooth: HCI UART driver ver 2.3
[    2.393910] Bluetooth: HCI UART protocol H4 registered
[    2.393920] Bluetooth: HCI UART protocol BCSP registered
[    2.393946] Bluetooth: HCI UART protocol LL registered
[    2.393956] Bluetooth: HCI UART protocol ATH3K registered
[    2.393978] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.394024] Bluetooth: HCI UART protocol Intel registered
[    2.394047] Bluetooth: HCI UART protocol QCA registered
[    2.394081] usbcore: registered new interface driver bcm203x
[    2.394113] usbcore: registered new interface driver bpa10x
[    2.394148] usbcore: registered new interface driver bfusb
[    2.394182] usbcore: registered new interface driver btusb
[    2.394230] usbcore: registered new interface driver ath3k
[    2.394327] EDAC MC: ECC not enabled
[    2.394482] EDAC DEVICE0: Giving out device to module edac controller cache_err: DEV edac (POLLED)
[    2.394659] EDAC DEVICE1: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[    2.395155] sdhci: Secure Digital Host Controller Interface driver
[    2.395166] sdhci: Copyright(c) Pierre Ossman
[    2.395174] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.395478] ledtrig-cpu: registered to indicate activity on CPUs
[    2.395609] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    2.395695] zynqmp_firmware_probe Platform Management API v1.1
[    2.395709] zynqmp_firmware_probe Trustzone version v1.0
[    2.423803] securefw securefw: securefw probed
[    2.423918] zynqmp_aes firmware:zynqmp-firmware:zynqmp-aes: The zynqmp-aes driver shall be deprecated in 2022.2 and removed in 2023.1
[    2.424218] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[    2.424252] zynqmp_aes firmware:zynqmp-firmware:zynqmp-aes: AES Successfully Registered
[    2.424384] zynqmp-keccak-384 firmware:zynqmp-firmware:sha384: The zynqmp-sha-deprecated driver shall be deprecated in 2022.2 and removed in 2023.1 release
[    2.424485] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[    2.424684] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[    2.424875] usbcore: registered new interface driver usbhid
[    2.424888] usbhid: USB HID core driver
[    2.428132] ARM CCI_400_r1 PMU driver probed
[    2.428821] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    2.429297] usbcore: registered new interface driver snd-usb-audio
[    2.430144] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    2.430734] Initializing XFRM netlink socket
[    2.430836] NET: Registered PF_INET6 protocol family
[    2.431471] Segment Routing with IPv6
[    2.431496] In-situ OAM (IOAM) with IPv6
[    2.431582] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.431985] NET: Registered PF_PACKET protocol family
[    2.432009] NET: Registered PF_KEY protocol family
[    2.432035] can: controller area network core
[    2.432083] NET: Registered PF_CAN protocol family
[    2.432093] can: raw protocol
[    2.432104] can: broadcast manager protocol
[    2.432117] can: netlink gateway - max_hops=1
[    2.432223] Bluetooth: RFCOMM TTY layer initialized
[    2.432241] Bluetooth: RFCOMM socket layer initialized
[    2.432269] Bluetooth: RFCOMM ver 1.11
[    2.432284] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.432294] Bluetooth: BNEP filters: protocol multicast
[    2.432306] Bluetooth: BNEP socket layer initialized
[    2.432316] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.432328] Bluetooth: HIDP socket layer initialized
[    2.432374] 8021q: 802.1Q VLAN Support v1.8
[    2.432498] 9pnet: Installing 9P2000 support
[    2.432535] Key type dns_resolver registered
[    2.432662] registered taskstats version 1
[    2.432672] Loading compiled-in X.509 certificates
[    2.434129] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[    2.445110] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 59, base_baud = 6249999) is a xuartps
[    3.771781] printk: console [ttyPS0] enabled
[    3.776520] of-fpga-region fpga-full: FPGA Region probed
[    3.783825] xilinx-zynqmp-dma fd500000.dma-controller: ZynqMP DMA driver Probe success
[    3.791935] xilinx-zynqmp-dma fd510000.dma-controller: ZynqMP DMA driver Probe success
[    3.800059] xilinx-zynqmp-dma fd520000.dma-controller: ZynqMP DMA driver Probe success
[    3.808163] xilinx-zynqmp-dma fd530000.dma-controller: ZynqMP DMA driver Probe success
[    3.816279] xilinx-zynqmp-dma fd540000.dma-controller: ZynqMP DMA driver Probe success
[    3.824381] xilinx-zynqmp-dma fd550000.dma-controller: ZynqMP DMA driver Probe success
[    3.832483] xilinx-zynqmp-dma fd560000.dma-controller: ZynqMP DMA driver Probe success
[    3.840583] xilinx-zynqmp-dma fd570000.dma-controller: ZynqMP DMA driver Probe success
[    3.848752] xilinx-zynqmp-dma ffa80000.dma-controller: ZynqMP DMA driver Probe success
[    3.856862] xilinx-zynqmp-dma ffa90000.dma-controller: ZynqMP DMA driver Probe success
[    3.864963] xilinx-zynqmp-dma ffaa0000.dma-controller: ZynqMP DMA driver Probe success
[    3.873066] xilinx-zynqmp-dma ffab0000.dma-controller: ZynqMP DMA driver Probe success
[    3.881175] xilinx-zynqmp-dma ffac0000.dma-controller: ZynqMP DMA driver Probe success
[    3.889278] xilinx-zynqmp-dma ffad0000.dma-controller: ZynqMP DMA driver Probe success
[    3.897380] xilinx-zynqmp-dma ffae0000.dma-controller: ZynqMP DMA driver Probe success
[    3.905485] xilinx-zynqmp-dma ffaf0000.dma-controller: ZynqMP DMA driver Probe success
[    3.914163] zynqmp-qspi ff0f0000.spi: rx bus width not found
[    3.919829] zynqmp-qspi ff0f0000.spi: tx bus width not found
[    3.925586] spi_master spi0: cannot find modalias for /axi/spi@ff0f0000/flash@0
[    3.932906] spi_master spi0: Failed to create SPI device for /axi/spi@ff0f0000/flash@0
[    3.941184] macb ff0d0000.ethernet: Not enabling partial store and forward
[    3.951822] macb ff0d0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0d0000 irq 37 (de:ea:70:dd:ae:e5)
[    3.962026] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[    3.968601] zynqmp_pll_disable() clock disable failed for apll_int, ret = -13
[    3.975837] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[    3.982347] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[    3.988861] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[    3.996835] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 39
[    4.004467] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s
[    4.011930] cdns-wdt ff150000.watchdog: Xilinx Watchdog Timer with timeout 10s
[    4.024966] of_cfs_init
[    4.027486] of_cfs_init: OK
[    4.031639] ALSA device list:
[    4.034605]   No soundcards found.
[    4.055689] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[    4.063959] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    4.071462] Please append a correct "root=" boot option; here are the available partitions:
[    4.079819] 0100           65536 ram0 
[    4.079826]  (driver?)
[    4.085922] 0101           65536 ram1 
[    4.085927]  (driver?)
[    4.092018] 0102           65536 ram2 
[    4.092023]  (driver?)
[    4.098124] 0103           65536 ram3 
[    4.098129]  (driver?)
[    4.104221] 0104           65536 ram4 
[    4.104226]  (driver?)
[    4.110329] 0105           65536 ram5 
[    4.110333]  (driver?)
[    4.116426] 0106           65536 ram6 
[    4.116430]  (driver?)
[    4.122523] 0107           65536 ram7 
[    4.122528]  (driver?)
[    4.128621] 0108           65536 ram8 
[    4.128625]  (driver?)
[    4.134719] 0109           65536 ram9 
[    4.134723]  (driver?)
[    4.140816] 010a           65536 ram10 
[    4.140821]  (driver?)
[    4.147001] 010b           65536 ram11 
[    4.147006]  (driver?)
[    4.153191] 010c           65536 ram12 
[    4.153196]  (driver?)
[    4.159371] 010d           65536 ram13 
[    4.159376]  (driver?)
[    4.165559] 010e           65536 ram14 
[    4.165563]  (driver?)
[    4.171743] 010f           65536 ram15 
[    4.171747]  (driver?)
[    4.177942] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    4.186199] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.15.36-xilinx-v2022.2 #1
[    4.193504] Hardware name: xlnx,zynqmp (DT)
[    4.197678] Call trace:
[    4.200114]  dump_backtrace+0x0/0x190
[    4.203779]  show_stack+0x18/0x30
[    4.207085]  dump_stack_lvl+0x7c/0xa0
[    4.210739]  dump_stack+0x18/0x34
[    4.214046]  panic+0x14c/0x30c
[    4.217102]  mount_block_root+0x184/0x234
[    4.221112]  mount_root+0x204/0x240
[    4.224592]  prepare_namespace+0x130/0x170
[    4.228681]  kernel_init_freeable+0x26c/0x294
[    4.233030]  kernel_init+0x28/0x130
[    4.236510]  ret_from_fork+0x10/0x20
[    4.240080] SMP: stopping secondary CPUs
[    4.243998] Kernel Offset: disabled
[    4.247473] CPU features: 0x00002001,00000842
[    4.251822] Memory Limit: none
[    4.254873] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

  1. 2023年09月18日 09:48 |
  2. ZUBoard
  3. | トラックバック:0
  4. | コメント:0