Skip to content
Snippets Groups Projects
  1. Dec 04, 2018
    • Pat Kusbel's avatar
      fastboot: support for block write and boot partition access · 5e750212
      Pat Kusbel authored
      
      flash now supports writing by block numbers instead of partition names.
      The following command writes an image to block 0x42
      $ fastboot flash 0x42 u-boot.img
      
      emmc boot partition can be unlocked for access via standard fastboot
      
      fastboot flashing unlock_critical
      fastboot flashing lock_critical
      
      See eMMC spec for details of boot_partition_enable, CSD register byte 179
      
      to program a bootloader, such as fastboot
      $ fastboot flashing unlock_critical
      $ fastboot flash 0x42 u-boot.img
      $ fastboot flashing lock_critical
      
      This also supports raw writes to environment configuration.  To
      invalidate the saved uboot environment (and effectively reset it to default)
      
      dd if=/dev/zero of=zero.bin bs=512 count=1
      $ fastboot flashing unlock_critical
      $ fastboot flash 0x1ff0 zero.bin
      $ fastboot flashing lock_critical
      
      Signed-off-by: default avatarPat Kusbel <pat@kusbel.com>
      5e750212
  2. Nov 14, 2018
  3. Nov 12, 2018
  4. Nov 10, 2018
  5. Nov 09, 2018
  6. Nov 08, 2018
  7. Nov 06, 2018
  8. Nov 05, 2018
  9. Oct 30, 2018
  10. Oct 26, 2018
  11. Oct 18, 2018
  12. Oct 13, 2018
  13. Oct 08, 2018
  14. Oct 02, 2018
  15. Oct 01, 2018
  16. Sep 21, 2018
  17. Sep 20, 2018
  18. Sep 17, 2018
  19. Aug 30, 2018
  20. Aug 27, 2018
Loading