Hi,
I ran it the way ycalderon suggested with Petalinux 2019.2.
But the console displayed kernel panic with same cause.
What should I do?
[ 8.987766] mmcblk0: mmc0:59b4 USDU1 14.9 GiB (ro)
U-Boot 2019.01 (Aug 25 2020 - 09:21:25 +0000)
Board: Xilinx ZynqMP
DRAM: 1023 MiB
usb dr_mode not found
EL Level: EL2
Chip ID: zu2cg
MMC: mmc@ff160000: 0
Loading Environment from SPI Flash... SF: Detected n25q256 with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial@ff000000
Out: serial@ff000000
Err: serial@ff000000
Board: Xilinx ZynqMP
Bootmode: SD_MODE
Reset reason: EXTERNAL
Net: ZYNQ GEM: ff0e0000, phyaddr ffffffff, interface rgmii-id
eth0: ethernet@ff0e0000
U-BOOT for peta
ethernet@ff0e0000 Waiting for PHY auto negotiation to complete......................................... TIMEOUT !
Hit any key to stop autoboot: 0
ZynqMP> setenv bootargs 'console=ttyPS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 ru rootwait'
ZynqMP> boot
Device: mmc@ff160000
Manufacturer ID: 74
OEM: 4a60
Name: USDU1
Bus Speed: 50000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.9 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
18115388 bytes read in 1571 ms (11 MiB/s)
## Loading kernel from FIT Image at 10000000 ...
Using 'conf@system-top.dtb' configuration
Trying 'kernel@1' kernel subimage
Description: Linux kernel
Type: Kernel Image
Compression: uncompressed
Data Start: 0x10000104
Data Size: 18082304 Bytes = 17.2 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x00080000
Entry Point: 0x00080000
Hash algo: sha1
Hash value: f3fe1fd7fa9bd505d14156d817d614198e56a1d8
Verifying Hash Integrity ... sha1+ 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
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x1113ec08
Data Size: 31166 Bytes = 30.4 KiB
Architecture: AArch64
Hash algo: sha1
Hash value: 6e15340395ac26080c35d7f25ac742eed0d67fe6
Verifying Hash Integrity ... sha1+ OK
Booting using the fdt blob at 0x1113ec08
Loading Kernel Image ... OK
Loading Device Tree to 0000000007ff5000, end 0000000007fff9bd ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 4.19.0-xilinx-v2019.2 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Tue Aug 25 09:07:55 UTC 2020
[ 0.000000] Machine model: xlnx,zynqmp
:
:
:
[ 8.980031] mmc0: new ultra high speed SDR104 SDHC card at address 59b4
[ 8.981491] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 8.987766] mmcblk0: mmc0:59b4 USDU1 14.9 GiB (ro)
[ 8.993389] zynqmp_pll_disable() clock disable failed for dpll_int, ret = -13
[ 8.999238] mmcblk0: p1 p2
[ 9.005871] ALSA device list:
[ 9.010795] #0: DisplayPort monitor
[ 9.015351] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 9.023978] cfg80211: failed to load regulatory.db
[ 9.030615] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 9.037937] EXT4-fs (mmcblk0p2): write access unavailable, cannot proceed (try mounting with noload)
[ 9.047116] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -30
[ 9.055110] Please append a correct "root=" boot option; here are the available partitions:
[ 9.063462] 0100 65536 ram0
[ 9.063464] (driver?)
[ 9.069563] 0101 65536 ram1
[ 9.069564] (driver?)
[ 9.075651] 0102 65536 ram2
[ 9.075652] (driver?)
[ 9.081749] 0103 65536 ram3
[ 9.081751] (driver?)
[ 9.087842] 0104 65536 ram4
[ 9.087844] (driver?)
[ 9.093927] 0105 65536 ram5
[ 9.093928] (driver?)
[ 9.100011] 0106 65536 ram6
[ 9.100013] (driver?)
[ 9.106096] 0107 65536 ram7
[ 9.106098] (driver?)
[ 9.112189] 0108 65536 ram8
[ 9.112191] (driver?)
[ 9.118278] 0109 65536 ram9
[ 9.118280] (driver?)
[ 9.124377] 010a 65536 ram10
[ 9.124378] (driver?)
[ 9.130552] 010b 65536 ram11
[ 9.130553] (driver?)
[ 9.136737] 010c 65536 ram12
[ 9.136738] (driver?)
[ 9.142912] 010d 65536 ram13
[ 9.142914] (driver?)
[ 9.149096] 010e 65536 ram14
[ 9.149098] (driver?)
[ 9.155273] 010f 65536 ram15
[ 9.155274] (driver?)
[ 9.161462] 1f00 1024 mtdblock0
[ 9.161464] (driver?)
[ 9.167994] 1f01 256 mtdblock1
[ 9.167996] (driver?)
[ 9.174516] 1f02 22528 mtdblock2
[ 9.174518] (driver?)
[ 9.181037] b300 15588352 mmcblk0
[ 9.181039] driver: mmcblk
[ 9.187826] b301 61440 mmcblk0p1 f18919ee-01
[ 9.187827]
[ 9.194609] b302 15522816 mmcblk0p2 f18919ee-02
[ 9.194611]
[ 9.201400] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[ 9.209830] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.19.0-xilinx-v2019.2 #1
[ 9.217037] Hardware name: xlnx,zynqmp (DT)
[ 9.221204] Call trace:
[ 9.223665] dump_backtrace+0x0/0x148
[ 9.227316] show_stack+0x14/0x20
[ 9.230630] dump_stack+0x90/0xb4
[ 9.233931] panic+0x120/0x268
[ 9.236979] mount_block_root+0x1b0/0x260
[ 9.240976] mount_root+0x11c/0x148
[ 9.244448] prepare_namespace+0x158/0x1a0
[ 9.248529] kernel_init_freeable+0x1b8/0x1d4
[ 9.252878] kernel_init+0x10/0xfc
[ 9.256272] ret_from_fork+0x10/0x18
[ 9.259844] SMP: stopping secondary CPUs
[ 9.263756] Kernel Offset: disabled
[ 9.267234] CPU features: 0x0,20802004
[ 9.270966] Memory Limit: none
[ 9.274012] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) ]---