|
搞了好久了,终于跑起来了。记得从2012年就开始照着官方文档做移植,只怪当时道行太浅,一直卡在hard fault这,后来实在不知道问题出在哪就放弃了,如今再捡起来,终于如愿。
- platform Initialisation finished jumping to kernel.
- Linux version 2.6.26-uc0 (root@huyl) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-163) ) #1 Sat May 20 17:59:10 CST 2017
- 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)
- Memory: 1MB 0MB = 1MB total
- Memory: 980KB available (368K code, 54K 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 07:00:37 UTC (25237)
- Freeing init memory: 8K
- Welcome to
- ____ _ _
- / __| ||_|
- _ _| | | | _ ___ _ _ _ _
- | | | | | | || | _ \| | | |\ \/ /
- | |_| | |__| || | | | | |_| |/ \
- | ___ \____|_||_|_| |_|\____|\_/\_/
- | |
- |_|
- For further information check:
- http://www.uclinux.org/
- http://www.st.com/stm32
- / #
- / # ls
- bin dev etc linuxrc proc sys
- / # ls dev/
- console gpioF6 gpioF7 gpioF8 gpioF9 ram rtc ttyS
- / # ls sys/
- / # ls proc/
- / #
复制代码 |
|