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

From Openmoko

Jump to: navigation, search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Administrators.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page:

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

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