Arch Linux image (BSP Kernel)
#24
(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.

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.
Hello. Well done! Can you tell me, this is corect way to compile new custom kernel on Pine64. I compile new kernel on Pine64:


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


Messages In This Thread
Arch Linux image (BSP Kernel) - by longsleep - 02-21-2016, 11:17 AM
RE: Arch Linux image (BSP Kernel) - by tllim - 02-21-2016, 09:21 PM
RE: Arch Linux image (BSP Kernel) - by janjwerner - 02-21-2016, 09:56 PM
RE: Arch Linux image (BSP Kernel) - by longsleep - 02-27-2016, 07:07 AM
RE: Arch Linux image (BSP Kernel) - by tllim - 02-22-2016, 10:48 PM
RE: Arch Linux image (BSP Kernel) - by janjwerner - 02-23-2016, 08:11 AM
RE: Arch Linux image (BSP Kernel) - by longsleep - 02-27-2016, 11:16 AM
RE: Arch Linux image (BSP Kernel) - by coleshores - 02-27-2016, 11:52 AM
RE: Arch Linux image (BSP Kernel) - by janjwerner - 02-27-2016, 12:52 PM
RE: Arch Linux image (BSP Kernel) - by KC7NOA - 02-27-2016, 01:02 PM
RE: Arch Linux image (BSP Kernel) - by T3charmy - 03-03-2016, 08:48 AM
RE: Arch Linux image (BSP Kernel) - by longsleep - 03-05-2016, 04:08 AM
RE: Arch Linux image (BSP Kernel) - by Ghost - 03-05-2016, 09:26 AM
RE: Arch Linux image (BSP Kernel) - by longsleep - 03-05-2016, 11:08 AM
RE: Arch Linux image (BSP Kernel) - by Ghost - 03-05-2016, 11:51 AM
RE: Arch Linux image (BSP Kernel) - by tllim - 03-05-2016, 01:20 PM
RE: Arch Linux image (BSP Kernel) - by janjwerner - 03-05-2016, 09:46 AM
RE: Arch Linux image (BSP Kernel) - by Ghost - 03-05-2016, 11:06 AM
RE: Arch Linux image (BSP Kernel) - by longsleep - 03-05-2016, 01:38 PM
RE: Arch Linux image (BSP Kernel) - by norm24 - 03-05-2016, 05:52 PM
RE: Arch Linux image (BSP Kernel) - by longsleep - 03-10-2016, 02:28 PM
RE: Arch Linux image (BSP Kernel) - by duanhongyi - 03-10-2016, 08:15 PM
RE: Arch Linux image (BSP Kernel) - by Artyom - 03-20-2016, 10:16 AM
RE: Arch Linux image (BSP Kernel) - by longsleep - 04-03-2016, 09:05 AM
RE: Arch Linux image (BSP Kernel) - by piney - 04-07-2016, 06:21 PM
RE: Arch Linux image (BSP Kernel) - by longsleep - 05-06-2016, 02:24 PM
RE: Arch Linux image (BSP Kernel) - by tllim - 05-06-2016, 06:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  eMMC doesn't work after kernel start m.bakhterev 3 6,040 10-15-2019, 10:58 AM
Last Post: m.bakhterev
  what/where is the package manager on Arch Linux? spruce1 9 12,229 04-03-2019, 05:58 AM
Last Post: jose.ramirez
  Arch Linux mainline XFCE pineadmin 12 34,348 02-21-2019, 05:52 AM
Last Post: starcrescent
  No CIFS support in Kernel? jamespo 4 9,330 06-28-2016, 01:28 PM
Last Post: jamespo
Question Arch Killing long running node/npm processes before finishing faddah 4 7,282 04-28-2016, 08:53 PM
Last Post: patrickhwood
  using dd to clone image jproffer 2 6,106 04-27-2016, 07:49 PM
Last Post: jproffer

Forum Jump:


Users browsing this thread: 1 Guest(s)