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
     

30 Aug, 2018

1 commit


21 Aug, 2018

2 commits

  • 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
     
  • Enable CONFIG_SPL_ENV_SUPPORT to fix build errors like
    below:
    common/built-in.o:(.data.env_htab+0xc): undefined reference to 'env_flags_validate'
    lib/built-in.o: In function `hsearch_r':
    lib/hashtable.c:380: undefined reference to 'env_callback_init'
    lib/hashtable.c:382: undefined reference to 'env_flags_init'

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

    Ji Luo
     

20 Aug, 2018

3 commits


13 Jun, 2018

1 commit