Skip to content

Add Beagle Play support

This series adds Android boot flow support for Beagle Play.

It can be divided in several sections:

  1. Misc cleanups: fix broken MMC environment saving + remove unused uboot-env partition
  2. Add the missing bits for Beagle Play (eeprom reading/dts index)

Flash procedure:

  1. Boot from a DFU bootloader from this codebase. Follow https://baylibre.pages.baylibre.com/ti/android/doc/dfu-recovery.html for detailed documentation.
  2. Reset environment:
=> env default -a -f
=> saveenv
  1. Program the eMMC as documented previously (if not already done)
  2. Switch back to user hw partition:
=> mmc dev 0 0
  1. Run fastboot as usual:
=> fastboot usb 0
  1. Continue normal flashing procedure.

Refs

Additional notes

To fully erase the eMMC for AM62x EVM SK, we can run:

# mmc0boot0
=> mmc dev 0 1
=> mmc erase 0 0xfc00

# mmc0boot1
=> mmc dev 0 2
=> mmc erase 0 0xfc00

# user partition
=> mmc dev 0 0
=> mmc erase 0 0x1da4000

For BeaglePlay, do:

=> mmc dev 0 1
=> mmc erase 0 0x2000

=> mmc dev 0 2
=> mmc erase 0 0x2000

=> mmc dev 0 0
=> mmc erase 0 0x1d34000

Dependencies:

TODO

Edited by Mattijs Korpershoek

Merge request reports

Loading