[U-Boot-Users] [PATCH] bdinfo not showing correct info aboutmemory size

Ricardo ricardo.ribalda at gmail.com
Wed Jul 30 14:27:01 CEST 2008


Hello WD and SR:

  because my board is one that it is not working, I am open to receive
any snipset and test them on the "real world"


          Best Regards

On Wed, Jul 30, 2008 at 2:13 PM, Stefan Roese <sr at denx.de> wrote:
> On Wednesday 30 July 2008, Wolfgang Denk wrote:
>> > 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.
>>
>> Given the fact that print_lnum() unconditionally takes a u64 arg  and
>> unconditionally  uses  a  %llX  format,  I  thinkwe shoudl either fix
>> print_lnum() for non-64bit cases, or drop  the  CFG_64BIT_VSPRINTF  /
>> CFG_64BIT_STRTOUL options completely.
>
> Personally, I'm voting for dropping the options completely and enabling the
> 64bit support unconditionally. I took me some time a few days ago to figure
> out that this support was *not* enabled by default.
>
> 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
> =====================================================================
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>



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




More information about the U-Boot mailing list