A mainline kernel with patches runs on YeeLoong 8089D / Loongson 2F.

Tom Li 263cf6bc3a README.me: fix a typo. 9 سال پیش
patches 96dd5a8ef5 Bump to Linux 3.16.4, fix a bug in CJKtty. 10 سال پیش
.gitignore 69ae82b91b Ignore vmlinux.32 10 سال پیش
README.md 263cf6bc3a README.me: fix a typo. 9 سال پیش

README.md

loongson-sources

loongson-sources is a patchset against offical upstream Linux kernel for YeeLoong 8089D with Loongson 2F processor.

Features

  • genpatches
  • BFS
  • BFQ
  • CJKtty
  • UKSM
  • exfat
  • colored kernel message output
  • 2D accelerated sm712fb framebuffer
  • YeeLoong Power Management Driver
  • YeeLoong Fn keys Driver
  • Out-of-tree bugfixes

Binary

We use GitHub Release to publish the latest binary kernel and GPG siguature. The naming format is:

linux-[kernel version]-yeeloong-gaizi.tar.xz
linux-[kernel version]-yeeloong-gaizi.tar.xz.sig

Build from Source

  • First, I assume you have the knowledge on cross-compiling and related toolchains.

  • Download the mainline kernel of the same series as loongson-sources, without any patch level.

For example, if you want to build loongson-sources-3.15.3, you should download Linux 3.15.0 from kernel.org.

  • Copy patches directory to the root directory of the kernel.

  • Run the ./patches/patch-it shell script to patch the kernel.

  • copy ./patches/config to the root directory, rename it to .config

  • make (you should setup the cross-toolchains correctly)

  • You're done. You can use the ./patches/packaging.sh to generate a tarball if you want.