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
     

23 Nov, 2018

1 commit


22 Nov, 2018

2 commits

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

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

    Ye Li
     
  • 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
     

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

4 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
     
  • Change-Id: Ia9e76742d0501d3222d5837057d8bc916f2ff989
    Signed-off-by: Haoran.Wang

    Haoran.Wang
     
  • Because sysdeps.h in trusty include stdint.h, so we need to define
    USE_STDINT.

    Test: Local build test and flash on imx7d. Verify provision som
    key and product key succeed.
    Bug: None
    Change-Id: I08db7c10dd4453a87f15ff4432335fe4c41f9c5f

    Yu Shan
     

09 Nov, 2018

1 commit


03 Nov, 2018

5 commits


26 Oct, 2018

1 commit


25 Oct, 2018

1 commit


16 Oct, 2018

2 commits


12 Oct, 2018

1 commit


10 Oct, 2018

1 commit


01 Oct, 2018

2 commits


29 Sep, 2018

1 commit

  • The current u-boot configures the fdt_file environment variable
    to the file name of that built together with u-boot. Sometimes
    Linux kernel needs another dtb file other than the one built with
    u-boot. For example, imx7ulp needs to build imx7ulp-evk-qspi.dts for
    u-boot, but the kernel needs imx7ulp-evk.dts. Adding this new
    macro to let the user have an option to specify a dtb file to run
    Linux kernel.

    Signed-off-by: Shenwei Wang

    Shenwei Wang
     

28 Sep, 2018

3 commits


27 Sep, 2018

3 commits


26 Sep, 2018

2 commits


25 Sep, 2018

1 commit


20 Sep, 2018

1 commit

  • Since the mx6ulz don't have FEC, it needs to use USB2NET dongle
    to connect network. We decouple the CONFIG_FEC_MXC with CONFIG_CMD_NET.
    For 6ull, all defconfigs need to enable the CONFIG_FEC_MXC explicitly.

    Another change is adding ${usb_net_cmd} environment for usb start command
    in netboot scripts on 6ulz.

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

    Ye Li