Talk:Booting the Neo FreeRunner from SD via U-Boot
From Openmoko
(→Formatting for VFAT--uBoot now supports ext2) |
(done and done) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
(→Formatting for VFAT--uBoot now supports ext2) |
(done and done) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
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 hardware setup is:
The uBoot environment variable that should allow booting from my card 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
As far as I know it should be changed after logging into uBoot by
setenv menu_1 Boot from microSD (FAT+ext3): setenv bootargs ${bootargs_base} root=/dev/mmcblk0p2 rootdelay=5 ${mtdparts}ro\; mmcinit\; fatload mmc 1 0x32000000 ${sd_image_name}\; bootm 0x32000000
if we want to boot a stock kernel from sd card.
But I have not been able to test it until now, though.
All the stuff that was put in there to work around uBoot's limitation of not supporting ext2fs, and instead, using VFAT should be changed. I'm still playing around with this stuff, so I wasn't sure that what I'd put in there would be accurate. Supercheetah 02:58, 26 July 2008 (UTC)
agreed -- need the newer uboot, but it can be changed. I have not tested it yet because I came across the SDHC problems I indicated at the top. thewtex 02:14, 27 July 2008 (UTC)