1. 05 Sep, 2018 1 commit
  2. 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
  3. 15 Aug, 2018 1 commit
  4. 08 Aug, 2018 1 commit
  5. 03 Aug, 2018 1 commit
  6. 23 Jul, 2018 1 commit
    • Luo Ji's avatar
      MA-12219 [Android] Fix build errors for imx8mm · fb04b621
      Luo Ji authored
      Android build use different tool chain(gcc 4.9) with yocto(gcc 6.2),
      'for' loop initial declarations are not supported in C90, define the
      variable first before use it.
      
      Test: build pass for imx8mm_evk.
      
      Change-Id: Idf9a9f21626a02e2e679d2e74410378cd143c3f1
      Signed-off-by: default avatarLuo Ji <ji.luo@nxp.com>
      fb04b621
  7. 20 Jul, 2018 1 commit
    • Bai Ping's avatar
      MLK-18431-02: add a more generic dram init flow for imx8m · 220d0cc7
      Bai Ping authored
      the dram init is board related. But there is still some common
      part can be reused on different board. The basic flow is common
      for all the board. only the DDRC and DDR PHY config register setting
      is different on different board. So extract the LPDDR4 init common
      flow to make it more generic. baord level only need to provide
      the DDRC and PHY config register parameter to the common code to finish
      the dram init.
      
      the same method can be use for DDR4. will be added later.
      Signed-off-by: default avatarBai Ping <ping.bai@nxp.com>
      220d0cc7
  8. 19 Jul, 2018 3 commits
  9. 18 Jul, 2018 4 commits
  10. 17 Jul, 2018 1 commit
  11. 16 Jul, 2018 2 commits
  12. 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
  13. 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
  14. 06 Jul, 2018 4 commits
  15. 04 Jul, 2018 17 commits