Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uefi does not recognize aosp images #35

Open
yaoshenzhen opened this issue Jul 27, 2018 · 2 comments
Open

uefi does not recognize aosp images #35

yaoshenzhen opened this issue Jul 27, 2018 · 2 comments

Comments

@yaoshenzhen
Copy link

I had a working 960, then
1: repo sync the latest aosp,
2: under folder device/linaro/hikey/installer/hikey960 , run uefi-flash-all.sh
3: the script upgrade partition to 8 and alignment to 1M
4: fastboot flash all images, reboot.
5: it reports "Device Tree header not valid (err:-9)".

I cannot go back to non-uefi mode, is there any way to fix?

@yaoshenzhen yaoshenzhen changed the title uefi does not recognize asop uefi does not recognize aosp images Jul 27, 2018
@hzhuang1
Copy link
Contributor

The boot image is different when you run uefi. You need to refer to cc script in (https://github.com/96boards-hikey/l-loader/blob/testing/hikey960_v1.2/cc).

The boot image should be kernel image binded with DTB.

@yaoshenzhen
Copy link
Author

yaoshenzhen commented Jul 27, 2018

thanks for your quick reply.
according to https://source.android.com/setup/build/devices , I use boot images hi3660-hikey960.dtb and Image.gz-dtb, the same with the link's you gave.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants