mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 11:32:30 +00:00
image_types_tegra: remove BOARDID/FAB/etc settings for t234 flashing
The doflash.sh script generated for t234 devices was erroneously including environment variable settings for BOARDID, FAB, etc., bypassing the fuse/EEPROM read logic in the helper script, probably because the script was broken. Now that the script has been fixed, remove those settings so the actual values are queried from the device during flashing. Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
@@ -447,7 +447,7 @@ create_tegraflash_pkg:tegra234() {
|
||||
rm -f doflash.sh
|
||||
cat > doflash.sh <<END
|
||||
#!/bin/sh
|
||||
MACHINE=${TNSPEC_MACHINE} BOARDID=\${BOARDID:-${TEGRA_BOARDID}} FAB=\${FAB:-${TEGRA_FAB}} CHIPREV=\${CHIPREV:-${TEGRA_CHIPREV}} BOARDSKU=\${BOARDSKU:-${TEGRA_BOARDSKU}} ./tegra234-flash-helper.sh $DATAARGS flash.xml.in ${DTBFILE} ${EMMC_BCT} ${ODMDATA} ${LNXFILE} ${IMAGE_BASENAME}.${IMAGE_TEGRAFLASH_FS_TYPE} "\$@"
|
||||
MACHINE=${TNSPEC_MACHINE} ./tegra234-flash-helper.sh $DATAARGS flash.xml.in ${DTBFILE} ${EMMC_BCT} ${ODMDATA} ${LNXFILE} ${IMAGE_BASENAME}.${IMAGE_TEGRAFLASH_FS_TYPE} "\$@"
|
||||
END
|
||||
chmod +x doflash.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user