diff options
author | Lukasz Majewski <lukma@denx.de> | 2019-04-04 12:26:56 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-04-25 17:03:25 +0200 |
commit | fbd611897aeedf709df9a920a845190ac72f703a (patch) | |
tree | 83df73d507d334aaaef88bf081b73b52d43bfc8c /board/k+p | |
parent | 400b972a7eb7756dcf111990d6d16187c30ae9db (diff) |
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>
Diffstat (limited to 'board/k+p')
-rw-r--r-- | board/k+p/bootscripts/tpcboot.cmd | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/k+p/bootscripts/tpcboot.cmd b/board/k+p/bootscripts/tpcboot.cmd index 0576e81140..b81494dd1b 100644 --- a/board/k+p/bootscripts/tpcboot.cmd +++ b/board/k+p/bootscripts/tpcboot.cmd @@ -27,6 +27,12 @@ setenv miscadj " if test '${boardsoc}' = 'imx53'; then setenv bootargs '${bootargs} di=${dig_in} key1=${key1}'; 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 fdt_conf 'conf@${boardsoc}-${boardname}.dtb'; setenv itbcfg "\"#\${fdt_conf}\""; @@ -72,6 +78,7 @@ setenv boot_nfs " if run download_kernel; then run nfsargs; run addip; + run nfsadj; setenv bootargs '${bootargs}' console=${console}; run boot_fitImage; |