I don't have to press anything. Bootloader boots from SD if it presents in the slot.


If you press a key at this point it should drop into u-boot. Do a
printenv.
Connecting to /dev/ttyUSB0, speed 115200
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
�tصb�$U
@ @ @QT,0@ @ @

Texas Instruments X-Loader 1.4.2 (Jul 8 2009 - 21:19:00)
Loading u-boot.bin from nand


U-Boot 2009.06-rc2 (Jul 08 2009 - 21:20:30)

OMAP3530-GP ES3.1, CPU-OPP2 L3-165MHz
Gumstix Overo board + LPDDR/NAND
DRAM: 256 MB
NAND: 256 MiB
*** Warning - bad CRC or NAND, using default environment

In: serial
Out: serial
Err: serial
Die ID #2d3c00040000000004035c141900300a
Hit any key to stop autoboot: 0
Overo # printenv
bootcmd=if mmc init; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run nandboot; fi; fi; else run nandboot; fi
bootdelay=5
baudrate=115200
loadaddr=0x82000000
console=ttyS2,115200n8
vram=12M
dvimode=1024x768MR-16@60
defaultdisplay=dvi
mmcargs=setenv bootargs console=${console} vram=${vram} omapfb.mode=dvi:${dvimode} omapfb.debug=y omapdss.def_disp=${defaultdisplay} root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
nandargs=setenv bootargs console=${console} vram=${vram} omapfb.mode=dvi:${dvimode} omapfb.debug=y omapdss.def_disp=${defaultdisplay} root=/dev/mtdblock4 rw rootfstype=jffs2
loadbootscript=fatload mmc 0 ${loadaddr} boot.scr
bootscript=echo Running bootscript from mmc ...; source ${loadaddr}
loaduimage=fatload mmc 0 ${loadaddr} uImage
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} 280000 400000; bootm ${loadaddr}
stdin=serial
stdout=serial
stderr=serial
dieid#=2d3c00040000000004035c141900300a

Environment size: 1055/131068 bytes
Overo #



On Fri, Jan 22, 2010 at 3:03 PM, Dave Hylands <dhylands@gmail.com> wrote:
Hi Alex,

On Fri, Jan 22, 2010 at 12:48 PM, Alex Mavrin <alexeymavrin@gmail.com> wrote:
...snip...
>> Texas Instruments X-Loader 1.4.2 (Nov 14 2008 - 13:21:49)
>> Reading boot sector
>> Loading u-boot.bin from mmc
>>
>>
>> U-Boot 2009.08 (Dec 04 2009 - 21:28:11)
>>
>> OMAP3530-GP ES2.1, CPU-OPP2 L3-165MHz
>> Gumstix Overo board + LPDDR/NAND
>> I2C:   ready
>> DRAM:  256 MB
>> NAND:  256 MiB
>> In:    serial
>> Out:   serial
>> Err:   serial
>> Die ID #462200020000000004031c1319011016
>> Net:   No ethernet found.
>> Hit any key to stop autoboot:  0
>> Unknown command 'mmcinit' - try 'help'

This seems to be the clue to the problem.

If you press a key at this point it should drop into u-boot. Do a
printenv. On mine I see:

Texas Instruments X-Loader 1.4.2 (Nov 14 2008 - 13:21:49)
Reading boot sector
Loading u-boot.bin from mmc


U-Boot 2009.08 (Dec 08 2009 - 21:22:24)

OMAP3503-GP ES2.1, CPU-OPP2 L3-165MHz
Gumstix Overo board + LPDDR/NAND
I2C:   ready
DRAM:  256 MB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Die ID #441600020000000004013e8805014021
Net:   No ethernet found.
Hit any key to stop autoboot:  0
Overo # printenv
bootcmd=if mmc init; then if run loadbootscript; then run bootscript;
else if run loaduimage; then run mmcboot; else run nandboot; fi; fi;
else run nandboot; fi
bootdelay=5
baudrate=115200
loadaddr=0x82000000
console=ttyS2,115200n8
vram=12M
dvimode=1024x768MR-16@60
defaultdisplay=dvi
mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=ext3 rootwait
nandroot=/dev/mtdblock4 rw
nandrootfstype=jffs2
loadbootscript=fatload mmc 0 ${loadaddr} boot.scr
bootscript=echo Running bootscript from mmc ...; source ${loadaddr}
loaduimage=fatload mmc 0 ${loadaddr} uImage
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
nandboot=echo Booting from nand ...; run nandargs; nand read
${loadaddr} 280000 400000; bootm ${loadaddr}
dieid#=441600020000000004013e8805014021
nandargs=setenv bootargs console=${console} vram=${vram}
omapfb.mode=dvi:${dvimode} omapfb.debug=y
omapdss.def_disp=${defaultdisplay} root=${nandroot}
rootfstype=${nandrootfstype} ${extrabootargs}
mmcargs=setenv bootargs console=${console} vram=${vram}
omapfb.mode=dvi:${dvimode} omapfb.debug=y
omapdss.def_disp=${defaultdisplay} root=${mmcroot}
rootfstype=${mmcrootfstype} ${extrabootargs}
stdin=serial
stdout=serial
stderr=serial

Environment size: 1193/131068 bytes
Overo #

The "extrabootargs" stuff is custom, the rest should be standard.

In particular, the bootcmd contains "mmc init" rather then mmcinit.

If I try mmcinit, then I get the same error:

Overo # mmcinit
Unknown command 'mmcinit' - try 'help'

But If I do:

Overo # mmc init
mmc1 is available

So, let us know what your u-boot environment contains.

--
Dave Hylands
Shuswap, BC, Canada
http://www.DaveHylands.com/

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users



--
Alex Mavrin

Cell: (858) 663 0843
alexeymavrin@gmail.com