|
0. 开发板型号: TL138/6748/1808F-EasyEVM-A2, 开发版启动模式模式为SD卡启动1 Z! w y) w0 @+ y6 \* [1 e( e# ~2 Q
0 ^0 F6 d( I% ]: x
1. 在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin; _2 N. `! t \2 C [' h7 n/ S4 h) W
! N! L( D* ^6 D: K( o) m5 Z7 O
2. 把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版$ q* B# K$ T! T8 O; ~
4 ?+ d, i4 F# v1 Q ] c3. SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式6 o# K6 E9 g4 _& \7 ]
, j0 O& h1 R3 ~; W8 {& f5 X
uboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为: setenv ethaddr 00:0c:29:bc:7e:9a):+ v- R$ z1 [; Z/ U+ f9 T7 ?0 A
/ b. y" M9 E: V( [
setenv uboot_macaddr 10 D+ W3 I- S5 C4 H @$ f9 ^# h
setenv ethaddr 00:0c:29:bc:7e:9a ) G$ @9 D1 U$ x6 n' K* K G
setenv serverip 192.168.2.192# C0 N/ ?/ A. d7 G
setenv ipaddr 192.168.2.1913 r( |) ^9 U& F& k H/ C3 q. e: o3 [3 R
; A- F1 V+ z8 N2 S3 w6 Abootcmd=tftp c0700000 zImage;bootz c0700000
8 ^, t- t6 @$ u. V; H( g
2 `; ]& [4 @) ]- d' gbootargs=eth=00:0c:29:bc:7e:9a nfsroot=192.168.2.192:/opt/omapl138/linux-sdk/targetNFS, nolock rw console=ttyS2,115200n8 ip=dhcp root=/dev/nfs; j+ h" b( k# m% R. P: V
( t7 G9 A7 {# k4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):; L& J" r) ^' Q. ~* a
, ^- h4 U! l: g2 `: R' k, }boot命令后的完整启动信息:4 V' j! `& u {3 W' u$ [+ }5 q! l) K
; P8 o$ b+ z1 S/ {=> boot+ {7 X+ I2 I& P y7 V
Using DaVinci-EMAC device" Y0 n9 F, a7 e7 l q
TFTP from server 192.168.2.192; our IP address is 192.168.2.191
0 }& Y& A3 b/ NFilename 'zImage'.5 m9 b! S- D5 [& W2 i
Load address: 0xc0700000
* U. q. c, D8 M- n8 ?9 CLoading: #################################################################
0 v# T% r# H# T( x8 [ #################################################################
2 z# E% c0 f% h# q ################################
a4 ^4 B2 c. I3 G 288.1 KiB/s4 |1 \, P2 m& X" E, s. U
done
* f% |9 C" a% ]+ \Bytes transferred = 2367360 (241f80 hex) F8 B: c3 u+ }3 N# J* ?/ S
: C9 J$ K* F. N
Starting kernel ...4 E: S& C; b& F- c, d3 N( l7 T
8 [/ i6 S) O5 A3 I9 Z1 x
Uncompressing Linux... done, booting the kernel.
: C% I4 L: t- p' l3 R8 c; t- PBooting Linux on physical CPU 0x0
+ p8 [3 R/ l! ]& C- r. aLinux version 4.9.28-geed43d1050 (gtbldadm@ubuntu-16) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 PREEMPT Wed Jun 28 17:47:16 EDT 2017/ n! r7 y$ I; P: K+ u4 s
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
& p% \2 m+ s) W. f( o3 G3 `CPU: VIVT data cache, VIVT instruction cache( |) g. ?& a, D0 B. _
Machine: AM18x/OMAP-L138 Hawkboard
5 N- ^. {) s7 @$ Y( E$ Yda8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified
6 |9 d+ K' x* C8 Q# y5 b 'nn' and 'address' must both be non-zero
2 ` f, C) Q# |5 \- M e9 ?cma: Reserved 16 MiB at 0xc6c00000, u, _$ y& r$ Q9 }/ T
Memory policy: Data cache writethrough
. u8 d6 E7 i9 ]) y1 M6 _% SDaVinci da850/omap-l138/am18x variant 0x11 G6 i$ `1 b( ]8 G
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 324804 @! Q: f" N, T) a( N% F0 f
Kernel command line: eth=00:0c:29:bc:7e:9a nfsroot=192.168.2.192:/opt/omapl138/linux-sdk/targetNFS, nolock rw console=ttyS2,115200n8 ip=dhcp root=/dev/nfs! u' t, I" t; b: a5 \4 n2 Q
PID hash table entries: 512 (order: -1, 2048 bytes)
3 b6 I9 n2 k0 X. j- g# v; eDentry cache hash table entries: 16384 (order: 4, 65536 bytes)( g, K- T$ [9 U- N
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)8 v' l! F3 j; q; p/ I: j
Memory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)# p; Y/ b( a. N) U8 |/ ?
Virtual kernel memory layout:/ a2 y6 K, e* w3 K
vector : 0xffff0000 - 0xffff1000 ( 4 kB)5 o6 M/ P6 y2 w5 j0 x
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)' ~1 I2 A) N, x
vmalloc : 0xc8800000 - 0xff800000 ( 880 MB)6 D* d9 T9 ~ l
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
! q" d9 E: q1 A5 A o modules : 0xbf000000 - 0xc0000000 ( 16 MB)
. h6 G3 V3 [: V6 m' _4 Y {% a .text : 0xc0008000 - 0xc0474b38 (4531 kB)
; V6 [- u! D: l) E6 ?0 m0 K0 [ .init : 0xc05ed000 - 0xc0626000 ( 228 kB)1 I2 I" N1 c" j
.data : 0xc0626000 - 0xc0673110 ( 309 kB)9 K0 Q6 K$ O Y5 @/ \! `6 }' f: S2 g
.bss : 0xc0673110 - 0xc069bc08 ( 163 kB)9 v( D9 Z/ m$ M8 T
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1$ `' D& X- a! C2 h8 P g) Y. p% n6 F
Preemptible hierarchical RCU implementation.% k' v$ c! R. r" t
Build-time adjustment of leaf fanout to 32.
9 j, `* O8 a$ k4 zNR_IRQS:245
, |6 Q3 C( B, |# X& Vclocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns1 J- V" y1 _4 L5 m: H8 T/ A( Q
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
7 X; V1 }6 }$ I: kConsole: colour dummy device 80x308 m. W0 g/ y* }7 F; @9 A/ x
Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
* ]' y$ P% y) x3 Zpid_max: default: 32768 minimum: 301! B9 w% |$ B) }7 h8 L* {0 B7 z4 i0 V
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)' e& H }, ~% T. m' O# H1 v
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)5 U! P" [1 _2 A
CPU: Testing write buffer coherency: ok3 [0 a! P2 ]2 E+ D J+ h. X8 ^
Setting up static identity map for 0xc0008400 - 0xc0008458, ^. @2 U% C& t2 R; _
devtmpfs: initialized
# ~9 Z+ |2 V: P7 [. }VFP support v0.3: not present6 S$ X8 H6 [" y# e( S
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
: p5 ?2 y4 s* q$ R% q; e1 ~futex hash table entries: 256 (order: -1, 3072 bytes)- r3 O6 h8 p$ F: L% J" d* T _
pinctrl core: initialized pinctrl subsystem
6 ~% \* @ p' {. z/ N3 QNET: Registered protocol family 16
+ v: E/ K5 V/ z' R2 M+ }DMA: preallocated 256 KiB pool for atomic coherent allocations
( O; I- m$ }* w: y0 \9 ]) Tcpuidle: using governor ladder- |) l: T5 o# I' C
cpuidle: using governor menu
9 J0 X3 I1 Z; [- [+ f# S3 N. w5 x! ZEMAC: MII PHY configured( f9 {+ Z. B' ?( t
mux: initialized GPIO3_12
" U3 j& z4 q; @) N0 `9 a) Cmux: Setting register GPIO3_12
6 A, j$ t' X" w+ t) B5 r" kmux: PINMUX7 (0x0000001c) = 0x00110110 -> 0x001181109 Q; V( e; r+ X" A$ s7 }
mux: initialized GPIO3_134 Y4 W! B( d9 |6 ]! Z2 F
mux: Setting register GPIO3_136 T% z& O! P% A h) P( a
mux: PINMUX7 (0x0000001c) = 0x00118110 -> 0x00118810% X9 @6 ^& E* o7 }9 Q" `1 a. \
mux: initialized GPIO2_4
& Y) ?, ?8 E: }; Q5 K% i: U4 Mmux: Setting register GPIO2_40 C) q, b5 p9 D% B8 I
mux: PINMUX6 (0x00000018) = 0x00000000 -> 0x000080009 s- ]+ D, L3 K/ C, _+ t$ B% \# k
mux: initialized GPIO6_130 g$ a' B! l3 f* P: U* D& Z, u; Y
mux: Setting register GPIO6_13- P* b0 d1 [/ a( n6 B$ f+ c3 O
mux: PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800
0 J4 Z$ G; y) sda8xx_register_rproc: memory not reserved for DSP, not registering DSP device1 F8 U3 A3 K- u5 _5 g1 R% h
omapl138_hawk_init: dsp/rproc registration failed: -12
3 t, O1 ?6 p1 y2 S8 m8 q! |1 D$ \edma edma.0: Legacy memcpy is enabled, things might not work% d- K6 K: s0 Q4 o: u, _
edma edma.0: TI EDMA DMA engine driver `$ o$ w4 _# ~
edma edma.1: Legacy memcpy is enabled, things might not work5 o" u) ~( _, @- T
edma edma.1: TI EDMA DMA engine driver0 h) J5 J6 m8 D P F' j
clocksource: Switched to clocksource timer0_1# i V) z( e& ]& W; T0 G2 A3 V
NET: Registered protocol family 2
6 F& T$ Q% ]. _TCP established hash table entries: 1024 (order: 0, 4096 bytes)
5 c# r0 D& m$ E6 K6 H1 _# _TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
3 t: O( k& C5 ^2 Y7 fTCP: Hash tables configured (established 1024 bind 1024)
% b- e6 ~, U5 Q0 K& gUDP hash table entries: 256 (order: 0, 4096 bytes)
% z+ f8 h" G% f2 wUDP-Lite hash table entries: 256 (order: 0, 4096 bytes)" W* K% y; A6 Z. a) V8 v8 G8 `
NET: Registered protocol family 18 j/ m5 w5 t" Q! {% @# r# l! z( r
RPC: Registered named UNIX socket transport module.: d4 U) d) I9 {/ T' z* u
RPC: Registered udp transport module.
- y/ j+ @8 c2 M: W; lRPC: Registered tcp transport module.. X0 H3 V- o6 d
RPC: Registered tcp NFSv4.1 backchannel transport module.4 B) @( t: F8 I$ S7 q* x
workingset: timestamp_bits=14 max_order=15 bucket_order=1
6 \( \7 a, F$ Y* T* K `9 p2 lBlock layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
' ^7 X! w: d2 `7 j) L v8 {io scheduler noop registered (default)
& s+ @/ v! B! r2 X) f. _ |, [Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled$ ~/ r2 q* g1 T+ p0 ]+ J
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A0 `, M0 x% Y6 l/ r# O
serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A
" Q0 {9 v1 S5 r7 o+ }serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A
; g+ _ P( i* R7 m, d2 iconsole [ttyS2] enabled* }, t- p% y7 E: @0 [3 o/ l
brd: module loaded
+ {7 k# ~2 P) G, flibphy: Fixed MDIO Bus: probed4 _( \+ e5 q, L. Q7 e# o
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5( {, J" h' b, `9 `- v
davinci_mdio davinci_mdio.0: detected phy mask fffffffe
( G, r) P5 c8 Q* \; v/ h; dlibphy: davinci_mdio.0: probed9 u9 \' a, } S% d
davinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN8720' v6 f* q2 j6 {3 C ~8 C
i2c /dev entries driver
A6 S* [2 d1 r5 W9 k* vdavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
" r! c. V8 n; E! }$ i% _davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.19 R7 f o( ~+ z/ V4 S
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode
6 o# d/ k/ V6 b9 F4 \9 R }NET: Registered protocol family 10
: E: n! o( o% |8 {$ D* Msit: IPv6, IPv4 and MPLS over IPv4 tunneling driver( x1 m: P; y- f
NET: Registered protocol family 17
* J) G+ J$ m0 K8 V, I6 d/ ]console [netcon0] enabled
4 p) T. M/ v% ^2 ]netconsole: network logging started9 d2 p: v9 Q1 C$ l# e
davinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89
, }) y$ r6 [, w" Bhctosys: unable to open rtc device (rtc0)
' n' m% r C$ \* X$ M; w Glibphy: PHY davinci_mdio-0:07 not found
" k. d/ i3 S2 J3 I. Znet eth0: could not connect to phy davinci_mdio-0:07
0 ^/ O/ n$ U7 c: YIP-Config: Failed to open eth02 y( s% S& a/ h. [% P
IP-Config: No network devices available, J9 q2 i, a w( e4 |2 G
mmc0: host does not support reading read-only switch, assuming write-enable
7 k$ V7 Q; B' q y% C, v6 B+ O+ nmmc0: new high speed SDHC card at address 59b4
5 N) S) t7 `8 {- [mmcblk0: mmc0:59b4 SS08G 7.41 GiB A7 g- k+ D' K! z
mmcblk0: p1 p26 f9 `7 G n$ j0 v
) |) O D1 A9 F! F3 f* }- n c/* 此处等待了一段时间 */
* g$ ]1 m8 a" J$ v, d. `
0 C, H- v- N, T( {* hrandom: fast init done" d: r& b. r/ l2 w) Y( o7 ?" K; m1 ^
VFS: Unable to mount root fs via NFS, trying floppy." } ?8 e7 `/ o+ E
VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6; |. q: @ |' q, ?
Please append a correct "root=" boot option; here are the available partitions:0 p' s5 {9 s J* h+ s4 P5 `2 d
0100 32768 ram0 (driver?)
" r0 ~+ W$ q6 P5 _5 A; Tb300 7764992 mmcblk0 driver: mmcblk$ F/ r% Q0 {/ H* c! m1 o1 [ p8 q5 H
b301 71680 mmcblk0p1 cd4e1bc4-01 A: I( B# P ]9 @ n
b302 7675904 mmcblk0p2 cd4e1bc4-02
9 D% |7 [* c! n# V* eKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block, B9 @$ x2 s+ k+ |
: t8 n! @( J. R8 \7 M1 o, a
6 V& J+ Z5 V2 ^6 V |
|