Re: [U-Boot] I can not read Linux image from my nand flash

2009-11-30 Thread Peter Pan
I defined the CONFIG_SYS_64BIT_VSPRINTF, and change the __kernel__loff_t back to long long, and it works. My platform is a MPC8247 based customized board, which designed by my colleagues. Nand is Samsung K9K8G08U0M. Thank you very much for your advice. Now my u-boot works fine now. 2009/12/1 Sc

Re: [U-Boot] I can not read Linux image from my nand flash

2009-11-30 Thread Scott Wood
Peter Pan wrote: > The previous u-boot version I use is U-boot 1.2.0, an ancient version. > So I upgrade the u-boot to 2009-08. > The platform is MPC8247. That's a chip, not a platform. Which NAND controller driver? What happens if you also use a non-ancient Linux? Have you compared the OOB l

Re: [U-Boot] I can not read Linux image from my nand flash

2009-11-30 Thread Peter Pan
The previous u-boot version I use is U-boot 1.2.0, an ancient version. So I upgrade the u-boot to 2009-08. The platform is MPC8247. About build warnings, some warnings in printf for not proper type, and yes, I get the 64-bit printf warning : nand_util.c:45:2: warning: #warning Please define CONFIG

Re: [U-Boot] I can not read Linux image from my nand flash

2009-11-30 Thread Scott Wood
On Fri, Nov 27, 2009 at 08:14:41PM +0800, Peter Pan wrote: > My u-boot version is u-boot-2009-08. > In my U-boot, after I entered "nboot 80 0 0", > the following messages shows: > > Loading from NAND 1GiB 3,3V 8-bit, offset 0x0 >Image Name: Linux-2.6.22.sac.rd >Image Type: PowerPC

[U-Boot] I can not read Linux image from my nand flash

2009-11-27 Thread Peter Pan
My u-boot version is u-boot-2009-08. In my U-boot, after I entered "nboot 80 0 0", the following messages shows: Loading from NAND 1GiB 3,3V 8-bit, offset 0x0 Image Name: Linux-2.6.22.sac.rd Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size:1045865 Bytes = 102