Quantcast
Channel: 达芬奇(Davinci™) - 最近的话题
Viewing all articles
Browse latest Browse all 3112

dm385 kernel 中console 配置问题

$
0
0

uboot 中serial配置:

           /*
           * select serial console configuration
           */
           #define CONFIG_SERIAL1 3
           #define CONFIG_CONS_INDEX 3
           #define CONFIG_SYS_CONSOLE_INFO_QUIET

uboot 可以正常启动,启动后设置bootagrs 如下:

           setenv bootargs 'console=ttyO2,115200n8 rootwait=1 rw ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs init=/init mem=80M vram=4M                          notifyk.vpssm3_sva=0xBFD00000 ip=192.168.1.168 cmemk.phys_start=0x85000000 cmemk.phys_end=0x89000000 cmemk.allowOverlap=1 eth=00:0c:0c:a0:02:b2 earlyprintk'

           setenv bootcmd 'mmc rescan 0; fatload mmc 0 0x81000000 uImage; bootm 0x81000000'

           boot

boot后可以正常下载uImage,校验通过 ,但是串口输出停留在 start kernel ...  led灯也正常闪烁,  怀疑是kernel中console 配置错误,但是在board-dm385ipnc.h中未找到serial相关的 端口 频率 gpio使能等配置,请问具体配置一般在什么文件下面?


Viewing all articles
Browse latest Browse all 3112

Latest Images

Trending Articles