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: 
Adventurer
Adventurer
3,040 Views
Registered: ‎11-10-2017

Re: Not able to mount root fs during SD boot in Ultrazed MPSoC

Jump to solution
And how to do a ext4load and run ?... It was giving some error of no boot file found ... I though boot.bin would take care of it or once kernel liads it will load the filesystem.
0 Kudos
Explorer
Explorer
3,008 Views
Registered: ‎09-14-2016

Re: Not able to mount root fs during SD boot in Ultrazed MPSoC

Jump to solution

Hi @vish.bh30

 

Use ext4load as fatload command:

 

ZynqMP> ext4load mmc 0:1 0x3000000 uImage.ub
ZynqMP> ext4load mmc 0:1 0x2A00000 system.dtb
ZynqMP> ext4load mmc 0:1 0x2000000 uramdisk.image.gz
ZynqMP> bootm 0x3000000 0x2000000 0x2A00000

 

Cheers,

Trigger 

0 Kudos
Highlighted
Adventurer
Adventurer
2,984 Views
Registered: ‎11-10-2017

Re: Not able to mount root fs during SD boot in Ultrazed MPSoC

Jump to solution

 Hi @trigger

 

I need to try the ext4load commands .. .but i was going through another thread for similar issue and found that SD card may also be bad. 

 

I have a SanDisk Ultra 8 GB HC-I (UHS -I) type micro SD card which came along with the ultrazed-EG board package. Is it coz of this ? i read that zedboard is nomore supporting UHS-I type and need a UHS-II to SD boot. Is this also applicable to Ultrascale MPSoC ?

0 Kudos
Adventurer
Adventurer
7,648 Views
Registered: ‎11-10-2017

Re: Not able to mount root fs during SD boot in Ultrazed MPSoC

Jump to solution

hi @trigger

 

Finaly, I was able to boot from my SD card !! YAY !! 

 

Following are the changes i made:

 

1. Enabled WP and power pins for SD1 in Vivado design

 

And this is the important one :

 

2. I was earlier using VirtualBox Ubuntu image to use petalinux and generate boot images. Now I migrated to actual ubuntu system and using the same HDF files re-created the application project in petalinux and boot images.

 

 (also to mention I updated Ubuntu 16.04.3 - using sudo apt-get update)

 

3. I made the sd card partitions in the folloing manner :

 

    4 MB - UNUSED SPACE

    450 MB - BOOT  : enabled boot and lba flags

    7 GB - ROOTFS

 

previously it was :

 

    4 MB - UNUSED SPACE

    450 MB - BOOT  : enabled boot flag

    4 MB - UNUSED SPACE

    7 GB - ROOTFS

 

and copied the boot images directly from the proj directory. Earlier i was using WinSCP to transfer files from VM to pendrive then to SD card via linux system.

 

What confuse me is what change actually affected the process to be successful and why ? 

 

Thanks for all the help and guidance. !! 

 

Regards

 

Vishal

0 Kudos
Explorer
Explorer
2,953 Views
Registered: ‎09-14-2016

Re: Not able to mount root fs during SD boot in Ultrazed MPSoC

Jump to solution

Hi @vish.bh30

 

I am glad that you find the solution :)

 

Please mark the thread Solved in case of someone has the same trouble.

 

Cheers,

Trigger

0 Kudos
Newbie eramirez392
Newbie
675 Views
Registered: ‎11-20-2018

Re: Not able to mount root fs during SD boot in Ultrazed MPSoC

Jump to solution

I was having the same issue that you reported:

[ 4.007157] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -6

I was able to boot the rootfs from SDcard partition by changing Petalinux configuration:
-Open petalinux-config and go to Image Packaging Configuration ---> Root filesystem type (SD card) --->:
-Select /dev/mmcblk1p2 instead of /dev/mmcblk0p2

If you use /dev/mmcblk0p2, you are telling the system to search the rootfs in the EMMC partition. If you change this to /dev/mmcblk1p2 the bootloader will search the partition in an external SD card.

I solved this problem by changing that.

0 Kudos