[U-Boot] Fwd: [U-Boot-Users] [PATCH] bdinfo not showing correct info about memory size

Ricardo Ribalda Delgado ricardo.ribalda at uam.es
Mon Sep 1 21:28:42 CEST 2008


For the record:


 What Stefan says is completely true. Last version of u-boot does not
give wrong info without my patch.


       Regards

On Wed, Jul 30, 2008 at 07:54, Stefan Roese <sr at denx.de> wrote:
> Ricardo,
>
> On Wednesday 30 July 2008, Ricardo Ribalda Delgado wrote:
>>   I don't think that it is a problem with my board config, otherwhise
>> it won't show the correct size using print_num...
>>    Maybe other users didn't have any problems because their memory
>> size is smaller than 256MB.
>
> Most likely you need to enable 64bit printf format (%ll) support:
>
> #define CFG_64BIT_VSPRINTF
> #define CFG_64BIT_STRTOUL
>
> This is already done for all 440 PPC's (include/ppc4xx.h) in the current git
> head. I'll merge this soon into the next branch of my ppc4xx repository, then
> your problem should go away.
>
> Best regards,
> Stefan
>
> =====================================================================
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
> =====================================================================
>



--
Ricardo Ribalda
http://www.eps.uam.es/~rribalda/



-- 
Ricardo Ribalda
http://www.eps.uam.es/~rribalda/


More information about the U-Boot mailing list