Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uuu_bootloader_tag.bbclass: Add UUU_BOOTLOADER_UNTAGGED #1761

Merged
merged 1 commit into from
Mar 8, 2024

Commits on Mar 8, 2024

  1. uuu_bootloader_tag.bbclass: Add UUU_BOOTLOADER_UNTAGGED

    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 <[email protected]>
    hiagofranco committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    5a90636 View commit details
    Browse the repository at this point in the history