10-29-2019 03:10 AM - edited 10-29-2019 03:19 AM
I am trying to do the ZCU102 ubuntu desktop available at :
But I am using Petalinux 2019.1 instead of 2018.3, I followed all the steps correctly, when I use the given the given .img file the design works correctly and the ubuntu GUI desktop runs, but when i follow the steps to build the .ub and .BIN files and replace it with the files on the SD card the ubuntu desktop doesn't run, instead the Display shows linux login terminal without GUI. I have attached a picture of the booting data i get befor showing the login terrminal. Is it incompatibale with Petalinux 2019.1 or am I missing something ?
10-29-2019 03:28 AM
10-29-2019 03:37 AM
The Tutorial available at :
Is not possible to be done using Petalinux 2019.1?
10-29-2019 04:14 AM
Thanks a lot,
but the problem is that I am still learning so I need to follow some sort of a tutorial because there is a lot of stuff that I will be stuck in when following your procedure, for example I am dont know how should i modify the BOOTARGS and configuring the kernel in Petalinux in that case to have it running correctly. as you see I am stuck in the step by step Tutorial
10-29-2019 04:26 AM
You don't have to modify the bootargs or change the kernel configuration to run Ubuntu.
Once you have a working Ubuntu system you can start playing with it.
If you have trouble following the steps you can always ask.
10-29-2019 04:39 AM
Are you sure ? I dont even need to configure the petalinux to enable the SD card for rootfs: select ‘Image Packaging Configuration->Root file system type->SD card’?
and i dont need to set the kernelargs to
earlycon clk_ignore_unused earlyprintk root=/dev/mmcblk0p2 rw rootwait cma=1024M
10-29-2019 04:48 AM - edited 10-29-2019 04:50 AM
Changing rootfs type is the only thing you have to do regarding configuration.
Default bootargs will boot the system.
I always follow these steps and successfully run Ubuntu on any Xilinx device.
11-08-2019 06:25 AM
These steps are succesful for running Ubuntu but not for running desktop, there is still missing steps in getting the Ubuntu-desktop application to run on the ZCU102 board I hope if any one has experience in this
11-13-2019 03:54 AM
11-13-2019 04:51 AM
You are probably booting into PetaLinux, not Ubuntu. PetaLinux does not let you add a package manager such as apt.
Make sure you have selected SD card as the rootfs type.
Try switching between your virtual terminals. You can switch to the 7th terminal by pressing
X server should be running on this terminal.
11-13-2019 05:55 PM
11-13-2019 10:21 PM
11-13-2019 10:27 PM
Would you share the following result, if you can use serial console ?
You can investigate route cause of DisplayPort or/and HDMI issue.
$ ls /sys/devices/platform/amba_pl@0/
$ ls /sys/devices/platform/amba/
11-14-2019 01:01 AM
After I connect using PUTTY, I start the board. The black window only displays "!!Press ESC enter system control mode". I did it, but it didn't work.
When I use other SD cards that can be started normally, the terminal has information output and the Ubuntu desktop is displayed normally.
So I suspect that the system I configured is not started at all.
I noticed that the last step in the tutorial is to copy the BOOT.BIN and image.ub files to the boot partition of the SD card, but my approach is: just pass another Win10 computer open SD card, then ctrl-c, ctrl-v.... system can not be started for this reason?
If so, then I should know what to do next. Because my operation should have no other problems from beginning to end; if it is not for this reason, what should I do to correctly display the relevant log information on the PUTTY terminal?
Thank you very much!
11-14-2019 02:12 PM
Would you do the followings to clear what is occuring at your side ?
- Make sure file system to investigate whether partition issue or not on ubuntu.
$ df -T -k
- What kind of SD card are you using ? Clear capacity (ex. 4GB), compatibility (ex. SDXC), interface standard (ex. UGH-I) and so on,
- Try to repair failed sector by using "chkdsk" on Windows, if necessary or want to make sure quality of SD card.
=> I suspect your SD card is something wrong, like there are some failed sector...
11-14-2019 06:09 PM
In win10 through the chkdsk command, the SD card is no problem.
When I specify the boot and root partitions through the fdisk command in Linux, then copy the file, connect the serial port, start the board, and the black window of PUTTY finally has the output information.
The information has been attached to the file. Although I don't know the specific content, I can obviously see:
Unable to handle kernel NULL pointer dereference at virtual address 00000000
so what should I do next? Looking forward to your reply!
11-14-2019 10:36 PM
11-15-2019 03:12 AM
I followed the tutorial to configure the kernel, just added more network-related kernel parameters.
I tried to copy the root and boot partitions of another normal system and the system could start normally. But the kernel parameters I need don't seem to be turned on on this system.
In fact, I just need to execute the command: iptables -t nat -L, but the cmd prompt:
Can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
I have already looked up a lot of relevant information before, and I finally suspect that the kernel lacks the relevant configuration, so this series of operations will be available.
I am still trying to configure the kernel so that the Ubuntu desktop can be displayed.