[U-Boot] [PATCH 1/2] Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN

Amit Kumar Sharma amitsharma.9 at samsung.com
Tue Mar 31 06:12:35 CEST 2009


Hi Rubini,

AS suggested by scott , Please share your views regarding 
CONFIG_SYS_MONITOR_LEN
because image size getting bigger then 1 block we have to 
use this macro for uboot image size.

----- Original Message ----- 
From: "Scott Wood" <scottwood at freescale.com>
To: "apgmoorthy" <moorthy.apg at samsung.com>
Cc: <u-boot at lists.denx.de>; <rubini at unipv.it>
Sent: Tuesday, March 31, 2009 4:03 AM
Subject: Re: [U-Boot] [PATCH 1/2] Fix OneNAND ipl to read 
CONFIG_SYS_MONITOR_LEN


> apgmoorthy wrote:
>> Currently OneNAND initial program loader (ipl) reads only 
>> block 0 ie 128KB.
>> However, u-boot image for apollon board is 195KB making 
>> the board
>> unbootable with OneNAND.
>>
>> Fix ipl to read CONFIG_SYS_MONITOR_LEN.
>> CONFIG_SYS_MONITOR_LEN macro holds the U-Boot image size.
>>
>>  Signed-off-by: Rohit Hagargundgi <h.rohit at samsung.com>
>>  Signed-off-by: Gangheyamoorthy 
>> <moorthy.apg at samsung.com>
>
> Applied to u-boot-nand-flash, with the below whitespace 
> errors fixed:
>
> Applying RE: [U-Boot] [PATCH 1/2] Fix OneNAND ipl to read
> CONFIG_SYS_MONITOR_LEN
> .dotest/patch:128: trailing whitespace.
>                                 /* This block is bad. Skip 
> it
> .dotest/patch:130: space before tab in indent.
>                                 offset -= page * pagesize;
> warning: 2 lines add whitespace errors.
>
> Note that there are a couple of board files (apollon and 
> nmdk8815) that
> use the OneNAND loader that do not define 
> CONFIG_SYS_MONITOR_LEN.  I've
> added the maintainers to the Cc: list.
>
> -Scott
Thanks
Amit
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot 




More information about the U-Boot mailing list