完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
大家好,我手上的板子是很早之前做的OMAPL138,原来是Linux-2.6,最近准备升级Linux,在官网下载了ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin进行安装,安装完成后对uboot进行了配置,uboot可以正常启动,但是引导内核时停在了“Starting kernel ...”,板子使用的是UART1作为调试口,NAND Flash,编译过程如下:
make ARCH=ARM CROSS_COMPILE=arm-linux-gnueabi- distclean make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- tisdk_omapl138-lcdk_defconfig make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- zImage make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- da850-lcdk.dtb 然后使用tftp将zImage和dtb文件下载到板子,使用bootz引导时停在“Starting kernel ...”没反应了! 是我编译得不对?还是需要修改其他配置?有没有什么办法能跟踪一下卡在哪里了? 过程如下: NAND: 512 MiB MMC: davinci: 0 In: serial Out: serial Err: serial SF: unrecognized JEDEC id bytes: ff, ff, ff Error - unable to probe SPI flash. Default using MAC address from environment Default using MAC address from environment Net: Expander @ 0x20 write FAILED!!! RMII hardware init failed!!! DaVinci-EMAC Hit any key to stop autoboot: 0 Loading from nand0, offset 0x300000 ** Unknown image type Wrong Image Format for bootm command ERROR: can't get kernel image! U-Boot > tftpboot 0xc0700000 zImage Using DaVinci-EMAC device TFTP from server 172.16.16.50; our IP address is 172.16.16.123 Filename 'zImage'. Load address: 0xc0700000 Loading: ################################################################# ################################################################# ################################ 54.7 KiB/s done Bytes transferred = 2364960 (241620 hex) U-Boot > tftpboot 0xc0B00000 da850-lcdk.dtb Using DaVinci-EMAC device TFTP from server 172.16.16.50; our IP address is 172.16.16.123 Filename 'da850-lcdk.dtb'. Load address: 0xc0b00000 Loading: # 483.4 KiB/s done Bytes transferred = 12880 (3250 hex) U-Boot > bootz 0xc0700000 - 0xc0b00000 ## Flattened Device Tree blob at c0b00000 Booting using the fdt blob at 0xc0b00000 Loading Device Tree to c3e10000, end c3e1624f ... OK Starting kernel ... |
|
相关推荐
4个回答
|
|
再有,现在这个版本bootargs参数传递console应该是console=ttyS1,115200n8还是console=ttyO1,115200n8?
|
|
|
|
asd009 发表于 2018-6-21 16:56 LCDK用的是uart2,你用uart1的话,需要做修改,请参考下面的wiki网站。 http://processors.wiki.ti.com/index.php/Kernel_-_Common_Problems_Booting_Linux#Problem_.231_-_No_more_output_is_seen_on_the_console_after_.22Starting_Kernel....22 |
|
|
|
vuywsdfwf 发表于 2018-6-21 17:04 非常感谢,是这样么? CONFIG_DEBUG_USER=y CONFIG_DEBUG_LL=y CONFIG_DEBUG_DAVINCI_DA8XX_UART1=y # CONFIG_DEBUG_DAVINCI_DA8XX_UART2 is not set # CONFIG_DEBUG_DAVINCI_DMx_UART0 is not set # CONFIG_DEBUG_ICEDCC is not set # CONFIG_DEBUG_SEMIHOSTING is not set # CONFIG_DEBUG_LL_UART_8250 is not set # CONFIG_DEBUG_LL_UART_PL01X is not set CONFIG_DEBUG_LL_INCLUDE="debug/8250.S" CONFIG_DEBUG_UART_8250=y CONFIG_DEBUG_UART_PHYS=0x01d0c000 CONFIG_DEBUG_UART_VIRT=0xfed0c000 CONFIG_DEBUG_UART_8250_SHIFT=2 CONFIG_DEBUG_UART_8250_WORD=y # CONFIG_DEBUG_UART_8250_PALMCHIP is not set # CONFIG_DEBUG_UART_8250_FLOW_CONTROL is not set |
|
|
|
vuywsdfwf 发表于 2018-6-21 17:04 这个版本配置和文档描述好像不一致了,是否是这样配置? Kernel hacking ---> │ │ Kernel low-level debugging port (Kernel low-level debugging on DaVinci DA8XX using UART1) ---> │ │ │ │ (0x01d0c000) Physical base address of debug UART │ │ │ │ (0xfed0c000) Virtual base address of debug UART │ │ │ │ (2) Register offset shift for the 8250 debug UART │ │ │ │ │ │ [ ] 8250 UART is Palmchip BK-310x │ │ │ │ [ ] Enable flow control for 8250 UART │ │ │ │ |
|
|
|
只有小组成员才能发言,加入小组>>
TMS320F28377D:新做了以377d为芯片的板子,上电后芯片复位引脚出现方波请问如何解决?
1910 浏览 0 评论
TPS55340通电后输入端保险丝烧断,芯片输入和GND之间短路
3667 浏览 4 评论
5042 浏览 0 评论
请问如何用DM368对RGB格式的图片数据进行编码生成JPEG格式图片?
1740 浏览 1 评论
9426 浏览 8 评论
CC3100BOOST使用CC3200lunchXL进行烧录
686浏览 2评论
735浏览 1评论
TMS320F28034: 利用C2prog通过SCI给TMS320F28034烧录程序,出现错误提示:Bootloading... failed (invalid echo)!
703浏览 1评论
求DLPC350 Programmer’s Guide User's Guide 中文版说明书
1210浏览 1评论
1794浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-5-13 10:05 , Processed in 0.976846 second(s), Total 86, Slave 69 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号