imx7d_sabre: add board for sel4 and foc

Ref #3251
This commit is contained in:
Stefan Kalkowski
2019-01-21 14:21:19 +01:00
committed by Norman Feske
parent 3d727a403f
commit 4c492a3be7
15 changed files with 277 additions and 5 deletions

View File

@@ -17,6 +17,7 @@ proc core_link_address { } {
if {[have_spec odroid_x2]} { return "0x80100000" }
if {[have_spec imx53 ]} { return "0x70140000" }
if {[have_spec imx6q_sabrelite ]} { return "0x14000000" }
if {[have_spec imx7d_sabre ]} { return "0x80140000" }
puts stderr "Error: platform not supported, core link address unknown"
exit 1

View File

@@ -92,7 +92,11 @@ proc run_boot_dir {binaries} {
# Use seL4 elfloader tool to generate bootable image on ARM
#
if {[have_spec arm]} {
if {![have_spec imx6]} {
if {[have_spec imx6]} {
set ::env(PLAT) imx6
} elseif {[have_spec imx7d_sabre]} {
set ::env(PLAT) imx7
} else {
puts "abort - unknown ARM board"
exit 1
}
@@ -103,7 +107,6 @@ proc run_boot_dir {binaries} {
# call seL4 elfloader tool to generate image.elf bootable by uboot with 'bootelf' command
set ::env(COMMON_PATH) [sel4_elfloader_dir]
set ::env(CPPFLAGS) -I[sel4_elfloader_dir]/include
set ::env(PLAT) imx6
set ::env(TOOLPREFIX) [cross_dev_prefix]
exec [sel4_elfloader_dir]/gen_boot_image.sh [pwd]/[run_dir]/boot/kernel.elf [pwd]/[run_dir]/boot/genode.elf [pwd]/[run_dir]/boot/image.elf
}