2008-04-01 04:25:33 Is it a bug?
new kernel (CHINA)
Message: 53434 After booting uClinux, I try ftp application to target board.
When I type "ls " in /bin DIR, there is a Exception in board.
My board is BF536. I get uClinux and toolchain from svn.
Host :
230- Have a lot of fun...
230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd ../bin
250 CWD command successful.
ftp> ls
500 'EPSV': command not understood.
227 Entering Passive Mode (172,26,10,233,145,136)
421 Service not available, remote server has closed connection.
###################################################333
Starting Kernel at = 166000
Linux version 2.6.22.16-ADI-2008R1-svn (josh@IBM-sh) (gcc version 4.1.2 (ADI svn)) #3 PREEMPT Fri Mar 14 12:43:17 CST 2008
Hardware Trace Off and Disabled
Warning: limiting memory to 15MB due to hardware anomaly 05000263
Blackfin support (C) 2004-2007 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 300 MHz core clock and 100 MHz System Clock
Board Memory: 16MB
Kernel Managed Memory: 16MB
Memory map:
text = 0x00001000-0x00113080
rodata = 0x00114000-0x001577dc
data = 0x00158000-0x00166000
stack = 0x00158000-0x0015a000
init = 0x00166000-0x00178000
bss = 0x00178000-0x00186fb0
available = 0x00186fb0-0x00eff000
DMA Zone = 0x00f00000-0x01000000
Instruction Cache Enabled
Data Cache Enabled (write-through)
Built 1 zonelists. Total pages: 3802
Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2 console=ttyBF0,115200 mtdparts=BF5xx-Flash:512k(uboot),1024k(kernel)
,15104k(jffs2)
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 64 (order: 6, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory available: 13444k/16384k RAM, (72k init code, 1096k kernel code, 391k data, 1024k dma, 360k reserved)
Blackfin Scratchpad data SRAM: 4 KB
Blackfin Data A SRAM: 16 KB (9 KB free)
Blackfin Data B SRAM: 16 KB (16 KB free)
Blackfin Instruction SRAM: 48 KB (39 KB free)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_init(): registering device resources
Generic PHY: Registered new driver
NET: Registered protocol family 2}
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
JFFS2 version 2.2. 2001-2006 Red Hat, Inc.
io scheduler noop registered (default)
FPGALoader Init major:250
fpgaregio Init
signal init
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 20) is a BFIN-UART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
SMSC LAN83C185: Registered new driver
bfin_mac_mdio: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:00, irq=-1, mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)
bfin_mac: Version 1.1, Blackfin BF53[67] BF527 on-chip Ethernet MAC driver
BF5xx flash: probing 16-bit flash bus
BF5xx-Flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
BF5xx-Flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
GHS FLASH was initalized already
Using static partition definition
Creating 3 MTD partitions on "BF5xx-Flash":
0x00000000-0x00080000 : "Bootloader"
0x00080000-0x00180000 : "Kernel1"
0x00180000-0x00e80000 : "JFFS2"
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Mounted root (jffs2 filesystem).
Freeing unused kernel memory: 72k freed
dma_alloc_init: dma_page @ 0x00eb2000 - 256 pages at 0x00f00000
_____________________________________
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://docs.blackfin.uclinux.org/
/ \.___.d| .' - http://www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - http://www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.4.1 (2008-03-05 15:03:31 CST) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/dev> NULL pointer access (probably)
Defered Exception context
CURRENT PROCESS:
COMM=ftpd PID=99
TEXT = 0x00c80040-0x00c90760 DATA = 0x00c90764-0x00c95584
BSS = 0x00c95584-0x00ca7a04 USER-STACK = 0x00ca9f30
return address: [0x00c8b4b6]; contents of:
0x00c8b490: 0a1d 67e7 e140 00c9 300f e100 53fc e300
0x00c8b4a0: 019b 3228 e140 00c9 e100 5400 e300 0a0e
0x00c8b4b0: 0c45 180a b9f0 [9228] 0c45 183d e801 0000
0x00c8b4c0: 3045 05b5 0010 e14a 00ca e10a 7708 b9f0
SEQUENCER STATUS: Not tainted
SEQSTAT: 00000027 IPEND: 0030 SYSCFG: 0006
HWERRCAUSE: 0x0
EXCAUSE : 0x27
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x00cd8000> /* unknown address */
RETX: <0x00c8b4b6> [ ftpd + 0xb476 ]
RETS: <0x00c8b4b0> [ ftpd + 0xb470 ]
PC : <0x00c8b4b6> [ ftpd + 0xb476 ]
DCPLB_FAULT_ADDR: <0x00000014> /* Maybe null pointer? */
ICPLB_FAULT_ADDR: <0x00c8b4b6> [ ftpd + 0xb476 ]
PROCESSOR STATE:
R0 : 0000000c R1 : 001fa174 R2 : 0000000c R3 : 001fa17c
R4 : 00ca95e0 R5 : 00ca963c R6 : 00000005 R7 : 00ca8464
P0 : 000000c0 P1 : 00ca9644 P2 : 001fa17c P3 : 00ca84b4
P4 : 00ca95dc P5 : 00000014 FP : 00ca8468 SP : 00cd7f24
LB0: 00c8a473 LT0: 00c8a460 LC0: ffffffff
LB1: 00c895e1 LT1: 00c895e0 LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000000 I0 : 00caaed4
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 00ca9d2c
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000000
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00000000
A0.w: 00000000 A0.x: 00000000 A1.w: 00000000 A1.x: 00000000
USP : 00ca844c ASTAT: 02002000
Stack from 00cd7f04:
00000000 00ca8468 ffa007d0 ff8016ac ff8016ac 04000021 00000000 00c86662
00c8b4b6 00000030 00000027 00000000 00cd8000 00c8b4b6 00c8b4b6 00c8b4b0
0000000c 02002000 00c895e1 00c8a473 00c895e0 00c8a460 00000000 ffffffff
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00ca9d2c 00caaed4 00ca844c 00ca8468 00000014 00ca95dc
Call Trace:
QuoteReplyEditDelete
2008-04-01 06:26:37 Re: Is it a bug?
Yi Li (CHINA)
Message: 53443 are you using the release kernel/toolchain? I tried and the ftpd works well:
"230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd ../bin
250 CWD command successful.
ftp> ls
200 PORT command sucessful.
150 Opening ASCII mode data connection for '/bin/ls'.
lrwxrwxrwx 1 root root 7 Jan 1 2007 [ -> busybox
lrwxrwxrwx 1 root root 7 Jan 1 2007 [[ -> busybox
"
QuoteReplyEditDelete
2008-04-01 06:32:22 Re: Is it a bug?
new kernel (CHINA)
Message: 53444 I m using 2008r1-rc2 now.
QuoteReplyEditDelete
2008-04-01 11:05:22 Re: Is it a bug?
Mike Frysinger (UNITED STATES)
Message: 53464 do not use rc2, it was never officially released