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

boot0img: Add an option for embedding DTB to legacy images #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

zador-blood-stained
Copy link
Contributor

This change allows building bootable legacy images without using sunxi-pack-tools.

Tested with following command line:

./boot0img -B blobs/boot0.bin -u u-boot-pine64/u-boot.bin -e -F pine64.dtb -s blobs/scp.bin \ 
 -d arm-trusted-firmware/build/sun50iw1p1/debug/bl31.bin -o u-boot-for-flashing.bin

where u-boot-pine64/u-boot.bin is a result of compiling legacy u-boot without any changes.

For the reference, setting u-boot size/DTB offset in header is needed due to this code in u-boot.

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

Successfully merging this pull request may close these issues.

1 participant