cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
puv97
Adventurer
Adventurer
833 Views
Registered: ‎01-28-2021

Ubuntu Desktop on ZCU102

Jump to solution

Hi !

I'm following the tutorial https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841937/Zynq+UltraScale+MPSoC+Ubuntu+part+2+-+Building+and+Running+the+Ubuntu+Desktop+From+Sources but only the petalinux configuration. I'd like to use mi own XSA file but with my XSA file and the petalinux configuration the ZCU102 doesn't boot with Ubuntu Desktop it shows in the serial port the message:

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

I'm not sure if I have tu put something particular in the hardware design or if only with the processor IP it is enought.

I'm so new with this, thanks !

0 Kudos
1 Solution

Accepted Solutions
puv97
Adventurer
Adventurer
449 Views
Registered: ‎01-28-2021

I found the solution following the SD preparation of the tutorial https://www.dspsandbox.org/ubuntu-on-zynq-and-zynqmp-devices/ . Doing that steps the ZCU102 is working with Ubuntu 18.04.

 

Thanks !

View solution in original post

0 Kudos
11 Replies
Prasanna_K
Explorer
Explorer
821 Views
Registered: ‎07-24-2020

Hi @puv97 ,

Run the below in uboot before loading the images.

setenv bootargs 'console=ttyPS0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait'

 If this doesn't solves the problem, share the complete boot log.

Regards,

Prasanna

0 Kudos
puv97
Adventurer
Adventurer
804 Views
Registered: ‎01-28-2021

It doesn't allow me to type anything before or after.

There is attached the log file.

0 Kudos
watari
Professor
Professor
704 Views
Registered: ‎06-16-2013

Hi @puv97 

 

How do you format /dev/mmcblk0p2 ? Also what is this file system ?

At least it seems wrong file system or partition table...

 

Best regards,

0 Kudos
puv97
Adventurer
Adventurer
670 Views
Registered: ‎01-28-2021

Hi, I have a 256GB SD card with a 32GB partition in FAT32. In this partition I paste the files BOOT.bin and image.ub which I created following the tutorial.

Might I do anything else ?

Thanks !

0 Kudos
Prasanna_K
Explorer
Explorer
668 Views
Registered: ‎07-24-2020

Hi @puv97 ,

You need to make 2 partition of your sd card, one with fat32 and the other with ext4. Follow the below procedure and you should be good. 

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842385/How+to+format+SD+card+for+SD+boot

Regards,

Prasanna

watari
Professor
Professor
619 Views
Registered: ‎06-16-2013

Hi @puv97 

 

I strongly recommend that it is formatted by FAT32 on 1st partition and this size is less 1GB.

And, I agree @Prasanna_K , you should that it is formatted by ext4 or other proper file system on 2nd partition.

 

1st partition : FAT32 : /boot

2nd partition : ext4 : /

 

Best regards,

puv97
Adventurer
Adventurer
579 Views
Registered: ‎01-28-2021

OK, I follow that tutorial but I still having the same error: [ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance. ]

 

0 Kudos
shabbirk
Moderator
Moderator
539 Views
Registered: ‎12-04-2016

Hi @puv97 

Can you confirm if you are able to boot first the ready files (Boot images) provided as part of this wiki?

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841937/Zynq+UltraScale+MPSoC+Ubuntu+part+2+-+Building+and+Running+the+Ubuntu+Desktop+From+Sources

 

Regards
Shabbir

0 Kudos
puv97
Adventurer
Adventurer
518 Views
Registered: ‎01-28-2021

Hi @shabbirk 

Yes, I'm able to boot the system using the Ubuntu images of that tutorial, also I cannot use the keyboard or the mouse but Ubuntu initializes normally. So, Could the problem be the generation of the images using petalinux ? Is there the possibility to use a bitstream for the PL using the boot images provided in the tutorial ?

 

Thanks !

0 Kudos
watari
Professor
Professor
493 Views
Registered: ‎06-16-2013

Hi @puv97 

 

Would you share whole boot log and Xorg's log to investigate the route cause ?

 

Best regards,

0 Kudos
puv97
Adventurer
Adventurer
450 Views
Registered: ‎01-28-2021

I found the solution following the SD preparation of the tutorial https://www.dspsandbox.org/ubuntu-on-zynq-and-zynqmp-devices/ . Doing that steps the ZCU102 is working with Ubuntu 18.04.

 

Thanks !

View solution in original post

0 Kudos