mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
committed by
Norman Feske
parent
3d727a403f
commit
4c492a3be7
@@ -12,7 +12,7 @@ PLATFORM = $(MAKECMDGOALS)
|
||||
|
||||
PLATFORMS = x86_32 x86_64 panda pbxa9 rpi arndale imx53_qsb imx53_qsb_tz \
|
||||
usb_armory wand_quad odroid_xu odroid_x2 zynq_qemu muen \
|
||||
imx6q_sabrelite riscv_spike linux nit6_solox
|
||||
imx6q_sabrelite imx7d_sabre riscv_spike linux nit6_solox
|
||||
|
||||
PLATFORMS_DEPR = linux_x86 linux_arm fiasco_x86 okl4_x86 pistachio_x86 \
|
||||
nova_x86_32 nova_x86_64 hw_x86_64 foc_x86_32 foc_x86_64 \
|
||||
@@ -143,7 +143,8 @@ BUILD_CONF(imx53_qsb) := run_kernel_hw run_boot_dir repos
|
||||
BUILD_CONF(imx53_qsb_tz) := run_kernel_hw run_boot_dir repos
|
||||
BUILD_CONF(usb_armory) := run_kernel_hw run_boot_dir repos
|
||||
BUILD_CONF(wand_quad) := run_kernel_wand_quad run_boot_dir repos
|
||||
BUILD_CONF(imx6q_sabrelite) := run_kernel_imx6q_sabrelite run_boot_dir repos
|
||||
BUILD_CONF(imx6q_sabrelite) := run_kernel_hw_foc_sel4 run_boot_dir repos
|
||||
BUILD_CONF(imx7d_sabre) := run_kernel_hw_foc_sel4 run_boot_dir repos
|
||||
BUILD_CONF(odroid_xu) := run_kernel_hw run_boot_dir repos
|
||||
BUILD_CONF(odroid_x2) := run_kernel_foc run_boot_dir repos
|
||||
BUILD_CONF(zynq_qemu) := run_kernel_hw run_qemu run_opt_hw run_boot_dir qemu_opt_arm repos
|
||||
@@ -229,6 +230,7 @@ SPECS(imx53_qsb_tz) := imx53_qsb trustzone
|
||||
SPECS(usb_armory) := usb_armory trustzone
|
||||
SPECS(wand_quad) := wand_quad
|
||||
SPECS(imx6q_sabrelite) := imx6q_sabrelite
|
||||
SPECS(imx7d_sabre) := imx7d_sabre
|
||||
SPECS(odroid_xu) := odroid_xu
|
||||
SPECS(odroid_x2) := odroid_x2
|
||||
SPECS(zynq_qemu) := zynq_qemu
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user