[#5705] build default kernel with fdpic app fails to boot up on bf533 stamp sometimes
Submitted By: Mingquan Pan
Open Date
2009-11-19 04:07:42 Close Date
2010-06-11 04:37:04
Priority:
Medium Assignee:
Barry Song
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Category:
N/A Board:
N/A
Processor:
BF533 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Duplicate
Uboot version or rev.:
Toolchain version or rev.:
4.3.4 (ADI-trunk/svn-3679)
App binary format:
N/A
Summary: build default kernel with fdpic app fails to boot up on bf533 stamp sometimes
Details:
build default kernel with fdpic app fails to boot up on bf533 stamp sometimes. This is frequently seen after using 4.3 toolchain on regression machine from the begining of Nov.
bfin> bootm
## Booting kernel from Legacy Image at 01000000 ...
Image Name: bf533-2.6.31.6-ADI-2010R1-pre-sv
Created: 2009-11-19 23:20:17 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 3505309 Bytes = 3.3 MB
Load Address: 00001000
Entry Point: 00186554
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 00186554
Linux version 2.6.31.6-ADI-2010R1-pre-svn7848 (test@uclinux76-bf533-stamp-elf) (gcc version 4.3.4 (ADI-trunk/svn-3679) ) #135 Thu Nov 19 16:20:03 MST 2009
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Limiting kernel memory to 56MB due to anomaly 05000263
Board Memory: 128MB
Kernel Managed Memory: 128MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x0010b760
rodata = 0x0010b760-0x0015dc8c
bss = 0x0015e000-0x0016e9f4
data = 0x0016e9f4-0x0017e000
stack = 0x0017c000-0x0017e000
init = 0x0017e000-0x006e3000
available = 0x006e3000-0x037ff000
DMA Zone = 0x07f00000-0x08000000
Hardware Trace Active and Enabled
Boot Mode: 0
Reset caused by Software reset
Blackfin support (C) 2004-2009 Analog Devices, Inc.
Compiled for ADSP-BF533 Rev 0.3
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 497 MHz core clock and 82 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14223
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart0,57600 console=ttyBF0,57600
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 49720k/131072k RAM, (5524k init code, 1065k kernel code, 459k data, 1024k dma, 73280k reserved)
NR_IRQS:49
Configuring Blackfin Priority Driven Interrupts
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Calibrating delay loop... 991.23 BogoMIPS (lpj=1982464)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 64 KB (52 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
stamp_init(): registering device resources
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
msgmni has been set to 97
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 21) is a BFIN-UART
brd: module loaded
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@cam.org>
eth0: SMC91C11xFD (rev 1) at 20300300 IRQ 40 [nowait]
eth0: Ethernet addr: 00:e0:22:fe:04:da
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@5
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-01-01 00:02:02 UTC (122)
eth0: link down
IP-Config: Guessing netmask 255.0.0.0
IP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.0.0.0, gw=255.255.255.255,
host=10.100.4.50, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
Freeing unused kernel memory: 5524k freed
dma_alloc_init: dma_page @ 0x0205f000 - 256 pages at 0x07f00000
Last passed time: 2009_Nov_08_20_29, ucdist ver: 9127, kernel ver: 7765
Case 1 ...FAIL
Follow-ups
--- Barry Song 2009-12-14 22:49:41
Duplicate with [#5748] and [#5739]?
In fact, linux has startup normally, but UART dies, we can telnet the board and
check the interrupts:
root@roc-desktop:~/develop/svn/uclinux-dist# telnet 10.99.29.118
Trying 10.99.29.118...
Connected to 10.99.29.118.
Escape character is '^]'.
BusyBox v1.15.2 (2009-12-15 11:20:03 CST) hush - the humble shell
root:/> cat /proc/interrupts
6: 88410 CORE Blackfin CoreTimer
14: 1 INTN rtc-bfin
21: 0 INTN BFIN_UART_RX
22: 4537 INTN BFIN_UART_TX
40: 283 GPIO eth0
NMI: 0 CORE Non Maskable Interrupt
Err: 0
BFIN_UART_RX is always 0 no matter how many bytes are inputed in console.
When disabling DMA mode for UART, all get normal:
IP-Config: Gateway not on directly connected network.
Freeing unused kernel memory: 5608k freed
_____________________________________
a8888b. / Welcome to the uClinux distribution \
d888888b. / _ _ \
8P"YP"Y88 / | | |_| __ __ (TM) |
8|o||o|88 _____/ | | _ ____ _ _ \ \/ / |
8' .88 \ | | | | _ \| | | | \ / |
8`._.' Y8. \ | |__ | | | | | |_| | / \ |
d/ `8b. \ \____||_|_| |_|\____|/_/\_\ |
dP . Y8b. \ For embedded processors including |
d8:' " `::88b \ the Analog Devices Blackfin /
d8" 'Y88b \___________________________________/
:8P ' :888
8a. : _a88P For further information, check out:
._/"Yaa_: .| 88P| - http://blackfin.uclinux.org/
\ YP" `| 8P `. - http://deth0: link up, 100Mbps,
full-duplex, lpa 0x45E1
ocs.blackfin.uclinux.org/
/ \.___.d| .' - http://www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - http://www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.15.2 (2009-12-15 11:20:03 CST) hush - the humble shell
root:/> ls
bin etc init mnt root sys usr
dev home lib proc sbin tmp var
root:/> cat /proc/interrupts
6: 15280 CORE Blackfin CoreTimer
14: 1 INTN rtc-bfin
21: 25 INTN BFIN_UART_RX
22: 1549 INTN BFIN_UART_TX
40: 11 GPIO eth0
NMI: 0 CORE Non Maskable Interrupt
Err: 0
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found