Skip to content

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