hw: support for ARM64 Raspberry Pi 3

Restriction: enables only cpu core 0 and the timer interrupt by now.

Fix #3405
This commit is contained in:
Stefan Kalkowski
2019-05-21 16:27:37 +02:00
committed by Christian Helmuth
parent 87015df66c
commit 90d07741aa
26 changed files with 1465 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ proc bootstrap_link_address { } {
if {[have_spec "zynq"]} { return "0x00100000" }
if {[have_spec "riscv"]} { return "0x81000000" }
if {[have_spec "rpi"]} { return "0x00800000" }
if {[have_spec "rpi3"]} { return "0x00800000" }
if {[have_spec "nit6_solox"]} { return "0x88000000" }
puts "unknown platform no linker address known"
@@ -154,7 +155,7 @@ proc run_boot_dir {binaries} {
run_image [run_dir]/boot/image.elf
# set symbolic link to image.elf file in TFTP directory for PXE boot
if {[have_spec arm] && [have_include "load/tftp"]} {
if {[expr [have_spec arm] || [have_spec arm_64]] && [have_include "load/tftp"]} {
exec ln -sf [run_dir]/boot/image.elf [load_tftp_base_dir][load_tftp_offset_dir]
if {[have_include "image/uboot"]} {