Linaro 11.07 Release with Linux Kernel 3.0

Linaro has just released version 11.07, the first version that makes use of Linux 3.0. Here are the highlights of the release: Linaro Evaluation Build (LEB) for Android on PandaBoard is built on Linux 3.0 kernel with gcc-linaro 4.6 as the default compiler which is used for all official Linaro Android Platform builds. This Linaro Android monthly release exhibits the first official Linaro Android Toolchain release based on the most recent gcc-linaro 4.6, and the first Linaro Android release for ST Ericsson Snowball using Landing Team kernel based on linux-linaro-android. On top, Linaro Android 11.07 comes with the more advanced more visually appealing Launcher2 by default. Android GCC benchmark results for 11.07 release can be found on http://wiki.linaro.org/Platform/Android/AndroidToolchainBenchmarking/2011-07 Linaro Evaluation Build (LEB) for Ubuntu also uses the most recent linux-linaro kernel based on Linux 3.0 and includes the latest Linaro Cross Toolchain available for Ubuntu Lucid and Natty. ARM DS-5 packages are now available and enabled by default for the …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

25 USD ARM11 Linux Computer

The Raspberry Pi Foundation has designed a 25 USD Linux computer prototype for computer education in both the developing and developed worlds. The foundation, said to be registered as a U.K. charity, plans to develop, manufacture, and distribute the USB-key sized computer within the next 12 months. Their computer has a USB key form factor, and is designed to plug into a TV or be combined with a touch screen for a low cost tablet. Provisional specifications: 700MHz ARM11 128MB of SDRAM OpenGL ES 2.0 1080p30 H.264 high-profile decode Composite and HDMI video output USB 2.0 SD/MMC/SDIO memory card slot General-purpose I/O Open software (Ubuntu, Iceweasel, KOffice, Python) This device is much cheaper than OLPC XO (target price 100 USD), however it does not include keyboard, display nor batteries, so the market is different as it won’t work in places where electricity is unreliable. Watch the video below of David Braben introducing the 25 USD module Jean-Luc Aufranc (CNXSoft)Jean-Luc started …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Removing Old Kernels in Ubuntu with Synaptic

If you have used Ubuntu for a while and performed upgrades, you may have quite a few kernels in GNU GRUB as shown below: Those kernels are usually not necessary, they take space on your hard disk and make you scroll down in GRUB to access your other OS (if any). I’ll show how to only keep the last 2 kernels (for safety) in GRUB with Synaptic. First, start synaptic as a superuser: sudo synaptic Select “System Administration“, in type “linux-image” in the Quick search field and show the installed kernel (green tick box). Then select the kernels you want to remove (keep the last 2 versions), right-click and select “Mark for Removal”. Synaptic Package Manager window should look like the screenshot below: After that, simply click on Apply and within a short time (one minute in my case), the selected kernel are removed. Removing 4 kernels, freed 429 MB on my system. Now I have 2 Linux kernels (4 …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Setting Up an NFS Server in Ubuntu

You may need to setup an NFS server on Ubuntu to run and debug your program on your target platform or simply to share media files on the network composed of Linux clients. If you are using Windows clients, you would usually use SAMBA/CIFS, although it is possible to setup an NFS server in Windows as well using Windows Services for UNIX 3.5. Quick Guide to to setup an NFS server in Ubuntu without authentication. Install the required packages: # sudo apt-get install nfs-kernel-server nfs-common portmap Reconfigure and restart portmap: # sudo dpkg-reconfigure portmap # sudo /etc/init.d/portmap restart Edit /etc/exports: # sudo vi /etc/exports Add the directories to share with NFS and save the file, for example: /nfs 192.168.1.0/24(rw,no_root_squash,async) will give full read/write permissions to the nfs directory for computer in 192.168.1.0 subnet. Restart the NFS server: # sudo /etc/init.d/nfs-kernel-server restart and reload the configuration: # sudo exportfs -a The installation is now complete. To mount the NFS server (nfs …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Installing Linaro ARM Cross Toolchain on Ubuntu

You can easily install Linaro arm cross-compiler on Ubuntu 10.04 (Lucid), 10.10 (Maverick) and 11.04 (Natty) as follows: sudo apt-get install gcc-arm-linux-gnueabi This will install Linaro cross-toolchain version 4.4 on Ubuntu 10.04 and 10.10, and version 4.5 on Ubuntu 11.04. You can check the installation worked by checking the cross-compiler version [email protected]:~$ arm-linux-gnueabi-gcc -v Using built-in specs. Target: arm-linux-gnueabi Configured with: ../src/configure -v –with-pkgversion=’Ubuntu/Linaro 4.4.4-14ubuntu4′ –with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs –enable-languages=c,c++,fortran,objc,obj-c++ –prefix=/usr –program-suffix=-4.4 –enable-shared –enable-multiarch –enable-linker-build-id –with-system-zlib –libexecdir=/usr/lib –without-included-gettext –enable-threads=posix –with-gxx-include-dir=/usr/arm-linux-gnueabi/include/c++/4.4.5 –libdir=/usr/lib –enable-nls –enable-clocale=gnu –enable-libstdcxx-debug –enable-objc-gc –disable-sjlj-exceptions –with-arch=armv7-a –with-float=softfp –with-fpu=vfpv3-d16 –with-mode=thumb –disable-werror –enable-checking=release –program-prefix=arm-linux-gnueabi- –includedir=/usr/arm-linux-gnueabi/include –build=i686-linux-gnu –host=i686-linux-gnu –target=arm-linux-gnueabi –with-headers=/usr/arm-linux-gnueabi/include –with-libs=/usr/arm-linux-gnueabi/lib Thread model: posix gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu4) You can also install the latest version 4.5 (recommended) on Lucid and Maverick: sudo add-apt-repository ppa:linaro-maintainers/toolchain sudo apt-get update sudo apt-get install gcc-4.5-arm-linux-gnueabi If you are using an ARM platform running Ubuntu 10.10 or higher, you could also use the native GCC compiler. sudo apt-get install gcc-4.5 Source: https://wiki.linaro.org/Resources/ToolchainInstall Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

AMD G-Series SDK and Development Boards

Earlier this year, AMD announced its new Embedded processors G-Series aimed at set-top boxes, smart tv, digital signage, point of sales, media servers and more in order to compete with Intel Atom solutions as well as ARM based processors. Please refer to the link above for an overview and details about the 5 processors of the AMD G-series: T56N – Dual core @ 1.6GHz with Radeon HD 6310 GPU T48N – Dual core @ 1.4 GHz with Radeon HD 6310 GPU T40N – Dual core @ 1.0 GHz with Radeon HD 6250 GPU T52R – Single core @ 1.5 GHz with Radeon HD 6310 GPU Today, I’ll discuss about the development boards and software development kits available for this platform. AMD G-Series Development Boards and Reference Designs AMD Provide two reference designs and one development board: AMD Embedded G-Series Platform Mini-ITX Reference Design. No details are publicly available as this mini-ITX reference design requires you to sign an NDA for …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Qemu Linaro Versatile Express Image on Ubuntu 10.10

I’ve installed qemu-linaro and run an ARM image based on the instructions on https://wiki.linaro.org/PeterMaydell/QemuVersatileExpress. I used Ubuntu 10.10 desktop edition. First, install the Linaro images tools: sudo apt-get install linaro-image-tools Download the Linaro release and versatile hardware pack: wget http://releases.linaro.org/platform/linaro-n/nano/alpha-3/linaro-natty-nano-tar-20110302-0.tar.gz wget http://releases.linaro.org/platform/linaro-n/hwpacks/alpha-3/hwpack_linaro-vexpress_20110302-0_armel_supported.tar.gz You can download another hwpack for omap3, i.mx51, pandaboard, beagleboard, ST U8500, etc.. if needed at http://releases.linaro.org/platform/linaro-n/hwpacks/alpha-3/ Download the source, extract it, then configure, build and install qemu linaro: wget http://launchpad.net/qemu-linaro/trunk/2011.03-1/+download/qemu-linaro-0.14.50-2011.03-1.tar.gz tar xzvf qemu-linaro-0.14.50-2011.03-1.tar.gz cd qemu-linaro-0.14.50-2011.03-1 ./configure –prefix=/usr make sudo make install Make sure the prefix is set to /usr in order to overwrite any previous version of Qemu (It installed qemu linaro in /usr/local/ instead in my case). Failure to do so may generate the following error during linaro-media-create: qemu: fatal: cp15 insn ee1d6f70 Instead of compiling qemu, you can install qemu-linaro with apt-get (this will avoid possible version issues between linaro-media-create and qemu): sudo add-apt-repository ppa:linaro-maintainers/tools sudo apt-get update sudo apt-get install qemu-user-static qemu-system Create a …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Emulate an ARM Plaform with QEMU on Ubuntu 10.10

When developing software for embedded systems, you may need to support multiple architectures such as  arm, mips, x86, powerpc, alpha etc.. but you may not have the hardware required on hand to test them. This is where QEMU – a processor emulator – comes to the rescue. In a way, QEMU is similar to VirtualBox, VMWare or Citrix Xendeskop except it can support multiple architectures. I’ll show how to run Debian Lenny ARMEL in QEMU on a computer running Ubuntu 10.10 (aka Ubuntu Maverick Meerkat). QEMU (Qemu-kvm) Installation First install qemu-kvm and qemu-kvm-extras (the latter contains qemu-system-arm): sudo apt-get install qemu-kvm qemu-kvm-extras Let’s check qemu version: [email protected]:~/edev$ qemu –version QEMU PC emulator version 0.12.5 (qemu-kvm-0.12.5), Copyright (c) 2003-2008 Fabrice Bellard Debian ARM Installation in QEMU Create a directory to store the required files for the emulator and  download the Debian Lenny ARMEL kernel (vmlinuz) and debian installer rootfs (initrd.gz): mkdir ~/arm-emul cd ~/arm-emul wget ftp://ftp.debian.org/debian/dists/lenny/main/installer-armel/current/images/versatile/netboot/vmlinuz-2.6.26-2-versatile wget ftp://ftp.debian.org/debian/dists/lenny/main/installer-armel/current/images/versatile/netboot/initrd.gz Create a raw …

Support CNX Software – Donate via PayPal or become a Patron on Patreon