Skip to content
Snippets Groups Projects
Unverified Commit 18ddcb06 authored by Luca Weiss's avatar Luca Weiss
Browse files

Fix dtb filename, install dtbs and kernel modules

parent 510ebf96
No related branches found
No related tags found
No related merge requests found
Pipeline #191471 failed
......@@ -27,4 +27,4 @@ package() {
}
sha512sums="8891ab307e9e2272ae250c1d3b20900c44c433513ac2dd3abeb01de042e26844fea264f15024312c3447931643e828f9f2c8e06905e91a31e1bb38143f8135c0 deviceinfo
e9ce432acbb455929be2f61cda7605110b16f0a9ed7bce07624a11974bf9b8a498528c23aa6536ec2ad6a60330faf9b8627a81428b98491a7477d30d6e444163 uboot-script.cmd"
cf75389c3b795014577b41dcd69ef29bbc38881a4f147a4e18e8652a5b8b0362ce60481cdc9129497af494937e8acc87c621ee5d484367ee22045b10197efe1b uboot-script.cmd"
......@@ -3,7 +3,7 @@ setenv bootargs init=/init.sh rw console=tty0 console=ttyS0,115200 no_console_su
printenv
echo Loading DTB
load mmc ${mmc_bootdev}:1 ${fdt_addr_r} sun50iw1p1-pine64so.dtb
load mmc ${mmc_bootdev}:1 ${fdt_addr_r} dtb-pine-a64lts.dtb
echo Loading Initramfs
load mmc ${mmc_bootdev}:1 ${ramdisk_addr_r} uInitrd-pine-a64lts
......
......@@ -52,13 +52,22 @@ package() {
install -Dm644 "$_zimg" "$_target"
break
done
# TODO Replace with make dtbs_install
mkdir -p "$pkgdir/usr/share/dtb"
cp arch/arm64/boot/dts/sun50iw1p1-pine64so.dtb "$pkgdir/usr/share/dtb"
if ! [ -e "$_target" ]; then
error "Could not find zImage in $PWD!"
return 1
fi
cd "$builddir"
# There's no dtbs_install target in 3.10
mkdir -p "$pkgdir/usr/share/dtb"
cp arch/arm64/boot/dts/sun50iw1p1-pine64so.dtb "$pkgdir/usr/share/dtb"
make -j1 modules_install \
ARCH="$_carch" \
INSTALL_MOD_PATH="$pkgdir" \
INSTALL_DTBS_PATH="$pkgdir/usr/share/dtb"
}
sha512sums="0bfd1da6e873cd809ee94a75eccb394af8abf6f51d187c03e5fb29e249be953240cf3cf87f3e409d77f3600223bfabb7efeb3052fa3e4a0c40eb85b1ddc3dfaf linux-pine-a64lts-5ea364f6dbe35934868010f07f6abbc0a2d76120.tar.gz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment