-
Hi guys, So my questions started because I was trying to flash a When I ran the initrd flash script I got the following error:
The thing is that I noticed that if [ "${TEGRAFLASH_NO_INTERNAL_STORAGE}" = "1" ]; then
install -m 0644 ${PARTITION_FILE} ${D}${datadir}/tegraflash/bupgen-${PARTITION_LAYOUT_TEMPLATE}
nvflashxmlparse --extract -t boot --output=${D}${datadir}/tegraflash/${PARTITION_LAYOUT_TEMPLATE} ${PARTITION_FILE}
chmod 0644 ${D}${datadir}/tegraflash/${PARTITION_LAYOUT_TEMPLATE} And why is this a problem? mapfile PARTS < <("$here/nvflashxmlparse" -t rootfs "$cfgfile")
if [ ${#PARTS[@]} -eq 0 ]; then
echo "No partition definitions found in $cfgfile" >&2
exit 1
fi So my question is, if we have an Orin nano with an nvme and a A/B image. What do we expect the flash to be? Meaning, what should the flash.xml.in look like, is it an internal or external flash or both? Should I connect an SDcard? What should my I ask about them because if I know what the output should look like then I can change my machine to match this configuration. I hope this is clear enough, otherwise let me know Some of my current variables (.env.initrd+Yocto): BOOTDEV="nvme0n1p1"
ROOTFS_DEVICE="nvme0n1"
CHIPID="0x23"
DTBFILE="tegra234-p3767-0001-p3509-a02.dtb"
EMMC_BCTS="tegra234-p3767-0000-sdram-l4t.dts"
BOOT_PARTITIONS_ON_EMMC=0
NO_INTERNAL_STORAGE=1
TNSPEC_BOOTDEV_DEFAULT = "nvme0n1p1"
TNSPEC_BOOTDEV = "nvme0n1p1"
EXTERNAL_ROOTFS_DRIVE=0 # also tried with EXTERNAL_ROOTFS_DRIVE=1
PARTITION_LAYOUT_TEMPLATE_DEFAULT = "flash_t234_qspi_nvme.xml"
PARTITION_LAYOUT_EXTERNAL = "flash_l4t_nvme_rootfs_ab.xml" Thanks a lot for any information |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
What confuses me right now is that I don't know if I should do internal or external flash. |
Beta Was this translation helpful? Give feedback.
-
This was the right combination that made this work for me:
|
Beta Was this translation helpful? Give feedback.
@dwalkes
This was the right combination that made this work for me: