depot: support for ARM 64-bit for base-foc on rpi3

issue #3407
This commit is contained in:
Sebastian Sumpf 2019-05-21 14:01:26 +02:00 committed by Christian Helmuth
parent 90d07741aa
commit e337b844e5
9 changed files with 18 additions and 4 deletions

View File

@ -25,7 +25,7 @@ ifeq ($(filter-out $(SPECS),arm_v6),)
endif
ifeq ($(filter-out $(SPECS),arm_v8),)
L4_BUILD_ARCH := arm_armv8a
L4_BUILD_ARCH := arm64_armv8a
endif

View File

@ -1,6 +1,6 @@
L4_CONFIG := $(call select_from_repositories,config/rpi3.user)
L4_BIN_DIR := $(LIB_CACHE_DIR)/syscall-foc/rpi3-build/bin/arm_armv8
L4_BIN_DIR := $(LIB_CACHE_DIR)/syscall-foc/rpi3-build/bin/arm64_armv8a
L4_INC_TARGETS = arm64/l4/sys \
arm64/l4f/l4/sys \

View File

@ -0,0 +1,7 @@
This archive contains the Fiasco.OC-specific part of Genode.
It also contains the source code of the Fiasco.OC kernel in the
'src/kernel/foc' directory.
Please note that Fiasco.OC has a license distinct from Genode. Fiasco.OC's
license can be found at 'src/kernel/foc/COPYING-GPL-2'.

View File

@ -0,0 +1,3 @@
BOARD := rpi3
include $(GENODE_DIR)/repos/base-foc/recipes/src/base-foc_content.inc

View File

@ -0,0 +1 @@
2019-05-21 9649f5d5574031c45012fef7e2407a62e6c50954

View File

@ -0,0 +1 @@
base

View File

@ -26,7 +26,7 @@ src/kernel/foc: src/kernel
cp -r $(KERNEL_PORT_DIR)/src/kernel/foc/* $@
content:
for spec in x86_32 x86_64 arm; do \
for spec in x86_32 x86_64 arm arm_64; do \
mv lib/mk/spec/$$spec/ld-foc.mk lib/mk/spec/$$spec/ld.mk; \
done;
sed -i "s/ld-foc/ld/" src/lib/ld/foc/target.mk

View File

@ -12,7 +12,7 @@ proc core_link_address { } {
if {[have_spec x86 ]} { return "0x01100000" }
if {[have_spec arndale ]} { return "0x80100000" }
if {[have_spec rpi ]} { return "0x00800000" }
if {[have_spec rpi3 ]} { return "0x00800000" }
if {[have_spec rpi3 ]} { return "0x02000000" }
if {[have_spec panda ]} { return "0xa0000000" }
if {[have_spec pbxa9 ]} { return "0x76000000" }
if {[have_spec odroid_x2]} { return "0x80100000" }
@ -227,6 +227,7 @@ proc base_src { } {
if {[have_spec x86]} { return base-foc-pc }
if {[have_spec pbxa9]} { return base-foc-pbxa9 }
if {[have_spec arndale]} { return base-foc-arndale }
if {[have_spec rpi3]} { return base-foc-rpi3 }
if {[have_spec imx6q_sabrelite]} { return base-foc-imx6q_sabrelite }
if {[have_spec imx7d_sabre]} { return base-foc-imx7d_sabre }

View File

@ -23,6 +23,7 @@ proc depot_spec { } {
if {[have_spec x86_64]} { return "x86_64" }
if {[have_spec arm_v6]} { return "arm_v6" }
if {[have_spec arm_v7a]} { return "arm_v7a" }
if {[have_spec arm_v8a]} { return "arm_v8a" }
}