Dne Pá 9. dubna 2010 23:40:11 Wolfgang Denk napsal(a): > Dear Mikhail Kshevetskiy, > > In message <20100329162346.017a4...@laska.campus-ws.pu.ru> you wrote: > > commit 4b142febff71eabdb7ddbb125c7b583b24ddc434 (common: delete > > CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL) breaks printf on > > my arm/pxa270 board. For example, the code > > > > int a = 128; > > printf("a= %d\n", a); > > > > will print zero on the console. The problem reproduced on gcc 4.1.1, > > 4.3.3, 4.4.1 and 4.4.2. > > > > This patch fix printf unless you'll need printing 64-bit values. > > I doubt that your patch addresses the real cause of the problem. > Did you check if the stack alignment problem discussed here earlier > has been fixed for your architecture? > > Best regards, > > Wolfgang Denk
Yes, this is a NAK, sorry. The real problem is addressed by "[PATCH] PXA: Align stack to 8 bytes". LDRD and STRD need the memory address aligned to 8 bytes. Besides my patch also fixes the NAND driver, which didn't work as well and possibly various other issues. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot