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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 5770|回复: 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卡启动) Z$ F: `, a# P3 w  k% D
( I! w! A# A! S. B
1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin
; y5 n6 Z3 K( G0 s' s3 L' k9 W+ Y  U3 B" K; P3 L" E! }9 G
2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版" G( Q" e2 Y8 R

- N1 a: s7 e3 b7 Z+ `0 h- I# ^4 t3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式5 V5 y" U, W) m* ?

9 c* D( z4 A$ [! Q% b/ K, Uuboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):8 J' m6 Z# a  I) c  n
" B* V& E" W+ Y# s& S
setenv uboot_macaddr 1) ]; c9 r$ S5 @0 q8 c! S0 _
setenv ethaddr 00:0c:29:bc:7e:9a
6 `# ?  s3 D7 e  j: H- I$ Gsetenv serverip 192.168.2.192- w9 }4 A6 d$ H6 y( I
setenv ipaddr 192.168.2.191$ U1 N* h  b* S  K5 `. o
" Z) S) k# N" F" J
bootcmd=tftp c0700000 zImage;bootz c0700000, M0 G( [- H1 }+ F% {% R

; o7 n& ~; _# l' @, V7 P" Ebootargs=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  f2 D% W* e9 A# J; k. _
7 O4 G, B$ h5 Q
4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):
2 x2 [; }: L! d" I* y6 {9 t$ v7 f' ]9 M+ F: g7 \
boot命令后的完整启动信息:5 M2 z3 B9 M6 _

7 Q2 }$ K# a5 M: v4 g1 d+ W5 V=> boot1 l3 ~  k0 b$ P3 V2 X
Using DaVinci-EMAC device% Y+ P3 c8 h+ G4 f
TFTP from server 192.168.2.192; our IP address is 192.168.2.191
! X7 j( c/ E, S2 A3 k& Z6 ?Filename 'zImage'.
1 n; ^2 v9 \+ N/ y5 ^Load address: 0xc0700000( m9 ?+ ~5 _) a7 v. B" G
Loading: #################################################################
: C& I# }" B2 A) N. n6 Q9 z4 N         #################################################################
  Z$ M* t" S8 ~9 x. u0 G  n9 d         ################################
4 \( }8 K  J0 n2 r& f; h0 U         288.1 KiB/s
( F0 U$ t" r, j) h1 ?2 v# g1 Xdone" d/ ], Z& q. j; K4 y
Bytes transferred = 2367360 (241f80 hex)
% R8 t. D& a8 z# [- G! i# q+ G# |! `3 B% `) n6 z
Starting kernel ...
- e2 O- G6 _( h' o% T% Z9 U% Y' P. A' m1 o0 ~* K
Uncompressing Linux... done, booting the kernel.
4 }, F% q. m% H4 Y- o4 \& p# PBooting Linux on physical CPU 0x0
+ X! J9 O# A6 P3 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 20176 Q- s6 c& t  C$ u) ~: M7 t
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
' g/ ?8 ^1 C6 G$ f' ^) bCPU: VIVT data cache, VIVT instruction cache+ R( f  M1 E  d
Machine: AM18x/OMAP-L138 Hawkboard
3 G1 F# f: ~) O+ ]% K6 kda8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified
+ G: l" O' G. P0 c( J: `( O8 u0 H. k    'nn' and 'address' must both be non-zero( c, C$ C; }$ S2 {
cma: Reserved 16 MiB at 0xc6c000005 p* B! i/ r* ]6 ~
Memory policy: Data cache writethrough
+ B: i, H4 m4 Y, z& o: WDaVinci da850/omap-l138/am18x variant 0x1
8 B$ U4 T+ Z) C& C/ g# O# ?Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 324809 F5 H, E! D2 @4 |
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/nfs7 p) Z. a3 `) }# t! S3 q; f
PID hash table entries: 512 (order: -1, 2048 bytes)4 \- \6 ^8 a  G1 _
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
5 B: K) r( c5 v" oInode-cache hash table entries: 8192 (order: 3, 32768 bytes)
! s5 @- ~8 _1 O& n0 UMemory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)
# ]* R( }& A) M  r7 LVirtual kernel memory layout:
6 h7 l- P- D) Y9 f' d    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
. _. }% @2 X. _' j* T5 u9 d# D    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
0 H! a- X4 s% B4 J) r# j    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)* b1 }% S6 V/ g( ^
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
2 C" a  q* e, m9 Z* t3 {    modules : 0xbf000000 - 0xc0000000   (  16 MB)
( C  [" g' z; a      .text : 0xc0008000 - 0xc0474b38   (4531 kB)
  r' b: V$ i6 X8 ~( b3 @      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)4 j& U5 U0 g; }' i. Q5 N
      .data : 0xc0626000 - 0xc0673110   ( 309 kB)# I7 \; f/ x/ w) J/ |* ^% N% {/ G
       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)  D" E" ]+ C1 W
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=14 e- K, o+ O: R) H
Preemptible hierarchical RCU implementation.0 _. t3 L! _0 R  y" @- K
        Build-time adjustment of leaf fanout to 32.
9 F$ m7 r* q- i, R3 t3 ?9 wNR_IRQS:245
1 m& m/ n# B" }  l; L3 \; f) _$ z/ mclocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns# u% N! }( D. }. p, ]
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
, ]0 \8 D0 ~; F- M; `7 r7 _2 nConsole: colour dummy device 80x30% e/ B8 N# D, b! V
Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
5 j5 Z" c+ [8 n  a) K+ `pid_max: default: 32768 minimum: 301
7 e$ l6 ~6 L. _, f/ b# lMount-cache hash table entries: 1024 (order: 0, 4096 bytes)
9 N5 s4 E& y. s& S2 f" U0 e7 PMountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes): I! A4 r1 P8 s; `' y
CPU: Testing write buffer coherency: ok
: @3 e% }$ i0 F; }0 VSetting up static identity map for 0xc0008400 - 0xc0008458
6 `& W/ n" `4 Z- ~* a) Xdevtmpfs: initialized8 F2 l( \) e! K+ X' s8 Q( L
VFP support v0.3: not present
* J/ S3 F5 u* e, r" Qclocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns6 }& S8 k2 O. b* X
futex hash table entries: 256 (order: -1, 3072 bytes)
0 h+ Z6 T5 D* F6 J& epinctrl core: initialized pinctrl subsystem0 M) G9 `0 O7 x; _1 s
NET: Registered protocol family 16
4 B  b6 b/ a: X, D  kDMA: preallocated 256 KiB pool for atomic coherent allocations
& t7 g$ Y+ e0 B5 Wcpuidle: using governor ladder  q9 V( Z4 C; S9 M3 g
cpuidle: using governor menu' J( k, I2 d) |0 j: m- g
EMAC: MII PHY configured
# d4 d7 ]$ |( }2 o0 @3 smux: initialized GPIO3_12
2 D) ?& ]. q2 V5 ~mux: Setting register GPIO3_12
/ o( w4 A3 A- ]" I1 ~mux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x001181105 o, l- z# P+ G! {' @4 G* b. s
mux: initialized GPIO3_13
- t- v6 f# S& a. }9 s/ c& Emux: Setting register GPIO3_13
- r* ~9 S. S! R* z% h9 ?7 cmux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x00118810: A! n0 k" |& s' k
mux: initialized GPIO2_44 Z/ K# @1 n; O# b  y
mux: Setting register GPIO2_4
* w/ G2 s4 F- j2 b2 [0 \1 ?mux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000
# S- P3 z+ U8 {6 H$ {mux: initialized GPIO6_135 L& i+ u$ l9 U  Z  n* H
mux: Setting register GPIO6_13
1 u5 V- M2 ]5 m7 omux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800
- B! F* \  L, W- D$ P# f6 `da8xx_register_rproc: memory not reserved for DSP, not registering DSP device$ T3 {# @6 ^& Z! s! Z& ~
omapl138_hawk_init: dsp/rproc registration failed: -123 r5 X8 G0 L% q, s& k1 [) f+ b
edma edma.0: Legacy memcpy is enabled, things might not work
9 @4 k$ |! M. C; f6 iedma edma.0: TI EDMA DMA engine driver' h& W& `6 S* f& w: {
edma edma.1: Legacy memcpy is enabled, things might not work6 x1 a2 d. w. Q
edma edma.1: TI EDMA DMA engine driver& n; ]* l, r6 v" E) p0 r: N
clocksource: Switched to clocksource timer0_1/ {, l- z7 I( [% B) ]! ]
NET: Registered protocol family 2
9 d, \4 @" G; C$ J9 g' ]TCP established hash table entries: 1024 (order: 0, 4096 bytes)
+ r% b* P* H, @9 w7 q: TTCP bind hash table entries: 1024 (order: 0, 4096 bytes)" t% b2 R, d3 g4 O1 {& |1 g  z
TCP: Hash tables configured (established 1024 bind 1024)
, A5 I3 L" t" v  {8 X2 RUDP hash table entries: 256 (order: 0, 4096 bytes)
5 _$ u3 j% N; `6 V( y+ b# nUDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
5 ?# p# Q2 [; u! |' M2 F) `" ?NET: Registered protocol family 1% {: {  w; q9 `0 t4 l7 V3 L
RPC: Registered named UNIX socket transport module.' v4 i/ A$ M$ K! {3 [* k' c
RPC: Registered udp transport module.
3 v" U; d5 ^, yRPC: Registered tcp transport module.
/ r7 B6 v) N3 W, ~0 {; wRPC: Registered tcp NFSv4.1 backchannel transport module.
1 B& J6 P/ S0 A) d) l, B! Wworkingset: timestamp_bits=14 max_order=15 bucket_order=1
; A  c8 i$ {, e1 q7 GBlock layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
6 ?  r# m% I$ xio scheduler noop registered (default)' I) s; o( W1 U2 r6 l. @$ h, ^
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
( `+ @9 t+ `+ I2 Q9 Userial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A
. F+ @! m/ k- ~/ s; ]serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A2 t5 h9 Y" N4 m# m4 ]
serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A
2 A- T) ^: e$ b3 D7 q6 o/ d8 a! Z; Sconsole [ttyS2] enabled
/ ~# }3 o& L3 j4 }& Ibrd: module loaded
1 R/ G, M6 O7 z( _libphy: Fixed MDIO Bus: probed
' N: X% R) h# a: k7 `5 K5 Tdavinci_mdio davinci_mdio.0: davinci mdio revision 1.54 }& M) n7 T) Q8 Q
davinci_mdio davinci_mdio.0: detected phy mask fffffffe9 {+ s; \4 Q0 ?# T3 w  a3 x! u' t
libphy: davinci_mdio.0: probed5 v2 E" c* G- }5 |( ^( {
davinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN8720/ S( ?' r3 C6 U$ A
i2c /dev entries driver; e* j/ T/ v0 C
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
* r/ k' J" P) b4 W" d( `davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
! \$ E. W8 L  {5 s" K& q, H4 o7 ndavinci_mmc da830-mmc.0: Using DMA, 4-bit mode
1 D& T: l: y- G' b6 b% E) v+ S0 ENET: Registered protocol family 10" i8 I; ^& B. E- }4 o1 R2 c' T4 l
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver6 R) j% f! x  K
NET: Registered protocol family 17
5 T% C; ~# c0 M1 I8 a  f! D' x; Wconsole [netcon0] enabled
' l; f  l5 s9 b: i; w6 G1 unetconsole: network logging started6 q0 `+ c2 t+ x$ b, B
davinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89
, ~' f* |- f1 ?- [6 q: y& W: G, ehctosys: unable to open rtc device (rtc0). F: i! o4 P: v+ Y2 H$ `
libphy: PHY davinci_mdio-0:07 not found
  [  P5 l8 z: ]net eth0: could not connect to phy davinci_mdio-0:07
: i; @7 B2 Y  b! y, [& U. q& R" m: y9 g: dIP-Config: Failed to open eth0
% M  G- B) S# e7 ~4 m& `6 ^IP-Config: No network devices available) K; ^1 _/ q3 e! {1 o2 C% x
mmc0: host does not support reading read-only switch, assuming write-enable
# H5 t7 K% f; Vmmc0: new high speed SDHC card at address 59b46 W/ V; B% Q$ X: O$ M$ e3 c( A
mmcblk0: mmc0:59b4 SS08G 7.41 GiB 1 m+ }8 X' v# N' M/ V
mmcblk0: p1 p2/ p8 e. W# t4 u$ ]

7 X# B% V% `# b; B/* 此处等待了一段时间 */1 c. d* g& O5 W) l3 b
% S# b* K$ i7 T7 ?
random: fast init done- e% D: ~4 J/ @5 H% X  y4 b2 j
VFS: Unable to mount root fs via NFS, trying floppy.
7 g9 ?& x1 a* k* m% _1 ^VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
. k+ r% [$ k5 t% t- kPlease append a correct "root=" boot option; here are the available partitions:
6 p/ Q( O/ I9 j' G: f0100           32768 ram0  (driver?)
1 T* d1 h* l; Mb300         7764992 mmcblk0  driver: mmcblk
6 }$ C* N$ V! P! r- ]9 K* B0 P  b301           71680 mmcblk0p1 cd4e1bc4-01
5 o5 P3 J, O- M  Z! E; h; J* W* s/ T4 ~  b302         7675904 mmcblk0p2 cd4e1bc4-02                          
$ R" I( b+ j6 c$ x$ \0 j1 j" TKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block
7 X: W+ n5 D3 t) T0 X6 @, |& r( i2 q' J: A  w) j  W

5 e* R; Q0 [: U7 X( @# t
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
沙发
 楼主| 发表于 2017-9-12 22:25:21 | 只看该作者
应该是如下错误造成NFS失败:
3 {$ H  u0 c# i, {$ S8 u) j$ v, _4 d# e" ~! L0 Z) s
libphy: PHY davinci_mdio-0:07 not found
2 L' f3 |# D2 n5 b. \( Nnet eth0: could not connect to phy davinci_mdio-0:07* `" s' ?" }' `6 H! f# e
IP-Config: Failed to open eth0
' }) p% [: H1 A  u6 pIP-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
$ K4 b" I  e1 z0 V# r/ G% m( m应该是如下错误造成NFS失败:
# B4 n2 n) G6 e' W
4 I  z+ z/ {, Ylibphy: PHY davinci_mdio-0:07 not found
, n! B6 g/ W: C8 G% x
您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-2 22:24 , Processed in 0.041374 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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