Amlogic has an open linux website where they regurlarly release GPL source code, and with Amlogic S905 devices coming to market, they’ve released a few tarballs at the beginning of the month including Linux 3.14 source code, U-boot source code, and Mali-450MP GPU kernel source code (obviously not userspace), as well as some other drivers for WiFi, NAND flash, PMU, TVIN, etc…
Let’s get to the download links:
- Linux 3.14.29 source code
- U-boot 2015.01
- GPU drivers for ARM Mali-450MP
- Broadcom and Realtek Wifi drivers and firmware (November 4, 2015) can be found @ http://openlinux.amlogic.com:8000/download/ARM/wifi/.
- Other kernel modules (November 4, 2015) @ http://openlinux.amlogic.com:8000/download/ARM/modules/.
I quickly tried to build the Linux source. If you’ve never build a 64-bit ARM kernel or app before, you’ll fist need to install the toolchain. I installed the one provided with Ubuntu 14.04:
1 |
sudo apt-get install gcc-aarch64-linux-gnu |
Now extract the tarball and enter the source directory:
1 2 |
tar xvf arm-src-kernel-2015-11-04-9e845bea41.tar.gz cd arm-src-kernel-2015-11-04-9e845bea41 |
At first I had a build failure due to a missing directory, so I created it, and use the default config for Amlogic S905/S912 (in arch/arm64/configs), before building the Linux kernel.
1 2 3 |
mkdir -p .git/hooks make ARCH=arm64 meson64_defconfig make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8 |
and it ended well:
1 2 3 4 5 6 7 8 9 10 |
Building modules, stage 2. MODPOST 2 modules OBJCOPY arch/arm64/boot/Image OBJCOPY arch/arm64/boot/Image CC drivers/amlogic/usb/dwc_otg/310/dwc_otg.mod.o CC drivers/media/usb/gspca/gspca_main.mod.o GZIP arch/arm64/boot/Image.gz LZO arch/arm64/boot/Image.lzo LD [M] drivers/amlogic/usb/dwc_otg/310/dwc_otg.ko LD [M] drivers/media/usb/gspca/gspca_main.ko |
So that’s a good starting for anybody wanting to work on the Android or Linux kernel…
Unrelated to Amlogic S905/Meson64, but I’ve also noticed some OpenWRT packages and rootfs on Amlogic website that was released a little earlier this year. So either some people are using Amlogic Sxxx processors with OpenWRT, or Amlogic is working on a router chip that I missed. Probably the former.
Thanks to Olin.

Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress