mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
boot.src: Provide dsa_core.blacklist bootarg when booting via NFS
This setup is a bit special as Linux kernel (4.19) is not supporting in-kernel NFS rootfs mount and Distributed Switch Architecture (DSA) operation. For that reason it was necessary to provide a bootarg to allow userspace enable it afterwards if needed. Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
400b972a7e
commit
fbd611897a
1 changed files with 7 additions and 0 deletions
|
@ -27,6 +27,12 @@ setenv miscadj "
|
||||||
if test '${boardsoc}' = 'imx53'; then
|
if test '${boardsoc}' = 'imx53'; then
|
||||||
setenv bootargs '${bootargs} di=${dig_in} key1=${key1}';
|
setenv bootargs '${bootargs} di=${dig_in} key1=${key1}';
|
||||||
fi;"
|
fi;"
|
||||||
|
setenv nfsadj "
|
||||||
|
if test '${boardsoc}' = 'imx53'; then
|
||||||
|
if test '${boardtype}' = 'hsc'; then
|
||||||
|
setenv bootargs '${bootargs} dsa_core.blacklist=yes';
|
||||||
|
fi;
|
||||||
|
fi;"
|
||||||
setenv boot_fitImage "
|
setenv boot_fitImage "
|
||||||
setenv fdt_conf 'conf@${boardsoc}-${boardname}.dtb';
|
setenv fdt_conf 'conf@${boardsoc}-${boardname}.dtb';
|
||||||
setenv itbcfg "\"#\${fdt_conf}\"";
|
setenv itbcfg "\"#\${fdt_conf}\"";
|
||||||
|
@ -72,6 +78,7 @@ setenv boot_nfs "
|
||||||
if run download_kernel; then
|
if run download_kernel; then
|
||||||
run nfsargs;
|
run nfsargs;
|
||||||
run addip;
|
run addip;
|
||||||
|
run nfsadj;
|
||||||
setenv bootargs '${bootargs}' console=${console};
|
setenv bootargs '${bootargs}' console=${console};
|
||||||
|
|
||||||
run boot_fitImage;
|
run boot_fitImage;
|
||||||
|
|
Loading…
Add table
Reference in a new issue