已经做了一些时间了,移植了linux4.2内核,linux内核源码来自http://www.emcraft.com,但是不同的是uboot自己修改了QSPI接口方式正常烧写、启动引导内核,加载速度速度非常快,加入了驱动有CAN、Ethernet、usart、LCD、SD、WIFI、BT、USB HS host、gpio、button、LED等,希望各位坛友有空一起发帖交流。在上面linux开发程序相当快,跨平台效果好,完成了一个例子:Ethernet转CAN网关简单例子,已经运行起来了,后续继续开发加入协议,如Modbus TCP/RTU、CANOpen等。
## Booting kernel from Legacy Image at c0007fb4 ...
Image Name: Linux-4.2.0
Image Type: ARM Linux Multi-File Image (uncompressed)
Data Size: 8371255 Bytes = 8 MB
Load Address: c0008000
Entry Point: c0008001
Contents:
Image 0: 8347932 Bytes = 8 MB
Image 1: 23311 Bytes = 22.8 kB
Verifying Checksum ... OK
## Flattened Device Tree from multi component Image at C0007FB4
Booting using the fdt at 0xc07fe11c
Loading Multi-File Image ... OK
OK
Loading Device Tree to c1ff7000, end c1fffb0e ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.2.0 (du@ubuntu) (gcc version 4.4.1 (Sourcery G+
+ Lite 2010q1-189) ) #38 PREEMPT Thu Aug 2 14:24:30 CST 2018
[ 0.000000] CPU: ARMv7-M [411fc270] revision 0 (ARMv7M), cr=00000000
[ 0.000000] CPU: WBA data cache, WBA instruction cache
[ 0.000000] Machine model: