1. 17 Sep, 2020 13 commits
  2. 30 May, 2020 1 commit
  3. 29 May, 2020 3 commits
  4. 28 May, 2020 6 commits
  5. 27 May, 2020 17 commits
    • Ye Li's avatar
      MLK-24179 imx8/8x: Enable u-boot EXT4/EXT2 relevant commands · a85a2267
      Ye Li authored
      
      
      Need these EXT filesystem commands for i.MX Debian/ubuntu distro
      enablement. And have enabled them on other imx8m/mx6/mx7 platforms
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      (cherry picked from commit b118d558a2d68105fd9c772d18193cee9f355bbb)
      a85a2267
    • Ye Li's avatar
      MLK-24178 imx8: Fix build warning in sci · d7cdfc01
      Ye Li authored
      
      
      Find below warning on some boards, because sci.h does not include
      log.h. Fix the issue by replacing linux/errno.h to common.h
      
      ./arch/arm/include/asm/arch/sci/sci.h: In function ‘sc_err_to_linux’:
      ./arch/arm/include/asm/arch/sci/sci.h:56:2: warning: implicit declaration
      of function ‘debug’ [-Wimplicit-function-declaration]
      56 | debug("%s %d %d\n", _func_, err, ret);
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      (cherry picked from commit 29509c2104e6820f6618074fd1f109c7ff70bdd2)
      d7cdfc01
    • Peng Fan's avatar
      MLK-24172-2 configs: imx8qm: disable SPL DM serial for domu · 114cc2a6
      Peng Fan authored
      
      
      Disable SPL DM SERIAL for domu, there is no mmu setup,
      paravirtual console not work.
      Reviewed-by: default avatarYe Li <ye.li@nxp.com>
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      (cherry picked from commit 63b1c6cde4368ad765f9a1d84e61aa566acd319f)
      114cc2a6
    • Peng Fan's avatar
      MLK-24172-1 imx8qm: update xen defconfig/dts for 2020.04 · 8f53e869
      Peng Fan authored
      
      
      Update xen defconfig
      Update dts to let xen serial could be used in early stage,
      but seems without mmu enabled, it output nothing. It only
      output data after mmu enabled.
      Reviewed-by: default avatarYe Li <ye.li@nxp.com>
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      (cherry picked from commit c1ac080ab69b27e4a66aaf10a9b801d2a3c7b8d0)
      8f53e869
    • Ji Luo's avatar
      MA-14318-1 Support dual bootloader for xen · 34b5b76b
      Ji Luo authored
      
      
      Trusty is not supported for xen so we don't need to check
      the keyslot package or rollback index in spl. Reassign the
      dram address for spl and u-boot to avoid conflicts.
      
      Support serial init functions to enable debug console
      in spl when xen is running.
      
      Test: Boot and A/B slot switch on imx8qm_mek.
      
      Change-Id: If6829252f1ec2e32255f951715c8747181951fd0
      Signed-off-by: default avatarJi Luo <ji.luo@nxp.com>
      Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
      (cherry picked from commit 30beee3fe6d4b35166c6e17203909231d33bc2db)
      (cherry picked from commit a4ffa905d90d14ccdd146e4b38a69d40a568b747)
      (cherry picked from commit 4729a057e8ad699ec01357dd219abdf296afe354)
      34b5b76b
    • Peng Fan's avatar
      MLK-20955 imx8qm: delete power-domains for lpuart0 on xen · 5b27f2dc
      Peng Fan authored
      
      
      To U-Boot on DomU, the lpuart0 is replaced with a xen paravirtual
      consol driver, but reused the previous lpuart node. However
      there is an power-domains entry in lpuart0 which will call
      power_domain_on and failed to probe xen paravirtual driver,
      because of recent change:
      commit 8524ca764d8f("MLK-20945-2 dm: device: Check the power up result in probe ")
      
      So remove the power-domains entry in lpuart0 to let DomU U-Boot could
      output again.
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Reviewed-by: default avatarFlynn xu <flynn.xu@nxp.com>
      (cherry picked from commit 38155100481a07e961f375052241d9d03e20a899)
      (cherry picked from commit 92104edf74363ab1a322e186887bf4515d47aa9c)
      (cherry picked from commit 75074ecb28d47cb1064d10e3d0b85defd7fb3c87)
      (cherry picked from commit 87b6d6158dcd4132328a4891f6446a4b565e5ab6)
      5b27f2dc
    • Peng Fan's avatar
      MLK-20383 imx8qm: xen: enable dm usb · 161610a7
      Peng Fan authored
      
      
      Enable dm usb using the base board otg usb port for fastboot usage
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Reviewed-by: default avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit 88a1718aa7096782e9cf538e391762aaef631bb2)
      (cherry picked from commit 279e82b731e7671536b729934e1dc88b760ea05a)
      (cherry picked from commit b874dc0882e329af07de4f6bb0d01573d4e02da2)
      161610a7
    • Peng Fan's avatar
      MLK-20373-6 imx8qm: xen: enable dm serial · 6574ae69
      Peng Fan authored
      
      
      Enable dm serial for xen uboot.
      
      Log as below:
       #xl console 1
      MMC:   FSL_SDHC: 0
      Loading Environment from <NULL>... *** Warning - bad CRC, using default environment
      
      Failed (-5)
      In:    serial@5a060000
      Out:   serial@5a060000
      Err:   serial@5a060000
      flash target is MMC:0
      Fastboot: Normal
      Normal Boot
      =>
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
      Reviewed-by: default avatarFlynn xu <flynn.xu@nxp.com>
      (cherry picked from commit 132cb6f74bcd963b180de83279f00aef31bbbdca)
      (cherry picked from commit 38313a6f8e437568dbc15075251d344fa67fd14b)
      (cherry picked from commit 653f877b1beb4779ef0c24b81ba428503ce8ae3d)
      6574ae69
    • Peng Fan's avatar
      MLK-20373-5 serial: serial_xen: support normal uboot console · 00707e93
      Peng Fan authored
      
      
      Support output/input using `xl console [domid]`.
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Reviewed-by: default avatarFlynn xu <flynn.xu@nxp.com>
      (cherry picked from commit 75a9833506aa13c1d5a8641c81ac951c41ced55e)
      (cherry picked from commit 5a495c39679b6641d369fc0c9cfdadafd8a408f6)
      (cherry picked from commit 6f3cc8513ac1afe0cf679422ae82c4a5930a8c64)
      00707e93
    • Peng Fan's avatar
      MLK-20373-4 imx8: update mem map table · c35bf3b3
      Peng Fan authored
      
      
      Update mem map table for xen uboot.
      xen console and some magic pages needs to be mappe as normal memory.
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
      Reviewed-by: default avatarFlynn xu <flynn.xu@nxp.com>
      (cherry picked from commit c96a9844cd3342f6e31627ccc4f3e63544ffd78e)
      (cherry picked from commit 30b2d9f4a7c0cfc9b3f999f1c3a1a8c466d66a68)
      (cherry picked from commit 152de9a5752881e43dd7afc9b47afa56b3b230e8)
      c35bf3b3
    • Peng Fan's avatar
      MLK-20373-3 armv8: xen: introduce new hypercalls · 559a7091
      Peng Fan authored
      
      
      Introduce new hypercalls
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
      Reviewed-by: default avatarFlynn xu <flynn.xu@nxp.com>
      (cherry picked from commit e1610fa574b20794c184e00d86c9d0f7505672f1)
      (cherry picked from commit 6e9e957e8d0891e4ec3bfb4b6c2bbef747eb8812)
      (cherry picked from commit 46a34b4456fb895786d25721b54a10e0182cb312)
      559a7091
    • Peng Fan's avatar
      MLK-20373-1 Intrdouce xen header files · 0998baa8
      Peng Fan authored
      Introduce xen header files from Linux Kernel commit
      e2b623fbe6a3("Merge tag 's390-4.20-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux"
      
      )
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
      Reviewed-by: default avatarFlynn xu <flynn.xu@nxp.com>
      (cherry picked from commit ddb393c45158f6114bd53c83dcd8397a6c2acbdc)
      (cherry picked from commit 8591f37af6345695a98216c136e9209a880901f1)
      (cherry picked from commit b93308506902dd30b84640f59fa75ada21d8775a)
      0998baa8
    • Peng Fan's avatar
      MLK-20134 imx8qm: xen: correct DRAM SIZE and loadaddr · b8c5b642
      Peng Fan authored
      
      
      The first DRAM BANK size should be 2GB and the load addr
      are 0x80080000.
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      (cherry picked from commit 56c9ac9734a59c68cb85125b7047087d00d141e8)
      (cherry picked from commit fd9689b3a2bcd0de26594afa161c4e4acb4c7f58)
      (cherry picked from commit ee0733cca541a9a47d833e70d273268d2ed29653)
      b8c5b642
    • Peng Fan's avatar
      MLK-19552 imx8qm: xen: fix memory map · 5974dc9e
      Peng Fan authored
      
      
      Fixes 9486251ced24("MLK-19494 configs: imx8qm mek android audo: correct xen physical memory")
      
      correct text base, IPC address, memmap.
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      (cherry picked from commit 884cada50b9a9fcda09d259cf145d87a29122cac)
      (cherry picked from commit 55822e16786817f843d32c1347d705c2a2a435dd)
      (cherry picked from commit f13108a1842a2819489975f0d0040c9c65c3856c)
      5974dc9e
    • Peng Fan's avatar
      MLK-19494 configs: imx8qm mek android audo: correct xen physical memory · be96d08d
      Peng Fan authored
      
      
      XEN tool has changed GUEST_RAM0_BASE to 2GB, since we assigned
      3584M RAM to DomU, so reflect the change in configuration file.
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      (cherry picked from commit 9486251ced24e3bf3ecbff68a8f9476e694e5bf7)
      (cherry picked from commit 0278b14507731b465652aa41c4a95dafa66da5d1)
      (cherry picked from commit 7041ded231da64df7799c0f74b14f33e2534c723)
      be96d08d
    • Ye Li's avatar
      MLK-18614-3 Xen: imx8qm_mek: Fix the CONFIG_FASTBOOT_USB_DEV and DTB issue · 6106514f
      Ye Li authored
      
      
      Because the Xen u-boot is using OTG port not typec port, the CONFIG_FASTBOOT_USB_DEV
      should set to 0 not 1. Otherwise the fastboot will fail.
      
      Remove duplicated "/dts-v1/;" from Xen DTB.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit ceaa529b34752045dcd294572c30c7c56a48abe7)
      (cherry picked from commit 2942cb192c0fff45307042bf60da08a30ccddaf2)
      (cherry picked from commit 9e8b963dc74f54a781cdb495f24b9b6a669cd17e)
      (cherry picked from commit 17fd71abdfa9895275be17ed9391fb8b68cd85ef)
      6106514f
    • Peng Fan's avatar
      MLK-18577-7 imx8qm: mek: support uboot in vm · de4f81cd
      Peng Fan authored
      
      
      We are targeting let uboot loading images from emmc to boot android.
      Currently only emmc1 is enabled, so other devices are disabled.
      
      Also change memory layout according to VM layout. The memory layout
      needs to be samesize as what you configured in as "memory = "3584"".
      
      Add a new dts dedicated for this kind uboot, add a new defconfig
      to select CONFIG_XEN/CONFIG_XEN_DEBUG_SERIAL, deselect CONFIG_DM_SERIAL,
      select CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK, and disable some devices
      compared with imx8qm_mek_androidauto_defconfig.
      Reviewed-by: default avatarYe Li <ye.li@nxp.com>
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      (cherry picked from commit a4e932cae433b9d2e1cff6a94b12e4abcac45543)
      (cherry picked from commit a26de6e05563d3e3e6734e0d99e464437aa89db5)
      (cherry picked from commit 74ac579ee195c4a2f6651ccc0f86efb0eebd889e)
      (cherry picked from commit 7efc2eca10c9d48da6e01ba6a5df63b6f619d7ab)
      de4f81cd