2008-05-06 12:01:41     Problem upgrading uBoot / problem using uBoot !

Document created by Aaronwu Employee on Sep 18, 2013
Version 1Show Document
  • View in full screen mode

2008-05-06 12:01:41     Problem upgrading uBoot / problem using uBoot !

Ian Jeffray (UNITED KINGDOM)

Message: 55574   

 

I'm attempting to run the latest blackfin linux kernel on a BF537-STAMP board; really not progressing well.

 

The kernel built just fine with the latest blackfin toolchain, but when I attempt to run it from uBoot, I get:

 

U-Boot-1.1.3-ADI-R06R2 (Jan 31 2007 - 14:53:40)

...snip...

bf537> loadb 0x1000000

## Ready for binary (kermit) download to 0x01000000 at 57600 bps...

## Total Size      = 0x000d2214 = 860692 Bytes

## Start Addr      = 0x01000000

bf537> bootm 0x1000000

## Booting image at 01000000 ...

   Image Name:   Linux-2.6.24.5-ADI-2008R2-pre-sv

   Created:      2008-05-06  13:29:38 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    860628 Bytes = 840.5 kB

   Load Address: 00001000

   Entry Point:  00170000

   Verifying Checksum ... Bad Data CRC

bf537>

 

I understand the CRC error could be caused due to the old version of uBoot, so I checked out the sources and built the latest 1.1.6, but that fails to do a soft test when I download the uboot.bin to RAM:

 

bf537> loadb 0x1000000

## Ready for binary (kermit) download to 0x01000000 at 57600 bps...

## Total Size      = 0x0001f1e0 = 127456 Bytes

## Start Addr      = 0x01000000

bf537> go 0x1000000

## Starting application at 0x01000000 ...

U-Boot-1.1.3-ADI-R06R2 (Jan 31 2007 - 14:53:40)

 

Clearly this has just re-run the existing uboot, not my fresh download.

 

I'd appreciate any suggestions for either of these problems.  Thanks.

QuoteReplyEditDelete

 

 

2008-05-06 12:27:09     Re: Problem upgrading uBoot / problem using uBoot !

Mike Frysinger (UNITED STATES)

Message: 55575   

 

turn off cache before doing the 'go' with the dcache/icache commands

QuoteReplyEditDelete

 

 

2008-05-07 04:09:40     Re: Problem upgrading uBoot / problem using uBoot !

Ian Jeffray (UNITED KINGDOM)

Message: 55598   

 

Many thanks for the reply Mike.

 

Unfortunately this doesn't appear to have solved my issue.

 

No change with the CRC error on the kernel, but that may still be expected with the older uBoot as I understand it.

 

It has changed the behaviour of "go" however - now it simply hangs after the "## Starting application at 0x01000000 ..." message.   So it does look like the caches have changed some behaviour, but not in a way which actually gets me running a new uBoot, sadly.

 

 

QuoteReplyEditDelete

 

 

2008-05-07 04:20:20     Re: Problem upgrading uBoot / problem using uBoot !

Mike Frysinger (UNITED STATES)

Message: 55604   

 

just write the 2008R1 bypass.bin into flash and reset the board ... it should work fine

 

if it does brick things, recovering is trivial since we have ldr's you can boot over the uart ... no need for jtag

QuoteReplyEditDelete

 

 

2008-05-07 11:32:43     Re: Problem upgrading uBoot / problem using uBoot !

Ian Jeffray (UNITED KINGDOM)

Message: 55613   

 

Bizarrely this turned out to be a broken KERMIT implementation in my serial console app!

 

With that sorted, I was able to upload the 2008R1 bypass.bin and then the kernel CRC'd fine and boots.

 

Now it seems to have nuked my JFFS though.

Attachments

    Outcomes