02-22-2016, 05:05 PM
(02-21-2016, 06:54 AM)longsleep Wrote: The simpleimage release has been updated. See http://forum.pine64.org/showthread.php?tid=99 for details what has changed and download URL.
Cool, I've updated the RootFS archives for Debian Jessie and Ubuntu Trusty to reflect this change.
I wasn't able to compile the mali kernel module on the PINE64 directly. May be someone has the time to figure it out.
This is how I've build the kernel on the PINE64:
Code:
#!/bin/sh
set -ex
git clone --depth 1 --single-branch -b pine64-hacks https://github.com/umiddelb/linux-pine64.git
curl -sSL https://github.com/longsleep/build-pine64-image/raw/master/blobs/pine64.dts > linux-pine64/arch/arm64/boot/dts/sun50i-a64-pine64-plus.dts
curl -sSL https://android.googlesource.com/platform/system/core/+archive/master/mkbootimg.tar.gz | tar -xzvf - mkbootimg
cd linux-pine64
make sun50iw1p1smp_linux_defconfig
make clean
make -j 4 Image sun50i-a64-pine64-plus.dtb modules
../mkbootimg --kernel arch/arm64/boot/Image --base 0x40000000 --kernel_offset 0x01080000 --board Pine64 --pagesize 2048 -o arch/arm64/boot/kernel.img
sudo cp arch/arm64/boot/dts/sun50i-a64-pine64-plus.dtb arch/arm64/boot/kernel.img /boot
sudo make modules_install
sudo make firmware_install
sudo make headers_install INSTALL_HDR_PATH=/usr