[FSO] Milestone 5, uBoot and SD, any success?
Marc Bantle
openmoko at rcie.de
Wed Feb 11 00:11:54 CET 2009
Olivier Migeot schrieb:
> - GTA02
> - images (.tar.gz and .bin) from the fso-stable tree.
> - basic uBoot (no update whatsoever since purchase)
> - and of course, booting on the SD card (once again, I don't want to
> break every part at once)
>
>
>
I succesfully use
openmoko-fso-image-glibc-ipk--20090202-om-gta02.rootfs.tar.gz
and
uImage-2.6.28-oe1+gitr34240a1c06ae36180dee695aa25bbae869b2aa26-r3-om-gta02.bin
with an u-boot environment, that can be create like this:
GTA02v6 #setenv menu_1 Boot from SD 2: setenv bootargs \${bootargs_base}
rootfstype=ext2 root=/dev/mmcblk0p2 \${mtdparts} \; mmcinit\; sleep
2\; ext2load mmc 0:1 0x32000000 /boot/uImage-mmc2\; bootm 0x32000000
where bootargs_base is create by
GTA02v6 #setenv bootargs_base glamo_mci.sd_idleclk=1
glamo_mci.sd_max_clk=12500000 rootfstype=jffs2 root=/dev/mtdblock6
console=ttySAC2,115200 console=tty0 loglevel=5 rootdelay=5 regular_boot
Generally I don't change my boot environment.
All I do is copy the kernel into partition1/boot directory
and create symlink to it (e.g. /boot/uImage-mmc2).
The rootfs is placed into the according partition (e.g. /dev/mmcblk0p2).
Note: I use a SanDisk 16G card, which needs reduction of
glamo_mci.sd_max_clk.
Until current rootfs' get fixed, I dropped the 'ro' option in
the boot options.
I hope this helps a bit.
Cheers, Marc
More information about the support
mailing list