[U-Boot] bootargs

dbegun dbegun at protonmail.com
Tue Aug 14 08:57:38 UTC 2018


I am booting a linux kernel with U-Boot 2017.11. I want to pass a boot argument "root=/dev/mmcblk1p2". I tried
> setenv root /... OR setenv bootargs root=/...
> saveenv
> boot

But it still boots with root=/dev/mmcblk0p2
$ cat /proc/cmdline:
... root=/dev/mmcblk0p2 ...

How do I get it to boot with my custom kernel argument?

[the actual problem I am trying to solve this way is "Gave up waiting for root device" when the kernel tries to mount a root fs]

Sent with [ProtonMail](https://protonmail.com) Secure Email.


More information about the U-Boot mailing list