summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Cragg <edward.cragg@codethink.co.uk>2015-02-18 18:13:32 (GMT)
committerEdward Cragg <edward.cragg@codethink.co.uk>2015-02-19 11:29:54 (GMT)
commit11344ff57546fc57055f2f6bbc28f726dd3f322c (patch)
tree87798acb18120c060f9ca1bda8a08d89db9d8b1a
parent467fbbd430e7373833908a008db5b7484caa0d74 (diff)
downloaddefinitions-baserock/tiagogomes/armv8b64.tar.gz
-rw-r--r--strata/bsp-armv8l64-generic/bsp-armv8l64-generic.morph4
-rw-r--r--strata/build-essential.morph14
-rw-r--r--systems/cross-bootstrap-system-armv8b64-generic.morph3
-rw-r--r--systems/devel-system-armv8l64.morph41
4 files changed, 57 insertions, 5 deletions
diff --git a/strata/bsp-armv8l64-generic/bsp-armv8l64-generic.morph b/strata/bsp-armv8l64-generic/bsp-armv8l64-generic.morph
index 120239b..d92ec53 100644
--- a/strata/bsp-armv8l64-generic/bsp-armv8l64-generic.morph
+++ b/strata/bsp-armv8l64-generic/bsp-armv8l64-generic.morph
@@ -1,7 +1,7 @@
name: linux-armv8l64-generic
kind: chunk
configure-commands:
-- make ARCH=arm64 defconfig
+- make ARCH=arm64 defconfig CROSS_COMPILE=aarch64_be-bootstrap-linux-gnu-
- scripts/config -e PACKET
- scripts/config -e SATA_AHCI
- scripts/config -e ATA_GENERIC
@@ -94,7 +94,7 @@ configure-commands:
- scripts/config -e POWER_RESET_GPIO
- scripts/config -e POWER_RESET_SYSCON
- scripts/config -e POWER_AVS
-- yes '' | make ARCH=arm64 oldconfig
+- yes '' | make ARCH=arm64 CROSS_COMPILE=aarch64_be-bootstrap-linux-gnu- oldconfig
build-commands:
# Only generate Image here, uImage generated in deployment
# due to availability of mkimage build systems
diff --git a/strata/build-essential.morph b/strata/build-essential.morph
index 9884d29..3769753 100644
--- a/strata/build-essential.morph
+++ b/strata/build-essential.morph
@@ -197,6 +197,19 @@ chunks:
build-mode: bootstrap
prefix: /tools
+- name: stage2-linux-armv8l64-generic
+ morph: strata/bsp-armv8l64-generic/bsp-armv8l64-generic.morph
+ repo: upstream:linux
+ ref: 5f06398ae6a04f414932243de38b5cf3d264ff84
+ unpetrify-ref: baserock/apm-xgene-m400-moonshot-cartridge
+ build-depends:
+ - stage1-binutils
+ - stage1-gcc
+ - stage2-linux-api-headers
+ - stage2-glibc
+ build-mode: bootstrap
+ prefix: /tools
+
- name: fhs-dirs
morph: strata/build-essential/fhs-dirs.morph
repo: baserock:baserock/fhs-dirs
@@ -392,3 +405,4 @@ chunks:
- stage2-reset-specs
- glibc
- zlib
+ - stage2-linux-armv8l64-generic
diff --git a/systems/cross-bootstrap-system-armv8b64-generic.morph b/systems/cross-bootstrap-system-armv8b64-generic.morph
index f579437..e4c7c60 100644
--- a/systems/cross-bootstrap-system-armv8b64-generic.morph
+++ b/systems/cross-bootstrap-system-armv8b64-generic.morph
@@ -9,6 +9,3 @@ strata:
morph: strata/core.morph
- name: cross-bootstrap
morph: strata/cross-bootstrap.morph
-- name: bsp-armv8l64-generic
- morph: strata/bsp-armv8l64-generic.morph
-
diff --git a/systems/devel-system-armv8l64.morph b/systems/devel-system-armv8l64.morph
new file mode 100644
index 0000000..af16b56
--- /dev/null
+++ b/systems/devel-system-armv8l64.morph
@@ -0,0 +1,41 @@
+name: devel-system-armv8l64
+kind: system
+description: |
+ A system with useful tools for doing Baserock development.
+
+ For use on 64-bit ARMv8 computers using little-endian word.
+arch: armv8l64
+strata:
+- name: build-essential
+ morph: strata/build-essential.morph
+- name: core
+ morph: strata/core.morph
+- name: foundation
+ morph: strata/foundation.morph
+- name: tools
+ morph: strata/tools.morph
+- name: morph-utils
+ morph: strata/morph-utils.morph
+- name: openstack-clients
+ morph: strata/openstack-clients.morph
+- name: cloudinit-support
+ morph: strata/cloudinit-support.morph
+- name: ruby
+ morph: strata/ruby.morph
+- name: lorry
+ morph: strata/lorry.morph
+- name: baserock-import
+ morph: strata/baserock-import.morph
+- name: nfs
+ morph: strata/nfs.morph
+- name: python-tools
+ morph: strata/python-tools.morph
+- name: devtools
+ morph: strata/devtools.morph
+configuration-extensions:
+- set-hostname
+- add-config-files
+- simple-network
+- nfsboot
+- install-files
+- cloud-init