summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <javier.jardon@codethink.co.uk>2015-05-08 15:19:07 (GMT)
committerJavier Jardón <jjardon@gnome.org>2015-05-12 14:05:50 (GMT)
commit287dd20264b803c1ddf1e0a2d15f63cd9ef12b9a (patch)
tree02cc9e7202ced288d37ba37870835620b47921a0
parentbbd46fd460dc8fb60819b93c992f35e27ad1b0af (diff)
downloaddefinitions-287dd20264b803c1ddf1e0a2d15f63cd9ef12b9a.tar.gz
Add bsp-armv5l-aspeed stratum
Change-Id: I5dbfac93d9c53dd040c403b395303657108d5e43
-rw-r--r--strata/bsp-armv5l-openbmc-aspeed.morph19
-rw-r--r--strata/bsp-armv5l-openbmc-aspeed/linux-armv5l-openbmc-aspeed.morph9
-rw-r--r--strata/bsp-armv5l-openbmc-aspeed/u-boot@aspeed.morph14
3 files changed, 42 insertions, 0 deletions
diff --git a/strata/bsp-armv5l-openbmc-aspeed.morph b/strata/bsp-armv5l-openbmc-aspeed.morph
new file mode 100644
index 0000000..83bb74e
--- /dev/null
+++ b/strata/bsp-armv5l-openbmc-aspeed.morph
@@ -0,0 +1,19 @@
+name: bsp-armv5l-openbmc-aspeed
+kind: stratum
+description:
+- |
+ The set of platform specific components required for booting
+ armvl5-openbmc-aspeed based systems
+build-depends:
+- morph: strata/core.morph
+chunks:
+- name: linux-armv5l-openbmc-aspeed-wedge
+ morph: strata/bsp-armv5l-openbmc-aspeed/linux-armv5l-openbmc-aspeed.morph
+ repo: upstream:linux-stable
+ ref: 5cbce86c2115075b8054e4dba8cdf328aa6fa5b6
+ unpetrify-ref: baserock/v2.6.28.9/openbmc_aspeed_wedge
+- name: u-boot@aspeed
+ morph: strata/bsp-armv5l-openbmc-aspeed/u-boot@aspeed.morph
+ repo: upstream:u-boot
+ ref: af962087db0b88f4073f8f5a6184cb7f011d224d
+ unpetrify-ref: baserock/v2013.07+aspeed_wedge
diff --git a/strata/bsp-armv5l-openbmc-aspeed/linux-armv5l-openbmc-aspeed.morph b/strata/bsp-armv5l-openbmc-aspeed/linux-armv5l-openbmc-aspeed.morph
new file mode 100644
index 0000000..c6e38c6
--- /dev/null
+++ b/strata/bsp-armv5l-openbmc-aspeed/linux-armv5l-openbmc-aspeed.morph
@@ -0,0 +1,9 @@
+name: linux-armv5l-openbmc-aspeed
+kind: chunk
+configure-commands:
+- make ast2400_defconfig
+build-commands:
+- make $MAKEFLAGS
+install-commands:
+- mkdir -p "$DESTDIR"/boot
+- cp arch/arm/boot/Image "$DESTDIR/boot/vmlinux"
diff --git a/strata/bsp-armv5l-openbmc-aspeed/u-boot@aspeed.morph b/strata/bsp-armv5l-openbmc-aspeed/u-boot@aspeed.morph
new file mode 100644
index 0000000..1ded05c
--- /dev/null
+++ b/strata/bsp-armv5l-openbmc-aspeed/u-boot@aspeed.morph
@@ -0,0 +1,14 @@
+name: u-boot@aspeed
+kind: chunk
+configure-commands:
+- make ast2400_spi_config
+build-commands:
+- make
+- make tools
+install-commands:
+- mkdir -p "$DESTDIR$PREFIX/bin"
+- install -m 755 tools/img2brec.sh "$DESTDIR$PREFIX/bin/"
+- install -m 755 tools/jtagconsole "$DESTDIR$PREFIX/bin/"
+- install -m 755 tools/netconsole "$DESTDIR$PREFIX/bin/"
+- install -m 755 tools/mkenvimage "$DESTDIR$PREFIX/bin/"
+- install -m 755 tools/mkimage "$DESTDIR$PREFIX/bin/"