我使用的是beaglebonebsp更改,只把串口msh串口改成uart0,还有HEAP_BEGIN 设置成为 (void*)0x88000000
它不进main线程,msh也没有运行,调试代码如下。
OK335X# mmcinfo
Device: OMAP SD/MMC
Manufacturer ID: 0
OEM: 3432
Name: SD16G
Tran Speed: 25000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 14.9 GiB
Bus Width: 4-bit
OK335X# fatload mmc 0 0x80200000 rtthread.bin
reading rtthread.bin
196308 bytes read
OK335X# go 0x80200000
## Starting application at 0x80200000 ...
\ | /
- RT - Thread Operating System
/ | \ 4.0.3 build Jan 14 2021
2006 - 2021 Copyright by rt-thread team
start scheduler: max priority 0x20
main:2048,10malloc size 128
thread (NULL) take sem:heap, which value is: 1
thread (NULL) releases sem:heap, which value is: 0
allocate memory at 0x8800000c, size: 140
malloc size 2048
thread (NULL) take sem:heap, which value is: 1
thread (NULL) releases sem:heap, which value is: 0
allocate memory at 0x88000098, size: 2060
startup a thread:main with priority:10
thread resume: main
insert thread[main], the priority: 10
startup a thread:tidle0 with priority:31
thread resume: tidle0
insert thread[tidle0], the priority: 31
remove thread[main], the priority: 10
meiyou o