A mainline kernel with patches runs on YeeLoong 8089D / Loongson 2F.
Tom Li 263cf6bc3a README.me: fix a typo. | 9 éve | |
---|---|---|
patches | 10 éve | |
.gitignore | 10 éve | |
README.md | 9 éve |
loongson-sources is a patchset against offical upstream Linux kernel for YeeLoong 8089D with Loongson 2F processor.
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
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.