[#4791] reserver memory on bf533 stamp fails
Submitted By: Mingquan Pan
Open Date
2009-01-09 05:58:46 Close Date
2009-01-09 06:31:22
Priority:
Medium Assignee:
Nobody
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:
Assigned (Not Start)
Uboot version or rev.:
Toolchain version or rev.:
Nov 11
App binary format:
N/A
Summary: reserver memory on bf533 stamp fails
Details:
reserver memory on bf533 stamp fails.
U-Boot 2008.10-svn1496 (ADI-2009R1-pre) (Dec 3 2008 - 12:16:52)
CPU: ADSP bf533-0.3 (Detected Rev: 0.3)
Board: ADI BF533 Stamp board
Support: blackfin.uclinux.org/
Clock: VCO: 497.664 MHz, Core: 497.664 MHz, System: 99.532 MHz
RAM: 128 MB
Fl
RAM size is 128 MB.
ash: 4 MB
In: serial
Out: serial
Err: serial
Net: MAC: F2:06:01:61:68:B5
Hit any key to stop autoboot: 0
bfin> set bootargs root=/dev/mtdblock0 rw mem=32M max_mem=64M
bfin> set serverip 10.100.4.174
bfin> set ipaddr 10.100.4.50
bfin> save
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
. done
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
bfin> tftpboot 0x2000000 linux
Using MAC Address F2:06:01:61:68:B5
TFTP from server 10.100.4.174; our IP address is 10.100.4.50
Filename 'linux'.
Load address: 0x2000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##################
done
Bytes transferred = 5022453 (4ca2f5 hex)
Image size is 4ca2f5
bfin> run addip
bfin> bootelf
Loading phdr 0 to 0x00001000 (1414084 bytes)
Loading phdr 1 to 0x00168808 (3000008 bytes)
Loading phdr 2 to 0x00444ed0 (6692 bytes)
Loading phdr 3 to 0x004468f4 (192 bytes)
## Starting application at 0x00183180 ...
Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5955 (test@uclinux75-bf533-stamp-wb) (gcc version 4.1.2 (ADI svn)) #65 Fri Jan 9 05:22:52 CST 2009
Warning: limiting memory to 56MB due to hardware anomaly 05000263
Board Memory: 128MB
Kernel Managed Memory: 128MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x0010af30
rodata = 0x0010af30-0x0015a3c4
bss = 0x0015a3d0-0x00168808
data = 0x00168808-0x00178000
stack = 0x00176000-0x00178000
init = 0x00178000-0x00447000
available = 0x00447000-0x037ff000
DMA Zone = 0x07f00000-0x08000000
Hardware Trace Active and Enabled
Reset caused by Software reset
Blackfin support (C) 2004-2008 Analog Devices, Inc.
Compiled for ADSP-BF533 Rev 0.3
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 497 MHz core clock and 99 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-back)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14223
Kernel command line:
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
bfin-rtc: invalid date; resetting
console [ttyBF0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 52380k/131072k RAM, (2876k init code, 1063k kernel code, 437k data, 1024k dma, 73292k reserved)
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 (15 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 64 KB (57 KB free)
PDA for CPU0 reserved at 0015b0bc
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_init(): registering device resources
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 102
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
Serial: Blackfin serial driver
bfin-uart.1: 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: f2:06:01:61:68:b5
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 18:08:37 UTC (65317)
Freeing unused kernel memory: 2876k freed
dma_alloc_init: dma_page @ 0x00444000 - 256 pages at 0x07f00000
_____________________________________
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.13.2 (2009-01-08 17:34:37 CST) built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/>
************** STEP 3: Starting test.
cat /proc/meminfo
MemTotal: 55256 kB
Mem
Case 1 ...PASS
Case 2 ...FAIL
Follow-ups
--- Mingquan Pan 2009-01-09 06:31:22
Sorry, this is because the parameters are not passed in. It is ok by using
uImage. Close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found