Linux boot启动串口出现乱码,使用 am335x-evm-sdk-src-02.00.01.07 的源码,UBOOT阶段使用LCD控制器后,内核启动串口控制台输出乱码。...

具体是这样的

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- omap2plus_defconfig

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage LOADADDR=0x80008000

U-Boot SPL 2013.10 (Jul 07 2016 - 15:54:56)

U-Boot 2013.10 (Jul 07 2016 - 15:54:56)

I2C: ready

DRAM: 256 MiB

NAND: 0 MiB

MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1

*** Error - No Valid Environment Area found

*** Warning - bad CRC, using default environment

Net: not set. Validating first E-fuse MAC

cpsw, usb_ether

Hit any key to stop autoboot: 0

U-Boot#

U-Boot# setenv ipaddr 201.123.116.138

U-Boot# setenv serverip 201.123.116.13

U-Boot# tftp $loadaddr uImage

link up on port 0, speed 100, full duplex

Using cpsw device

TFTP from server 201.123.116.13; our IP address is 201.123.116.138

Filename 'uImage'.

Load address: 0x80200000

Loading: #################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#########################

292 KiB/s

done

Bytes transferred = 4117408 (3ed3a0 hex)

U-Boot# bootm $loadaddr

## Booting kernel from Legacy Image at 80200000 ...

Image Name: Linux-3.12.10-ti2013.12.01

Image Type: ARM Linux Kernel Image (uncompressed)

Data Size: 4117344 Bytes = 3.9 MiB

Load Address: 80008000

Entry Point: 80008000

Verifying Checksum ... OK

Loading Kernel Image ... OK

Starting kernel ...

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值