...
Anchor | ||||
---|---|---|---|---|
|
bootargs
Used By U-BootThis 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
|
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 |
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: |
...
Installing & Using the Xilinx PPA
...
Anchor | ||||
---|---|---|---|---|
|
COMING SOON!
Anchor | ||||
---|---|---|---|---|
|
...