AMLogic Releases U-Boot and Updated Linux Kernel Source Code

AMLogic released kernel 3.0.8 source code for AML8726-MX a few months ago, and yesterday they provided an updated tarballs with the kernel, and for the first time, AFAIK, released the source code for U-Boot. There are 4 new files apparently generated from the (internal) git repository in AMLogic: common-2012-11-20-git-b687495906.tar.gz  (108M) – This is the same kernel 3.0.8 release has last time, but with updated code. m1-kernel-android-2012-11-20-git-5d0f6b8e93.tar.gz (103M) – This looks like an older kernel 2.6 for AML8726-M1 only. uboot-master-2012-11-20-git-9b50e9a295.tar.gz (16M) – U-Boot 2010.06 possibly to use with the older 2.6 kernel. Only for M1 & M3 platforms. uboot-next-2012-11-20-git-b0e532795a.tar.gz (40M) – U-Boot 2011.03 for use with M3 and M6 platforms. I’ve already explained how to build the kernel in the previous post, so I’ll focus on U-Boot this time. Ubuntu 12.04 arm-linux-gnueabi- toolchain fails to build U-Boot (uboot-next), so you’ll have to install Sourcery toolchain instead: wget http://openlinux.amlogic.com/download/linux/ARM/gnutools/arm-2010q1-188-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 tar xjvf arm-2010q1-188-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 […]

Learn How to Write a Driver for Linux 3.x With The Linux Driver Template

A Linux Driver Template (LDT) has been published to help new Linux kernel developers writing hardware device drivers. Constantine Shulyupin posted the Linux Driver Template (LDT) on the Linux mailing list in order to merge it into the mainline Linux kernel. The code can be used as as a starting point for new drivers, and shows how to use several Linux facilities such as  module, platform driver, file operations (read/write, mmap, ioctl, blocking and nonblocking mode, polling), kfifo, completion, interrupt, tasklet, work, kthread, timer, simple misc device, multiple char devices, Device Model, configfs, UART, hardware loopback, software loopback and  ftracer. This sample has been added to other device drivers samples in eLinux.org. And if you want to learn further there’s always the Linux driver bible: “Linux Device Drivers, Third Edition” which can be downloaded for free as PDF, although it’s for 2.6.10 kernel and many parts may not be up-to […]

Rockchip RK3066/RK30xx Processors Documentation, Source Code and Tools

Rockchip RK3066 (part of RK30xx family) is a Chinese dual ARM Cortex A9 SoC targeting multimedia products such as tablets (e.g. Cube U30GT), mini PC (e.g UG802, MK808) and in theory set-top boxes, but I can’t find any products based on this Rockchip processor. It seems mini PCs/ HDMI TV sticks have taken over this market. RK3066 Processor The processor features two ARM Cortex A9 clocked at up to 1.6 Ghz with a quad core Mali-400MP GPU. It can support 1080p (3D) encoding/decoding, provides HDMI 1.4a, VGA, composite, component and LVDS video outputs (Dual display support),  USB 2.0 Host and OTG ports, a MAC interface (Ethernet), and much more… Here are the key features of Rockchip RK3066 processor: Dual Core A9 + Quad Core Mali-400MP GPU 2 banks, 8/16 bit Nor flash / SRAM interface 8 banks, 8/16 bit async NAND flash, LBA NAND flash and 8-bit sync ONFI NAND […]

Linaro 12.10 Release with Linux kernel 3.6 and Android 4.1.2

Linaro release 12.10 has recently been announced, and includes Linux Kernel 3.6.1 and Android 4.1.2. This release provides further improvement to big.LITTLE architecture and Linux can boot on TC2 (A Test Chip with 2 Cortex A15 and 3 Cortex a7 cores) and an ARMv8 (Aarch64) OpenEmbedded community build is now available for download.  Work has also be done on preparing demos for Linaro Connect (29 Oct – 02 Nov) in Copenhagen including a single ARM kernel booting on different boards. Here are the highlights of the release: Android Linaro Android 12.10 has been upgraded to 4.1.1_r6 and then to 4.1.2. Linaro Android builds are now shipped with improved instructions. AOSP Galaxy Nexus builds are available from http://android-build.linaro.org and include DS-5 support. Linaro Android toolchain has been updated to Linaro GCC 2012.10. Dalvik benchmarked against Hard-Float Open JDK and Java SE. Power meter improvements for LAVA automation. Prepared Connect demonstrations benchmarking […]

Linaro 12.09 Release with Kernel 3.6 and Android 4.1.1

Linaro release 12.09 has just been announced, and includes Linux Kernel 3.6-rc6 and Android Jelly Bean. This release provides further improvement to Android Jelly Bean, Android benchmark characterization,  an ARMv8 OpenEmbedded image, UEFI bootloader support for Vexpress, origen and pandabords, and some improvement to big.LITTLE and power management. Here are the highlights of the release: Android All Linaro patches are now available on Jelly Bean. Accelerated graphics is now available on Snowball Jelly Bean build. AndEBench, AndEBench Java, Linpack, CaffeineMark, Antutu 2D and 3D, NBench, Quadrant, I/O Benchmark, Vellamo benchmark hotspot characterization available. An Origen tracking build is available and will be released this cycle as a Linaro Evaluation Build (LEB). Audio works on Origen running Jelly Bean (WAV file only). A Monkeyrunner script to run Streamline has been completed. First rev of the NI PXIe-4154 based power measurement system is created. See http://www.youtube.com/watch?v=9bKyuxLl4iw&feature=plcp In-tree AOSP tests have been automated. […]

Building Kernel Modules for AllWinner A10 Android Devices (e.g. Joystick Support)

Reader JP has enabled Joystick support in Android 4.0.4 on its Mele A1000, this now works with a Playstation2 joystick via USB adapter, a Huskee PC joystick, and 2 other unbranded joysticks. In order to enable Joystick support he had to build a kernel module, and encountered a few issues, so he wrote an how-to which shows what challenges he went through and what solutions he found to those issues.I’m sharing today a slightly edited version of this how-to. This How-to assumes that you have a valid Linux environment where you can build allwinner A10 kernel. The toolchain used was “Sourcery CodeBench for ARM GNU/Linux Lite“ which can be downloaded here: http://www.codesourcery.com/sgpp/lite/arm/portal/package7853/public/arm-none-linux-gnueabi/arm-2010.09-50-arm-none-linux-gnueabi.bin To install it, simply run:

You’ll also need the latest Allwinner A10 kernel source:

Then follow the usual procedure:

I then selected the modules needed for different kind of joysticks namely:

I saved the […]

Linaro 12.08 Release with Kernel 3.6 and Android 4.1.1 Jelly Bean

Linaro release 12.08 includes Linux Kernel 3.6-rc2 and is the very first release with Android Jelly Bean (4.1.1-R4). The Android platform team has managed to port Android Jelly Bean to all their main development platforms: Versatile Express, Versatile Express RTSM, Samsung Origen, TI PandaBoard, ST Ericsson Snowball, as well as Samsung Galaxy Nexus smartphone. They’ve also added TINY_ANDROID, a minimal Android build that can be used for kernel development, toolchain work and other development where users only need a console. It’s possible to get the source code, build it and access the shell within 10 minutes. U-boot-Linaro has been updated and is now based on the latest upstream release v2012.07. Next month, we might be able to see a preliminary port of Android on 64-bit platform (ARMv8). Here are the highlights of the release: Android Automated Methanol (http://gitorious.org/methanol) browser benchmarking in Linaro Android. Automated over 100 Jelly Bean AOSP tests. […]

More AMLogic AML8726-MX Source Code Released by Ainol

Last week, I found out that AMLogic released the kernel source code for AML8726-MX, its dual core Cortex A9 processor, but this code is only for the “common” platform, and some source code specific to tablets or media players is missing (e.g. some drivers). But today, Ainol released the source code for the Ainol Novo 7 Elf II and Aurora II tablet, both of which are based on on AML8726-M6 dual core processor: Ainol Novo 7 Elf II Source Code (2 GB) – http://dl.vmall.com/c0yqzpadah Ainol Novo 7 Aurora II source code (2 GB) – http://dl.vmall.com/c0imlixp7d The files are pretty big, and the download very slow on my side (“1 day, 16 hours remaining”), so I’ll probably have to give up. I assume “fards” will import the source code into a new repo in his github account. Anyway, this potentially makes AMLogic AML8726-MX a very interesting development platform, although we’ll have to […]

EDATEC Raspberry Pi 5 fanless case