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

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Needed a different partition layout for my SD card)
Line 2: Line 2:
 
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:
 
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
 
* 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. Still don't know what filesystem type it is supposed to be. Ext3 won't work. Will try Ext2 instead.
+
* 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:
 
My hardware setup is:
 
* Latest uBoot (July 12, 2008)
 
* Latest uBoot (July 12, 2008)
 
* Freerunner (GTA02V5)
 
* 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

Revision as of 09:50, 13 July 2008

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