28 May, 2020

1 commit


27 May, 2020

7 commits

  • 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: Ye Li
    Signed-off-by: Peng Fan
    (cherry picked from commit c1ac080ab69b27e4a66aaf10a9b801d2a3c7b8d0)

    Peng Fan
     
  • 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: Peng Fan
    Reviewed-by: Flynn xu
    (cherry picked from commit 38155100481a07e961f375052241d9d03e20a899)
    (cherry picked from commit 92104edf74363ab1a322e186887bf4515d47aa9c)
    (cherry picked from commit 75074ecb28d47cb1064d10e3d0b85defd7fb3c87)
    (cherry picked from commit 87b6d6158dcd4132328a4891f6446a4b565e5ab6)

    Peng Fan
     
  • Enable dm usb using the base board otg usb port for fastboot usage

    Signed-off-by: Peng Fan
    Reviewed-by: Ye Li
    (cherry picked from commit 88a1718aa7096782e9cf538e391762aaef631bb2)
    (cherry picked from commit 279e82b731e7671536b729934e1dc88b760ea05a)
    (cherry picked from commit b874dc0882e329af07de4f6bb0d01573d4e02da2)

    Peng Fan
     
  • Enable dm serial for xen uboot.

    Log as below:
    #xl console 1
    MMC: FSL_SDHC: 0
    Loading Environment from ... *** 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: Peng Fan
    Reviewed-by: Peng Fan
    Reviewed-by: Flynn xu
    (cherry picked from commit 132cb6f74bcd963b180de83279f00aef31bbbdca)
    (cherry picked from commit 38313a6f8e437568dbc15075251d344fa67fd14b)
    (cherry picked from commit 653f877b1beb4779ef0c24b81ba428503ce8ae3d)

    Peng Fan
     
  • Fixes 9486251ced24("MLK-19494 configs: imx8qm mek android audo: correct xen physical memory")

    correct text base, IPC address, memmap.

    Signed-off-by: Peng Fan
    (cherry picked from commit 884cada50b9a9fcda09d259cf145d87a29122cac)
    (cherry picked from commit 55822e16786817f843d32c1347d705c2a2a435dd)
    (cherry picked from commit f13108a1842a2819489975f0d0040c9c65c3856c)

    Peng Fan
     
  • 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: Ye Li
    (cherry picked from commit ceaa529b34752045dcd294572c30c7c56a48abe7)
    (cherry picked from commit 2942cb192c0fff45307042bf60da08a30ccddaf2)
    (cherry picked from commit 9e8b963dc74f54a781cdb495f24b9b6a669cd17e)
    (cherry picked from commit 17fd71abdfa9895275be17ed9391fb8b68cd85ef)

    Ye Li
     
  • 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: Ye Li
    Signed-off-by: Peng Fan
    (cherry picked from commit a4e932cae433b9d2e1cff6a94b12e4abcac45543)
    (cherry picked from commit a26de6e05563d3e3e6734e0d99e464437aa89db5)
    (cherry picked from commit 74ac579ee195c4a2f6651ccc0f86efb0eebd889e)
    (cherry picked from commit 7efc2eca10c9d48da6e01ba6a5df63b6f619d7ab)

    Peng Fan