GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - thienducee/BPI-R2-4.14: Linux kernel 4.14+ for BPI-R2

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

722,841 Commits
722,841 Commits

Folders and files

NameName
Last commit message
Last commit date
Documentation
Documentation
 
 
arch
arch
 
 
block
block
 
 
certs
certs
 
 
crypto
crypto
 
 
drivers
drivers
 
 
firmware
firmware
 
 
fs
fs
 
 
include
include
 
 
init
init
 
 
ipc
ipc
 
 
kernel
kernel
 
 
lib
lib
 
 
mm
mm
 
 
net
net
 
 
samples
samples
 
 
scripts
scripts
 
 
security
security
 
 
sound
sound
 
 
tools
tools
 
 
usr
usr
 
 
utils
utils
 
 
virt
virt
 
 
.get_maintainer.ignore
.get_maintainer.ignore
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.mailmap
.mailmap
 
 
.travis.yml
.travis.yml
 
 
COPYING
COPYING
 
 
CREDITS
CREDITS
 
 
Kbuild
Kbuild
 
 
Kconfig
Kconfig
 
 
MAINTAINERS
MAINTAINERS
 
 
Makefile
Makefile
 
 
README
README
 
 
README.md
README.md
 
 
bpi-r2-mac.dts
bpi-r2-mac.dts
 
 
build.conf
build.conf
 
 
build.sh
build.sh
 
 
openssl.sh
openssl.sh
 
 
search.sh
search.sh
 
 

Repository files navigation

Kernel 4.14 for BananaPi R2

Build status 4.14-main

Requirements

On a x86/x64-host you need cross compile tools for the armhf architecture (bison and flex-package are needed for kernels >=4.16):

sudo apt install gcc-arm-linux-gnueabihf libc6-armhf-cross u-boot-tools bc make gcc libc6-dev libncurses5-dev libssl-dev bison flex

If you build it directly on the BananaPi-R2 (not recommended) you do not need the crosscompile-packages gcc-arm-linux-gnueabihf and libc6-armhf-cross

Issues

Usage

  ./build.sh importconfig
  ./build.sh config (To configure manually with menuconfig)
  ./build.sh

Usage with docker

The Dockerfile in utils/docker/ provides a build environment without installing the native compilers on the local system.

The local directory will be mounted into the docker container. All changes will also be present in the respository folder.

  1. Build the docker container for building once:
    sh ./utils/docker/build_container.sh
  2. Start and connect to the running docker container:
    sh ./utils/docker/run.sh
  3. Now you can use the commands from above:
    ./build.sh
  4. Close the container with exit or CTRL-D.
  5. Your build artifacts from the build script will be in the folder ./SD/

If you want to clean up you can remove all containers (and the associated docker images) with:

docker rmi bpi-cross-compile:1 --force

Branch details

Kernel upstream + BPI-R2

  • 4.14-main
  • 4.9-main
  • 4.19-main (LTS, currently not all features merged)

Kernel versions

Kernel features by version

Feature 4.4 4.9 4.14 4.19
PCIe Y Y Y Y
SATA Y Y Y Y
2 GMAC Y Y Y Y
DSA N Y Y Y
USB Y Y Y Y
VLAN Y
HW NAT Y Y N
HW QOS Y ? N
Crypto Y Y Y
WIFI Y Y Y
BT N N Y Y
VIDEO Y N Y Y
ACPI ? N Y Y
Other options -- -- -- --
OpenVPN ? Y Y
iptables ? Y Y Y
LXC / Docker ? ? Y

Symbols:

Symbol Meaning
? Unsure
() Testing

(Testing in seperate branch wlan/hdmi/hwnat/hwqos)

  • HW-NAT only works on 4.14 between LAN and WAN (bridge unclear, wifi not supported)
  • HW-QoS is merged into 4.14-main, but we do not know how to test it
  • ACPI-feature means System is powered off, not only halted (power-consumption ~0.2W, no reboot on reset), reboot-problem with soldered power-switch (see frank-w#35). Power-off is also initiated by pressing the power-switch
  • VIDEO is hdmi-output (X-server/framebuffer-console)...here some resolutions are not supported by vendor-driver

kernel 4.4 / uboot (2014-04): https://github.com/frank-w/BPI-R2-4.4

4.4-main does not contain drivers for r2 yet because this is too much work to merge it

new uboot: https://github.com/frank-w/u-boot

Links

  • BPI-R2: http://www.banana-pi.org/r2.html
  • Kernel: https://www.kernel.org/ , Stable-RC: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/
  • linux-mediatek: https://patchwork.kernel.org/project/linux-mediatek/list/, Threaded: http://lists.infradead.org/pipermail/linux-mediatek/
  • kernelci: https://kernelci.org/boot/mt7623n-bananapi-bpi-r2/
  • Forum: http://forum.banana-pi.org/c/Banana-Pi-BPI-R2
  • Wiki: http://www.fw-web.de/dokuwiki/doku.php?id=en/bpi-r2/start

License

GPL-2.0

Free Software, Hell Yeah!

About

Linux kernel 4.14+ for BPI-R2

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.