[U-Boot-Users] Using at91 with a different parallel flash, request for help
Roman Kolesnikov
romank at randrlabs.com
Tue Jun 13 15:49:59 CEST 2006
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 at 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
>
>
>
More information about the U-Boot
mailing list