The IGEP v2 is a Spanish Beagleboard clone with expanded connectivity, sized at 65mm x 95mm. The board shares the same processor and hardware configuration as the Beagleboard-xM, and likewise is an open hardware platform perfect for hobbyists and developers.
SD Card Creation
- At a minimum, you need to create the first partition on an SD card to store the bootloader files and kernel uImage. For the root filesystem you can choose to use either a second partition on the SD card or a USB drive.
- The first partition should be FAT16 LBA (partition type 0E), and a size of 128MB is plenty of space for the needed files.
Format the partition with mkfs.vfat, for example: mkfs.vfat -F 16 -n "bootloader" /dev/mmcblk0p1
- If you plan to use the SD card for the root filesystem as well, create a second partition of type Linux filling the rest of the free space, preferably at least 1-2GB.
Format the partition with mkfs.ext3, for example: mkfs.ext3 -L "rootfs" /dev/mmcblk0p2
- If you plan to use a USB drive for the root filesystem, create a first partition on the drive of type Linux using at least 1-2GB.
Format the partition with mkfs.ext3, for example: mkfs.ext3 -L "rootfs" /dev/sdb1
- Download the IGEP v2 bootloader tarball and extract the files onto the first partition of the SD card. These files contain the bootloaders needed to load the kernel. The file MLO needs to be the first file put onto the FAT partition, and extracting the tarball as-is should do this for you. If you have problems getting to U-Boot, re-format and place the files manually.
- Download the root filesystem tarball and extract it (as root) to the ext3 partition on either the SD card or the USB drive. It is important to do this as root, as special files need to be created as part of the filesystem that can only be created by root.
- Copy /boot/uImage from the ext3 partition to the fat16 partition.
- Create a boot.scr file following the instructions below to boot into the system.
Creating a boot.scr
- Create a file called bootcmd, and place U-Boot commands in there like a script file. For example:
setenv bootargs 'console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait' mmc init fatload mmc 0 0x80300000 uImage bootm 0x80300000 boot
- Use mkimage to create the boot.scr file. For example:
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "IGEP v2 boot script" -d bootcmd boot.scr
- Copy the resulting boot.scr to the fat16 partition on the SD card.