Guest User

Untitled

a guest
Dec 6th, 2024
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. method: uuu
  2. commands:
  3. # Load boot-container into RAM
  4. - SDPS: boot -f {boot}
  5. - SDPV: delay 1000
  6. - SDPV: write -f {boot} -skipspl
  7. - SDPV: jump
  8. # Load a clean environment
  9. - FB: ucmd env default -a
  10. # Setup env and flash boot-container to first boot-partition
  11. - FB: ucmd setenv fastboot_dev mmc
  12. - FB: ucmd setenv mmcdev $emmc_dev
  13. - FB: ucmd mmc dev $emmc_dev 1
  14. - FB: flash bootloader {boot}
  15. # Erase the second boot-partition
  16. - FB: ucmd mmc dev $emmc_dev 2
  17. - FB: ucmd mmc erase 0 2000
  18. # Write env two times, for both primary and redundant location
  19. - FB: ucmd saveenv
  20. - FB: ucmd saveenv
  21. # Set the first boot-container as boot partition
  22. - FB: ucmd mmc partconf $emmc_dev 1 1 0
  23. - FB: Done
Advertisement
Add Comment
Please, Sign In to add comment