TL138/6748/1808F-EasyEVM-A2使用ti-processor-sdk-linux-omapl138-lcdk-04.00.... - OMAP-L138 - 嵌入式开发者社区 - 51ele.net
设为首页收藏本站

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 5755|回复: 2
打印 上一主题 下一主题

[未解决] TL138/6748/1808F-EasyEVM-A2使用ti-processor-sdk-linux-omapl138-lcdk-04.00....

[复制链接]

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
跳转到指定楼层
楼主
发表于 2017-9-12 22:16:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
0.  开发板型号:  TL138/6748/1808F-EasyEVM-A2, 开发版启动模式模式为SD卡启动  N( n+ j+ e% w8 T

+ \( m6 Y6 c* H) m1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin
5 G# m0 Z0 b* r$ Z# s
' @) v1 g2 f- I/ b1 G2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版# r7 p) z! \8 ^2 t( X
) _( L' K0 u( l
3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式
1 z& N) G4 J' p1 Z# p, S  f! r3 i8 k  ]  q2 p, z
uboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):0 J6 N3 s6 h$ Y

' ]( b6 a8 |( f9 x' B& i8 Osetenv uboot_macaddr 1* X8 i- D8 s* l
setenv ethaddr 00:0c:29:bc:7e:9a " h  l7 e3 L: d  }
setenv serverip 192.168.2.192
; j  M& L( T( ^# z: Qsetenv ipaddr 192.168.2.1918 m! P2 {4 }+ ~* R
- m9 T0 T( I/ ?2 F6 o1 y! p
bootcmd=tftp c0700000 zImage;bootz c0700000% X3 `/ q/ v! E( ^) p3 J3 y1 S( b$ e
( z. l2 j3 }6 f, {6 a' U
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
+ _8 k7 v6 [( u( {
/ k9 Q- G% R$ D1 E, `' o- A% V4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):' ^! m5 |# B7 X3 ^3 x- i
4 {; C( N: e! b9 n, k4 f9 q+ I
boot命令后的完整启动信息:
) v8 I9 H0 R& j+ _- Q" }6 ]% n) i. k1 u" r
=> boot( P/ g& e0 a7 n! e7 }
Using DaVinci-EMAC device
) u3 E$ A0 s) _  TTFTP from server 192.168.2.192; our IP address is 192.168.2.191
& v! }- K! g% K2 O! XFilename 'zImage'.9 M* k* \6 z6 F! O
Load address: 0xc07000003 p2 ^% S3 y8 t, H8 P
Loading: #################################################################
9 n3 Z3 _, d7 W1 B) e: A& l0 o         #################################################################! d) c1 V* c0 e* O" u1 p& v
         ################################! m4 b8 {  g0 ]* ?9 J$ L6 G
         288.1 KiB/s% V7 N% z" I! _3 |! Y1 ^# ~% }
done
3 {/ d: {; {2 QBytes transferred = 2367360 (241f80 hex)
- b. ], i2 G0 _! B" Z5 P+ S
% w( t$ [9 @: L/ P7 @Starting kernel ...
! o2 B' A* j7 Q6 K2 \; c! V1 ~7 N; q$ l6 C  o7 S- l2 C1 J
Uncompressing Linux... done, booting the kernel.0 g- [  z9 G8 D' x9 C2 p
Booting Linux on physical CPU 0x0
8 H3 B6 E# t- w% WLinux 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
$ y2 x) d/ L  N7 d+ ZCPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
& F: o$ J; n- d$ Y7 @) dCPU: VIVT data cache, VIVT instruction cache
9 F$ B' E" @* Q4 z2 Y( vMachine: AM18x/OMAP-L138 Hawkboard+ ^' H+ I% c6 [4 ^6 J1 F7 ^
da8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified
( q3 f. \. P6 E( Q9 L! x    'nn' and 'address' must both be non-zero+ ]% L/ d6 y3 ?( g! h7 z0 V2 |* }
cma: Reserved 16 MiB at 0xc6c00000. ^- M/ c! \! ~% B, \3 a# f, f3 A
Memory policy: Data cache writethrough6 D6 z, X; j" j* }% K1 O' P
DaVinci da850/omap-l138/am18x variant 0x1
& u' y- t1 j* P! `. A( P5 g/ [Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
: j: h; N# T, q! N7 [' S, B# p7 fKernel 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/nfs8 m& ?# |" j, U6 q" ?# n1 I8 V' ~
PID hash table entries: 512 (order: -1, 2048 bytes)( X1 |) S( G# j- Y5 @  A
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)$ @7 P1 W* S& v( [$ ]
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
3 v" r+ ]5 {. p# m# r8 Q( i# iMemory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)8 M/ v) D1 Q! W- P9 c2 ]4 E; E
Virtual kernel memory layout:9 \, M* s6 t- n3 }6 ~* i2 N+ b1 b
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)( B( u( s+ j& R1 ~$ U
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)0 @2 w% C% I" Y2 p  f  [
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
& e: {  Q0 G$ A9 ], q    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
4 b1 r  U( l. Z1 i& v    modules : 0xbf000000 - 0xc0000000   (  16 MB)
9 H/ b, Q5 R8 @3 Z8 m) Y5 z+ P      .text : 0xc0008000 - 0xc0474b38   (4531 kB)& M( F- r5 Y4 @. l( b. T$ b
      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)( A( T5 f8 s; s! ?1 ?, K
      .data : 0xc0626000 - 0xc0673110   ( 309 kB)6 |  b- P2 C0 a  b$ z
       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)
: C3 f/ d; S! z) r6 E" JSLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1$ s* Q) q$ C: Y4 L1 a( ^$ I) a3 ~
Preemptible hierarchical RCU implementation.% q: e% T5 o3 x9 l% n# E" s$ l
        Build-time adjustment of leaf fanout to 32.
, a9 L% T) t4 s1 V. GNR_IRQS:245
3 {2 Q) B9 m2 L/ ~; Jclocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns! c  _' k+ f" l/ d; F; V0 Y3 \
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns! w( ?) [: Q# n+ ?% ^
Console: colour dummy device 80x30
0 q7 X0 \/ Y, |& Z# B! }7 ?* L  pCalibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
$ `* o5 |2 J: A- ^pid_max: default: 32768 minimum: 301
  ^3 u. u7 G4 E- Q) p0 M, BMount-cache hash table entries: 1024 (order: 0, 4096 bytes)* m) s8 A! |" R) D0 b' q
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
& e0 Z1 j7 |, P  s6 E# `# {  zCPU: Testing write buffer coherency: ok
/ c7 b& c  C: i) G0 s9 a: \Setting up static identity map for 0xc0008400 - 0xc0008458
( k* D1 s; F2 g: r1 I) ydevtmpfs: initialized; K; B2 V! [) e2 R: }2 n6 B
VFP support v0.3: not present
# w% k; E" ]5 u: Z! kclocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns$ Y6 V4 ?! _& f7 v9 W6 E
futex hash table entries: 256 (order: -1, 3072 bytes)  p; o& X2 |' R% e
pinctrl core: initialized pinctrl subsystem
* @+ ~$ Z. m! @- |& t* r8 jNET: Registered protocol family 16
- ?- {( g$ M# W" k9 E. W* O8 F8 eDMA: preallocated 256 KiB pool for atomic coherent allocations
- t8 ~: ^& T! |+ j3 M9 Z8 e4 n0 Tcpuidle: using governor ladder
0 B# Y5 L6 ?; P. U; I0 n% Gcpuidle: using governor menu8 Y3 U3 ~5 H/ \5 z% K
EMAC: MII PHY configured
! l$ ~8 z7 G" q( n; P& umux: initialized GPIO3_12
+ Q2 x. ^" F( D" a. Dmux: Setting register GPIO3_12
4 {2 \: w) \% F" [/ \7 w3 Kmux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110
' f) t; P+ Y& Umux: initialized GPIO3_135 E+ y) F, I# D, r. p3 J3 Y
mux: Setting register GPIO3_13
1 C1 l1 B) ^! ?. H8 v1 _% dmux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x001188102 }9 a- t' {6 T7 a( L
mux: initialized GPIO2_4
9 N! Y/ o; P- H" ~7 v# @& j# xmux: Setting register GPIO2_4$ d. f! e0 g, Q0 K* u! l) z0 C
mux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000
  B8 c: ^6 N3 c2 L/ ~mux: initialized GPIO6_13, q! Z2 P0 q8 ]
mux: Setting register GPIO6_138 x5 B! M/ d! G4 Y  ^# V6 D' P
mux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800, P7 @# n, E) Q# U. a
da8xx_register_rproc: memory not reserved for DSP, not registering DSP device/ Z/ X: c) E7 J- W
omapl138_hawk_init: dsp/rproc registration failed: -128 S- g1 D5 f8 a& F# v, r3 b
edma edma.0: Legacy memcpy is enabled, things might not work4 a$ y. ]& B$ l# L2 D; P
edma edma.0: TI EDMA DMA engine driver8 m! _8 I% ~! u  a
edma edma.1: Legacy memcpy is enabled, things might not work6 U9 [- q7 p+ C% u3 M1 T9 l: J
edma edma.1: TI EDMA DMA engine driver
+ L9 U; F( r, @  Yclocksource: Switched to clocksource timer0_11 ^- y! h( h0 w5 }
NET: Registered protocol family 2
3 H  l$ n5 V; F: dTCP established hash table entries: 1024 (order: 0, 4096 bytes)2 d0 N: w! |! |, a
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
# C# L1 c( b, F2 o: @3 p" h# x2 `TCP: Hash tables configured (established 1024 bind 1024)& H' }* t+ c/ a" ^: u: @
UDP hash table entries: 256 (order: 0, 4096 bytes)
9 ]  T3 `9 |- w) uUDP-Lite hash table entries: 256 (order: 0, 4096 bytes)6 k& R+ c8 m9 d5 b. a; s$ {
NET: Registered protocol family 1
; g, G( R7 M! M" b; v: W9 x) r. zRPC: Registered named UNIX socket transport module.# Z+ s) w" J! Q8 S% Z6 m
RPC: Registered udp transport module.# d$ z0 P* H3 a1 q+ p0 ]6 o
RPC: Registered tcp transport module.0 S8 s2 s  V, P9 P* J1 K/ }
RPC: Registered tcp NFSv4.1 backchannel transport module.% ]) f* T/ v, q) a
workingset: timestamp_bits=14 max_order=15 bucket_order=1
* q& _8 D& L  e$ a2 fBlock layer SCSI generic (bsg) driver version 0.4 loaded (major 250)2 S3 R' e$ p6 H+ W& B
io scheduler noop registered (default)5 D. M% r! y& D, b0 C5 p/ R) V
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled4 o: Z1 p. y% D
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A
$ B$ g! D3 T; N1 H9 T7 v  dserial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A
5 j0 b9 U2 h* [* h7 s7 \" iserial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A6 e- y7 w9 h1 I: @: j- x# e3 T: _% u' F
console [ttyS2] enabled
- H8 U3 C! t3 ^brd: module loaded
& K- c0 A8 e& P9 }! d; r7 Alibphy: Fixed MDIO Bus: probed% B) {1 k8 N0 O2 E8 B9 k
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
3 I- [4 v% C9 [# x* Y" ~# @davinci_mdio davinci_mdio.0: detected phy mask fffffffe
0 w" \: U1 O9 V3 |+ i& u: Q$ v' Llibphy: davinci_mdio.0: probed. L# r$ [" a; X
davinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN8720/ @5 i* W, L) C1 h0 p* \  N: T5 F
i2c /dev entries driver- k, A, U/ E7 D8 K2 _7 J2 }( s
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
" \9 a$ Z* e$ ?* ydavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.15 r8 g* h' N. ~7 Y1 ^# x
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode7 I1 R& f: h  F/ _: o
NET: Registered protocol family 10
8 g, |' L9 {( d# G7 Ksit: IPv6, IPv4 and MPLS over IPv4 tunneling driver; g- d, W& L0 }
NET: Registered protocol family 17$ d5 P# d" a7 f: f
console [netcon0] enabled# ?1 X! ]9 Y& p& ]2 T1 p4 F( w; U$ V
netconsole: network logging started
0 B. j$ p0 O# F6 Jdavinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89
, d6 `4 F/ |  B6 N* J# `hctosys: unable to open rtc device (rtc0)8 |$ b9 t% w! M
libphy: PHY davinci_mdio-0:07 not found; y, D4 o) ], O) X
net eth0: could not connect to phy davinci_mdio-0:078 i6 S8 f; K0 _1 @- b
IP-Config: Failed to open eth0
2 |4 ]- w0 ?* H' mIP-Config: No network devices available0 ~1 \. ?  v) N0 a
mmc0: host does not support reading read-only switch, assuming write-enable
- W3 x6 o3 o, I% lmmc0: new high speed SDHC card at address 59b49 s3 a/ H8 V1 A& J& O. U  K
mmcblk0: mmc0:59b4 SS08G 7.41 GiB
  B9 J' _2 W; w' K: o! e mmcblk0: p1 p2
6 L3 H1 h& W5 l! K% \: X9 _6 _- S8 W% c* \
/* 此处等待了一段时间 */
2 }; C9 \. e" t1 X( _% _# h
, \/ Z4 i8 p+ Q% \8 o' \random: fast init done
% h! i  ?/ e" f" @. _9 g. G8 ~! rVFS: Unable to mount root fs via NFS, trying floppy.$ \. ]) }: T6 `0 w# [1 u. u
VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
8 U6 z$ B9 h$ ^# H- W2 RPlease append a correct "root=" boot option; here are the available partitions:5 B4 V# O3 o1 H, _" M
0100           32768 ram0  (driver?)
5 b: B4 z- {# M8 c; w  nb300         7764992 mmcblk0  driver: mmcblk* ?+ i: O- J+ G9 W+ s" \/ ]
  b301           71680 mmcblk0p1 cd4e1bc4-01
7 h# ]% F3 N1 N% Y4 ?# T  b302         7675904 mmcblk0p2 cd4e1bc4-02                          + h$ H7 D, }4 y* \  u/ ]; W
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block
+ \! w% x4 `- b6 f4 l
) |$ t0 \. `. B- X8 |( p2 r, V! Y& p  t# n# h
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
沙发
 楼主| 发表于 2017-9-12 22:25:21 | 只看该作者
应该是如下错误造成NFS失败:
# q* x- [+ f* e4 h
0 u- B5 M: x8 D6 w, Llibphy: PHY davinci_mdio-0:07 not found
  V- B, S  L% k& S9 K8 rnet eth0: could not connect to phy davinci_mdio-0:07- S0 b6 L2 F4 B5 M0 ], S
IP-Config: Failed to open eth0
% I$ [, E9 E* g- U% R; Z, tIP-Config: No network devices available

点评

您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。  详情 回复 发表于 2017-9-15 21:45
回复 支持 反对

使用道具 举报

1

主题

73

帖子

1385

积分

创龙

Rank: 8Rank: 8

积分
1385
板凳
发表于 2017-9-15 21:45:33 | 只看该作者
uestczwj 发表于 2017-9-12 22:255 A2 g" V' N( h7 t
应该是如下错误造成NFS失败:
& r0 x. Q2 J2 V/ f; K7 Q# V
: q6 l& ~% j! X# r- `& Vlibphy: PHY davinci_mdio-0:07 not found

1 X6 I& x2 t" G; T7 g8 h: ~! F您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|嵌入式开发者社区 ( 粤ICP备15055271号

GMT+8, 2024-4-27 18:55 , Processed in 0.043265 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

快速回复 返回顶部 返回列表