> For the complete documentation index, see [llms.txt](https://bananapi.gitbook.io/bpi-r1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bananapi.gitbook.io/bpi-r1/en/linuxmainlinekernel.md).

# linuxmainlinekernel

## Linux mainline kernel image

**BPI-R1 new image: Archlinux 28-12-2017 4.6.5 sunxi mainline kernel**

1. Kernel borrowed from armbian:

<http://forum.banana-pi.org/t/bpi-r1-new-image-armbian-5-17-bpi-r1-debian-jessie-4-6-5-desktop-build-by-bpi-r1-img/2095>

1. Archlinux upgraded from official bpi image.
2. The kernel issues related to kernel / userspace mismatch seem to be gone (such as systemd-sysctl input / output error etc).

URL:

<http://mkaczanowski.com/files/archlinux-bpi-r1-2017-28-2017-4.6.5-sunxi-mainline.img>

## BPI-R1 new image:Armbian\_5.17\_bpi-r1\_Debian\_jessie\_4.6.5\_desktop-build-by-bpi-r1.img

2016-08-04-Armbian\_5.17\_Lamobo-r1\_Debian\_jessie\_4.6.5\_desktop-build-by-bpi-r1.img.zip

![](/files/-M2HXPpkfgwmB5VoUods)

1. based on debian debootstrap (based on armbian's work)
2. BPI-R1 u-boot-2016.07, kernel 4.6.5
3. username & password: root/1234
4. support HDMI 720P & 1080P(default)
5. support GMAC
6. support WIFI
7. support SATA
8. support boot.scr (boot.cmd) to ext4load fdtfile & zImage & uInitrd
9. support boot.scr to set video 1080P & 720P ...
10. based on armbian's build env. & rootfs, thanks for armbian (<http://www.armbian.com>)
11. github from <https://github.com/igorpecovnik/lib> by armbian's work
12. special thanks for linux-sunxi's work (<https://linux-sunxi.org>)
13. support overlayfs (modprobe overlay)
14. support squashfs (modprobe squashfs)

how to mount berryboot's image

```
DATADIR=data
SHAREDDIR=shared
#mount -t aufs -o br:${DATADIR}:${SHAREDDIR}:/squashfs none /aufs
cd data ; mkdir .ro .work .aufs
mount -o loop ../images/squashfs.img .ro
mount -t overlay -o lowerdir=../shared:.ro,upperdir=squashfs.img,workdir=.work overlay .aufs
```

Google Drive:

<https://drive.google.com/file/d/0B_YnvHgh2rwjV3I5RlpwdmZHYWs/view?usp=sharing>

MD5: f6952fc265ba26c953eb929d23d1ac95

discuss on forum:

<http://forum.banana-pi.org/t/bpi-r1-new-image-armbian-5-17-bpi-r1-debian-jessie-4-6-5-desktop-build-by-bpi-r1-img/2095>
