[U-Boot] [PATCH 1/1] Changes for single binary image for u-boot for NAND/OneNAND flash.
Pillai, Manikandan
mani.pillai at ti.com
Mon Mar 9 04:19:11 CET 2009
Hi,
Single binary image - The type of flash is not selected during compile time. The
U-boot scans the flash available(as of now whether it is NAND or OneNAND) and
starts using the first flash detected as the ENV storge. To select this option,
I added a #define CONFIG_ENV_IS_RUNTIME_SEL(env storage selection during runtime).
Regards
Mani
> -----Original Message-----
> From: Wolfgang Denk [mailto:wd at denx.de]
> Sent: Monday, March 09, 2009 4:05 AM
> To: Pillai, Manikandan
> Cc: u-boot at lists.denx.de; dirk.behme at googlemail.com
> Subject: Re: [U-Boot] [PATCH 1/1] Changes for single binary image for u-boot
> for NAND/OneNAND flash.
>
> Dear Manikandan Pillai,
>
> In message <1236051689-17867-1-git-send-email-mani.pillai at ti.com> you wrote:
> > Support for single binary image for NAND/OneNAND based OMAP3 EVM
>
> What is a "single binary image" ?
>
> > boards. The software has to set the flag CONFIG_ENV_IS_RUNTIME_SEL
>
> What is CONFIG_ENV_IS_RUNTIME_SEL supposed to mean?
>
> > in include/configs/omap3_evm.h. The software is able to detect
> > whether it is NAND or OneNAND flash at runtime. The flash
> > detected is set as the environment store also.
> >
> > As per the comments received, the change is done only for OMAP3 EVM.
> >
> > Signed-off-by: Manikandan Pillai <mani.pillai at ti.com>
> > ---
> > board/omap3/evm/evm.c | 2 +
> > common/Makefile | 1 +
> > common/cmd_nvedit.c | 5 ++
> > common/env_common.c | 8 +++-
> > common/env_nand.c | 33 +++++++++++-
> > common/env_onenand.c | 26 +++++++++-
> > cpu/arm_cortexa8/omap3/board.c | 13 +++++
> > cpu/arm_cortexa8/omap3/mem.c | 100
> ++++++++++++++++++++++++++++++++++++-
> > cpu/arm_cortexa8/omap3/sys_info.c | 27 +++++++++-
> > include/common.h | 10 +++-
> > include/configs/omap3_evm.h | 6 ++-
> > lib_arm/board.c | 25 +++++++---
> > 12 files changed, 237 insertions(+), 19 deletions(-)
>
> Given all the other postings about this - just to be sure: NAK for
> now.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> An age is called Dark not because the light fails to shine, but
> because people refuse to see it. -- James Michener, "Space"
More information about the U-Boot
mailing list