Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- method: uuu
- commands:
- # Load boot-container into RAM
- - SDPS: boot -f {boot}
- - SDPV: delay 1000
- - SDPV: write -f {boot} -skipspl
- - SDPV: jump
- # Load a clean environment
- - FB: ucmd env default -a
- # Setup env and flash boot-container to first boot-partition
- - FB: ucmd setenv fastboot_dev mmc
- - FB: ucmd setenv mmcdev $emmc_dev
- - FB: ucmd mmc dev $emmc_dev 1
- - FB: flash bootloader {boot}
- # Erase the second boot-partition
- - FB: ucmd mmc dev $emmc_dev 2
- - FB: ucmd mmc erase 0 2000
- # Write env two times, for both primary and redundant location
- - FB: ucmd saveenv
- - FB: ucmd saveenv
- # Set the first boot-container as boot partition
- - FB: ucmd mmc partconf $emmc_dev 1 1 0
- - FB: Done
Advertisement
Add Comment
Please, Sign In to add comment