| 
 | 
 
0.  开发板型号:  TL138/6748/1808F-EasyEVM-A2, 开发版启动模式模式为SD卡启动! Y! C- P3 v. l& n$ o; ~4 t* j& L! ^ 
 
) a% K% }& B: P- }1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin) W3 J' T) A# @) R 
 
8 f/ M, D1 {0 L$ Y  u2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版 
& H% W/ p* p# ~' ~: @4 d0 a: }0 l8 E- c  S& l 
3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式 
6 W( Y9 f9 R( Q' } 
! `+ [; X! x$ f0 J- wuboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):) s% M( F8 {/ ^4 ?/ i; f 
; T+ A! Q2 u4 b' Y, Y1 f 
setenv uboot_macaddr 1' O" u+ R+ L3 W 
setenv ethaddr 00:0c:29:bc:7e:9a  
8 E' K) x& {1 y% fsetenv serverip 192.168.2.1927 e6 {6 \+ w+ s$ T. ~0 X" ]' h# R( ^ 
setenv ipaddr 192.168.2.191( R' o; Y; x; q8 M' l2 j) F+ q 
 
1 m$ `, |( _9 B( kbootcmd=tftp c0700000 zImage;bootz c07000003 x; z; X' g' f1 \ 
7 K; j9 d* {* q, Z* z- l 
bootargs=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/nfs9 b8 Y0 E9 m$ C4 m% W6 G 
 
# k& v  O2 M$ c# h, Z1 ~4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):7 e( b5 m3 {0 F" K6 c# j- ]: T 
6 N2 y$ A5 F1 x. ~& H2 H 
boot命令后的完整启动信息:$ |) B$ L2 ^0 n3 | 
 
1 w4 l( U3 f7 s0 g# I7 x=> boot3 H- U9 C$ I  T: A5 D* H2 N& R 
Using DaVinci-EMAC device" m' n6 _: H% j* h) G$ V 
TFTP from server 192.168.2.192; our IP address is 192.168.2.191 
; ~8 L: i  m' }0 yFilename 'zImage'. 
; L9 J9 B: u2 `) n5 ELoad address: 0xc0700000 
6 b% D3 C: h8 F7 `* s* c/ ]' ?Loading: ################################################################# 
; y, `8 J0 Q- F( W) \7 Q         ################################################################# 
/ u. w8 Q: B. }         ################################ 
0 j# ^4 A: y6 ]; N         288.1 KiB/s 
4 V% c* Z/ @; R1 p# Edone 
* |9 j8 k2 F, `% KBytes transferred = 2367360 (241f80 hex). X9 `; k2 ?5 \7 {, S1 e3 o2 B 
6 W1 z* _  `. ?4 t+ }- g 
Starting kernel ... 
  l5 z  M# r4 ]) ^ 
& \9 `3 t7 O4 c- G8 s* l- r3 Z& c- N! CUncompressing Linux... done, booting the kernel. 
; y2 X( |5 D! W: N- h, w+ GBooting Linux on physical CPU 0x0 
7 n  c) h7 m( u$ bLinux 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 
' ]+ y( n2 A! k% H/ @5 x% K) W* {CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f 
: [5 `1 E: R9 S; \- i. ~/ a9 |* aCPU: VIVT data cache, VIVT instruction cache 
6 ^/ E( ?+ @; `/ ^" w( |Machine: AM18x/OMAP-L138 Hawkboard  W/ Z+ F* k7 G+ j6 d 
da8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified6 A3 i9 W) C# B 
    'nn' and 'address' must both be non-zero5 P& ^. E6 ?2 ]7 ~  s% D 
cma: Reserved 16 MiB at 0xc6c00000* x2 a+ j1 ^+ V  @% o8 g9 T  ^ 
Memory policy: Data cache writethrough2 i1 X1 ?2 |3 v* ]2 s, D# u( t( l 
DaVinci da850/omap-l138/am18x variant 0x1 
$ ?  L. t* h) _Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480" R0 p  ^! g/ X" Y5 @+ R 
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' h+ b8 L( j5 u+ X  | 
PID hash table entries: 512 (order: -1, 2048 bytes)# x/ m( b' C; u% W- r 
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)* Z; I: p' G1 F2 M 
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) 
; C. `0 J0 U$ oMemory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved), y1 |7 I/ X6 k, V 
Virtual kernel memory layout: 
% V% S+ X* g' T4 @; z' v' b    vector  : 0xffff0000 - 0xffff1000   (   4 kB)* L) ^2 {& y( u# s$ l* Z 
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)6 ^9 ^5 `1 d# I9 Q4 E 
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB) 
: ?- B$ ^" z7 V' C  ~    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB). ?; v3 c# ^- h8 O+ i- S 
    modules : 0xbf000000 - 0xc0000000   (  16 MB)+ v! a" R& d# B 
      .text : 0xc0008000 - 0xc0474b38   (4531 kB)3 Q0 ^0 E; V/ v7 a 
      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)$ c8 S: q+ p7 I 
      .data : 0xc0626000 - 0xc0673110   ( 309 kB)6 Z  P( A5 ?( q$ y/ C 
       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB) 
6 w9 L1 X' h6 Z+ a+ g8 nSLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1/ s$ m$ I( M* `8 e$ _  C 
Preemptible hierarchical RCU implementation.6 s5 _1 M; `# B; Z# ~ 
        Build-time adjustment of leaf fanout to 32.% T0 e) P: |- n 
NR_IRQS:245" H& L5 H% s/ _5 M% j. O& z/ } 
clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns 
, i. d/ y6 @1 x3 Hsched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns 
) }$ @5 ~9 a+ A9 EConsole: colour dummy device 80x30 
7 v5 Q, ^; A- s, G) @, p9 {Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640) 
2 |' t# |( Z" spid_max: default: 32768 minimum: 301  g/ n8 O2 g% G3 Z2 X1 O 
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) 
( a. E; j" M7 i% tMountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes): E) [1 ^9 p+ r# @+ _, o$ [ 
CPU: Testing write buffer coherency: ok6 L0 M1 S+ ]- ^8 @7 s6 h- O 
Setting up static identity map for 0xc0008400 - 0xc0008458 
. q+ h5 }4 |& v4 Z) Ydevtmpfs: initialized% S1 ]& ^+ [1 d  s1 x  q 
VFP support v0.3: not present 
2 [; E( O1 t/ a0 b3 M1 }clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns 
+ @  u, X, u9 ^! M+ z9 dfutex hash table entries: 256 (order: -1, 3072 bytes) 
1 G1 x2 q& l6 `7 J9 Spinctrl core: initialized pinctrl subsystem 
6 h7 M2 b9 v. VNET: Registered protocol family 16 
2 x# B% G! q3 _4 @. ^5 [3 G- nDMA: preallocated 256 KiB pool for atomic coherent allocations 
! B: p; @) d. M7 Y& `cpuidle: using governor ladder9 V- Z. v: F$ h# j7 u) o: U0 ~ 
cpuidle: using governor menu 
- _- h1 K0 |- CEMAC: MII PHY configured 
! V1 ]( i2 K. Y+ P& Ymux: initialized GPIO3_12 
9 n: I/ H+ ~1 R$ Z$ D# Q+ C% Amux: Setting register GPIO3_126 E4 k  `2 s9 d# T" Z 
mux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110 
4 n: h( d- c+ T9 b, Bmux: initialized GPIO3_13. O  G' S0 R; j* f& k 
mux: Setting register GPIO3_13' k' A0 ^) [1 W( U* ^" Z; { 
mux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x001188102 \# u( Y" |" u# A; U 
mux: initialized GPIO2_4 
/ Q% n+ V0 z" M) W2 q* `3 Wmux: Setting register GPIO2_4$ N& d; p5 i, T: O9 E3 j8 e 
mux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000% E6 {' D$ L1 g 
mux: initialized GPIO6_13, {- c# Y6 J5 Q0 A- c0 y" n% G% f 
mux: Setting register GPIO6_13 
0 J& u# j9 D- B. _1 C5 A( E4 e2 nmux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800 
- o6 y& c1 k! ?da8xx_register_rproc: memory not reserved for DSP, not registering DSP device% }, l. z3 d0 ]6 {/ Z  ^ 
omapl138_hawk_init: dsp/rproc registration failed: -12 
$ m2 a9 n  F' s+ r" ]* G9 d2 yedma edma.0: Legacy memcpy is enabled, things might not work 
* K$ a  T- v' t. j7 }edma edma.0: TI EDMA DMA engine driver 
9 ~1 r( h* y9 F7 R  e" E- gedma edma.1: Legacy memcpy is enabled, things might not work$ O$ L, m4 p3 t. e 
edma edma.1: TI EDMA DMA engine driver  O1 F3 ?. x, d3 A8 b. j 
clocksource: Switched to clocksource timer0_1 
6 G! S- |% z7 @  b# J( A8 p& mNET: Registered protocol family 2- H% @. K0 Z' U) ^8 N& {/ ^ 
TCP established hash table entries: 1024 (order: 0, 4096 bytes)% @9 }9 C# J3 D2 h 
TCP bind hash table entries: 1024 (order: 0, 4096 bytes): ^3 x& i! I9 I$ C$ }' y 
TCP: Hash tables configured (established 1024 bind 1024)( T4 N. C( u+ x/ J, s3 q! C 
UDP hash table entries: 256 (order: 0, 4096 bytes) 
$ x9 D3 m5 k0 QUDP-Lite hash table entries: 256 (order: 0, 4096 bytes)6 x6 s2 W6 E: R8 _' o 
NET: Registered protocol family 1; ^# s$ _+ R: Q0 I 
RPC: Registered named UNIX socket transport module. 
* v- o8 J3 ]9 L4 t$ oRPC: Registered udp transport module./ I8 K) f  \9 B 
RPC: Registered tcp transport module.4 K. ~& p1 w0 N 
RPC: Registered tcp NFSv4.1 backchannel transport module.) _, U2 f5 R, Y- d, c 
workingset: timestamp_bits=14 max_order=15 bucket_order=15 z1 h7 |6 D# M" ]8 ?5 d, }- r 
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) 
2 D1 F, |4 ~( m: n# b* E! V& @io scheduler noop registered (default)3 I" c; ?, k( ?$ e/ r 
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled3 ]: K" ]; x! m5 v' m8 I; b1 a6 q9 V 
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A! o/ v: c* j" |2 p 
serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A1 ?* u  i6 L' z0 g9 v 
serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A  e( j: D; ]; O4 O 
console [ttyS2] enabled 
5 u' C2 J, w) R! Q8 |' F  H1 M8 Vbrd: module loaded 
$ o) }2 w2 i7 |, e1 H3 Mlibphy: Fixed MDIO Bus: probed' P4 D6 d0 C( X* E 
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5  k! H. ~$ q# a" j4 v( i4 _5 v 
davinci_mdio davinci_mdio.0: detected phy mask fffffffe 
' m; Y  k3 M, i6 o6 {# Wlibphy: davinci_mdio.0: probed) b" X  B8 w$ c/ U, j, Y( p 
davinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN87204 l/ G7 E. A+ h( `. y! b1 X 
i2c /dev entries driver 
& A; t8 {1 x) a# _  Cdavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1 
  ~% \3 U3 O: t! G0 t: zdavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1* i( t' v, l$ B2 Z 
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode, y( I6 I3 F/ ]: V2 M$ Q- ` 
NET: Registered protocol family 10: Z! U& O" q# W: Y4 X 
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver1 B7 B/ u& O5 E0 ]8 V0 G# G 
NET: Registered protocol family 17 
4 i9 J% Z3 {1 {  j7 sconsole [netcon0] enabled 
6 r  e, M( ^* {# t$ Unetconsole: network logging started 
' H7 z0 x* x0 u6 e8 v( Edavinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89 
3 D% F8 s( @1 khctosys: unable to open rtc device (rtc0) 
, F8 F0 {& m8 v+ y" F( l4 {2 Nlibphy: PHY davinci_mdio-0:07 not found 
* _: u; n4 A' a3 k. g7 H/ snet eth0: could not connect to phy davinci_mdio-0:07 
7 }5 G8 R& l. K2 p( ]IP-Config: Failed to open eth0 
! v) o* O, f- S  B  A8 _" }IP-Config: No network devices available4 G; ?+ j' }6 Q1 A2 U 
mmc0: host does not support reading read-only switch, assuming write-enable 
+ _, n0 M3 `/ g* ~mmc0: new high speed SDHC card at address 59b44 r/ L8 U3 D+ P7 H! C 
mmcblk0: mmc0:59b4 SS08G 7.41 GiB  
, T1 |5 S2 E1 r5 O mmcblk0: p1 p2 
- c9 c, P: }7 Z% ~3 \+ \( j7 k- r 
6 E; t$ B- @: F3 c& R% K/* 此处等待了一段时间 */. Q# |9 r9 ]( T7 Y: ? 
 
' S( n& a! T4 X% T& r6 Trandom: fast init done8 b, O8 G+ P" w 
VFS: Unable to mount root fs via NFS, trying floppy. 
1 ]" D. |3 q) e6 f, b" U0 SVFS: Cannot open root device "nfs" or unknown-block(2,0): error -6 
) Q; j  n; E1 m+ F: HPlease append a correct "root=" boot option; here are the available partitions: 
+ ]: J2 h9 l! J: }% k0100           32768 ram0  (driver?) 
6 S" {) d8 N3 A/ \0 o2 l0 K  @b300         7764992 mmcblk0  driver: mmcblk7 ^% @: P0 ~) `2 h% X. W 
  b301           71680 mmcblk0p1 cd4e1bc4-01  v& N0 |" g) k" T! j) \* L7 H 
  b302         7675904 mmcblk0p2 cd4e1bc4-02                           
5 |+ e% d* R: P6 XKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block- ~7 L, y- ]6 |( h9 R( W3 K 
. ?: a1 d  o, l4 _# @1 \ 
, W" k5 u% }* c" q 
 |   
 
 
 
 |