[#5223] Latest kernel in 09r1 branch fails to boot in UART boot mode on bf548/bf518f

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

[#5223] Latest kernel in 09r1 branch fails to boot in UART boot mode on bf548/bf518f

Submitted By: Vivi Li

Open Date

2009-06-09 06:29:50     Close Date

2009-06-22 05:57:34

Priority:

Medium High     Assignee:

Sonic Zhang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

BF548     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

toolchain4.1-09r1-rc7

App binary format:

N/A     

Summary: Latest kernel in 09r1 branch fails to boot in UART boot mode on bf548/bf518f

Details:

 

Latest kernel in 09r1 branch fails to boot in UART boot mode on bf548-ezkit.

 

Bellow is the log:

--

test@Linux123-ViviLi:~> bfin-uclinux-ldr -l /tftpboot/u-boot.ldr /dev/ttyS0 && kermit -l /dev/ttyS0 -b 57600 -C connect

Loading LDR /tftpboot/u-boot.ldr ... OK!

Opening /dev/ttyS0 ... OK!

Configuring terminal I/O ... OK!

Trying to send autobaud ... OK!

Trying to read autobaud ... OK!

Checking autobaud ... OK!

Autobaud result: 115200bps 49.766mhz (header:0xBF DLL:0x1B DLH:0x00 fin:0x00)

Sending blocks of DXE 1 ... [12/12] (100%)[board said: ?€?€?€?€ff?€??t?`x]

[board said: ?`???????f????àf??????à]

[board said: ?x]

[board said: €ff?~]

[board said: `fx~fx]

[board said: ??~]

[board said: €?`f€???f?????`à????x?€?€]

[board said: ??f~]

[board said: ??????f?à?????f??t??xt??€?€?t????~]

[board said: ?????xf????]

[board said: ??xf????]

[board said: ?f€?€f]

[board said: ?]

[board said: ????`?~]

[board said: ??€?€t?f~???fxf???€?€f?????~]

[board said: ??fxf???€?€??f~??f?€?~]

[board said: ~f~x?`f?~`?€??€]

[board said: ?x??????]                                                                                             OK!

You may want to run minicom or kermit now

Quick tip: run 'ldr <ldr> <tty> && minicom'

Connecting to /dev/ttyS0, speed 57600

Escape character: Ctrl-\ (ASCII 28, FS): enabled

Type the escape character followed by C to get back,

or followed by ? to see other options.

----------------------------------------------------

 

bfin> printenv

bootargs=root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600

bootcmd=run ramboot

bootdelay=5

baudrate=57600

loads_echo=1

autoload=no

rootpath=/romfs

netmask=255.255.255.0

hostname=bf548-ezkit

loadaddr=0x1000000

ubootfile=u-boot.ldr

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase 0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

nfsargs=set bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

ipaddr=10.100.4.50

serverip=10.100.4.174

gatewayip=10.100.4.174

ethaddr=00:e0:22:fe:bd:b0

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 1016/8188 bytes

bfin> tftp 0x1000000 uImage

smc911x: initializing

smc911x: detected LAN9218 controller

smc911x: phy initialized

smc911x: MAC 00:e0:22:fe:bd:b0

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'uImage'.

Load address: 0x1000000

Loading: T #################################################################

         ################################################

done

Bytes transferred = 1656576 (194700 hex)

bfin> bootm

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   Linux-2.6.28.10-ADI-2009R1-svn66

   Created:      2009-06-09  17:00:12 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    1656512 Bytes =  1.6 MB

   Load Address: 00001000

   Entry Point:  0019b824

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 0019b824

Linux version 2.6.28.10-ADI-2009R1-svn6600 (test@uboot31-548ezkit) (gcc version 4.1.2 (ADI svn)) #68 Tue Jun 9 17:00:06 GMT 2009

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0010c360

  rodata    = 0x0010c360-0x00160e48

  bss       = 0x00161000-0x00172fac

  data      = 0x00172fac-0x00186000

    stack   = 0x00184000-0x00186000

  init      = 0x00186000-0x002d8000

  available = 0x002d8000-0x03dff000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 7?

--

 

Follow-ups

 

--- Vivi Li                                                  2009-06-11 03:11:35

The same bug happens on BF518F-EZBRD.

 

--- Sonic Zhang                                              2009-06-15 02:50:24

Get bfin_swrst value from SYSCR instead of SWRST only after double fault failure

method is configured properly.

 

--- Vivi Li                                                  2009-06-22 05:57:34

OK now. Close this bug.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes