UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor nish1709
Visitor
265 Views
Registered: ‎04-15-2018

Re: Problem on running C application on ZC702 board

While booting my ZC702 board from SD card I am getting error

 

end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

 

I tried an answer to this problem

  1. Stop U-Boot when it says "Hit any key to stop autoboot".
  2. Copy this line in the terminal:
    setenv bootargs 'earlycon clk_ignore_unused root=/dev/mmcblk1p2 rw rootwait'
  3. Write on U-Boot:
    boot

 

Now it should boot.

 

from xilinx link https://forums.xilinx.com/t5/Embedded-Development-Tools/Beginners-problems-with-Ultrazed-eg/td-p/800802

 

 ( But after doing this I am getting stuck at

## Flattened Device Tree blob at 02800000
Booting using the fdt blob at 0x2800000
Uncompressing Kernel Image ... OK
Loading Device Tree to 07ff9000, end 07fff603 ... OK

Starting kernel ...

)

I have checked the partitions of SD card and its format. Previously it was booting but what is causing this error I am unable to understand. Please Help.

 

 

 

0 Kudos
1 Reply
Highlighted
Explorer
Explorer
213 Views
Registered: ‎11-24-2013

Re: Problem on running C application on ZC702 board

Hello,

 

the post you refer to was written for a Zynq Ultrascale+ device with 2 SD/emmc and the line tells the kernel to look for the rootfs at the 2nd block device, partition2.

 

In your case, the ZC702 has the SD card slot connected to the SD0 of the processor, so the line should be:

 

setenv bootargs 'earlycon clk_ignore_unused root=/dev/mmcblk0p2 rw rootwait'

Regards

Ignacio

Tags (4)
0 Kudos