Since last time I tried Android and Ubuntu on the Wandboard, a few things happened. I’m not talking about Wandboard Quad announcement, but instead I received a Class 10 SD card, which makes the system so much responsive, and a RS232 to USB adapter so that I can access the serial console. So today, I’ll publish some benchmark results on Wandboard Dual since none appear to be available, and play a little with the serial console. A few things also happened on the operating systems side with more distributions now available for the board. Prerequisites I ran benchmark in Android, so I installed the latest Android 4.1.2 image (11th of April 2012) to my new SD card (ADATA 16 GB Class 10), and contrary to my poor experience on a 4GB Class 4 micro SD, everything was very fluid. I’ve also installed Google Play in order to install the applications. […]
Rockchip RK3188 Linux Source Code is Now Available
Good news! I’ve just read Rockchip RK3188 Linux source code has just been released via Rikomagic, and Alok Sinha, the main maintainer of RK3066 source code, has already imported into github, and we should soon see a PicUntu image for RK3188 mini PCs. Let’s have a look:
1 2 |
git clone git://github.com/aloksinha2001/Linux3188.git cd Linux3188 |
[Update: you may have to run “sudo apt-get install libc6-i386” before running make_kernel_ruikemei.sh below, as mkkrnlimg is a 32-bit binary] Usually, I immediately look into arch/arm/configs, but this time, there’s a “funny” script called make_kernel_ruikemei.sh, and .config already have some CONFIG_RK3188, so let’s run it:
1 2 3 |
export ARCH=arm export CROSS_COMPILE=arm-linux-gnueabihf- ./make_kernel_ruikemei.sh |
After just over a minute, success!:
1 2 3 4 5 6 7 8 9 10 |
LD vmlinux SYSMAP System.map SYSMAP .tmp_System.map OBJCOPY arch/arm/boot/Image Kernel: arch/arm/boot/Image is ready mkkrnlimg V20120220 cmd:/home/jaufranc/edev/sandbox/rk3188/Linux3188/arch/arm/boot/Image /home/jaufranc/edev/sandbox/rk3188/Linux3188/kernel.img [(null)] kernel Image:/home/jaufranc/edev/sandbox/rk3188/Linux3188/kernel.img for mid is ready. Image: kernel.img is ready |
This kernel image is for Android only, and there’s a little work to modify it as a “pure” Linux kernel, so that it can be used to boot PicUnutu for RK3188. Let’s go back to arch/arm/configs, and we’ll find several RK3188 configs: rk3168_86v_defconfig rk3188_dongle_defconfig rk3188_ds1006h_defconfig rk3188_ds1006h_v1_0_defconfig rk3188_hotdog_defconfig rk3188_LR097_defconfig rk3188_magicwand_defconfig […]
Linaro 13.05 Release With Linux Kernel 3.10, Android 4.2.2, and Ubuntu Raring Ringtail
Linaro 13.05 has just been released with Linux Kernel 3.10-rc2 and Android 4.2.2. This is the first release with Ubuntu 13.04 (Raring Ringtail) images. There’s also Linux Linaro Stable (LSK) preview based on kernel 3.9.4. BeagleBone Black support has been added and preliminary hwpack and images are available, an Android Arndale image with virtual framebuffer is also available. You can now get a desktop environment (XFCE) on Aarch64 / ARMv8. Hardware packs with Real-time Linux kernel (PREEMPT_RT) can be downloaded for Pandaboard and Arndale. More work has gone into Aarch64, big.LITTLE HMP, and ARM virtualization (KVM). Finally an UEFI is available not only for Vexpress boards, but also Samsung Origen and Arndale boards, as well as Texas Instruments Pandabord and Beagleboard. Here are the highlights of this release: LAVA First prototype production run of LAVA Lmp completed, tested functional. Beaglebone Black is now running in LAVA. TC2s is now running […]
How to Find Configuration Options Quickly in Make Menuconfig
If you’ve ever compiled the Linux kernel, you’ll know make menuconfig is the command line used to unset/set options, disable/enable modules in order to match your hardware and requirements. I used to simply browse in the menu to find the option, and just remember the correct path. Sometimes I just looked at .config to locate the option I needed, and the possible path in make menuconfig. The first time you use a new option it can be time consuming. But I’ve just found there is a better way via Google+. “/” is actually available in make menuconfig, just like it is in vi/vim. If you want to enable NFS server in your kernel, press “/”, and search for NFSD. It will show the list of results with “NFSD” strings. NFS server support is right at the top, and the path is shown to be File Systems->Network File Systems. The neat […]
Linux 3.9 Release
Linus Torvalds has announced the release of Linux Kernel 3.9: So the last week was much quieter than the preceding ones, which makes me suspect that one reason -rc7 was bigger than I liked was that people were gaming the system and had timed some of their pull requests for just before the release, explaining why -rc7 was big enough that I didn’t actually want to do a final release last week. Please don’t do that. Anyway. Whatever the reason, this week has been very quiet, which makes me much more comfortable doing the final 3.9 release, so I guess the last -rc8 ended up working. Because not only aren’t there very many commits here, even the ones that made it really are tiny and not pretty obscure and not very interesting. Also, this obviously means that the merge window is open. I won’t be merging anything today, but if […]
Booting Linux in Less Than 1 Second in AllWinner A10 Devices? Yes! You Can!
threewater, a Chinese developer, has just posted a very interesting demo on linux-sunxi mailing list showing a device based on AllWinner A10 boot linux within 0.85s, and if you add a Qt app, the total time is just about 1.2s. This appears to be a custom hardware (EM6000), but we do know it’s based on AllWinner A10, comes with 512 MB RAM, and 4GB NAND Flash. On the software side, the device runs kernel 3.4 from linux-sunxi, with a customized version of uboot, a squashfs rootfs, and a Qt 4.7.4 app showing a gauge. Both the rootfs (7MB) and the kernel (2MB) have been compressed with LZO. All that boots from NAND flash for optimal speed. The 1.2 second time includes kernel + rootfs + app time, and the total time is a bit longer, but this is still impressive. Here’s the boot log:
1 2 3 4 5 6 7 8 9 10 |
[1.690000 1.690000] U-Boot SPL 2013.01-05984-g2120a27-dirty (Apr 17 2013 - 14:22:02) [0.009000 0.009000] Board: EM6000 [0.012000 0.003000] DRAM: 512MB [1.014000 1.002000] init startup v1.1 [1.016000 0.002000] mount usr data error 2 [1.158000 0.142000] Could not read calibration: "/data/etc/pointercal" [1.166000 0.008000] Couldnt open tslib config file: No such file or directory [1.175000 0.009000] QWSTslibMouseHandlerPrivate: ts_config() failed with error: 'No such file or directory' [1.187000 0.012000] Please check your tslib installation! [1.200000 0.013000] qt show |
If you just boot to […]
AllWinner A20 Linux Source Code, EVB Schematics and Product Brief
Hardware based on AllWinner A20 such as Cloudsto Media PC PRO DRIVEDOCK, should start to be available soon, and resources for developers have been slowly released (or leaked) to the community. AllWinner A20 Source Code The source code for AllWinner A20 and A31 has been released to sunxi-linux a while back, and they have started to clean up the code before hardware becomes available. The code apparently hasn’t made it to sunxi-linux github account just yet, but Linux for A20 has been imported into github at https://github.com/amery/linux-allwinner/tree/import/lichee-3.3/a20-dev. AllWinner A20 is known as sun7i in the code. AllWinner A20 Evaluation Board Schematics and Product Brief Olimex received A20 EVB schematics and product brief from AllWinner earlier this week, and as usual, they promptly uploaded those documents to their github account. The 3-page product brief does not bring anything new, and the data sheet does not seem to be available right now. […]
Linaro 13.03 Release with Linux Kernel 3.9 and Android 4.2.2
Linaro 13.03 is now available, and features Linux Kernel 3.9-rc3 and Android 4.2.2. This month, Linaro has released their first Origen Quad Android image, as well as Tiny Android build for Arndale. The ALIP image listed in the download page is still based on Ubuntu 12.11, but as doc Bormental noticed earlier this month, the latest ALIP Quantal 13.03 image is available for download at https://releases.linaro.org/latest/ubuntu/quantal-images/alip. Some development tools (gcc, g++, vi, make..) are now included in Android, so you can develop and build natively from your Android device. Linaro has kept on cleaning the Linux kernel ARM tree for Exynos and ST Ericson SoCs. More work has been done on big.LITTLE for both IKS and HMP, as well as ARMv8 OpenEmbedded, and an initial GRUB port on ARM UEFI is now available. Here are the highlights of this release: Automation and Validation A simple CLI tool for communicating with […]