On Thu, 22 Nov 2018 at 12:34, Manoj Tiwary manojtiwary22@gmail.com wrote:
Hi all,
In Tftp deploy , How to give new set of u-boot bootargs by modifying device configuration file? I've tried by giving: {% set base_kernel_args = "setenv bootargs console=serial1,115200 console=tty1 root=/dev/ram0 ip=dhcp rootwait" %}
First, don't try to change all those values in one setting.
Which values actually need to be changed? root=/dev/ram0 is the default for a ramdisk, ip=dhcp is default for base.
Not all TFTP deployments are U-Boot, so you need to let us know if you are using U-Boot or something else.
You can define console_device to change the value passed to console= but the baud rate should include parity and databits as well, so 115200n8 - those are defaults.
{% set console_device = "serial1" %}
Generally, do not change any variable prefixed with base_ because the change will not take effect. There will be an alternative argument for each use of the base_ variable.
See https://master.lavasoftware.org/static/docs/v2/simple-admin.html#overriding-...
Simplest thing to do is make changes in the device dictionary and check the rendered YAML output - there is no need to run a test job until you are sure that the various settings, combined, have given you the right values.
But it is not taking these args. Please suggest the modifications I have to make.
Thanks and regards, Manoj _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users