I want to change kernel parameters from u-boot.
printenv
Copy the value of mmcargs
.
Use setenv
to change the value of mmcargs
, adding what you need.
In this case I changed the init to bash to have a working terminal without password prompt.
setenv mmcargs setenv bootargs console=${console},${baudrate} root=${mmcroot} init=/bin/bash
Boot:
run bootcmd