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 -
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
30 Aug, 2018
1 commit
-
Sync configs with BSP team to enable uuu for imx8m AIY board,
create new file imx8mq_phanbell_androidthings_uuu_defconfig
for uuu image build.Test: uuu works on imx8m AIY board.
Change-Id: Ied7cbb6d45d084837495cec5eeb5b4947a0630c4
Signed-off-by: Luo Ji
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 -
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
20 Aug, 2018
3 commits
-
Open configs to enable A/B dual bootloader
feature for imx8m.Test: A/B dual bootloader feature works
on imx8m.Change-Id: Ia0ef8ca6957ec6288ceee3fe9065532a96c1f772
Signed-off-by: Luo Ji -
Move the A/B slot check to SPL, the A/B slot switch
workflow is just like what we have in libavb_ab.Test: A/B select works fine on imx8m.
Change-Id: Ie3d827a9be0298b491bf2bc8d48833597fd70e90
Signed-off-by: Luo Ji -
Android Things has supported load fdt from "oem_bootloader" partition,
open related configs.Change-Id: I82476d71abd9cbeab60b4d2b5fbb402e37c0916b
Signed-off-by: Luo Ji
13 Jun, 2018
1 commit
-
Porting the imx8m-phanbell android things board support from v2017.03
Signed-off-by: Haoran.Wang
Signed-off-by: Ye Li