diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2021-07-15 17:19:54 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2021-07-18 11:40:06 +0200 |
commit | ba02b7dc5c0b51a3aaa331454c248d9653b2144d (patch) | |
tree | cfd3bf7e1e21d1c1a7c7966c178ea2f66e8d2708 /recipes-core | |
parent | 2ca9878a019ecd1e89c401d5fa520ba22eb5a94d (diff) |
u-boot-distro-boot: fix nfs booting
In the nfs-dhcp case we should not pass any NFS related settings from
U-Boot as the Linux kernel will do its very own DHCP request where it
will get all those settings and knows very well how to apply those.
In the nfs-static case we should add a slash in front of the rootpath as
otherwise an additional /tftpboot/ will be pre-fixed which likely is not
what one wants.
https://man7.org/linux/man-pages/man7/bootparam.7.html
'nfsroot=...'
This sets the NFS root name to the given string. If this
string does not begin with '/' or ',' or a digit, then it
is prefixed by '/tftpboot/'. This root name is used in
case of a net boot.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit f086646d01378903661c5ac8d1925dc855540040)
Diffstat (limited to 'recipes-core')
0 files changed, 0 insertions, 0 deletions