Minimal 64bit ARM RootFS for Debian and Ubuntu
#32
(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


Messages In This Thread
RE: Minimal 64bit ARM RootFS for Debian and Ubuntu - by umiddelb - 02-22-2016, 05:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Arch, Debian or other for Pinebook? cootcraig 3 6,386 05-01-2019, 09:11 AM
Last Post: cootcraig
  Pine64: Minimal SDL config Max11 3 6,073 01-04-2019, 03:47 PM
Last Post: Max11
  Issues with both Deb and Ubuntu germanshep 0 2,559 08-28-2018, 05:47 PM
Last Post: germanshep
  Help debug my pine64A+ ubuntu/plex hangs XaRz 8 10,159 11-02-2017, 06:34 AM
Last Post: XaRz
  Ubuntu 16.04 cannot resolve dns - connection timed out; no servers could be reached marcosti 2 10,158 03-01-2017, 02:46 PM
Last Post: dkryder
  Pine64 will be supported by HypriotOS (a Debian Jessie based OS for running Docker) Quintus23M 9 17,135 02-03-2017, 05:50 AM
Last Post: pfeerick
Question Ultrawide Display for Ubuntu Mate DE dudeytsang 1 5,066 01-01-2017, 07:26 AM
Last Post: CaptainZalo
  Pine64+Ubuntu+Tvheadend+DVBT Dongle Shai 3 6,471 10-03-2016, 04:23 AM
Last Post: Shai
  Dmesg output Ubuntu Mate S265 1 3,656 10-02-2016, 07:28 AM
Last Post: MarkHaysHarris777
  mounting rootfs Shai 1 3,239 10-01-2016, 07:59 AM
Last Post: waldo

Forum Jump:


Users browsing this thread: 2 Guest(s)