Skip to contentSkip to conversation

some flow about uboot

U-Boot loody 2 participants 2 messages Jan 27, 2010 4 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

loody

author
#4 lore raw

Hi all:
Hi Hiroshi :

Quoted 14 lines

Thanks Detlev,

I join a u-boot mailing-list for japanese.
I miss-understood original mail was send to it.

loody, We shood move to u-boot at lists.denx.de

anyway,

Quoted 1 line

Why uboot need reload code?

?for example,
?When you want update uboot itself.
?SDRAM is faster then flush.

Quoted 6 lines
Quoted 2 lines

if I get a block of static memory to save r/w data, does that mean I don't need reload uboot?

?Yes, but I do not recommend it,
?check
? CONFIG_SKIP_LOWLEVEL_INIT
?you will get a hints.

I will check the config you mention :)
BTW, I have some question while I compile my uboot without flash support with CONFIG_SYS_NO_FLASH, even there is already a patch for this problem.

in config_cmd_default.h
#ifndef CONFIG_SYS_NO_FLASH
#define CONFIG_CMD_FLASH /* flinfo, erase, protect */
#define CONFIG_CMD_IMLS /* List all found images */
#else

so in cmd_bootm.c below funciton will not be compiled #if defined(CONFIG_CMD_IMLS)

but the error seems compiler still compile the code for us. it's weired.
if I remember correctly, #ifdef XYZ and #if defined(XYZ) mean the same thing, right?
so the error should not come out.
appreciate your help,
miloody

#5 lore raw
Quoted 8 lines

in config_cmd_default.h
#ifndef CONFIG_SYS_NO_FLASH
#define CONFIG_CMD_FLASH /* flinfo, erase, protect */
#define CONFIG_CMD_IMLS /* List all found images */
#else

so in cmd_bootm.c below funciton will not be compiled #if defined(CONFIG_CMD_IMLS)

Please come again after studying C language.

Quoted 2 lines

if I remember correctly, #ifdef XYZ and #if defined(XYZ) mean the same thing, right?

right.
and, #ifndef XYZ and #if !defined(XYZ) mean the same thing.

--------
Hiroshi Ito
Media Lab. Inc.,
URL http://www.mlb.co.jp ( Sorry, Japanese only. ) TEL +81-3-5294-7255 FAX +81-3-5294-7256