| 
 | 
 
0.  开发板型号:  TL138/6748/1808F-EasyEVM-A2, 开发版启动模式模式为SD卡启动0 {) y/ c9 X5 x/ h' J8 i6 A 
 
# k; P. |- ?# L1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin$ ?* l1 h6 v8 `6 b$ J 
 
4 Q. r3 Z+ Y. G& w. c2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版& V' T' L+ k) B/ W. U 
 
4 ?' v! {) l: b- C6 B. f  K$ c8 b  q3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式 
4 L. b' k% x; l+ v9 p4 ~. _- K 
" E& s" j& K) G% t4 A6 Duboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):0 L$ w8 `5 T- |, g 
 
& p* y5 F4 Q. O3 T4 Nsetenv uboot_macaddr 1+ ?0 \6 ?* `; [5 T9 \* N; W 
setenv ethaddr 00:0c:29:bc:7e:9a , j# A7 ~  y- E1 }6 v, { 
setenv serverip 192.168.2.192& H/ P8 n3 ?* ^5 }2 F& n 
setenv ipaddr 192.168.2.191% J) Y4 o+ N1 ?6 H, _( Y9 } 
# _0 C4 x  x+ c: v/ L% v" z0 [: ^ 
bootcmd=tftp c0700000 zImage;bootz c0700000, _5 {9 u0 P4 v# t+ d* {3 k, k 
 
$ E" u: \: V) w! V$ Dbootargs=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. F( _' O6 t+ U* U: N 
, K% _1 `; w1 W: `3 I$ P& H) A 
4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后): 
+ W" Y" v, Y& m$ C8 U0 r7 N  q7 i0 D. ? 
boot命令后的完整启动信息:0 x' J/ T5 r4 _; {/ I5 ^0 U" f 
 
$ H; I8 E  Y% l/ l8 _=> boot8 Q9 \, |3 k: l 
Using DaVinci-EMAC device 
; s3 `' r; Q" L/ KTFTP from server 192.168.2.192; our IP address is 192.168.2.191 
: ?7 A: [7 C5 q  _6 NFilename 'zImage'. 
  A# E: e* y$ T  FLoad address: 0xc0700000& A  x2 T% n; Y! ~, M6 `+ U8 @) \ 
Loading: ################################################################# 
& g) E4 j* l; k         ################################################################# 
+ _3 n/ G' o7 I8 {         ################################ 
  Z  c% W( z5 x' C, g8 M         288.1 KiB/s* G7 h( b2 Q! W1 W 
done$ V! r' ?! L, f, J 
Bytes transferred = 2367360 (241f80 hex) 
3 P1 i5 W; J! E* M/ e1 f& y) ?5 u+ q7 ~8 `, I 
Starting kernel ... 
; o: @( f, W  l" D/ z( q' C2 ^5 i8 \# q3 ]" u 
Uncompressing Linux... done, booting the kernel. 
2 x$ l, H( [* h/ B. G$ VBooting Linux on physical CPU 0x01 [; E" G7 n6 G' ^8 p 
Linux 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 
4 Q5 H; g4 ]9 M( a( KCPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f 
# E+ h5 H7 T. M' X7 KCPU: VIVT data cache, VIVT instruction cache$ [3 ~, B$ x, t( e/ m  @ 
Machine: AM18x/OMAP-L138 Hawkboard 
  m5 G: C8 {, F: j1 a  t4 xda8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified 
7 C7 r- H! Y  }9 t    'nn' and 'address' must both be non-zero 
9 G: _$ W( n# Dcma: Reserved 16 MiB at 0xc6c000009 l4 x  [7 H* M- _# W. \ 
Memory policy: Data cache writethrough 
: g; W7 d- |; E1 ~DaVinci da850/omap-l138/am18x variant 0x1 
+ }1 L$ {: f2 i0 N8 O# _+ G- M6 dBuilt 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480 
2 |3 h5 R. U" P0 G8 oKernel 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 
+ m; o, D9 a: d1 K# l( [( D" o, APID hash table entries: 512 (order: -1, 2048 bytes)# s$ `# e  n% \+ M6 x 
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) 
/ T+ \# K- {$ Q0 k* y2 \, }: VInode-cache hash table entries: 8192 (order: 3, 32768 bytes) 
. Y, o  U7 `6 f7 ^9 ~. [Memory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)) h6 f7 A/ ]. f3 `4 J; b# q 
Virtual kernel memory layout: 
- m  Q4 J8 A3 V1 @4 t2 K    vector  : 0xffff0000 - 0xffff1000   (   4 kB)3 [9 K0 A' E. t! S: J7 y: k, | 
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)# y" o1 g( ?2 k4 F$ `5 T: ?, @2 v0 Z 
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)9 A" v! E5 E. a% l4 R1 d/ a 
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB) 
) }* Q0 O& ~2 o  ?+ I" S# e    modules : 0xbf000000 - 0xc0000000   (  16 MB) 
3 y  T' w( q. B      .text : 0xc0008000 - 0xc0474b38   (4531 kB) 
) u) `! J- X8 g* T1 g( u& v/ [' a      .init : 0xc05ed000 - 0xc0626000   ( 228 kB) 
; J' A8 `8 R2 k+ {0 n) H      .data : 0xc0626000 - 0xc0673110   ( 309 kB)0 H" C' s/ ~7 C4 x 
       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB): q! O, |2 Z2 a" G) F7 x 
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 
. `4 ~( ?: |* y" Q' _; iPreemptible hierarchical RCU implementation.; b0 B$ ], I2 [6 S 
        Build-time adjustment of leaf fanout to 32. 
# I# l6 |" [: d5 \NR_IRQS:245* h% `5 D9 P( u/ z' K) @' P 
clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns 
: X1 n+ j/ R- Ssched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns/ S9 H5 d6 J8 K1 ]$ h 
Console: colour dummy device 80x30 
5 Q( G& k. k$ K1 `! V" J: GCalibrating delay loop... 227.32 BogoMIPS (lpj=1136640) 
2 W; H  x5 y4 i/ o3 |6 dpid_max: default: 32768 minimum: 301 
, o9 [. N5 Q8 g& y! wMount-cache hash table entries: 1024 (order: 0, 4096 bytes)( y$ X  E& b/ w% q8 m 
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)% x+ B4 A- m% h! ~ 
CPU: Testing write buffer coherency: ok" n! {+ C: S% b" [) H 
Setting up static identity map for 0xc0008400 - 0xc0008458% a" y! o7 n3 k7 l 
devtmpfs: initialized 
# f& X# D" U/ S3 j9 E# S7 g  M9 WVFP support v0.3: not present 
2 G) c! A( q6 r! R$ r- V1 |clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns" Q7 N% w2 s1 N 
futex hash table entries: 256 (order: -1, 3072 bytes)6 {* ]9 t9 x/ M9 F% n9 H- n* j; r 
pinctrl core: initialized pinctrl subsystem: `' g  M) \0 {; F: U 
NET: Registered protocol family 16 
8 O3 i% l1 r9 b) U  r" e/ uDMA: preallocated 256 KiB pool for atomic coherent allocations5 j% f: {1 r/ Y3 g3 z) x) a 
cpuidle: using governor ladder 
# J8 M: J: N3 Y- o1 u, fcpuidle: using governor menu  b, z1 W1 X" m  v# _0 j1 m( A 
EMAC: MII PHY configured 
3 l1 m+ ]7 W4 ?  F1 u( e. Cmux: initialized GPIO3_12' ^: w) L% t' @% J  u3 ]' R 
mux: Setting register GPIO3_12. j" y7 a1 s$ T  G+ G  E, w! S5 | 
mux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x001181106 f$ A1 }' s9 F& a9 ^ 
mux: initialized GPIO3_13, h. r( N- ~2 w3 ~  K8 o4 w5 D- h, c 
mux: Setting register GPIO3_130 a' u, W6 |4 I8 o6 y+ u+ Q$ ~ 
mux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x00118810. {  J" b& D1 _# w2 x$ J 
mux: initialized GPIO2_48 R5 F' G2 ~& X: q+ b: L) e5 S1 V 
mux: Setting register GPIO2_4- R4 p$ ~" ~7 v. H4 ]3 P 
mux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000 
; Z/ a- ]2 I% K$ V, O/ r6 @, ]" kmux: initialized GPIO6_13 
% r. X1 n; B- Dmux: Setting register GPIO6_13 
9 d3 h  w  T/ r5 \% ^, Pmux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800 
0 v3 n/ @8 [) i% q3 p9 A2 gda8xx_register_rproc: memory not reserved for DSP, not registering DSP device1 Z8 a% `, F8 Y' v8 B, | 
omapl138_hawk_init: dsp/rproc registration failed: -129 M; I2 m" h% V" Z 
edma edma.0: Legacy memcpy is enabled, things might not work' o0 L7 W) P% V/ n/ S& T 
edma edma.0: TI EDMA DMA engine driver7 |. @+ I8 D  i! ] 
edma edma.1: Legacy memcpy is enabled, things might not work- b6 A1 s4 h" G- o5 d1 C 
edma edma.1: TI EDMA DMA engine driver6 j# C( K" j7 I# i; n 
clocksource: Switched to clocksource timer0_13 H+ |- Z/ m+ F: ?& W5 y 
NET: Registered protocol family 2, `" M6 N) e" W; ~7 W 
TCP established hash table entries: 1024 (order: 0, 4096 bytes)- D/ N9 h: ?" t8 ^. X8 _5 {* ^ 
TCP bind hash table entries: 1024 (order: 0, 4096 bytes) 
5 A2 C& q  R4 @6 e0 R1 {TCP: Hash tables configured (established 1024 bind 1024) 
4 q! p" p# l- ~8 Y$ M0 eUDP hash table entries: 256 (order: 0, 4096 bytes) 
) z' w3 s' Q" W$ |* A: H: AUDP-Lite hash table entries: 256 (order: 0, 4096 bytes): J6 q: {/ Q7 W5 r; J4 M% M 
NET: Registered protocol family 1% l& S" Q/ o' i3 \/ x2 C7 T 
RPC: Registered named UNIX socket transport module. 
5 U0 C) F5 ~! e( u% f! s2 SRPC: Registered udp transport module. 
: p+ I5 a6 `; y$ |RPC: Registered tcp transport module. 
. ]& [; ~+ |3 URPC: Registered tcp NFSv4.1 backchannel transport module. 
- ?7 C0 M  |. K* p# f0 F4 bworkingset: timestamp_bits=14 max_order=15 bucket_order=1 
5 H/ Q' a# v) o3 W' I6 \Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) 
! o6 g' T  L4 c! B% Pio scheduler noop registered (default)# R) p$ T, n1 q, ^5 ]& x  g 
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled 
( G8 J/ X6 w+ q* @serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A% f8 C- [. N  ?" @1 W 
serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A- K, U* n5 I2 a+ j5 ]8 I, V 
serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A 
2 ~. j& z/ h& u' ^console [ttyS2] enabled' f  e4 k5 B4 f2 _2 M 
brd: module loaded. ^# E* T7 {& Q7 K  r8 P3 R0 u& d 
libphy: Fixed MDIO Bus: probed. ~; |; g8 q1 T6 Y) L% Y 
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5 
- m9 b+ ]- Z: |; `+ J- @davinci_mdio davinci_mdio.0: detected phy mask fffffffe 
& {5 `$ H/ [0 h, V$ B8 @libphy: davinci_mdio.0: probed 
9 @6 {7 ^8 M  N* z9 k8 s6 ?davinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN8720 
% d* W: A" I8 b7 \- B5 a9 ai2c /dev entries driver 
$ D: P0 O4 }7 \/ ], Hdavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1 
% i; _$ @2 \- Z- I/ tdavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1: o( j# _, k1 Q/ {; }5 I$ D& z 
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode 
- o) n& {% Y) ?) C3 s: PNET: Registered protocol family 10 
1 N" t9 F! [0 w- d" J6 v: ?sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver( o, n, b6 |0 v* L5 m8 V! o0 ? 
NET: Registered protocol family 17 
4 L2 t/ e; q! Y0 j  Jconsole [netcon0] enabled 
3 y8 k, a  r( T& snetconsole: network logging started. D% _. J9 r: }: E, c% L 
davinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89 
4 a: I3 `# h/ Khctosys: unable to open rtc device (rtc0)8 T" [+ x7 E6 F 
libphy: PHY davinci_mdio-0:07 not found0 s2 y7 A* c& |) i1 N. E, Z 
net eth0: could not connect to phy davinci_mdio-0:07, B4 n* u3 O8 T2 N 
IP-Config: Failed to open eth05 M5 \: c' W) I3 g3 x. G 
IP-Config: No network devices available 
6 `4 H6 P) e  W4 X0 jmmc0: host does not support reading read-only switch, assuming write-enable9 t$ B$ o# v4 K4 [0 ^ 
mmc0: new high speed SDHC card at address 59b4# t3 c' ?  v7 k2 c( w3 N/ A5 @( S 
mmcblk0: mmc0:59b4 SS08G 7.41 GiB 3 z; x8 {0 }/ {. P' e 
 mmcblk0: p1 p20 ], x/ K# S0 j9 t 
 
. n# D4 s2 B0 L/* 此处等待了一段时间 */$ d* p5 P' n! c 
 
6 E4 z) U3 y: S4 M0 Hrandom: fast init done 
- G  x) t/ x0 c( i; IVFS: Unable to mount root fs via NFS, trying floppy. 
& i# u, N& z% ^) T0 C3 `& RVFS: Cannot open root device "nfs" or unknown-block(2,0): error -6 
. o1 `, H6 {, D  wPlease append a correct "root=" boot option; here are the available partitions: 
% W7 b7 E" x- u# S; I9 x6 {( i0100           32768 ram0  (driver?)8 x. ?/ a" Y1 ? 
b300         7764992 mmcblk0  driver: mmcblk" h: A( j. z) }8 ~ 
  b301           71680 mmcblk0p1 cd4e1bc4-01 
4 R- Z6 q5 C: b/ O& C' v2 P' P  b302         7675904 mmcblk0p2 cd4e1bc4-02                          4 i3 U: G3 n' L3 Q7 Q 
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block, N5 I6 l, U4 ^& w7 c% j 
 
& H4 E% c) W5 E1 z5 Z$ h6 S 
' a% x1 `% {; r  J0 w8 m |   
 
 
 
 |