Talk:Booting the Neo FreeRunner from SD via U-Boot

From Openmoko

Revision as of 09:50, 13 July 2008 by Peterpall (Talk | contribs)

Jump to: navigation, search

Simpler way of booting from a SD card

My freerunner came with a "boot from SD card" option already installed in uBoot. I just needed a SD (Not HDMC) card with the following layout:

  • Partition 1 is a primary partition with a FAT filesystem containing the uImage - which has to be named uImage.bin
  • Partiton 2 is a Filesystem containing the root partition. According to the uBoot environment it should be an ext2 partiton, - but it seems like the standrd kernels from the buildhost don't support this.

My hardware setup is:

  • Latest uBoot (July 12, 2008)
  • Freerunner (GTA02V5)

The uBoot environment variable reads:

menu_1=Boot from microSD (FAT+ext2): setenv bootargs ${bootargs_base} rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5 ${mtdparts} ro; mmcinit; fatload mmc 1 0x32000000 ${sd_image_name}; bootm 0x32000000
Personal tools

Simpler way of booting from a SD card

My freerunner came with a "boot from SD card" option already installed in uBoot. I just needed a SD (Not HDMC) card with the following layout:

  • Partition 1 is a primary partition with a FAT filesystem containing the uImage - which has to be named uImage.bin
  • Partiton 2 is a Filesystem containing the root partition. According to the uBoot environment it should be an ext2 partiton, - but it seems like the standrd kernels from the buildhost don't support this.

My hardware setup is:

  • Latest uBoot (July 12, 2008)
  • Freerunner (GTA02V5)

The uBoot environment variable reads:

menu_1=Boot from microSD (FAT+ext2): setenv bootargs ${bootargs_base} rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5 ${mtdparts} ro; mmcinit; fatload mmc 1 0x32000000 ${sd_image_name}; bootm 0x32000000