2008-03-31 03:14:46 if the 2008r1_rc8 work under bf537-stamp board ??
w w (CHINA)
Message: 53349
I have some questions when I using the 2008r1_rc8 under bf537-stamp board.
when I compiled the smc91x , the flash can not be found, and the system can not boot.
no smc91x:
in the linux-2.6.x/.config file, if the option CONFIG_SMC91X is not set(# CONFIG_SMC91X is not set) , the system can boot successfully, it's like this:
bfin_mac: Version 1.1, Blackfin BF53[67] BF527 on-chip Ethernet MAC driver
physmap platform flash device: 00400000 at 20000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
Using physmap partition information
Creating 3 MTD partitions on "physmap-flash.0":
0x00000000-0x00020000 : "Bootloader"
0x00020000-0x00180000 : "Kernel"
0x00180000-0x00400000 : "RootFS"
bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, r
egs_base@ffc00500, dma channel@7
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Setting up Blackfin MMR debugfs
rtc-bfin rtc-bfin: setting the system clock to 1970-01-01 00:50:02 (3002)
VFS: Mounted root (jffs2 filesystem).
Freeing unused kernel memory: 108k freed
dma_alloc_init: dma_page @ 0x00189000 - 256 pages at 0x03f00000
/////////
compiled smc91x:
in file linux-2.6.x/.config , the option CONFIG_SMC91X is set(CONFIG_SMC91X=y), the system can not boot, it's like this:
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
SMSC LAN83C185: Registered new driver
smc91x: not found (-19).
bfin_mac_mdio: probed
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, m
dc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)
bfin_mac: Version 1.1, Blackfin BF53[67] BF527 on-chip Ethernet MAC driver
physmap platform flash device: 00400000 at 20000000
physmap-flash physmap-flash.0: Could not reserve memory region
physmap-flash: probe of physmap-flash.0 failed with error -12
bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, r
egs_base@ffc00500, dma channel@7
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting the system clock to 1970-01-01 00:36:10 (2170)
VFS: Cannot open root device "mtdblock2" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
/////////////////////
what's the matter? the flash and the smc91x both can not be found. Can you help me ? thank you !!
QuoteReplyEditDelete
2008-03-31 11:08:29 Re: if the 2008r1_rc8 work under bf537-stamp board ??
Mike Frysinger (UNITED STATES)
Message: 53371 why are you enabling CONFIG_SMC91X ? that driver is not for using the SMSC PHY that is hooked up the Blackfin MAC, it is for a SMC MAC/PHY hooked up to the async bank