foc: add support for Raspberry Pi 3

Ref #3260
This commit is contained in:
Stefan Kalkowski
2019-03-29 11:08:06 +01:00
committed by Christian Helmuth
parent 71a48c0a26
commit f0d28eeca7
15 changed files with 282 additions and 13 deletions

View File

@@ -39,9 +39,12 @@ proc run_image {elf_img} {
set compress_type gzip
}
set arch "arm"
if {[have_spec arm_64]} { set arch "arm64" }
# create uImage
set uboot_img [run_dir]/uImage
exec mkimage -A arm -O linux -T kernel -C $compress_type -a $load_addr \
exec mkimage -A $arch -O linux -T kernel -C $compress_type -a $load_addr \
-e $entrypoint -d $bin_img$bin_ext $uboot_img
exec rm -rf $bin_img$bin_ext
}