ccimx9: bootscript: add logic to emulate a ccimx91 on a ccimx93
Based on the environment variable emulate-cc91: * Limit the ram memory to 512MB * Enable the overlay _ov_som_emulate-ccimx91_ccimx93.dtbo * Disable the npu node Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
parent
a5df257864
commit
e183f47816
|
|
@ -80,6 +80,12 @@ if test "${soc_type}" = "imx93"; then
|
|||
test "${cpu_type}" = "imx9321"; then
|
||||
module_has_npu="1"
|
||||
fi
|
||||
if test "${emulate-cc91}" = "yes"; then
|
||||
echo "Emulating a ConnectCore 91 (emulate-cc91=yes)"
|
||||
module_has_npu="0"
|
||||
setenv extra_bootargs ${extra_bootargs} mem=512M
|
||||
setenv overlays _ov_som_emulate-ccimx91_ccimx93.dtbo,${overlays}
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "${module_has_npu}" = "1" && test -z "${disable_npu}"; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue