21 Nov, 2018

1 commit

  • 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
     

12 Nov, 2018

2 commits

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

27 Sep, 2018

1 commit


21 Aug, 2018

2 commits

  • Some configs and definations changed from imx_v2017.03 to
    imx_v2018.03, refine related codes to make pico-imx7d work.

    Test: pico-imx7d boots ok.

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

    Ji Luo
     
  • Remove CONFIG_LOAD_FDT_FROM_PART and decide the fdt
    location at run time.

    Test: build and build ok on both Android and Android Things.

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

    Ji Luo
     

20 Aug, 2018

2 commits


13 Jun, 2018

1 commit