* [U-Boot] timing issue - uboot freeze after pringing header
@ 2013-02-15 16:45 John Stile
2013-02-18 3:06 ` Bo Shen
0 siblings, 1 reply; 3+ messages in thread
From: John Stile @ 2013-02-15 16:45 UTC (permalink / raw)
To: u-boot
I am trying to move from uboot-1.3.6 to uboot 2013.01, where the old
works, the new prints this before freezing:
U-Boot 2013.01 (Feb 14 2013 - 16:24:13)
CPU: AT91SAM9G20
Crystal frequency: 18.432 MHz
CPU clock : 396.288 MHz
Master clock : 132.096 MHz
My board is the at91sam9g20ek_2mmc.
at91bootstrap-1.1.6 loads uboot.
I am trying both nandflash and dataflash versions, using
include/configs/at91sam9260ek.h
Messing with settings I have got it back to a state of not printing
anything.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] timing issue - uboot freeze after pringing header
2013-02-15 16:45 [U-Boot] timing issue - uboot freeze after pringing header John Stile
@ 2013-02-18 3:06 ` Bo Shen
2013-02-19 21:12 ` John Stile
0 siblings, 1 reply; 3+ messages in thread
From: Bo Shen @ 2013-02-18 3:06 UTC (permalink / raw)
To: u-boot
Hi John,
On 02/16/2013 12:45 AM, John Stile wrote:
> I am trying to move from uboot-1.3.6 to uboot 2013.01, where the old
> works, the new prints this before freezing:
>
> U-Boot 2013.01 (Feb 14 2013 - 16:24:13)
>
> CPU: AT91SAM9G20
> Crystal frequency: 18.432 MHz
> CPU clock : 396.288 MHz
> Master clock : 132.096 MHz
>
> My board is the at91sam9g20ek_2mmc.
> at91bootstrap-1.1.6 loads uboot.
Please update the at91bootstrap to new version.
You can get the it from: git://github.com/linux4sam/at91bootstrap.git
using tag: v3.5.2
or master branch
For new bootstrap, the memory map for NAND flash has changed. More
information:
http://www.at91.com/linux4sam/bin/view/Linux4SAM/GettingStarted#Linux4SAM_NandFlash_demo_Memory
So, you need flash u-boot to 0x40000 address, and change u-boot env as
the memory map (I will send patches for this later).
Best Regards,
Bo Shen
> I am trying both nandflash and dataflash versions, using
> include/configs/at91sam9260ek.h
>
> Messing with settings I have got it back to a state of not printing
> anything.
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] timing issue - uboot freeze after pringing header
2013-02-18 3:06 ` Bo Shen
@ 2013-02-19 21:12 ` John Stile
0 siblings, 0 replies; 3+ messages in thread
From: John Stile @ 2013-02-19 21:12 UTC (permalink / raw)
To: u-boot
Hello Bo Shen,
On Mon, 2013-02-18 at 11:06 +0800, Bo Shen wrote:
> Hi John,
>
> On 02/16/2013 12:45 AM, John Stile wrote:
> > I am trying to move from uboot-1.3.6 to uboot 2013.01, where the old
> > works, the new prints this before freezing:
> >
> > U-Boot 2013.01 (Feb 14 2013 - 16:24:13)
> >
> > CPU: AT91SAM9G20
> > Crystal frequency: 18.432 MHz
> > CPU clock : 396.288 MHz
> > Master clock : 132.096 MHz
> >
> > My board is the at91sam9g20ek_2mmc.
> > at91bootstrap-1.1.6 loads uboot.
>
> Please update the at91bootstrap to new version.
> You can get the it from: git://github.com/linux4sam/at91bootstrap.git
> using tag: v3.5.2
> or master branch
>
> For new bootstrap, the memory map for NAND flash has changed. More
> information:
> http://www.at91.com/linux4sam/bin/view/Linux4SAM/GettingStarted#Linux4SAM_NandFlash_demo_Memory
>
> So, you need flash u-boot to 0x40000 address, and change u-boot env as
> the memory map (I will send patches for this later).
>
> Best Regards,
> Bo Shen
>
> > I am trying both nandflash and dataflash versions, using
> > include/configs/at91sam9260ek.h
> >
> > Messing with settings I have got it back to a state of not printing
> > anything.
I was wrong. it isn't a timing issue.
In at91boostrap, I specified the wrong IMG_SIZE, and specifying the
correct size solved the problem. I had only copied part of the binary
to SDRAM, which lead to the program sometimes showing the initial banner
before crashing.
In my situation, I use buildroot-2011.11, which downloads at91boostrap
from: ftp://www.at91.com/pub/at91bootstrap/ version
AT91Bootstrap1.16.zip, and though updates are the available I have
modified my st91boostrap and uboot, so upgrades are not so simple.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-02-19 21:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-15 16:45 [U-Boot] timing issue - uboot freeze after pringing header John Stile
2013-02-18 3:06 ` Bo Shen
2013-02-19 21:12 ` John Stile
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox