[#4551] kernel build with write back policy fails to be booted up now
Submitted By: Mingquan Pan
Open Date
2008-10-20 06:29:02 Close Date
2008-10-21 00:04:53
Priority:
Medium Assignee:
Mike Frysinger
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:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
Oct 10
App binary format:
N/A
Summary: kernel build with write back policy fails to be booted up now
Details:
kernel build with write back policy fails to be booted up from about Oct 15 on both BF533 STAMP and BF537-STAMP.
It stops at :
## Starting application at 0x001882a0 ...
Linux version 2.6.26.5-ADI-2009R1-pre-svn5444 (test@uclinux73-bf537-stamp-wb) (gcc version 4.1.2 (ADI svn)) #199 Mon Oct 20 18:22:06 CST 2008
console [early_BFuart0] enabled
early printk enabled on early_BFuart0
Warning: limiting memory to 56MB due to hardware anomaly 05000263
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x00108d00
rodata = 0x00108d00-0x0015a764
bss = 0x0015a780-0x00168ad8
data = 0x00168ad8-0x0017a000
stack = 0x00178000-0x0017a000
init = 0x0017a000-0x004fa000
available = 0x004fa000-0x037ff000
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-BF537 Rev 0.2
Warning: Unsupported Chip Revision ADSP-BF537 Rev 0.2 detected
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 100 MHz System Clock
NOMPU: setting up cplb tables for global access
Instruction Cache Enabled
Data Cache Enabled (write-back)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14223
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600
Configuring Blackfin Priority Driven Interrupts
...
brd: module loaded
bfin_mac_mdio: probed
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
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)
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-01-01 00:07:19 UTC (439)
Freeing unused kernel memory: 3584k freed
dma_alloc_init: dma_page @ 0x004f6000 - 256 pages at 0x03f00000
No prompt shows up.
And if changes back to write through policy, it boots ok.
Follow-ups
--- Mike Frysinger 2008-10-20 10:07:07
i think i know what this is ...
--- Mike Frysinger 2008-10-20 15:34:27
the dcache/icache function that only gets used in writeback mode was putting
IFLUSH as the last instruction in the hardware loop ... we know from design that
this may often lead to inifite core stalling, so switch the FLUSH/IFLUSH order
should be fixed in trunk now
--- Mingquan Pan 2008-10-21 00:04:53
Yes,close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found