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!

AR# 68096

2016.3 PetaLinux - How to set Custom Boot args?

Description

I am Attempting to boot up ZCU102 with the latest PetaLinux 2016.3 build. I use the following command to build the BOOT.BIN:

petalinux-package --boot --fsbl=./images/linux/zynqmp_fsbl.elf --u-boot=./images/linux/u-boot.elf --fpga arraycopy.elf.bit

I have used this command both with and without the --fpga specified.

After the kernel comes up completely, I see the following:

Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
done.
Starting Dropbear SSH server: Generating key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCADHh7n1sF/dwtb6KhQ3bB9ESlNkStu/XBZd6Zz1+PPrh705glx50tke
4lhF5xlwZ9grVHrnKG8PB9C04kVXg4fwwWFHA2WfJ6F/PNDcGbsGB+sxxDNpxnmCAuXshlJwP7CcXW8jMbcYSFt4CBNb
eMgBEYs9GCp/KC1yhld9+aGdTAXxbWR3fykmQUl5rmAgS0jivO5WJDqo9OCI+pZLmsVVwBIwESTlD4F1EFNKAcEv/cbGj
5v6gBJv90VgtX36Ygws09+/snD+yteYbzDIU7USlfqAioT0VH+40LJphdWe5SuhAP/BwI/G/i4sfUqc4AyeusRXz9+3Vjtmwj1Y7P
root@Xilinx-ZCU102-2016_3
Fingerprint: md5 aa:f7:5a:54:a7:8c:5c:6d:57:f2:bd:bf:72:17:d5:bb
dropbear.
Starting tcf-agent: OK
INIT: no more processes left in this runlevel

And this stage it hangs. What can I do to resolve this issue?

Solution

This can occur if you select manual boot args, but do not set some of the key boot args options.


 

You will need to pass console=serial, <baudrate> when opting to manually set boot args.

These boot args are required for initialization after loading rootfs. 

If "Auto generate kernel Bootargs" is selected, PetaLinux will take care of this automatically.


AR# 68096
Date Created 10/18/2016
Last Updated 10/27/2016
Status Active
Type General Article
Devices
  • Zynq UltraScale+ MPSoC
Tools
  • PetaLinux - 2016.3