From 786605b21d3996df956bf785b020996cc7df3763 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 15 Apr 2014 16:50:50 +0200 Subject: add basic support for aarch64 with ARMv8 foundation model, toolchain and kernel works, userland broken. --- package/boot-wrapper-aarch64/patches/patch-Makefile_am | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/boot-wrapper-aarch64/patches/patch-Makefile_am (limited to 'package/boot-wrapper-aarch64/patches/patch-Makefile_am') diff --git a/package/boot-wrapper-aarch64/patches/patch-Makefile_am b/package/boot-wrapper-aarch64/patches/patch-Makefile_am new file mode 100644 index 000000000..40eb83f2a --- /dev/null +++ b/package/boot-wrapper-aarch64/patches/patch-Makefile_am @@ -0,0 +1,13 @@ +--- boot-wrapper-aarch64-0.1.orig/Makefile.am 2014-04-13 21:10:47.000000000 +0200 ++++ boot-wrapper-aarch64-0.1/Makefile.am 2014-04-13 21:58:16.848991221 +0200 +@@ -83,8 +83,8 @@ $(IMAGE): boot.o cache.o gic.o mmu.o ns. + model.lds: $(LD_SCRIPT) Makefile + $(CPP) $(CPPFLAGS) -ansi -DPHYS_OFFSET=$(PHYS_OFFSET) -DMBOX_OFFSET=$(MBOX_OFFSET) -DKERNEL_OFFSET=$(KERNEL_OFFSET) -DFDT_OFFSET=$(FDT_OFFSET) -DFS_OFFSET=$(FS_OFFSET) -DKERNEL=$(KERNEL_IMAGE) -DFILESYSTEM=$(FILESYSTEM) -DBOOTMETHOD=$(BOOTMETHOD) -P -C -o $@ $< + +-fdt.dtb: $(KERNEL_DTB) Makefile gen-cpu-nodes.sh +- ( $(DTC) -O dts -I dtb $(KERNEL_DTB) ; echo "/ { $(CHOSEN_NODE) $(PSCI_NODE) $(CPUS_NODE) };" ) | $(DTC) -O dtb -o $@ - ++fdt.dtb: $(KERNEL_DTS) Makefile gen-cpu-nodes.sh ++ ( cat $(KERNEL_DTS) ; echo "/ { $(CHOSEN_NODE) $(PSCI_NODE) $(CPUS_NODE) };" ) | $(DTC) -O dtb -o $@ - + + # The filesystem archive might not exist if INITRD is not being used + .PHONY: all clean $(FILESYSTEM) -- cgit v1.2.3