A mainline kernel with patches runs on YeeLoong 8089D / Loongson 2F.
|
10 роки тому | |
---|---|---|
patches | 10 роки тому | |
.gitignore | 11 роки тому | |
README.md | 10 роки тому |
loongson-sources is a patchset against offical upstream Linux kernel for YeeLoong 8089D with Loongson 2F processor.
The latest binary kernel and GPG siguature can be found at the root of the repo. The naming format is:
linux-[kernel version]-yeeloong-gaizi.tar.xz
linux-[kernel version]-yeeloong-gaizi.tar.xz.sig
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 down. You can use the ./patches/packaging.sh
to generate a tarball if you want.