|
原来的板子启动到一半就死机了,发现是内存不够的原因,只有512K,
这次换了1M的sram就可以了,
启动信息如下:
platform Initialisation finished jumping to kernel.
Linux version 2.6.26-uc0 (stm32@localhost.localdomain) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-163) ) #2 Wed Sep 2 10:09:23 UTC 2009
CPU: ARMv7-M Processor [411fc231] revision 1 (ARMv?(11)M)
Machine: STM3210E-EVAL
SRAM Config: bank[0] @ 0x68000000 (size: 1024KB) - bank[1] @ 0x20000000 (size: 64KB).
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 254
Kernel command line: init=/linuxrc console=ttyS0
PID hash table entries: 16 (order: 4, 64 bytes)
console [ttyS0] enabled
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Bad page state in process 'swapper'
page:68901820 flags:0x00008000 mapping:00000000 mapcount:0 count:0
Trying to fix it up, but a reboot is needed
Backtrace:
Memory: 1MB 0MB = 1MB total
Memory: 980KB available (336K code, 53K data, 8K init)
Mount-cache hash table entries: 512
simple-gpio: now handling 16 GPIOs: 0 - 15
ttyS0 at MMIO 0x40013800 (irq = 37) is a STM32 USART1 Port
rtc-stm3210e_eval rtc-stm3210e_eval.0: rtc core: registered rtc-stm3210e_eval as rtc0
rtc-stm3210e_eval rtc-stm3210e_eval.0: setting system clock to 1970-01-01 00:00:00 UTC (0)
Freeing init memory: 8K
Welcome to
____ _ _
/ __| ||_|
_ _| | | | _ ___ _ _ _ _
| | | | | | || | _ \| | | |\ \/ /
| |_| | |__| || | | | | |_| |/ \
| ___ \____|_||_|_| |_|\____|\_/\_/
| |
|_|
For further information check:
http://www.uclinux.org/
http://www.st.com/stm32
/ #
中间打印一堆空白,不知道为什么
系统不够稳定,有时还是出现kernel panic
由于是从片内flash启动的,最大只有512K,所以没有logo什么的
电路图是拿stm3210e-eval改的
点击此处下载 ourdev_602958HX5VN1.pdf(文件大小:102K) (原文件名:baiweistm3210eboard.pdf)
bootloader和内核是直接烧官方的
点击此处下载 ourdev_602960ELKYHH.zip(文件大小:2.22M) (原文件名:an3012.zip)
我做的板子图片
(原文件名:stm3210e-eval 098.jpg) |
阿莫论坛20周年了!感谢大家的支持与爱护!!
月入3000的是反美的。收入3万是亲美的。收入30万是移民美国的。收入300万是取得绿卡后回国,教唆那些3000来反美的!
|