1. 20 Nov, 2018 1 commit
  2. 14 Nov, 2018 2 commits
  3. 19 Oct, 2018 3 commits
  4. 17 Oct, 2018 3 commits
  5. 16 Oct, 2018 1 commit
  6. 06 Sep, 2018 1 commit
    • Ye Li's avatar
      MLK-19465 imx8mq: Fix cpu rev issue on B0.1 chip · 8be98e93
      Ye Li authored
      We read the ROM version to determine the CPU revision before B1 chip.
      The rom version is 4 bytes word, it has major version at low byte,
      minor version at second byte.
      
      On B0.1 chip, the value is 0x1020 not 0x20, if reading the word and comparing
      with 0x20, the result is wrong.
      
      Fix the issue by only reading the lowest byte for major version.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit 8d0812e63155cca91ecb78c630a450e7d5e5fd00)
      8be98e93
  7. 05 Sep, 2018 7 commits
  8. 03 Sep, 2018 1 commit
    • Ye Li's avatar
      MLK-19355 imx8mm: Enable sec_debug clock in SPL · c738b76a
      Ye Li authored
      ipg_stop from GPC is not connected to WDOG directly, the sec_debug clock is
      used to sample the ipg_stop from GPC. So when this clock is off, ipg_stop input
      of WDOG can’t assert, WDOG will fail to stop in DSM mode.
      Enable this clock forever in SPL, so other SW don't need to touch it.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      Tested-by: default avatarBai Ping <ping.bai@nxp.com>
      (cherry picked from commit 1da6c9b3a837d15c25086af449462d5e8b56c290)
      c738b76a
  9. 31 Aug, 2018 1 commit
  10. 28 Aug, 2018 2 commits
    • 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
    • Zhang Bo's avatar
      MA-12536[Android] Enable RTC for imx8m in uboot · b6a1a19c
      Zhang Bo authored
      Enable RTC in bootloader to avoid rtc time less than jiffies time
      when linux first bootup after RTC lose power.
      It will cause the issue as
      MA-9554[Android_6DL_SD]RTC: Sometimes the RTC reset to the initial
      time 1970 after softare reboot the first time. 40%
      
      Change-Id: I0c87180640be98a2c928a30c6949f91f4515844d
      Signed-off-by: default avatarZhang Bo <bo.zhang@nxp.com>
      b6a1a19c
  11. 21 Aug, 2018 1 commit
  12. 16 Aug, 2018 1 commit
  13. 15 Aug, 2018 2 commits
  14. 13 Aug, 2018 1 commit
    • Ye Li's avatar
      MLK-19157 imx8mm_evk: Disable dsi panel before booting kernel · 4d436d59
      Ye Li authored
      Pull down the DSI_EN gpio to disable mipi dsi panel before booting kernel.
      This avoids display full yellow screen before kernel mipi driver probes
      the device.
      
      For MIPI2HDMI card, this DSI_EN gpio is not used. So nothing impact to it.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit e73adc9a139f2e8bb92bda1631fa2f2391a8a5e3)
      4d436d59
  15. 08 Aug, 2018 4 commits
    • Ye Li's avatar
      MLK-19132-3 fastboot: Remove CONFIG_BCB_SUPPORT for BSP u-boot · 14e87975
      Ye Li authored
      Remove CONFIG_BCB_SUPPORT config from BSP u-boot defconfig files.
      So that we can eliminate such errors during boot up:
      
      can't find partition: misc, dump the partition table
      idx 0, ptn 0 name='gpt' start=0 len=2048
      idx 1, ptn 0 name='tos' start=0 len=2047
      idx 2, ptn 0 name='all' start=0 len=7864320
      idx 3, ptn 0 name='bootloader' start=2 len=4094
      idx 4, ptn 1 name='mmcsdb1' start=20480 len=1024000
      idx 5, ptn 2 name='mmcsdb2' start=1228800 len=6635520
      cannot get the partion info for misc
      Cannot find partition 4080
      do_raw_read failed, ret 1
      read_bootctl, bcb_rw_block read failed
      read command failed
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit 4d282a7a429876f1c1c67754a1d5c7aaaf75bb43)
      14e87975
    • Ye Li's avatar
      MLK-19132-2 fastboot: Disable BCB_SUPPORT config at default · 06de519a
      Ye Li authored
      The BCB_SUPPORT is not needed by fastboot to support uuu, change it to
      disabled at default. Android header file explicitly enables this
      config, so there is no impact to android.
      
      Also remove the CONFIG_BCB_SUPPORT from whilelist, since we already add
      it in kconfig.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit 36fd8fd0d5f34d69ef9a1a3833f3f052d64a25b3)
      06de519a
    • Ye Li's avatar
      MLK-19132-1 fastboot: Use CONFIG_BCB_SUPPORT to control bcb relevant operations · 46283bf0
      Ye Li authored
      BSP u-boot has enabled fastboot for uuu. But the BCB is not needed. It will
      gives some errors during u-boot boot up.
      This patch uses CONFIG_BCB_SUPPORT to control bcb codes, so that BSP u-boot can
      disable it.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit e64a0eedb1ea84fbdbb67630fba88b92d1b49ed2)
      46283bf0
    • Ye Li's avatar
      MLK-19159 imx8mm_evk: Fix build break for flexspi defconfig · 42d21af4
      Ye Li authored
      The flexspi defconfig uses CONFIG_ENV_IS_IN_SPI_FLASH not CONFIG_ENV_IS_IN_MMC.
      So when fastboot is enabled for flexspi, the build break happens.
      
      drivers/usb/gadget/built-in.o: In function `board_fastboot_setup':
      /home/leyoen/Workspace/uboot-imx/drivers/usb/gadget/f_fastboot.c:1539: undefined reference to `mmc_get_env_dev'
      drivers/usb/gadget/built-in.o: In function `_fastboot_setup_dev':
      /home/leyoen/Workspace/uboot-imx/drivers/usb/gadget/f_fastboot.c:1260: undefined reference to `mmc_get_env_dev'
      drivers/usb/gadget/built-in.o: In function `get_single_var':
      /home/leyoen/Workspace/uboot-imx/drivers/usb/gadget/f_fastboot.c:2935: undefined reference to `mmc_get_env_dev'
      drivers/usb/gadget/built-in.o: In function `bcb_rw_block':
      /home/leyoen/Workspace/uboot-imx/drivers/usb/gadget/bcb.c:120: undefined reference to `mmc_get_env_dev'
      
      Fix the issue by decoupling mmc_get_env_dev function with CONFIG_ENV_IS_IN_MMC
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit 2716f9a325681737593b3a6e79f94576a35067c2)
      42d21af4
  16. 06 Aug, 2018 1 commit
  17. 03 Aug, 2018 1 commit
  18. 27 Jul, 2018 1 commit
  19. 26 Jul, 2018 1 commit
  20. 25 Jul, 2018 1 commit
  21. 23 Jul, 2018 4 commits