24 Mar, 2020

1 commit


25 Nov, 2019

1 commit


15 Nov, 2019

1 commit


11 Nov, 2019

1 commit


01 Nov, 2019

1 commit


02 Apr, 2019

1 commit

  • As the M4 use different DDR memory size in normal android/car2 and car
    image, use different defconfig for car2 to decrease DDR memory
    reservation. So memory reserved for each M4 core is 8MB in car2 and
    normal android image. it's 32MB for car image.

    Change-Id: Idf608f539cd614a154c78e3a1af28eff1da5c1f2
    Signed-off-by: Zhang Bo

    Zhang Bo
     

01 Apr, 2019

1 commit

  • Add support for DVT AIY 1G board, distinguish the board type
    with the board id.
    TYPE: ID:
    Micron 1G 0x5
    HYNIX 1G 0x3
    Micron 3G 0x1

    Test: Boot on AIY 1G/3G ddr board.

    Change-Id: I3c7b6ebe8bc5d4e59917fcc3947e9ebfefc940da
    Signed-off-by: Ji Luo

    Ji Luo
     

29 Mar, 2019

2 commits


14 Mar, 2019

1 commit


12 Mar, 2019

2 commits

  • 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: Ji Luo
    Reviewed-by: Peng Fan

    Ji Luo
     
  • Image size is about 30M and 0x8028000+30M has overlaped with malloc
    memory. malloc memory end address is 0x88000000 and need to decrease the
    malloc size to reserve enough memory for loading kernel and dtb image.

    The memory address 0x90000000~0x92000000 has been reserved for M4 in
    SCFW. Need to change the HDMI firmware loading address to 0x84000000
    which is aligned with BSP image.

    Change-Id: I6f9b6e05a9c9d8b5f7d385632a0ef54a0c20667d
    Signed-off-by: Zhang Bo

    Zhang Bo
     

08 Mar, 2019

1 commit


07 Mar, 2019

1 commit

  • The spl is located at ocram which will be lost when suspend/resume,
    partition reboot will make A core reboot from the start address of
    ATF, which blocks dual bootloader feature on Android Auto.

    Move the spl to dram and make the partition reboot from spl to fix this
    issue. The memory map will be changed to:
    SPL: 0x0000_0000 --------> 0x8000_0000
    ATF: 0x8000_0000 --------> 0x8004_0000
    U-boot: 0x8002_0000 --------> 0x8006_0000

    Test: reboot ok on imx8qm/imx8qxp.

    Change-Id: I49e8be51bf427dd00eb7507de22a787c6f6e1582
    Signed-off-by: Ji Luo

    Ji Luo
     

05 Mar, 2019

1 commit

  • Create new config file based on "imx8mq_aiy_android_defconfig"
    and enable the CONFIG_IMX_TRUSTY_OS to supprt Trusty OS for AIY.
    Also enlarge the malloc poll to 96 MB because calculate hash
    with CAAM will consume more heap memory.

    Test: Trusty OS boots up and CAAM functions work.

    Change-Id: Ia4bdf4c32617cb4d2951b63f34f3a4a83f4af1b5
    Signed-off-by: Ji Luo

    Ji Luo
     

27 Feb, 2019

1 commit


26 Feb, 2019

2 commits

  • The CONFIG_QSPI_BOOT has been removed from SPL flexspi build, because
    we have to change the u-boot ENV to SD/MMC, and this configuration will
    set relevant configurations.

    But we don't clean up CONFIG_QSPI_BOOT for SPL completely, SPL still has
    some places using it and cause problem to flexspi boot.
    Using CONFIG_SPL_SPI_SUPPORT to replace the CONFIG_QSPI_BOOT.

    Signed-off-by: Ye Li
    (cherry picked from commit 0491bd4ba21ad620b4c514323a7d6b8a9e10325c)

    Ye Li
     
  • Partition creation will be done in xen, remove it from uboot.
    And add domu-android-auto property

    Signed-off-by: Peng Fan
    Reviewed-by: Flynn xu
    (cherry picked from commit 23f7a037d14d05c2eea5622bd8ffda2f23d04372)

    Peng Fan
     

25 Feb, 2019

2 commits


23 Feb, 2019

1 commit

  • The imx6ul/ull/ulz EVK boards enable eMMC fastboot with ack by default bootcfg.
    So when using uuu to burn eMMC, we have to set ack to 1 in "mmc partconf" command.
    Add this env for these board, so that uuu can use it to solve the problem by
    executing "if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;" to
    use the emmc_ack at runtime.

    Signed-off-by: Ye Li
    (cherry picked from commit 9a4a67ed9f07e99cf284fe2929c4f12809b5884b)

    Ye Li
     

22 Feb, 2019

1 commit

  • Grant user the permission to change the bootargs can be very
    dangerous, so add config 'CONFIG_APPEND_BOOTARGS' to guard the
    bootargs appending feature.

    Test: bootargs can't be appended if "CONFIG_APPEND_BOOTARGS" is
    not set.

    Change-Id: I6d6879415ca251c806b56490290e5032aef24277
    Signed-off-by: Ji Luo

    Ji Luo
     

19 Feb, 2019

1 commit


18 Feb, 2019

1 commit

  • Current signed OS container loading address is 0x88000000. It conflicts
    with DDR memory reserved for M4. If we build image with ALT_CONFIG enabled.
    SCFW will assign that memory to M4. Then authentication to kernel image
    will have problem. So modify to new address 0x98000000 which is safe.

    Signed-off-by: Ye Li
    Reviewed-by: Peng Fan
    (cherry picked from commit 545b972a59c86e2b45b40e53a8e6c13f79e3e265)

    Ye Li
     

31 Jan, 2019

1 commit

  • Open configs to add trusty os support for imx8q xen
    build. The rpmb keyslot package must be checked and
    copied to secure memory before trusty os boot.

    Change-Id: I66201783fa8439f2685377c10f257f064057dcfa
    Signed-off-by: Ji Luo

    Ji Luo
     

25 Jan, 2019

2 commits

  • Since different ARM2/Validation boards use different kernel FDT, configure
    them to CONFIG_DEFAULT_FDT_FILE in defconfig

    Signed-off-by: Ye Li
    Reviewed-by: Peng Fan

    Ye Li
     
  • There are two new validation boards: LPDDR4 board (30123) and DDR3L board (30010)
    for imx8x family 17x17 chips. These two boards have same design except the DDR.
    Since SCFW is resposible for DDR initialization, U-boot could use one build to
    cover two boards.
    The 8DX 17x17 DDR3L ARM2 has been added into u-boot before, so we rename the config
    CONFIG_TARGET_IMX8DX_DDR3_ARM2 to CONFIG_TARGET_IMX8X_17X17_VAL to cover DDR3L and
    LPDDR4.

    Considering 8DX and 8QXP 17x17 may solder to the boards, we create two defconfig:
    one for DX and another for 8qxp to share with the CONFIG_TARGET_IMX8X_17X17_VAL
    but with different FDTs.

    Signed-off-by: Ye Li

    Ye Li
     

22 Jan, 2019

2 commits

  • The imx8qm_arm2 has duplcated settings for initrd_addr and initrd_high,
    and needs to change initrd_addr to 0x83100000 to align with other imx8
    boards.

    Signed-off-by: Ye Li
    Reviewed-by: Peng Fan

    Ye Li
     
  • On most of mx6 and mx7 platforms, we set the initrd address to 0x3800000
    offset from DRAM base. However, the optee address is 0x4000000 offset from
    DRAM base. So it will cause memory overlap when using initramfs and optee at
    same time, for example using uuu to boot into kernel.

    To fix the conflict, we set initrd address to 0x6680000 offset from DRAM base,
    because OPTEE needs reserve 32MB memory from 0x4000000 offset to 0x6000000 offset.

    Signed-off-by: Ye Li

    Ye Li
     

21 Jan, 2019

1 commit


19 Jan, 2019

1 commit


18 Jan, 2019

2 commits

  • Open configs to enable dual bootloader feature for
    imx8q Android Auto.

    Test: Build and boot on imx8q.

    Change-Id: I99da2ee6b87efd201e16df1046188ae86cab1466
    Signed-off-by: Ji Luo

    Ji Luo
     
  • The CAAM driver in u-boot will use JR0 by default, but for
    imx8q, both JR0 and JR1 are assigned to SECO and A core
    should never access them.
    Power on the JR3 in this patchset and use it to complete
    the CAAM operations for imx8q.

    Test: CAAM self test cases pass for imx8q.

    Change-Id: Ie3d77d1f2910e7f4c257c797c12b5c8a30ad936a
    Signed-off-by: Ji Luo

    Ji Luo
     

16 Jan, 2019

2 commits

  • The new uuu will change to burn entire boot image to nandfit mtdpart not
    only the FIT image. We enable REDUND offset configuration here, so that SPL will
    try to find FIT header at two locations: the begin of nandfit mtdpart and
    the 0x57c00 offset of nandfit mtdpart. This helps to be compatible with both
    old and new uuu.

    Signed-off-by: Ye Li

    Ye Li
     
  • Add the NAND support to SPL container parser and enable it for imx8qxp arm2
    nand reworked board.
    The SPL NAND will read from nandfit mtdpart (128MB offset) to parsing the entire
    boot image and get the 3rd container from it. This requires burning tool (uuu)
    to program the entire boot image into nandfit.

    Signed-off-by: Ye Li

    Ye Li
     

09 Jan, 2019

2 commits


08 Jan, 2019

1 commit


18 Dec, 2018

1 commit


15 Dec, 2018

1 commit