From: loody Date: Wed, 27 Jan 2010 17:27:23 +0800 Subject: [U-Boot] [U-Boot-Users] some flow about uboot In-Reply-To: <20100119.212824.07637565.ito@mlb.co.jp> References: <20100119.135119.21928358.ito@mlb.co.jp> <3a665c761001190228v15898b77g7c7f32d2a774ee6f@mail.gmail.com> <20100119.212824.07637565.ito@mlb.co.jp> Message-ID: <3a665c761001270127i52ada6dcxb4061afdec3a584e@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi all: Hi Hiroshi : > 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, >>Why uboot need reload code? > ?for example, > ?When you want update uboot itself. > ?SDRAM is faster then flush. > >>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