aboutsummaryrefslogtreecommitdiffstats
path: root/classes/uuu_bootloader_tag.bbclass
AgeCommit message (Collapse)Author
2024-03-09uuu_bootloader_tag.bbclass: Use UUU_BOOTLOADER_TAGGED variableHiago De Franco
Use UUU_BOOTLOADER_TAGGED variable instead of UUU_BOOTLOADER in the stat function to make the code more specific and easy to read. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-03-08uuu_bootloader_tag.bbclass: Add UUU_BOOTLOADER_UNTAGGEDHiago De Franco
Add UUU_BOOTLOADER_UNTAGGED flag to add the possibility to deploy a imx-boot binary without the tagged footer 'UUUBURNXXOEUZX7+A-XY5601QQWWZ%sEN' at the end. The addition of the footer 'UUUBURNXXOEUZX7+A-XY5601QQWWZ%sEN' at the end causes issues when the binary is loaded into RAM memory, this footer may cause issues where the binary size exceeds the typical USB package size used by UUU (1021 bytes). As example, if the footer is split across two distinct USB packages, such as sending 'UUUBURNXXXOE' in the last packet and 'UZX7+A-XY5601QQWWZ%sEND' in the next one, it can lead to UUU halting while waiting for a response in SDPS mode. After sending 'UUUBURNXXXOE', iMX8MP's boot room starts SPL, not waiting for the next packet ('UZX7+A-XY5601QQWWZ%sEND'), leading to UUU breaking. Therefore, deploy both binaries separately (-tagged and -untagged) to allow users to choose the appropriate binary. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2022-01-19imx-boot,u-boot-imx: Add bootloader image size to SD card imageTom Hochstein
Append a tag to the bootloader image used in the SD card image. The tag contains the size of the bootloader image so UUU can easily find the end of the bootloader in the SD card image. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>