| 
 | 
 
0.  开发板型号:  TL138/6748/1808F-EasyEVM-A2, 开发版启动模式模式为SD卡启动 
7 J' j& B0 E0 s4 f5 H3 K4 U4 Q' i; c 
1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin' r1 _8 g6 h; y! P1 y 
' H0 T# j$ m; i4 W& S  K+ z$ C 
2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版* X& G* k+ ?* \! m* A 
 
- C- S8 l0 y8 e; e5 C5 L3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式 
% f- b/ v3 E2 M' h" g$ @ 
6 [4 \8 k3 }$ }uboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a): 
- M7 O0 v' J8 x% g7 [) k 
+ X1 K  g* ~, y: x0 c' Psetenv uboot_macaddr 1/ X2 A. |9 B3 ?4 c 
setenv ethaddr 00:0c:29:bc:7e:9a * w" j! }4 @" O 
setenv serverip 192.168.2.1928 T5 o' |. ^6 h& N/ U  G, g2 ~ 
setenv ipaddr 192.168.2.1919 l& d! C# V) _8 v 
% @3 T5 w0 s/ t' i* @ 
bootcmd=tftp c0700000 zImage;bootz c0700000& |% `" Z/ z7 e0 v# i* { 
4 P7 M  Z3 K* B5 U1 E  J% A 
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/nfs 
7 g& K, `' K4 v' z1 r9 Y$ h 
+ \. i# F( T% S- a4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后): 
! J) ?! }  R4 i 
. V& Q4 ]5 m0 r7 K. q7 I* C8 Xboot命令后的完整启动信息: 
' v. J$ h6 k7 P* A; F& S" j+ \) q/ _, ^# T. T' Y9 e% i, t 
=> boot! e3 H% K. u) X) w  T0 ?* T, i. q 
Using DaVinci-EMAC device4 Q5 i  {2 D% t& U% _1 ~ 
TFTP from server 192.168.2.192; our IP address is 192.168.2.191& J- ^' k  j. J 
Filename 'zImage'. 
+ [0 j% m6 g6 @/ [! i$ yLoad address: 0xc0700000/ W2 b1 V9 S9 Y 
Loading: #################################################################" j. M+ \" I; L1 O4 p! S 
         #################################################################: F  j% U3 G- q: w+ T' ]- C/ N' Q 
         ################################9 `  u( F) Y# I: n 
         288.1 KiB/s+ I' u8 R. ^1 H$ F9 _ 
done 
2 z  c0 P. D/ Y+ z* xBytes transferred = 2367360 (241f80 hex) 
9 }% h/ S# ~7 o0 y, H* A# S6 f1 c& Z 
, V5 G1 G( q' H( D! X+ U* R: oStarting kernel ...1 H" k: Q& y: f4 i/ L 
 
+ |5 Z, ]1 z5 IUncompressing Linux... done, booting the kernel. 
5 |& u' t) ~  h2 p  ?9 O& V! z; i' wBooting Linux on physical CPU 0x0 
- _' u1 o( [# {; F! a1 uLinux 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- a* r* V: m4 b' Q 
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f 
' G+ h9 D, a/ _4 [CPU: VIVT data cache, VIVT instruction cache 
. K8 ~4 R. V) r$ s  ?2 L& v6 d3 hMachine: AM18x/OMAP-L138 Hawkboard: z7 j) b4 S9 h 
da8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified 
4 o* b* D: R8 d* C4 `    'nn' and 'address' must both be non-zero 
" E4 q8 w: E$ ]& G8 X$ J$ Dcma: Reserved 16 MiB at 0xc6c00000 
# z6 D6 e/ V; S: l! h- hMemory policy: Data cache writethrough0 U9 ^& j7 q! S4 H/ }$ i2 P/ q 
DaVinci da850/omap-l138/am18x variant 0x10 z; b; w) C( R* I 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 324804 D1 c# @; w0 @. E; n4 d 
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 
7 L. m. t% ^3 U* z, v9 q% hPID hash table entries: 512 (order: -1, 2048 bytes)/ e( C& \" }" z: ~7 y6 _ 
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) 
( u5 b+ n( _4 n; vInode-cache hash table entries: 8192 (order: 3, 32768 bytes) 
+ K1 O' I! C. e& \' V4 L% g1 N8 G$ kMemory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved) 
6 C4 x" W- ]. t- U: ~Virtual kernel memory layout: 
* Q% I9 G  J. c! f$ O0 S    vector  : 0xffff0000 - 0xffff1000   (   4 kB) 
3 W1 ~3 N) }# D    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB) 
+ d6 P/ c, \* U8 f  j    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)" ~: r$ Q7 c- y, { 
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB) 
3 W) W" P( J! [8 o# ^2 ~    modules : 0xbf000000 - 0xc0000000   (  16 MB) 
2 T* e: l, U$ R+ l' N, X* F      .text : 0xc0008000 - 0xc0474b38   (4531 kB)! B: e9 h% \( j# |& e5 M 
      .init : 0xc05ed000 - 0xc0626000   ( 228 kB) 
5 f9 W# b$ R, \  Y0 q7 |, t7 h      .data : 0xc0626000 - 0xc0673110   ( 309 kB)( O) [" l- f' h 
       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)# l* D5 J/ ?. y# }0 t 
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=13 R; J  R+ U( u* ?! _6 W  e 
Preemptible hierarchical RCU implementation. 
/ o  x) Q  O; A: T) I& i        Build-time adjustment of leaf fanout to 32. 
; M# E8 f. s  HNR_IRQS:245 
: |" H6 f' Q& j. Tclocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns" x4 ~1 f% `- t8 |4 o# A6 j# }" V 
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns9 K. S, i; W, d4 S 
Console: colour dummy device 80x30 
* q, s' j/ W- |7 w) DCalibrating delay loop... 227.32 BogoMIPS (lpj=1136640)/ |2 J, U/ W" l! v4 s 
pid_max: default: 32768 minimum: 301! x8 p3 K5 v5 V: C 
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) 
: s2 r3 n2 n$ V( Z2 d' MMountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) 
, i/ p5 [, ]! y* `CPU: Testing write buffer coherency: ok7 J$ L0 b; l/ a0 {! k; D 
Setting up static identity map for 0xc0008400 - 0xc0008458 
: c$ D6 @) \- k/ k6 gdevtmpfs: initialized6 q2 z) x) e% E- C3 h8 e$ }  X 
VFP support v0.3: not present6 U( q, @7 J, ?& J 
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns 
6 p' a. b9 ?( Y. O7 p4 cfutex hash table entries: 256 (order: -1, 3072 bytes): K. d& g4 ]% E  }3 J  \6 \/ ` 
pinctrl core: initialized pinctrl subsystem9 R* \7 |5 a9 Y5 h* l 
NET: Registered protocol family 16 
$ r# H2 @# [3 K1 T2 ^DMA: preallocated 256 KiB pool for atomic coherent allocations+ L+ @' z! K+ T6 [/ A" Q 
cpuidle: using governor ladder 
# ]( H" T5 B: _1 K5 c1 E7 I8 ocpuidle: using governor menu 
- \) Z7 S2 }; W6 A& `  U! _EMAC: MII PHY configured% X- |  c/ n7 S( r8 g 
mux: initialized GPIO3_12! ~. j' j: {, V) t* R- ^9 P 
mux: Setting register GPIO3_12. S9 H1 U: A1 T6 Y' f' E6 [) { 
mux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110 
' A  L4 t3 [. W5 o. `7 ymux: initialized GPIO3_13( L5 t/ m4 R3 z$ O) K" M, P7 a3 s% w 
mux: Setting register GPIO3_13 
% D" f$ h( K) X( i" ]8 ~; ^mux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x001188101 [+ \2 X8 \6 x8 P1 C/ i8 L 
mux: initialized GPIO2_43 n0 t: X; u: |8 S3 \ 
mux: Setting register GPIO2_4 
6 q0 X; n- ?+ q2 g% J/ Y9 kmux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000' j5 k1 X# r# d. L: e4 Q0 j 
mux: initialized GPIO6_13 
# I" j% ^5 x$ e1 j! }mux: Setting register GPIO6_13& V2 U$ M: S( h+ } 
mux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800 
% ~7 t+ I. Y+ z2 S, \' C1 Ada8xx_register_rproc: memory not reserved for DSP, not registering DSP device 
" c7 ~9 v4 V0 i9 Z1 @% k' d  H( qomapl138_hawk_init: dsp/rproc registration failed: -12 
7 a# i" |6 {" }5 q* bedma edma.0: Legacy memcpy is enabled, things might not work 
& w0 d6 f4 N4 d" N8 Wedma edma.0: TI EDMA DMA engine driver 
3 ]* E0 S6 S0 i' h; nedma edma.1: Legacy memcpy is enabled, things might not work 
' U2 A- T# p! Q% q) U/ Zedma edma.1: TI EDMA DMA engine driver 
& x9 @: I9 A. h' s: b$ ]8 Aclocksource: Switched to clocksource timer0_1$ X( O, c( Y' g8 F: v& E# f7 R& J! u 
NET: Registered protocol family 2 
. O' h- m& O0 c+ \& Q8 nTCP established hash table entries: 1024 (order: 0, 4096 bytes)2 d) ?+ U% b$ R9 L6 H$ Q 
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)" L9 A8 k1 K; V 
TCP: Hash tables configured (established 1024 bind 1024) 
9 S+ _0 s- H- l8 n" u  tUDP hash table entries: 256 (order: 0, 4096 bytes) 
/ f6 N3 B$ [2 y3 lUDP-Lite hash table entries: 256 (order: 0, 4096 bytes); f, g% t- y& h' u7 q, w& a8 u1 I 
NET: Registered protocol family 1 
' Z& {! E& V5 z$ |. M) b0 V; I* YRPC: Registered named UNIX socket transport module. 
9 X1 E0 b: b" t+ wRPC: Registered udp transport module. 
# s. [6 P. l9 Q" C# r6 \  HRPC: Registered tcp transport module. 
! v- U) e3 ?7 Z- z9 ~+ |RPC: Registered tcp NFSv4.1 backchannel transport module. 
4 G6 G$ Y, b" ~+ c5 [$ J* ?workingset: timestamp_bits=14 max_order=15 bucket_order=1 
/ j" A7 M  y+ B. H# oBlock layer SCSI generic (bsg) driver version 0.4 loaded (major 250); b! W' b) [3 @* a, u 
io scheduler noop registered (default)2 Y5 Q  h9 V5 i: f* K8 X 
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled 
" t, _7 n; K" v6 c, D  N9 vserial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A 
  ~( `6 s: k' \* y6 [! h- Bserial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A% Y  t/ k! J% q 
serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A3 D, N( `# M/ P" H 
console [ttyS2] enabled3 n  I5 z% U0 k1 S3 u1 e 
brd: module loaded: ?0 l( X3 J' y: N0 Z 
libphy: Fixed MDIO Bus: probed 
3 ^4 E) k3 R' r& [8 r* D8 Rdavinci_mdio davinci_mdio.0: davinci mdio revision 1.5& k5 f3 G2 D; H+ q- `# U3 M6 U 
davinci_mdio davinci_mdio.0: detected phy mask fffffffe 
! P, Q' F" y+ Ylibphy: davinci_mdio.0: probed 
: @3 X- ], F1 Y7 v/ D! Ydavinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN87202 a- k* Y) G& |& B+ }  ?* }" o 
i2c /dev entries driver" v' o: ~. j1 ] 
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.15 s/ _# f3 {  u6 c, Y( Q 
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1 
- `5 @0 a. _5 J# f4 H: Ndavinci_mmc da830-mmc.0: Using DMA, 4-bit mode! i6 y/ p: ?7 J/ b1 U) d% M 
NET: Registered protocol family 108 n' F+ C# Q: C7 C5 F 
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver 
/ X# S2 D- j$ |9 RNET: Registered protocol family 178 K3 t; a- j! C6 V 
console [netcon0] enabled 
$ x% r/ x2 H$ P: _+ o* J. Unetconsole: network logging started 
( o) M9 t0 g& m1 b0 _davinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89 
' C  Z  B) P8 t% W4 N- V/ Ihctosys: unable to open rtc device (rtc0)5 K5 o. m& o( R 
libphy: PHY davinci_mdio-0:07 not found 
7 v: t; q; F- |0 f$ |# ]* o" e0 Unet eth0: could not connect to phy davinci_mdio-0:07" {7 Z, X  g  M: v 
IP-Config: Failed to open eth0 
, d8 l4 c; Z/ h3 KIP-Config: No network devices available 
& U: J& Q! m+ }2 R  C! rmmc0: host does not support reading read-only switch, assuming write-enable 
: x  {5 j) {+ ?# emmc0: new high speed SDHC card at address 59b4 
5 v5 V* L% i- W3 S& O" lmmcblk0: mmc0:59b4 SS08G 7.41 GiB  
( L6 s% v; I4 U$ o8 E mmcblk0: p1 p2 
, {5 [* x/ f# V0 q# E, n 
! d! Y1 D3 X8 i: [, \+ t/* 此处等待了一段时间 */ 
+ c! ]1 e, a, P/ h2 _# E! Y 
4 d  `, T9 Z8 E0 X" ~random: fast init done/ B( e( i* R& K 
VFS: Unable to mount root fs via NFS, trying floppy.) U/ R0 r1 [; z! \; _ 
VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6 
! P) \9 b6 m$ B) kPlease append a correct "root=" boot option; here are the available partitions:) L0 C- j$ v( ?* f, o' p8 j 
0100           32768 ram0  (driver?) 
$ t. l- Y* c" l$ z0 E4 ?0 eb300         7764992 mmcblk0  driver: mmcblk. L9 a, C! `  B' M7 b$ o2 F: z( D 
  b301           71680 mmcblk0p1 cd4e1bc4-01" P$ h) }6 m/ T+ U$ c 
  b302         7675904 mmcblk0p2 cd4e1bc4-02                          9 p$ S% y& a( I& C2 k" | 
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block* V3 c, {6 W) B% h4 r 
 
9 L' u3 D/ Z! F; [, p 
  |% W$ E& B" |" @ |   
 
 
 
 |