* [U-Boot-Users] u-boot size and boot issue
@ 2007-01-02 23:01 mitsy
2007-01-03 0:43 ` Jerry Van Baren
0 siblings, 1 reply; 2+ messages in thread
From: mitsy @ 2007-01-02 23:01 UTC (permalink / raw)
To: u-boot
Hello list,
I have mips board (au1550) and I'm having issues booting the board on
its own when the u-boot size gets larger than 256k. It will boot fine
when it's connected to BDI.
What am I doing wrong? I've been trying to figure out where I need to
make a change to support u-boot with larger size since as long as the
size if smaller than 256k, it works just fine.
Any suggestion will be greatly appreciated.
Thank you so much for your help.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] u-boot size and boot issue
2007-01-02 23:01 [U-Boot-Users] u-boot size and boot issue mitsy
@ 2007-01-03 0:43 ` Jerry Van Baren
0 siblings, 0 replies; 2+ messages in thread
From: Jerry Van Baren @ 2007-01-03 0:43 UTC (permalink / raw)
To: u-boot
mitsy wrote:
> Hello list,
>
> I have mips board (au1550) and I'm having issues booting the board on
> its own when the u-boot size gets larger than 256k. It will boot fine
> when it's connected to BDI.
>
> What am I doing wrong? I've been trying to figure out where I need to
> make a change to support u-boot with larger size since as long as the
> size if smaller than 256k, it works just fine.
>
> Any suggestion will be greatly appreciated.
>
> Thank you so much for your help.
Hi Mitsy,
Disclaimer: I am not a MIPS expert so I may be all wet...
My first guess is that you've allocated 256Kbytes worth of flash (2
blocks at 128K each? 4 blocks at 64K each?) and so, when your image is
more than 256K, you spill out of the allocated blocks and have a damaged
image. It may be as simple as erasing and programming more than 256K.
After erasing your u-boot image, what is at the 256K mark? Hopefully
all 0xFFs (erased).
Another possibility is if you put your environment variables in a fixed
location at the 256K mark, when your image exceeds 256K, the first time
you do an env save command you will damage your image. This shouldn't
happen, but...
Best regards,
gvb
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-03 0:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-02 23:01 [U-Boot-Users] u-boot size and boot issue mitsy
2007-01-03 0:43 ` Jerry Van Baren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox