summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Thomas <james.thomas@codethink.co.uk>2015-04-02 15:22:06 (GMT)
committerJames Thomas <james.thomas@codethink.co.uk>2015-04-02 15:22:06 (GMT)
commit45bedf2e036013818226812ed19796e2d397a0ae (patch)
tree61c48df405a2dc014d9a4cb300e0e4cc5cf626fe
parent6ef77141de32c51530404b0106dda055af137e14 (diff)
downloaddefinitions-45bedf2e036013818226812ed19796e2d397a0ae.tar.gz
Add BE Jetson system
-rw-r--r--strata/bsp-jetson-be.morph30
-rw-r--r--strata/bsp-jetson-be/linux-jetson-tk1@be.morph73
-rw-r--r--systems/devel-system-armv7b-jetson.morph57
3 files changed, 160 insertions, 0 deletions
diff --git a/strata/bsp-jetson-be.morph b/strata/bsp-jetson-be.morph
new file mode 100644
index 0000000..b01f75f
--- /dev/null
+++ b/strata/bsp-jetson-be.morph
@@ -0,0 +1,30 @@
+name: bsp-jetson-be
+kind: stratum
+description: |
+ Platform-specific chunks for NVIDIA Jetson TK1 BE
+build-depends:
+- morph: strata/core.morph
+chunks:
+- name: device-tree-compiler
+ morph: strata/bsp-jetson/device-tree-compiler.morph
+ repo: upstream:device-tree-compiler
+ ref: c92f284c3cf76d471eb27a271de3a51cb45ed058
+ unpetrify-ref: baserock/morph
+- name: u-boot@jetson
+ morph: strata/bsp-jetson/u-boot@jetson.morph
+ repo: upstream:u-boot
+ ref: c77921345b943cdf5f2f28bbe88c6d8970620d2e
+ unpetrify-ref: baserock/jetson/u-boot-tegra-next
+ build-depends:
+ - device-tree-compiler
+- name: linux-jetson-tk1
+ morph: strata/bsp-jetson-be/linux-jetson-tk1@be.morph
+ repo: upstream:linux
+ ref: 04c1ff4f786960b478b311b3d13ec92611452faa
+ unpetrify-ref: baserock/james/tegra-for-next-be-cpufreq
+- name: bsp-support
+ morph: strata/bsp-jetson/bsp-support.morph
+ repo: baserock:baserock/bsp-support
+ ref: 19bc31ce3198a3c19cdd96d392bde34cb34ed525
+ unpetrify-ref: baserock/arm/tegra-3.10
+
diff --git a/strata/bsp-jetson-be/linux-jetson-tk1@be.morph b/strata/bsp-jetson-be/linux-jetson-tk1@be.morph
new file mode 100644
index 0000000..0fb81e3
--- /dev/null
+++ b/strata/bsp-jetson-be/linux-jetson-tk1@be.morph
@@ -0,0 +1,73 @@
+name: linux-jetson-tk1@be
+kind: chunk
+configure-commands:
+- make ARCH=arm tegra_be_defconfig
+- scripts/config -d KERNEL_LZO
+- scripts/config -e KERNEL_GZIP
+- scripts/config -e NAMESPACES
+- scripts/config -e PACKET
+- scripts/config -e SATA_AHCI
+- scripts/config -e ATA_GENERIC
+- scripts/config -e HAVE_IDE
+- scripts/config -d BLK_DEV_IDE_SATA
+- scripts/config -e BTRFS_FS
+- scripts/config -e BTRFS_FS_POSIX_ACL
+- scripts/config -e DEVTMPFS
+- scripts/config -e DEVTMPFS_MOUNT
+- scripts/config -e CONFIG_FHANDLE
+- scripts/config -e CGROUPS
+- scripts/config -e AUTOFS4_FS
+- scripts/config --set-str UEVENT_HELPER_PATH ''
+- scripts/config -e EXT2_FS
+- scripts/config -e EXT2_FS_XATTR
+- scripts/config -e EXT2_FS_POSIX_ACL
+- scripts/config -e EXT2_FS_SECURITY
+- scripts/config -e EXT2_FS_XIP
+- scripts/config -e EXT3_FS
+- scripts/config -d EXT3_DEFAULTS_TO_ORDERED
+- scripts/config -e EXT3_FS_XATTR
+- scripts/config -e EXT3_FS_POSIX_ACL
+- scripts/config -e EXT3_FS_SECURITY
+- scripts/config -e EXT4_FS
+- scripts/config -e EXT4_FS_XATTR
+- scripts/config -e EXT4_FS_POSIX_ACL
+- scripts/config -e EXT4_FS_SECURITY
+- scripts/config -d EXT4_DEBUG
+- scripts/config -d JBD_DEBUG
+- scripts/config -d JBD2_DEBUG
+- scripts/config -e BLK_DEV_LOOP
+- scripts/config -d BLK_DEV_CRYPTOLOOP
+- scripts/config --set-val BLK_DEV_LOOP_MIN_COUNT 8
+- scripts/config -e DM_SNAPSHOT
+- scripts/config -e IKCONFIG
+- scripts/config -e IKCONFIG_PROC
+- scripts/config -e SECCOMP
+- scripts/config -d DEBUG_STACK_TRACE
+- scripts/config -e NFSD
+- scripts/config -e NFSD_V3
+- scripts/config -e DRM_TEGRA_STAGING
+- scripts/config -e VLAN_8021Q
+- scripts/config -e BRIDGE_VLAN_FILTERING
+- yes '' | make ARCH=arm oldconfig
+build-commands:
+- make $MAKEFLAGS ARCH=arm LOADADDR=0x80200000 zImage dtbs
+install-commands:
+- mkdir -p "$DESTDIR"/boot
+- cp arch/arm/boot/zImage "$DESTDIR"/boot/zImage
+- cp arch/arm/boot/dts/tegra124-jetson-tk1.dtb "$DESTDIR"/boot/.
+- make modules
+- make INSTALL_MOD_PATH="$DESTDIR" modules_install
+- install -d "$DESTDIR$PREFIX/src/linux"
+- |
+ (
+ printf 'Makefile\0'
+ printf 'Module.symvers\0'
+ find arch/arm -maxdepth 1 -name 'Makefile*' -print0
+ find arch/arm \( -name 'module.lds' -o -name 'Kbuild.platforms' -o -name 'Platform' \) -print0
+ find arch/arm \( -type d -a \( -name include -o -name scripts \) \) -o \
+ \! -type d -a \( -path '*include/*' -o -path '*scripts/*' \) -print0
+ find include -name 'asm*' -prune -o -print0
+ find include/asm-generic -print0
+ find include/uapi -print0
+ find scripts -print0
+ ) | cpio -0pumd "$DESTDIR$PREFIX/src/linux"
diff --git a/systems/devel-system-armv7b-jetson.morph b/systems/devel-system-armv7b-jetson.morph
new file mode 100644
index 0000000..09b1b38
--- /dev/null
+++ b/systems/devel-system-armv7b-jetson.morph
@@ -0,0 +1,57 @@
+name: devel-system-armv7b-jetson
+kind: system
+description: |
+ A system with useful tools for doing Baserock development.
+
+ For use on ARMv7 NVIDIA Jetson TK1 computers using big-endian word order
+ and hardware floating-point support.
+arch: armv7b
+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: python-cliapp
+ morph: strata/python-cliapp.morph
+- name: python-wsgi
+ morph: strata/python-wsgi.morph
+- name: morph-utils
+ morph: strata/morph-utils.morph
+- name: openstack-common
+ morph: strata/openstack-common.morph
+- name: openstack-clients
+ morph: strata/openstack-clients.morph
+- name: nfs
+ morph: strata/nfs.morph
+- name: bsp-jetson-be
+ morph: strata/bsp-jetson-be.morph
+- name: nodejs
+ morph: strata/nodejs.morph
+- name: ruby
+ morph: strata/ruby.morph
+- name: lorry
+ morph: strata/lorry.morph
+- name: baserock-import
+ morph: strata/baserock-import.morph
+- name: python-core
+ morph: strata/python-core.morph
+- name: python-tools
+ morph: strata/python-tools.morph
+- name: python-common
+ morph: strata/python-common.morph
+- name: devtools
+ morph: strata/devtools.morph
+- name: ansible
+ morph: strata/ansible.morph
+- name: swift
+ morph: strata/swift.morph
+configuration-extensions:
+- set-hostname
+- add-config-files
+- nfsboot
+- install-files
+- fstab