25 Nov, 2019

1 commit


15 Nov, 2019

1 commit


11 Nov, 2019

1 commit


01 Nov, 2019

1 commit


09 Apr, 2019

1 commit

  • Enable fastboot configurations in mx6solo sabresd and sabreauto
    defconfigs to support UUU. Since the DDR size on mx6solo sabre
    boards is smaller, also change the fastboot buffer to 256MB.

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

    Ye Li
     

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
     

12 Mar, 2019

2 commits


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
     

26 Feb, 2019

1 commit


25 Feb, 2019

2 commits


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


12 Feb, 2019

1 commit


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
     

18 Jan, 2019

1 commit


09 Jan, 2019

2 commits


26 Dec, 2018

2 commits

  • After two defconfig files are directly copied from 8mm_evk_android
    for 8mm_evk_ddr4_android, this patch adapt the defconfig files.

    Device tree used in defconfig files are modifed, a configuration
    item of "CONFIG_TARGET_IMX8MM_EVK" is modified to be
    "CONFIG_TARGET_IMX8MM_DDR4_EVK"

    Change-Id: Ib48449d0c7abab45aff3a58a9c78c481290e7e6a
    Signed-off-by: faqiang.zhu

    faqiang.zhu
     
  • Add two defconfig files for imx8mm ddr4 version.
    These two defconfig files are:
    imx8mm_ddr4_evk_android_defconfig
    imx8mm_ddr4_evk_android_uuu_defconfig

    They are respectively copy from the files below:
    imx8mm_evk_android_defconfig
    imx8mm_evk_android_uuu_defconfig

    Change-Id: Ic2ab2b51328b23446e8f264eb27308d226b57295
    Signed-off-by: faqiang.zhu

    faqiang.zhu
     

20 Dec, 2018

1 commit


19 Dec, 2018

1 commit

  • To align aiy_imx8mq uboot used by uuu with other platforms, a defconfig
    used to configure and build uboot used by uuu is added.

    This "imx8mq_aiy_android_uuu_defconfig" for now is a copy of below file:
    imx8mq_aiy_android_defconfig

    Change-Id: I7c96297fa13fa7bb02117ceee8675e95f86e7b60
    Signed-off-by: faqiang.zhu

    faqiang.zhu
     

12 Dec, 2018

1 commit

  • Open configs to enable trusty for imx8mm_evk and also
    add new config imx8mm_evk_android_trusty_defconfig based
    on imx8mm_evk_android_defconfig.

    Test: Trusty starts ok.

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

    Ji Luo
     

04 Dec, 2018

1 commit


27 Nov, 2018

2 commits

  • uuu doesn't parse SPL+FIT format for mek_8q platforms. this patch
    delete SPL and FIT related configurations in defconfig file for uuu
    uboot.

    Change-Id: If7c352a60a1534b1a5af9f0b661953c9c60191dc
    Signed-off-by: faqiang.zhu

    faqiang.zhu
     
  • defconfig files for uuu uboot and uboot flashed to board need to be
    different.
    because ab slot feature need to be used, defconfig of BSP team won't
    be used.

    this patch add for defconfig files for uuu uboot used on imx8. these
    two files are directly copied from the files below:
    1. imx8qm_mek_android_defconfig
    2. imx8qxp_mek_android_defconfig
    3. imx8mm_evk_android_defconfig
    4. imx8mq_evk_android_defconfig

    they are respectively be pasted as:
    1. imx8qm_mek_android_uuu_defconfig
    2. imx8qxp_mek_android_uuu_defconfig
    3. imx8mm_evk_android_uuu_defconfig
    4. imx8mq_evk_android_uuu_defconfig

    Change-Id: I483593beb99477f1821c529254856d372d274661
    Signed-off-by: faqiang.zhu

    faqiang.zhu
     

26 Nov, 2018

2 commits


23 Nov, 2018

1 commit


21 Nov, 2018

2 commits

  • Too many macros are used in fsl_avbkey.c and
    make it difficult to maintain.
    This patch made some refine by:
    1. Move all avb/atx operations to fsl_avb.c.
    2. Refine the functions logic.
    3. Drop some unsupported conditions/functions.

    Test: build and boot on
    imx8qm_mek/imx8mq_evk/imx6qp_sabresd/imx7d_pico/imx8m_aiy.

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

    Luo Ji
     
  • Fix typo "ONFIG_CMD_FLASH=y" in defconfig, correct it to
    CONFIG_CMD_FLASH=y

    Signed-off-by: Ye Li

    Ye Li
     

16 Nov, 2018

1 commit


15 Nov, 2018

1 commit

  • 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

    Peng Fan
     

12 Nov, 2018

2 commits

  • Enable HAB for imx8m Android Things platform, this will enable
    HAB verify for bootloader.img(atf+tee+u-boot) at spl stage.
    Disable the HAB verify for bootimg because we will use AVB to
    verify it.

    Test: Build and boot ok on AIY.

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

    Ji Luo
     
  • Add fastboot commands "fastboot oem at-get-vboot-unlock-challenge"
    and "fastboot oem at-unlock-vboot" to support the authenticated
    unlock feature for Android Things devices. Use software random
    numbers generator to generate the 16 bytes random challenge, it
    should be replaced with hardware encrypted random generator when
    the TEE part is ready.

    Test: Generate unlock challenge by:
    ./avbtool make_atx_unlock_credential
    --output=atx_unlock_credential.bin
    --intermediate_key_certificate=atx_pik_certificate.bin
    --unlock_key_certificate=atx_puk_certificate.bin
    --challenge=my_generated_challenge.bin
    --unlock_key=testkey_atx_puk.pem
    validated the unlock credential successfully on imx7d_pico
    and AIY.

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

    Ji Luo