Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
bootargs
bootargs
Changing the Kernel bootargs Used By U-Boot

This appends options to the kernel command line - the latest value is the one actually used. For this example, we're overriding the default CMA value of 1000M with cma=256M: 

...

If your application or configuration requires specific arguments you can configure U-Boot to pass these arguments automatically.

Example bootargs lines

To update only the CMA value (256M in this case, 1000M is the default):

Code Block
sudo sh -c 'echo "LINUX_KERNEL_CMDLINE=\"cma=256M\"" > /etc/default/u-boot-xlnx'

To update only the root filesystem location:

Code Block
sudo sh -c 'echo "LINUX_KERNEL_CMDLINE=\"

...

root=\\/dev\\/sda1\"" > /etc/default/u-boot-xlnx'

...

To update multiple arguments (CMA and root filesystem location):

Code Block
sudo sh -c 'echo "LINUX_KERNEL_CMDLINE=\"cma=256M\ root=\\/dev\\/sda1\"" > /etc/default/u-boot-xlnx'

After updating the Linux kernel boot arguments, be sure to update the U-Boot configuration so that these arguments are passed to the Linux kernel on the next reboot

Code Block
ubuntu@zynqmp:~$ sudo dpkg-reconfigure u-boot-zynqmp 

Remember to reboot the system for the changes to take place.

Note

Note: Remember that this overrides all arguments being passed to the Linux kernel so it is important to express all of the arguments you need in the same line. It is not a cumulative process.

Note

Note: Be sure to delimit quotation marks around the LINUX_KERNEL_CMDLINE values. This is so that multiple arguments can be passed at the same time. If only one argument is being specified then they can be omitted.

Note

Note: If command line arguments are being used which include forward slashes ( / ) such as those found in filesystem paths, they must be delimited twice.

Example: sudo sh -c 'echo "LINUX_KERNEL_CMDLINE=\"cma=256M\ root=\\/dev\\/sda1\"" > /etc/default/u-boot-xlnx'

...

Installing & Using the Xilinx PPA

...

Anchor
ubuntu-kv260-special-notes
ubuntu-kv260-special-notes
Special Considerations for the Kria KV260 Vision AI Starter Kit

COMING SOON!

Anchor
DP_Adapter
DP_Adapter
DisplayPort to HDMI Adapters 

...