[#4569] kernel build with nand on bf527 ezkit board boots up fails
Submitted By: Mingquan Pan
Open Date
2008-10-29 02:21:18 Close Date
2008-10-31 05:36:25
Priority:
Medium Assignee:
Bryan Wu
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
N/A Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Not reproducible
Uboot version or rev.:
Toolchain version or rev.:
Oct 10
App binary format:
N/A
Summary: kernel build with nand on bf527 ezkit board boots up fails
Details:
kernel build with nand on bf527 ezkit board boots up fails on trunk now.
bfin> bootelf
Loading .text @ 0x00001000 (1234416 bytes)
Loading .rodata @ 0x0012e600 (322620 bytes)
Loading .init.rodata @ 0x0017d23c (156 bytes)
Loading __ksymtab @ 0x0017d2d8 (16176 bytes)
Loading __ksymtab_gpl @ 0x00181208 (5304 bytes)
Loading __ksymtab_strings @ 0x001826c0 (47874 bytes)
Loading __init_rodata @ 0x0018e1c4 (172 bytes)
Loading __param @ 0x0018e270 (600 bytes)
Clearing .bss @ 0x0018e4e0 (59628 bytes)
Loading .data @ 0x0019cdcc (70196 bytes)
Loading .init.text @ 0x001ae000 (99972 bytes)
Loading .init.data @ 0x001c6684 (20520 bytes)
Loading .init.setup @ 0x001cb6ac (628 bytes)
Loading .initcall.init @ 0x001cb920 (508 bytes)
Loading .con_initcall.init @ 0x001cbb1c (4 bytes)
Loading .init.ramfs @ 0x001cbb20 (3097388 bytes)
Loading .text_l1 @ 0xffa00000 (5524 bytes)
sh_addr: FFA00000, p_paddr: 004BFE4C
Loading from: 024B2000 to 004BFE4C, size: 5524
Loading .data_l1 @ 0xff800000 (224 bytes)
sh_addr: FF800000, p_paddr: 004C13E0
Loading from: 024B4000 to 004C13E0, size: 224
## Starting application at 0x001bb420 ...
Linux version 2.6.26.5-ADI-2009R1-pre-svn5459 (test@uclinux60-bf527-std) (gcc version 4.1.2 (ADI svn)) #49 Tue Oct 21 13:49:48 CST 2008
console [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x0012e5f0
rodata = 0x0012e600-0x0018e4c8
bss = 0x0018e4e0-0x0019cdcc
data = 0x0019cdcc-0x001ae000
stack = 0x001ac000-0x001ae000
init = 0x001ae000-0x004c2000
available = 0x004c2000-0x03eff000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Reset caused by Software reset
Blackfin support (C) 2004-2008 Analog Devices, Inc.
Compiled for ADSP-BF527 Rev 0.0
ERROR: Not running on ADSP-BF527: unknown CPUID 0x27e0 Rev 0.0
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 525 MHz core clock and 131 MHz System Clock
NOMPU: setting up cplb tables for global access
Instruction Cache Enabled
Data Cache Enabled (write-through)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16001
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf527-ezkit:eth0:off
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console handover: boot [early_BFuart0] -> real [ttyBF0]
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 59056k/65536k RAM, (3152k init code, 1205k kernel code, 511k data, 1024k dma, 584k reserved)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (15 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (42 KB free)
net_namespace: 192 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_init(): registering device resources
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, pio, host, debug=0
musb_hdrc: USB Host mode controller at ffc03800 using PIO, IRQ 59
musb_hdrc musb_hdrc.0: MUSB HDRC host driver
musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
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
yaffs Oct 21 2008 13:48:37 Installing.
msgmni has been set to 115
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
bfin-t350mcqb: 320x240 24-bit RGB FrameBuffer initializing...
dma_alloc_init: dma_page @ 0x03a2a000 - 256 pages at 0x03f00000
bfin-otp: initialized
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART
brd: module loaded
BF5xx on-chip NAND FLash Controller Driver, Version 1.2 (c) 2007 Analog Devices, Inc.
bf5xx-nand bf5xx-nand.0: page_size=256, data_width=8, wr_dly=3, rd_dly=3
NAND device: Manufacturer ID: 0x20, Chip ID: 0xdc (ST Micro NAND 512MiB 3,3V 8-bit)
No oob scheme defined for oobsize 256
Hardware Trace:
0 Target : <0x00004514> { _dump_bfin_trace_buffer + 0x0 }
Source : <0x000b66e6> { _nand_scan_tail + 0x392 } CALL pcrel
1 Target : <0x000b66e6> { _nand_scan_tail + 0x392 }
Source : <0x0000e482> { _printk + 0x16 } RTS
2 Target : <0x0000e47e> { _printk + 0x12 }
Source : <0x0000ed2c> { _vprintk + 0x1bc } RTS
3 Target : <0x0000ed20> { _vprintk + 0x1b0 }
Source : <0xffa00ba2> { __common_int_entry + 0xca } RTI
4 Target : <0xffa00b40> { __common_int_entry + 0x68 }
Source : <0xffa009a2> { _return_from_int + 0x4e } RTS
5 Target : <0xffa009a2> { _return_from_int + 0x4e }
Source : <0xffa00982> { _return_from_int + 0x2e } IF !CC JUMP
6 Target : <0xffa00954> { _return_from_int + 0x0 }
Source : <0xffa00b3c> { __common_int_entry + 0x64 } CALL pcrel
7 Target : <0xffa00b3a> { __common_int_entry + 0x62 }
Source : <0xffa002ec> { _asm_do_IRQ + 0x6c } RTS
8 Target : <0xffa002e4> { _asm_do_IRQ + 0x64 }
Source : <0x0001247a> { __local_bh_enable + 0x3e } RTS
9 Target : <0x0001243c> { __local_bh_enable + 0x0 }
Source : <0x0001255a> { ___do_softirq + 0x96 } JUMP.L
10 Target : <0x00012552> { ___do_softirq + 0x8e }
Source : <0x00012530> { ___do_softirq + 0x6c } IF !CC JUMP
11 Target : <0x00012524> { ___do_softirq + 0x60 }
Source : <0x0002c324> { ___rcu_process_callbacks + 0xac } RTS
12 Target : <0x0002c31e> { ___rcu_process_callbacks + 0xa6 }
Source : <0x0002c2ca> { ___rcu_process_callbacks + 0x52 } IF !CC JUMP
13 Target : <0x0002c2c4> { ___rcu_process_callbacks + 0x4c }
Source : <0x0002c34e> { ___rcu_process_callbacks + 0xd6 } IF CC JUMP
14 Target : <0x0002c34a> { ___rcu_process_callbacks + 0xd2 }
Source : <0x0002c2b6> { ___rcu_process_callbacks + 0x3e } IF !CC JUMP
15 Target : <0x0002c2ae> { ___rcu_process_callbacks + 0x36 }
Source : <0x0002c29c> { ___rcu_process_callbacks + 0x24 } IF !CC JUMP
BUG: failure at drivers/mtd/nand/nand_base.c:2464/nand_scan_tail()!
Kernel panic - not synkernel panic detected... trying to recover from it
Follow-ups
--- Bryan Wu 2008-10-30 05:09:40
I cannot reproduce this bug on latest svn trunk with bf527-0.2 silicon
---
Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5523 (roc@roc-desktop) (gcc version
4.1.2 (ADI svn)) #9 Thu Oct 30 16:38:49 CST 2008
console [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x00138a80
rodata = 0x00138a80-0x00197c2c
bss = 0x00197c40-0x001aba18
data = 0x001aba18-0x001c0000
stack = 0x001be000-0x001c0000
init = 0x001c0000-0x00894000
available = 0x00894000-0x03eff000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Blackfin support (C) 2004-2008 Analog Devices, Inc.
Compiled for ADSP-BF527 Rev 0.2
ERROR: Not running on ADSP-BF527: unknown CPUID 0x27e0 Rev 0.2
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 525 MHz core clock and 131 MHz System Clock
NOMPU: setting up cplb tables for global access
Instruction Cache Enabled
Data Cache Enabled (write-through)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16001
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600
console=tty0 console=ttyBF0,57600
ip=192.168.0.66:192.168.0.55:192.168.0.1:255.255.255.0:bf527-ezkit:eth0:off
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x25
console [tty0] enabled
console handover: boot [early_BFuart0] -> real [ttyBF0]
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 55140k/65536k RAM, (6992k init code, 1246k kernel code, 542k
data, 1024k dma, 588k reserved)
Calibrating delay loop... 1044.48 BogoMIPS (lpj=2088960)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (15 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (42 KB free)
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_init(): registering device resources
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, pio, host, debug=0
musb_hdrc: USB Host mode controller at ffc03800 using PIO, IRQ 59
musb_hdrc musb_hdrc.0: MUSB HDRC host driver
musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
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 107
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
bfin-t350mcqb: 320x240 24-bit RGB FrameBuffer initializing...
dma_alloc_init: dma_page @ 0x03ab5000 - 256 pages at 0x03f00000
Console: switching to colour frame buffer device 40x30
bfin-otp: initialized
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART
brd: module loaded
BF5xx on-chip NAND FLash Controller Driver, Version 1.2 (c) 2007 Analog
Devices, Inc.
bf5xx-nand bf5xx-nand.0: page_size=256, data_width=8, wr_dly=3, rd_dly=3
NAND device: Manufacturer ID: 0x20, Chip ID: 0xdc (ST Micro NAND 512MiB 3,3V
8-bit)
Creating 2 MTD partitions on "NAND 512MiB 3,3V 8-bit":
0x00000000-0x00400000 : "linux kernel(nand)"
0x00400000-0x20000000 : "file system(nand)"
bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Controller Driver, Version 1.0,
regs_base@ffc00500, dma channel@7
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 2014-12-02 11:45:32 UTC
(1417520732)
IP-Config: Device `eth0' not found.
Freeing unused kernel memory: 6992k 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| - blackfin.uclinux.org/
\ YP" `| 8P `. - docs.blackfin.uclinux.org/
/ \.___.d| .' - www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.12.1 (2008-10-30 16:07:30 CST) built-in shell (msh)
Enter 'help' for a list of built-in commands.
---
-Bryan
--- Mingquan Pan 2008-10-31 06:36:29
Yeah, it looks the updates these days fixes this. It is ok on trunk head.Close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found