(02-21-2016, 11:17 AM)longsleep Wrote: Well, you wanted images - here we go. If you are brave you can run Linux on your Pine64 now. **This image is intended for developers. If you are looking for accelerated 2D/3D or video decoding use Android** and do not bother with trying this image.Hello. Well done! Can you tell me, this is corect way to compile new custom kernel on Pine64. I compile new kernel on Pine64:
What you get:
- HDMI at 1080p with 60Hz
- Ethernet (100M only including 1000M)
- USB
- Wifi
- Arch Linux aarch64
- BSP Linux Kernel 3.10.65+ (see http://forum.pine64.org/showthread.php?tid=293)
- BSP U-Boot (see http://forum.pine64.org/showthread.php?tid=99)
It actually works good enough so i feel i can publish it. While the image is quite minimal, you can install all the software from the Arch Linux aarch64 repository including X11 and Xfce.
- Screenshots
- Download (for instructions see README.txt)
History:
**20160221-2**
- Initial public release
- Known issue: Ethernet hardcoded to use 100M only
- Known issue: Firefox crashes
- Known issue: Audio does not work (Inappropriate ioctl for device)
- Known issue: Kernel is entered in EL1
**20160227-1**
- Ethernet now supports 1000M
- Kernel is now entered in EL2, means the hypervisor works (tested with KVM)
- Disk size was reduced to 3700MiB so it fits on 4GB media
**20160304-1**
- Kernel updated to 20160304-1.
- Device tree was updated to improve thermal throttling and Ethernet 1000M speed and compatibility.
**20160308-1**
- Updated U-Boot and device tree to 20160306-1
- Updated Kernel to 3.10.65-2-pine64-longsleep-39-1
- Ethernet MAC address is now persistent (added to uEnv.txt on first boot)
- Added system service to reenable CPU cores
- Added helper Pine64 platform scripts to /usr/local/sbin
- Linux Kernel firmware and headers are now installed
Released images are signed with a detached GPG signature (.asc) signed by my personal key 0x090EF0DB. Get the key and verify that the download is intact and unmodified.
Code:gpg --keyserver keyserver.ubuntu.com --recv-keys 090EF0DB
gpg --with-fingerprint arch-pine64-*.xz.asc
Let me know what you think.
Code:
git clone --depth 1 --single-branch -b pine64-hacks-1.2 https://github.com/umiddelb/linux-pine64-rt.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
cd ./linux-pine64-rt/
make clean
make sun50iw1p1smp_linux_defconfig
make menuconfig
make -j 4 Image sun50i-a64-pine64-plus.dtb modules
mv -v /boot/initrd.img /boot/initrd.img.bak
mv -v /boot/pine64/Image /boot/pine64/Image.bak
cp -v /usr/src/linux-pine64-rt/arch/arm64/boot/dts/sun50i-a64-pine64-plus.dts /usr/src/linux-pine64-rt/arch/arm64/boot/Image
cp -v /usr/src/linux-pine64-rt/arch/arm64/boot/Image /boot/pine64/
make modules_install
make firmware_install
make headers_install INSTALL_HDR_PATH=/usr
kver=`make kernelrelease`
cp .config /boot/config-${kver}
cd /boot
mkinitcpio -k 3.10.65-2-pine64-rt69+ -g /boot/initrd.img-${kver}
mv initrd.img-${kver} initrd.img
mv config-${kver} /boot/pine64
Is that right?
I'll try to compile RT kernel, but after reboot i have only black screen... Change only two options in kernel:
CONFIG_PREEMPT=y
CONFIG_PREEMPT_RT_BASE=y