SylixOS嵌入式操作系统|论坛

标题: 通过uboot如何引导编译好的sylixos [打印本页]

作者: 我爱下载    时间: 2016-6-14 14:38
标题: 通过uboot如何引导编译好的sylixos
我编译了mini2440的bspmini2440.bin,我通过uboot将bin文件下载到ram的起始地址,然后跳转到起始地址,不能正确引导出现如下错误: 这是怎么回事
## Starting application at 0x30000000 ...API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_SemaphoreMPend() error: semaphore handle invalidate.
in thread "t_boot" context.
API_SemaphoreMPost() error: semaphore handle invalidate.
in thread "t_boot" context.
API_SemaphoreMPend() error: semaphore handle invalidate.
in thread "t_boot" context.
API_SemaphoreMPost() error: semaphore handle invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.
API_IosWrite() error: file descriptor invalidate.
in thread "t_boot" context.


作者: sylixos    时间: 2016-6-23 09:01
t_boot 内核线程还没有到初始化标准文件描述符时,崩溃了, 你把内核 log 在启动参数中打开,看看内核初始化到哪里出现了错误。klog=yes
作者: 我爱下载    时间: 2016-6-24 09:47
我在编译uboot的时候,发现地址30001000是uboot的全局变量存储地址,当我下载编译后的镜像文件时把这段全局变量地址给覆盖了,我修改了bspmini2440的内存起始地址为30010000跳过前面一段地址后,问题得到解决,可以正常启动了。
作者: 我爱下载    时间: 2016-6-24 09:48
sylixos 发表于 2016-6-23 09:01
t_boot 内核线程还没有到初始化标准文件描述符时,崩溃了, 你把内核 log 在启动参数中打开,看看内核初始 ...

谢谢回复




欢迎光临 SylixOS嵌入式操作系统|论坛 (https://bbs.sylixos.com/) Powered by Discuz! X3.2