2009-03-18 08:57:02     updating uboot, unsure which file to use & another odd problem

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

2009-03-18 08:57:02     updating uboot, unsure which file to use & another odd problem

Seán McLemon (BRITISH INDIAN OCEAN TERRITORY)

Message: 71204   

 

I was trying to load kernel onto the STAMP board I'm using, but U-boot didn't have the dhcp command suggested in the "downloading to the target" article and I wasn't having much luck setting the ip settings manually. I thought I might as well update U-Boot, since apparently version (1.1.3) was not very up-to-date and the most recent - 1.1.6 I believe - might address any potential problems, and at very least reset U-boot to a usable state.

 

The trouble is that I wasn't clear which image in the Files section of the Blackfin Koop I should use. There are at least 5 which seem appropriate (I hadn't considered building from source):

 

    u-boot-bf533-stamp-bypass-2008R1.5.bin

    u-boot-cm-bf533-para-2008R1.5.ldr

    u-boot-bf533-stamp-para-2008R1.5.ldr

    u-boot-cm-bf533-bypass-2008R1.5.bin

    u-boot-bf533-stamp-spi-2008R1.5.ldr

 

I naively picked the first, and loaded it up but it seems to be trying to tftp a uClinux image and load it up, rather than loading the image stored in flash. If I cancel this, and enter "dhcp" at the "bfin >" prompt U-Boot attempts to tftp this image across still. Did I pick the wrong U-Boot? Is there an article which describes what the purpose each file is?

 

Here's the output (boot the board, it tries to download an image. I cancel this, run dhcp so we can get an ip address, it tries to download an image again...). Hopefully someone can explain what is happening, and why it's overly keen on tftp'ing an image.

 

U-Boot 1.1.6-svn1273 (ADI-2008R1.5) (Jul 21 2008 - 00:31:11)

 

CPU:   ADSP bf533-0.3 (Detected Rev: 0.3)

Board: ADI BF533 Stamp board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 398 MHz, Core: 398 MHz, System: 79 MHz

RAM:   128 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   SMC91111 at 0x20300300

MAC:   00:E0:22:FE:05:20

Hit any key to stop autoboot:  0

TFTP from server 10.37.33.44; our IP address is 192.168.0.15; sending through ga

teway 192.168.0.1

Filename 'uImage'.

Load address: 0x1000000

Loading: T T T T T T

Abort

bfin> dhcp

BOOTP broadcast 1

BOOTP broadcast 2

DHCP client bound to address 10.37.33.81

TFTP from server 10.37.33.18; our IP address is 10.37.33.81

Filename 'uImage'.

Load address: 0x1000000

Loading: T T

 

QuoteReplyEditDelete

 

 

2009-03-18 14:30:16     Re: updating uboot, unsure which file to use & another odd problem

Mike Frysinger (UNITED STATES)

Message: 71215   

 

the documentation explains exactly what each file is for:

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:release-notes:2008r1.5

 

as for the behavior you describe, you probably want to do `set autoload no` on the board

Attachments

Outcomes