From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roman Kolesnikov Date: Tue, 13 Jun 2006 06:49:59 -0700 Subject: [U-Boot-Users] Using at91 with a different parallel flash, request for help In-Reply-To: <20060613070511.AAD25353C1B@atlas.denx.de> References: <20060613070511.AAD25353C1B@atlas.denx.de> Message-ID: <448EC287.4030409@randrlabs.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello everyone, I have been testing my driver, and I ofund that my driver writes litttle endian. I have not found so far, how I can set UBoot to read little endian from the flash. However, that is the trouble in my case. This is also the reason why I can load Uboot from flash, but nothing past uboot can be retrieved or saved without any corruption. I am not sure, where I can find more information about the little-endian or big-endian settings. Please advice, Thanks in advance, Roman Wolfgang Denk wrote: >In message <448E475F.90705@randrlabs.com> you wrote: > > >>I copy uboot 1.1.4(low level present) into flash at 10000000 >>I reset with external boot juped >>uboot 1.1.4 loads fine >>I saveenv >>I reboot >>I get errors about crc and stdin,out and error >>I do printenv, I get 65K of . >>At this point I see that my env variables are corrupted. >> >> > >So either the configuration in your board config file is wrong, and >does not match the layout of your image, and/or your flash driver is >broken. > > > >>Somehow my data is corrupted. But why and how does the original uboot >>saved to flash is loading fine? >> >> > >So probably your flash driver is broken. > >Best regards, > >Wolfgang Denk > > >