* [U-Boot] [PATCH] TI DaVinci DVEVM: Add Config option for 64 bit Support
[not found] <1255277783-8336-1-git-send-email-s-paulraj@ti.com>
@ 2009-10-11 17:25 ` Tom Rix
2009-10-11 17:53 ` Paulraj, Sandeep
0 siblings, 1 reply; 4+ messages in thread
From: Tom Rix @ 2009-10-11 17:25 UTC (permalink / raw)
To: u-boot
s-paulraj at ti.com wrote:
> From: Sandeep Paulraj <s-paulraj@ti.com>
>
> Adding the CONFIG_SYS_64BIT_VSPRINTF in the DVEVM config.
>
> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
> ---
> include/configs/davinci_dvevm.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/davinci_dvevm.h b/include/configs/davinci_dvevm.h
> index f7d2399..b045e80 100644
> --- a/include/configs/davinci_dvevm.h
> +++ b/include/configs/davinci_dvevm.h
> @@ -138,6 +138,7 @@
> #define CONFIG_SYS_NAND_HW_ECC
> #define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND devices */
> #define CONFIG_ENV_OFFSET 0x0 /* Block 0--not used by bootcode */
> +#define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */
> #define DEF_BOOTM ""
> #elif defined(CONFIG_SYS_USE_NOR)
> #ifdef CONFIG_NOR_UART_BOOT
Please add a comment in the commit log why
the change is needed.
Tom
^ permalink raw reply [flat|nested] 4+ messages in thread* [U-Boot] [PATCH] TI DaVinci DVEVM: Add Config option for 64 bit Support
2009-10-11 17:25 ` [U-Boot] [PATCH] TI DaVinci DVEVM: Add Config option for 64 bit Support Tom Rix
@ 2009-10-11 17:53 ` Paulraj, Sandeep
2009-10-11 18:01 ` Tom Rix
0 siblings, 1 reply; 4+ messages in thread
From: Paulraj, Sandeep @ 2009-10-11 17:53 UTC (permalink / raw)
To: u-boot
> -----Original Message-----
> From: Tom Rix [mailto:tom at bumblecow.com]
> Sent: Sunday, October 11, 2009 1:26 PM
> To: Paulraj, Sandeep; u-boot at lists.denx.de
> Subject: Re: [PATCH] TI DaVinci DVEVM: Add Config option for 64 bit
> Support
>
> s-paulraj at ti.com wrote:
> > From: Sandeep Paulraj <s-paulraj@ti.com>
> >
> > Adding the CONFIG_SYS_64BIT_VSPRINTF in the DVEVM config.
> >
> > Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
> > ---
> > include/configs/davinci_dvevm.h | 1 +
> > 1 files changed, 1 insertions(+), 0 deletions(-)
> >
> > diff --git a/include/configs/davinci_dvevm.h
> b/include/configs/davinci_dvevm.h
> > index f7d2399..b045e80 100644
> > --- a/include/configs/davinci_dvevm.h
> > +++ b/include/configs/davinci_dvevm.h
> > @@ -138,6 +138,7 @@
> > #define CONFIG_SYS_NAND_HW_ECC
> > #define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND
> devices */
> > #define CONFIG_ENV_OFFSET 0x0 /* Block 0--not used by bootcode
> */
> > +#define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */
> > #define DEF_BOOTM ""
> > #elif defined(CONFIG_SYS_USE_NOR)
> > #ifdef CONFIG_NOR_UART_BOOT
>
> Please add a comment in the commit log why
> the change is needed.
> Tom
OK. I'll add the comment and push.
The reason is without that when we want to say erase a NAND block, it will give weird outputs like erasing block at 0x00000000.
So basically the MTD NAND driver will find the bad block but we get this incorrect message as this option is not set.
Other symptoms are after for e.g we complete an erase NAND operation, we will get a message which says, 0x4026432% completed or something like that.
Thanks,
Sandeep
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] TI DaVinci DVEVM: Add Config option for 64 bit Support
2009-10-11 17:53 ` Paulraj, Sandeep
@ 2009-10-11 18:01 ` Tom Rix
0 siblings, 0 replies; 4+ messages in thread
From: Tom Rix @ 2009-10-11 18:01 UTC (permalink / raw)
To: u-boot
Paulraj, Sandeep wrote:
>
>> -----Original Message-----
>> From: Tom Rix [mailto:tom at bumblecow.com]
>> Sent: Sunday, October 11, 2009 1:26 PM
>> To: Paulraj, Sandeep; u-boot at lists.denx.de
>> Subject: Re: [PATCH] TI DaVinci DVEVM: Add Config option for 64 bit
>> Support
>>
>> s-paulraj at ti.com wrote:
>>> From: Sandeep Paulraj <s-paulraj@ti.com>
>>>
>>> Adding the CONFIG_SYS_64BIT_VSPRINTF in the DVEVM config.
>>>
>>> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
>>> ---
>>> include/configs/davinci_dvevm.h | 1 +
>>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/include/configs/davinci_dvevm.h
>> b/include/configs/davinci_dvevm.h
>>> index f7d2399..b045e80 100644
>>> --- a/include/configs/davinci_dvevm.h
>>> +++ b/include/configs/davinci_dvevm.h
>>> @@ -138,6 +138,7 @@
>>> #define CONFIG_SYS_NAND_HW_ECC
>>> #define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND
>> devices */
>>> #define CONFIG_ENV_OFFSET 0x0 /* Block 0--not used by bootcode
>> */
>>> +#define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */
>>> #define DEF_BOOTM ""
>>> #elif defined(CONFIG_SYS_USE_NOR)
>>> #ifdef CONFIG_NOR_UART_BOOT
>> Please add a comment in the commit log why
>> the change is needed.
>> Tom
>
> OK. I'll add the comment and push.
>
> The reason is without that when we want to say erase a NAND block, it will give weird outputs like erasing block at 0x00000000.
>
> So basically the MTD NAND driver will find the bad block but we get this incorrect message as this option is not set.
>
> Other symptoms are after for e.g we complete an erase NAND operation, we will get a message which says, 0x4026432% completed or something like that.
>
> Thanks,
> Sandeep
>
>
>
This is a good reason!
It says what the problem is and what this change to the config will
correct.
Add the same comment to other similar patches you submitted and they
will all be good to go.
Ack
Tom
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] TI DaVinci DVEVM: Add Config option for 64 bit Support
@ 2009-10-11 13:15 s-paulraj at ti.com
0 siblings, 0 replies; 4+ messages in thread
From: s-paulraj at ti.com @ 2009-10-11 13:15 UTC (permalink / raw)
To: u-boot
From: Sandeep Paulraj <s-paulraj@ti.com>
Adding the CONFIG_SYS_64BIT_VSPRINTF in the DVEVM config.
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
---
include/configs/davinci_dvevm.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/configs/davinci_dvevm.h b/include/configs/davinci_dvevm.h
index f7d2399..b045e80 100644
--- a/include/configs/davinci_dvevm.h
+++ b/include/configs/davinci_dvevm.h
@@ -138,6 +138,7 @@
#define CONFIG_SYS_NAND_HW_ECC
#define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND devices */
#define CONFIG_ENV_OFFSET 0x0 /* Block 0--not used by bootcode */
+#define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */
#define DEF_BOOTM ""
#elif defined(CONFIG_SYS_USE_NOR)
#ifdef CONFIG_NOR_UART_BOOT
--
1.6.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-11 18:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1255277783-8336-1-git-send-email-s-paulraj@ti.com>
2009-10-11 17:25 ` [U-Boot] [PATCH] TI DaVinci DVEVM: Add Config option for 64 bit Support Tom Rix
2009-10-11 17:53 ` Paulraj, Sandeep
2009-10-11 18:01 ` Tom Rix
2009-10-11 13:15 s-paulraj at ti.com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox