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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 5769|回复: 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卡启动
$ K4 j9 C  h% _* X9 ~0 N! R; x) \! i4 r' y0 |
1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin( N9 ~9 e$ ?+ O: S/ F9 I" {

. n: @3 v% W4 {# ~2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版; C- d. P* D) e& H! r! [( s
+ j0 B# Q0 \) v5 W  r% |+ l
3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式
+ M' R  n# \  w0 l. q# ^# f) k$ j7 c# g) I. d
uboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):
/ A$ \+ x& `/ t2 x" N7 ~( u- o5 {$ ?- |
setenv uboot_macaddr 1
1 c/ k/ I# W# d7 s1 r1 rsetenv ethaddr 00:0c:29:bc:7e:9a
: p  u- o& e. V7 L. p4 Jsetenv serverip 192.168.2.192% n, o8 M% i4 E$ @# n* w
setenv ipaddr 192.168.2.191. u5 q2 q: x& m# N' Q

- ?  y" ^; f1 O! q. R! X# {3 Cbootcmd=tftp c0700000 zImage;bootz c0700000
- V! G( {, U+ e" H9 Z: M
+ @% q2 p. y& K- vbootargs=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
5 W; Z& m  q7 e( e
: k/ ?* c& x( d) k4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):
4 j' i* c8 U4 ~  M' C0 c1 e4 P8 p1 ^8 J& f: z9 H: R  T% I
boot命令后的完整启动信息:
* l+ }4 r$ r1 a! v. j" @" }/ c6 J+ e
=> boot  u+ F! T9 H6 h1 n
Using DaVinci-EMAC device
: T5 F4 r$ x$ q; `  ?  [TFTP from server 192.168.2.192; our IP address is 192.168.2.191
+ z/ \' N$ a& l' MFilename 'zImage'.# N0 L. }, z- w
Load address: 0xc0700000
+ {- V, E/ O4 f- r2 Y1 B+ l: _( b; nLoading: #################################################################
! n+ K) n8 H7 K' r, u5 k         #################################################################
& q8 P- ^/ g$ m: E" A, Q- T. y         ################################
( L0 E/ H' Q, Y4 [6 `6 [. i! C* C  `         288.1 KiB/s
) L/ K$ t( _& F, m  l& ^done
& @8 e1 n+ ^' U6 CBytes transferred = 2367360 (241f80 hex)7 H* W9 e' V! ^

, i. Q$ C: U+ q: g& H7 _, G  g/ `Starting kernel ...
; j8 f. s) N# d1 F8 e* A: v' Y. g; u9 }- q$ C  {
Uncompressing Linux... done, booting the kernel.2 C. R5 K8 r. N  e
Booting Linux on physical CPU 0x0
1 _- d1 K9 L/ H0 ^+ F3 [$ K8 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 20179 z- r) K# _, |% h+ x- h2 `
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
2 A1 F% {9 O9 F1 T: K4 YCPU: VIVT data cache, VIVT instruction cache5 R% R- d, D2 J/ y/ n0 y+ R* @
Machine: AM18x/OMAP-L138 Hawkboard' P& O; ]. R2 t
da8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified
4 s& E. j6 P6 K3 d0 V    'nn' and 'address' must both be non-zero
+ m5 s, z" \3 z! m( Lcma: Reserved 16 MiB at 0xc6c00000) W7 R$ a- P5 I
Memory policy: Data cache writethrough
4 {$ c9 T5 P/ j8 E8 A7 A1 T7 `DaVinci da850/omap-l138/am18x variant 0x1
, q6 G) |2 D' M6 T' @/ m- |Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480+ ^. g# `4 f" u( _, O" _
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 V( q  }0 }- Y6 A& `" T* F: A9 IPID hash table entries: 512 (order: -1, 2048 bytes)
! T6 s3 b  b6 b3 Q- ]; C9 x+ \) EDentry cache hash table entries: 16384 (order: 4, 65536 bytes)
% w0 B8 p4 e. }9 D3 m* uInode-cache hash table entries: 8192 (order: 3, 32768 bytes)
% _+ l) x& L/ P. l* S2 cMemory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)
' ~; X, n( c7 o7 q& w9 iVirtual kernel memory layout:
) O' \/ p8 Z0 R  {2 y    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
1 V1 r+ j1 `# h0 V    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)2 x$ _8 V6 i& {/ l. }6 H
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)% R& z* @! w8 x0 @: Y7 H
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)4 h& [9 E7 s0 y, i
    modules : 0xbf000000 - 0xc0000000   (  16 MB)4 S" j, ?1 k, c8 P% u
      .text : 0xc0008000 - 0xc0474b38   (4531 kB): G5 m+ ^3 n0 a  \
      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)
: i, z+ h; [8 |, U5 S      .data : 0xc0626000 - 0xc0673110   ( 309 kB)- {4 u5 g5 w6 w3 [: j
       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)
2 _$ Q  L; L' ?) j" [+ t- bSLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1, }9 d4 Q+ x$ O6 o8 B+ h5 N1 Q  K
Preemptible hierarchical RCU implementation., R, d: W2 ~# o! X8 l
        Build-time adjustment of leaf fanout to 32.
6 N! p' G. @/ W4 n& l2 ONR_IRQS:245
1 r& C" T0 Z" r) X. t% ~8 iclocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns; Y9 q2 a$ |( V
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
0 w  x& f" G+ I8 L: M! X1 SConsole: colour dummy device 80x305 }; u, x8 E2 K% W
Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
3 L' o8 i& _( ?! o* C2 npid_max: default: 32768 minimum: 301) i  L, O9 S$ o& H3 `( g6 F) A0 n
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
0 m% r/ P2 ~& J  P1 zMountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
: _/ P0 {  n) d# c9 n7 RCPU: Testing write buffer coherency: ok" z# M# x$ W& a6 V
Setting up static identity map for 0xc0008400 - 0xc00084581 n* ?% y- @  Q! }
devtmpfs: initialized. A4 i7 m( g# t
VFP support v0.3: not present2 G9 \! O5 ^& p9 J
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
8 o, Z( P: {0 W$ C' [0 Z. i- Yfutex hash table entries: 256 (order: -1, 3072 bytes)
. F: @' H- P9 R+ m$ Q  ]& upinctrl core: initialized pinctrl subsystem9 I" ]' L" \2 T& ~5 \) a1 R1 a2 n
NET: Registered protocol family 16
3 y8 C0 s0 z& t" f/ gDMA: preallocated 256 KiB pool for atomic coherent allocations* Z  _) b+ k3 W& {+ y4 X
cpuidle: using governor ladder. Q9 w8 y8 J8 o
cpuidle: using governor menu( B! v4 ^4 C9 X: s) P
EMAC: MII PHY configured
7 q5 S9 {" |4 M/ g8 G/ {mux: initialized GPIO3_12
& z( z7 }2 J3 y: e2 bmux: Setting register GPIO3_12
  ^* y( s0 ~# }mux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x001181109 o; W" B/ K& f
mux: initialized GPIO3_13
2 O4 S: z: Q8 [5 B% g+ X, Z- C% V1 Dmux: Setting register GPIO3_13
! o9 d# o  N1 Ymux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x00118810
6 U+ [/ `5 v; e! Q. m3 W0 _/ omux: initialized GPIO2_4
+ `  i& m% d4 Cmux: Setting register GPIO2_4. h% i8 l6 g: w6 _, r
mux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000' O% o: ~+ X% E
mux: initialized GPIO6_13
" V  k* P  |  w8 w, V: qmux: Setting register GPIO6_13# c" B+ f( }1 ^
mux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800
4 b4 d% o. C6 f  K5 [! L" g6 uda8xx_register_rproc: memory not reserved for DSP, not registering DSP device
3 i& Y( Z+ @  l' ~4 v- Lomapl138_hawk_init: dsp/rproc registration failed: -12, t/ u5 ]3 d. G4 t: |# z  j
edma edma.0: Legacy memcpy is enabled, things might not work
2 l0 g/ I' F/ F5 ]. Q' Redma edma.0: TI EDMA DMA engine driver
, g" @  g. e3 M0 j! Hedma edma.1: Legacy memcpy is enabled, things might not work; p# Q& x  E6 H2 ]7 K
edma edma.1: TI EDMA DMA engine driver3 K- ^3 h  r7 ^( D* U
clocksource: Switched to clocksource timer0_1
$ F: F( j/ {0 Z8 eNET: Registered protocol family 23 W; t+ @, R+ b, l1 k
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
7 R# G. w) e+ W  u# p) y+ dTCP bind hash table entries: 1024 (order: 0, 4096 bytes)
' v- {" T) P) B( r& t7 q5 ~TCP: Hash tables configured (established 1024 bind 1024)
1 R, v( Q0 Y" c+ W4 lUDP hash table entries: 256 (order: 0, 4096 bytes)  m  ~& o* [: T; s, J% B( W
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
. C' @4 u/ i' M( v- L) MNET: Registered protocol family 1
5 M# v2 X, x- v$ g! y1 i3 ]$ cRPC: Registered named UNIX socket transport module.
4 W2 j4 D  S( O* i. y. U1 k, j. ?( S! oRPC: Registered udp transport module.
' J5 ?# y. S; Q+ j  D7 k$ RRPC: Registered tcp transport module.
9 ^; a' _. u# T3 k+ D% [! HRPC: Registered tcp NFSv4.1 backchannel transport module., L1 h5 u8 E1 f
workingset: timestamp_bits=14 max_order=15 bucket_order=1
& ^& C( \% b8 P$ gBlock layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
2 x- r$ `0 F, U- `, wio scheduler noop registered (default)6 ]9 X$ |* [+ j* s/ p5 w
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
1 X. W7 ?; i. E/ [0 i) Oserial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A. w* N& i' L8 V% B; J- G) l' M
serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A
+ n% U+ {: C4 C& @+ z0 f/ [7 cserial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A# q- ^- N" d& D, ~
console [ttyS2] enabled
0 c2 K* \1 Z5 \- Cbrd: module loaded
! ^, O# x% L5 j9 dlibphy: Fixed MDIO Bus: probed
6 ?5 R- I5 u0 k8 T4 u, o! E/ }# }davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
2 b) A  k' F/ h  j3 h4 idavinci_mdio davinci_mdio.0: detected phy mask fffffffe
( N' n* s# y9 m, q: Y5 O+ `libphy: davinci_mdio.0: probed
, g* n, _5 O% P& N6 B# cdavinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN8720
0 o* w) r# ~  B, W# c# j5 ^i2c /dev entries driver; Y; u9 |3 l! D- _4 i' N
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1( ], R* V0 I. l7 `* f! g
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
2 n* [, E8 l6 A1 y! h; Ydavinci_mmc da830-mmc.0: Using DMA, 4-bit mode: @$ a' ^, O9 q/ z$ A
NET: Registered protocol family 10
/ B; A, {8 C) y9 z5 R/ psit: IPv6, IPv4 and MPLS over IPv4 tunneling driver# _  m# j% r! N* Y  U$ v. E
NET: Registered protocol family 173 }  W& B2 M! X; P+ c
console [netcon0] enabled. O% w  _4 f% K- N! l5 @9 q8 a
netconsole: network logging started% S' R# M% p! m! `
davinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:894 C5 H  Z  p& |& \" r
hctosys: unable to open rtc device (rtc0). r1 S' e  [2 t' D7 D% J* L
libphy: PHY davinci_mdio-0:07 not found
) r# G' _9 Z6 B* g3 _1 k( _net eth0: could not connect to phy davinci_mdio-0:07
2 R/ F9 k9 }, D4 n; D+ R7 }IP-Config: Failed to open eth0# O8 K( ]; L( s! f
IP-Config: No network devices available6 b$ [, h; I$ K" l8 j
mmc0: host does not support reading read-only switch, assuming write-enable" |/ }* _2 c+ X* K+ ~
mmc0: new high speed SDHC card at address 59b4
$ [( N; j& Z- A, ]7 [! immcblk0: mmc0:59b4 SS08G 7.41 GiB 3 `- v5 `  v/ L- M3 k
mmcblk0: p1 p2
6 G1 r* T4 `5 h% k( Q$ x: R+ f3 y& T' t6 J' W6 z+ x
/* 此处等待了一段时间 */7 y: R5 C3 y  S! w* v- X

  u# S# R# a8 w. d/ Q( Vrandom: fast init done' s! |5 [3 P9 G; e4 \
VFS: Unable to mount root fs via NFS, trying floppy.
# \0 R9 l2 A0 Y; T9 t% \! [, J% [1 MVFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
1 g: ?$ M$ V' b- W) V0 Y( P! w. o% LPlease append a correct "root=" boot option; here are the available partitions:
# Z; P+ F% y9 O5 L) f, T1 V& h0100           32768 ram0  (driver?)+ ]4 [. A# C, L2 }( B1 g
b300         7764992 mmcblk0  driver: mmcblk  C+ i6 r3 A0 E0 z- [( C$ s
  b301           71680 mmcblk0p1 cd4e1bc4-01( s8 D2 V# W1 G) S" B; l  \
  b302         7675904 mmcblk0p2 cd4e1bc4-02                          
1 p" X% }- S: C5 @4 jKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block
" Z+ D. r6 E# t2 S8 l9 h( ~! i/ \
4 a( N! {# M2 U0 h$ T2 ^  I* k  e8 x7 r' W# J
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
沙发
 楼主| 发表于 2017-9-12 22:25:21 | 只看该作者
应该是如下错误造成NFS失败:2 ^9 ]$ ^$ x0 y4 Q$ U  R$ {0 D  y
: @3 X. m" {$ d; A
libphy: PHY davinci_mdio-0:07 not found: v; ], r  o2 O8 }
net eth0: could not connect to phy davinci_mdio-0:07+ G; o) G0 j( ~% f
IP-Config: Failed to open eth00 ?+ p) a! B( r, n6 o: V2 F
IP-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:25
2 k- `5 {7 {+ ]9 L9 Z$ G应该是如下错误造成NFS失败:8 K7 F% [3 Q; N0 r6 u" b" [3 R

* E. l1 }. a' T; n% Flibphy: PHY davinci_mdio-0:07 not found
1 L% ^7 C  L, `. h5 B% |
您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-2 17:24 , Processed in 0.045082 second(s), 26 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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