This is a page about Freescale's i.MX51 "Babbage" Development Board.
Availability:
i.mx51 EVK at Digi-Key
Basic Requirements
- ARM Cross Compiler – Linaro – http://www.linaro.org/
- GNU Tools for ARM Embedded Processors https://launchpad.net/gcc-arm-embedded/
- Linaro Toolchain Binaries https://launchpad.net/linaro-toolchain-binaries
- Bootloader
- Das U-Boot – the Universal Boot Loader http://www.denx.de/wiki/U-Boot
- Source – http://git.denx.de/?p=u-boot.git;a=summary
- Linux Kernel
- Linus's Mainline tree: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=summary
- Freescale github bsp: https://github.com/Freescale
- Freescale bsp: http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/
- ARM based rootfs
- Debian Squeeze: http://www.debian.org/
GCC Toolchain
Bootloader
Das U-Boot – the Universal Boot Loader http://www.denx.de/wiki/U-Boot
U-Boot Download:
Download U-Boot via git:
U-Boot Patches:
U-Boot Configure and Build:
Linux Kernel
Linux Build Script:
For Mainline Freescale's 2.6.35 bsp
For Mainline v3.9-rcX using Device Tree's: (currently no usb/video)
Run Build Script:
The kernel zImage and modules will be under the deploy directory.
Debian 7.0.0 (Wheezy) Root File System
Default User: debian
Password: temppwd
Root User: root
Root Password: root
verify the image with:
Extract Image:
Ubuntu 13.04 (Raring) Root File System
Default User: ubuntu
Password: temppwd
verify the image with:
Extract Image:
Setup SD card
For these instruction, we are assuming: DISK=/dev/mmcblk0, "sudo fdisk -l" is useful for determining the device id..
Erase SD card:
Install U-Boot Bootloader:
Setup Boot Partition:
Format Boot Partition as ext2:
Create Partition Layout:
rootfs: ext3/4, rest of microSD card.

Mount Partitions:
Note: On most systems these partitions will be auto-mounted...
uEnv.txt based bootscript
Requires: U-Boot v2013.04
Create "uEnv.txt" boot script: (nano uEnv.txt)
Copy uEnv.txt to the boot partition:
Install Kernel and Root File System:
To help new users, since the kernel version can change on a daily basis. The kernel building scripts in this git repo will now give you a hint of what kernel version was built.
Copy and Paste that "export kernel_version=3.X.Y-Z" exactly as shown in your own build/desktop environment:
Copy Kernel zImage:
Copy Kernel dtbs (Device Tree (v3.6.x++)):
Copy Root File System:
Copy Kernel modules:
Setup /etc/fstab:
Add:
Enable Networking:
Add:
Enable Serial Login:
Debian:
Add at end of file:
Ubuntu:
Add:
Remove SD card:
Comments
Comments, feedback, and questions can be sent to eewiki@digikey.com.