[FDOM] Booting from SD, unable to open an initial console

Al Johnson openmoko at mazikeen.demon.co.uk
Thu Sep 25 13:37:35 CEST 2008


On Thursday 25 September 2008, Neil Jerram wrote:
> 2008/9/25 Al Johnson <openmoko at mazikeen.demon.co.uk>:
> > I did it at the end of last week. Don't remember exactly what I did but
> > it didn't cause me any problems. I'm using the kernel from /boot on the
> > SD.
>
> Did you have to change your bootloader configuration?

I had to add a menu entry to the NAND uboot if that's what you mean - see 
below. These are as in the wiki except for minor changes to account for my 
configuration. The sd_max_clk is to try to fix the problem with my SD rootfs 
getting I/O errors, but it doesn't. Both partitions are ext3, and the kernel 
is in boot/uImage exactly where the tar file put it. I did edit /etc/fstab on 
each partition to put the correct details in for the root partition.

menu_9=Boot FDOM from SD part.1: setenv bootargs ${bootargs_base} 
rootfstype=ext3 root=/dev/mmcblk0p1 rootdelay=10 ${mtdparts} ro 
glamo_mci.sd_max_clk=10000000; mmcinit; ext2load mmc 1:1 0x32000000 
boot/uImage; bootm 0x32000000

menu_10=Boot 2008.x from SD part.2: setenv bootargs ${bootargs_base} 
rootfstype=ext3 root=/dev/mmcblk0p2 rootdelay=10 ${mtdparts} ro 
glamo_mci.sd_max_clk=10000000; mmcinit; ext2load mmc 1:2 0x32000000 
boot/uImage; bootm 0x32000000




More information about the community mailing list