1. 28 Aug, 2018 1 commit
    • Ye Li's avatar
      MLK-19356 fastboot: Fix ucmd issue in fastboot · a8569856
      Ye Li authored
      After executing each ucmd, the ucmd callback function always call fastboot_setup
      to setup some enviroments.
      
      Because the mmc will be switched to user area by calling blk_get_dev in _fastboot_load_partitions.
      When running "mmc partconf" by ucmd, the PART_CONFIG EXTCSD is updated, but the part_config and
      hwpart variables in mmc and blk structure are not synced. So the old value will write to
      PART_CONFIG EXTCSD again when switch to user area.
      
      This patch changes the fastboot_setup, only load the partitions when the storage device is changed.
      Also force to re-init mmc before loading the partitions to sync mmc variables.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit c9cd93b25586ecd4ce9178da7b8141f60cdd9deb)
      a8569856
  2. 15 Aug, 2018 1 commit
  3. 08 Aug, 2018 1 commit
  4. 03 Aug, 2018 1 commit
  5. 17 Jul, 2018 1 commit
  6. 16 Jul, 2018 2 commits
  7. 13 Jul, 2018 1 commit
    • Luo Ji's avatar
      MA-12160 Check the request status in dequeue for cdns3 driver · 2dd1badb
      Luo Ji authored
      "fastboot reboot bootloader" fails to transmit "OKAY" back to host on
      imx8qm because fastboot_tx_write_str() will dequeue the IN request
      first before queue it, cdns3 usb driver will always invoke the complete
      callback in dequeue, so if we are going to do_reset() in the complete
      callback, the device will reboot before we can transmit "OKAY" back to
      host in queue.
      Check the request status in dequeue first before invoke the complete
      callback, this is basically ported from kernel.
      
      Test: No error messages when run "fastboot reboot bootloader" on
            imx8qm_mek.
      
      Change-Id: I085df3bd0f37480b8636585cc1068d5fcae331c1
      Signed-off-by: default avatarLuo Ji <ji.luo@nxp.com>
      2dd1badb
  8. 11 Jul, 2018 1 commit
    • Frank Li's avatar
      MLK-18406 fastboot support all partition · ca96e0bd
      Frank Li authored
      uuu can write to any position of mmc
      sdps: boot -f ../mkimage_imx8dv/imx-mkimage/iMX8QX/flash.bin
      
      FB: ucmd setenv fastboot_dev mmc
      FB: ucmd setenv mmcdev ${emmc_dev}
      FB: ucmd mmc dev ${emmc_dev}
      FB: flash -raw2sparse all xx.sdcard
      Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
      ca96e0bd
  9. 06 Jul, 2018 3 commits
  10. 04 Jul, 2018 18 commits
  11. 26 Jun, 2018 7 commits
  12. 13 Jun, 2018 1 commit
    • Luo Ji's avatar
      MA-11958 Fix userdata partition size overflow · 5a0a2948
      Luo Ji authored
      The userdata partition size for some platforms
      (like imx8/imx8m) could be larger than 4GB, use
      "unsigned long int" to store the partition size
      instead of "unsigned int".
      
      Test: Get correct userdata partition size for imx8m.
      
      Change-Id: Ib626fa2c4c64dde4eba3a93ee0455f45d1286c9f
      Signed-off-by: default avatarLuo Ji <ji.luo@nxp.com>
      5a0a2948
  13. 01 Jun, 2018 1 commit
  14. 31 May, 2018 1 commit