# Toolchain http://www.isee.biz/component/zoo/item/igep-yocto-toolchain-sdk cd / tar xjf igep-sdk-yocto-toolchain-1.2.1-2.tar.bz2 # Prepare MMC fdisk -l /dev/mmcblk0 Disk /dev/mmcblk0: 2013 MB, 2013265920 bytes 255 heads, 63 sectors/track, 244 cylinders, total 3932160 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000ca16f Device Boot Start End Blocks Id System /dev/mmcblk0p1 * 63 144584 72261 c W95 FAT32 (LBA) /dev/mmcblk0p2 144585 3919859 1887637+ 83 Linux mkfs.vfat -F 32 /dev/mmcblk0p1 mount /dev/mmcblk0p1 /mnt # MLO and u-boot.bin have to seat at the root of the FAT file system # Das U-Boot - Build git clone git://git.isee.biz/pub/scm/u-boot-arm.git cd u-boot-arm git clone git://git.denx.de/u-boot.git cd u-boot . /opt/poky/1.2.1/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi make igep0020_config export CROSS_COMPILE=arm-poky-linux-gnueabi- make cp u-boot.bin /mnt # TI X-Loader 1 - Build git clone git://gitorious.org/x-loader/x-loader.git cd x-loader . /opt/poky/1.2.1/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi export CROSS_COMPILE=arm-poky-linux-gnueabi- make igep00x0_config make cp MLO /mnt # IGEP X-Loader 2 - Build (not recommended) git clone git://git.isee.biz/pub/scm/igep-x-loader.git cd igep-x-loader . /opt/poky/1.2.1/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi export CROSS_COMPILE=arm-poky-linux-gnueabi- make igep00x0_config make contrib/signGP x-load.bin # Full erase onenand erase 0x00000000 0x13aa0000 # X-Loader (MLO) - Write mmc rescan fatload mmc 0 0x80300000 MLO onenand erase 0 0x80000 onenand write 0x80300000 0 0x80000 # Das U-Boot - Write mmc rescan 0 fatload mmc 0 0x80300000 u-boot.bin onenand erase 0x80000 0x180000 onenand write 0x80300000 0x80000 0x180000 # TI X-Loader 1 - Partitions # cat /proc/mtd dev: size erasesize name mtd0: 00080000 00040000 "X-Loader" mtd1: 00180000 00040000 "U-Boot" mtd2: 00080000 00040000 "U-Boot Env" mtd3: 00300000 00040000 "Kernel" mtd4: 1fa80000 00040000 "File System" # IGEP X-Loader 2 - Partitions # cat /proc/mtd dev: size erasesize name mtd0: 00080000 00040000 "X-Loader" mtd1: 00c00000 00040000 "Boot" mtd2: 1f380000 00040000 "File System" # Das U-Boot - Reset environment env default -f setenv ethaddr ac:de:48:00:02:54 saveenv # Firmware - Prepare microSD tar xzf poky-firmware-*.tar.gz cd poky-firmware-* sed -i 's/realpath/readlink -f/' poky-media-create sed -i 's/sudo apt-get/echo apt-get/' poky-media-create ./poky-media-create --mmc /dev/mmcblk0 --binary poky-image-sato-igep00x0-*.tar.gz --machine igep0020 # Firmware - Flash OneNAND # Boot from microSD cd /opt/firmware ./flash.sh # Firmware - Boot from Das U-Boot mount /dev/mmcblk0p1 /mnt sed -i 's/kImageName=zImage/kImageName=u-boot.bin/' /mnt/igep.ini sed -i 's/Mode=kernel/Mode=uboot/' /mnt/igep.ini cp u-boot.bin /mnt