diff options
Diffstat (limited to 'strata')
-rw-r--r-- | strata/bsp-jetson-devel.morph | 14 | ||||
-rw-r--r-- | strata/bsp-jetson-devel/linux-jetson-tk1.morph | 22 | ||||
-rw-r--r-- | strata/bsp-jetson-devel/nouveau-drm.morph | 10 |
3 files changed, 40 insertions, 6 deletions
diff --git a/strata/bsp-jetson-devel.morph b/strata/bsp-jetson-devel.morph index bf110d1f..2e1e9624 100644 --- a/strata/bsp-jetson-devel.morph +++ b/strata/bsp-jetson-devel.morph @@ -14,15 +14,15 @@ chunks: - name: u-boot morph: strata/bsp-jetson-devel/u-boot.morph repo: upstream:u-boot - ref: b15ae44ab9f085140039b09a00232d5aed6596a9 - unpetrify-ref: baserock/arm/tegra-uboot-btrfs + ref: baserock/violetamenendez/fix-uboot + unpetrify-ref: b15ae44ab9f085140039b09a00232d5aed6596a9 build-depends: - device-tree-compiler - name: linux-jetson-tk1 morph: strata/bsp-jetson-devel/linux-jetson-tk1.morph repo: upstream:linux - ref: de3664efca390a8d2fe525a583d17772deee8500 - unpetrify-ref: baserock/arm/tegra-3.10 + ref: baserock/violetamenendez/nouveau-jetson + unpetrify-ref: de3664efca390a8d2fe525a583d17772deee8500 build-depends: - u-boot - name: bsp-support @@ -31,3 +31,9 @@ chunks: ref: 19bc31ce3198a3c19cdd96d392bde34cb34ed525 unpetrify-ref: baserock/arm/tegra-3.10 build-depends: [] +- name: nouveau-drm + morph: strata/bsp-jetson-devel/nouveau-drm.morph + repo: github:Gnurou/nouveau + ref: gk20a + build-depends: + - linux-jetson-tk1 diff --git a/strata/bsp-jetson-devel/linux-jetson-tk1.morph b/strata/bsp-jetson-devel/linux-jetson-tk1.morph index 3494f62b..1f980098 100644 --- a/strata/bsp-jetson-devel/linux-jetson-tk1.morph +++ b/strata/bsp-jetson-devel/linux-jetson-tk1.morph @@ -1,7 +1,7 @@ name: linux-jetson-tk1 kind: chunk configure-commands: -- make ARCH=arm tegra12_defconfig +- make ARCH=arm tegra_defconfig - scripts/config -d KERNEL_LZO - scripts/config -e KERNEL_GZIP - scripts/config -e NAMESPACES @@ -44,10 +44,28 @@ configure-commands: - scripts/config -d DEBUG_STACK_TRACE - scripts/config -e NFSD - scripts/config -e NFSD_V3 +- scripts/config -e DRM_TEGRA_STAGING +- scripts/config -m DRM_NOUVEAU - 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-pm375.dtb "$DESTDIR"/boot/. +- 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/strata/bsp-jetson-devel/nouveau-drm.morph b/strata/bsp-jetson-devel/nouveau-drm.morph new file mode 100644 index 00000000..e89df38b --- /dev/null +++ b/strata/bsp-jetson-devel/nouveau-drm.morph @@ -0,0 +1,10 @@ +name: nouveau-drm +kind: chunk +build-commands: + - cd drm && make M=$(pwd) -C /usr/src/linux/ modules +install-commands: + - cd drm && make M="$(pwd)" -C /usr/src/linux/ INSTALL_MOD_PATH="$DESTDIR" modules_install +system-integration: + nouveau-drm-misc: + 00-earlyconf: + - (cd /lib/modules && for version in *; do depmod -a "$version"; done) |