[U-Boot] Need help to get u-boot running on the taskit stamp9g20

Markus Hubig mhubig at imko.de
Wed Jul 18 15:21:00 CEST 2012


On Fri, Jul 13, 2012 at 01:04:46AM +0200, Andreas Bießmann wrote:
> On 12.07.12 17:49, Markus Hubig wrote:
> > On Thu, Jul 12, 2012 at 11:28:13AM +0200, Andreas Bießmann wrote:
> >> On 11.07.2012 21:28, Markus Hubig wrote:
> >>> Now I'm in the process of adapting this patch to the new u-boot. Up to now
> >>> I can compile a u-boot.bin and download it to the board. But after starting up
> >>> the new u-boot I just see this on the serial port
> >>>
> >>> ---8<------------------------------------------
> >>> U-Boot 2012.04.01-00001-gadcb359-dirty (Jul 11 2012 - 19:24:58)
> >>>
> >>> CPU: AT91SAM9G20
> >>> Crystal frequency:   18.432 MHz
> >>> CPU clock        :  396.288 MHz
> >>> Master clock     :  132.096 MHz
> >>> DRAM:  64 MiB
> >>> WARNING: Caches not enabled
> >>> NAND:  RomBOOT
> >>> ---8<------------------------------------------
> >>
> >> So something went wrong in nand_init()? Two things you should do:
> >>  a) as Wolfgung suggested previously: disable the Watchdog

Hmm OK I disabled the watchdog and enabled debugging and now this
is what I get at the first boot after flashing:

| RomBOOT
| 
| 
| U-Boot 2012.04.01-00003-gab465ef-dirty (Jul 18 2012 - 15:08:22)
| 
| U-Boot code: 23F00000 -> 23F30130  BSS: -> 23F71E28
| CPU: AT91SAM9G20
| Crystal frequency:   18.432 MHz
| CPU clock        :  396.288 MHz
| Master clock     :  132.096 MHz
| Starting dram_init!
| dram_init finished!
| monitor len: 00071E28
| ramsize: 04000000
| Top of RAM usable for U-Boot at: 24000000
| Reserving 455k for U-Boot at: 23f8e000
| Reserving 640k for malloc() at: 23eee000
| Reserving 36 Bytes for Board Info at: 23eedfdc
| Reserving 144 Bytes for Global Data at: 23eedf4c
| New Stack Pointer is: 23eedf40
| RAM Configuration:
| Bank #0: 20000000 64 MiB
| relocation Offset is: 0008e000
| WARNING: Caches not enabled
| monitor flash len: 00035750
| Starting board_init!
| Starting stamp9G20_nand_hw_init!
| stamp9G20_nand_hw_init finished!
| Starting stamp9G20_macb_hw_init!
| stamp9G20_macb_hw_init finished!
| board_init finished!
| Now running in RAM - U-Boot at: 23f8e000

The red LED is on and I can't input anything.

Starting with the second boot I get stuff like that ...

| HhW,.]Z��.]X[�N�&��+ˋօ�}���хjR4х���:ɂ�兹�}��}���с2���͡���jR4E��ѥ����х���:ɂ
| �Յ��}��}���хjR�stamp9G20_macb_hw_init finished!board_init finished!

Any hints? I stuck here ...

Cheers, Markus


More information about the U-Boot mailing list