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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 7465|回复: 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卡启动
! i  Q+ Y, M2 J& {7 n) @( W% e
' I: z: k# d6 r4 h/ H, x1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin+ J% k# Y+ B" [8 n, p: C

2 j2 n5 a& h8 L0 f& D* w! G2 }2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版3 O. C0 C! l. H% w+ a! E5 B

9 U3 G; n8 j2 @( N3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式: E! E6 |( O* o/ y
& x/ D+ H4 O- f
uboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):
2 X, `  n, x: |: \' l4 P9 C+ B2 F: K) ^5 v& |# y. @* P+ c
setenv uboot_macaddr 1/ ]+ c6 F. s7 X( v1 K. B. L5 L
setenv ethaddr 00:0c:29:bc:7e:9a
) ~0 L8 G1 Q% _. d1 \! W3 Rsetenv serverip 192.168.2.192
2 p0 _& h7 h0 R$ y. |$ {  ssetenv ipaddr 192.168.2.191
% e# f  W2 J+ G4 q7 R
0 S$ w0 `+ R% dbootcmd=tftp c0700000 zImage;bootz c0700000
" a3 s  z7 Y! G- ^; `, M/ T* j
0 m- ]& G. }( V2 O  ?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/nfs4 _4 c* M) w2 G: N% J* a1 n) c

8 B  T6 K! |1 t' Q: n4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):: N! L2 A; c1 T4 B( k$ ^# H& t

! B% Z# {( M  w( tboot命令后的完整启动信息:  g1 I  N* f6 a- k

0 {6 o& d& b- Y+ w9 E) x% c=> boot: C5 r$ E3 y  A/ l/ z# f- M! v
Using DaVinci-EMAC device
7 F# U7 y! d" R' e$ ZTFTP from server 192.168.2.192; our IP address is 192.168.2.191* m8 A& Y5 x3 {! b  @& f
Filename 'zImage'.
( B4 z4 \- E/ K5 a) O/ yLoad address: 0xc0700000/ N; h, f$ W6 F  X
Loading: #################################################################* m7 _4 R$ X8 V+ c$ z+ `; Y6 t( M
         #################################################################
; M+ R' L8 q9 N7 p. b" D' t         ################################* W  V2 H1 X, [) `- l: ~
         288.1 KiB/s. o4 W5 R9 W  i# g5 h1 {2 o% f( |
done
) R/ K) a7 a7 y+ JBytes transferred = 2367360 (241f80 hex)
3 Q: C1 k: C7 J. t- r! V
6 i8 d3 t0 h- d4 h4 i/ Y* T/ f5 sStarting kernel .... ]4 R3 K+ [9 N# v; T4 d. C

- l% ]& q, f- g/ x3 J/ `* u6 kUncompressing Linux... done, booting the kernel.+ l$ E1 J9 a' t; G2 N
Booting Linux on physical CPU 0x0' o  l% c$ ?% R- a6 u' J% Z8 d
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
/ ]# c; Z2 L7 aCPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
; r" G7 \. _% Z% z1 T; n) sCPU: VIVT data cache, VIVT instruction cache5 n6 t* w  v2 T9 J- b0 b4 F
Machine: AM18x/OMAP-L138 Hawkboard9 b0 v1 Z! ], v6 r; Q
da8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified6 a$ ?- a! W9 x
    'nn' and 'address' must both be non-zero6 N# G1 U" Y. E4 f- P# y: i# ~$ A
cma: Reserved 16 MiB at 0xc6c00000
1 l( J  ~  L8 d! I; {Memory policy: Data cache writethrough' l0 i' X( r  k
DaVinci da850/omap-l138/am18x variant 0x1+ z. h! o1 V4 ]7 D" c. Y% c  a. ~
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480+ g3 ]/ f% V/ w/ z2 u' m0 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/nfs6 i. U, k. B6 {3 A- ?- t( }
PID hash table entries: 512 (order: -1, 2048 bytes)' V& c5 o3 h6 @2 E$ N2 ^: l2 `. F
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
4 `- x& K  u3 `Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)6 U- @3 }+ C7 I; i+ g0 X
Memory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)
; l; t, ~9 h( I% E) FVirtual kernel memory layout:' K1 ^# d9 ]7 m, g
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
0 h& S6 ]) `+ \4 m0 N0 J5 Y9 Z    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
  R% ^* |9 O# a9 W% |; _: M    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
8 }' w# c. K  T4 ~8 t; s    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
( h/ ?/ I9 ?% U    modules : 0xbf000000 - 0xc0000000   (  16 MB)
" D7 J" R1 \6 I- l( _& D; `3 Y      .text : 0xc0008000 - 0xc0474b38   (4531 kB)) d2 Y; U/ `' b! i3 I
      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)7 O: a$ U5 t) m% X+ A
      .data : 0xc0626000 - 0xc0673110   ( 309 kB)
7 k$ T0 n3 L3 [  ~       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)  m# h3 F$ J; x- [+ L$ W9 F# [
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=12 {) A& g$ `0 x8 L" ]
Preemptible hierarchical RCU implementation.
2 x2 m# ^$ X* X        Build-time adjustment of leaf fanout to 32.
$ X$ N$ ?, h# [8 Q; s4 M- lNR_IRQS:245
+ G/ i, C& H3 v- o2 q! e9 Hclocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns7 ]& T" p1 \' A1 O
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns+ I( ]$ F! I  m4 ~. ~- F
Console: colour dummy device 80x30
1 `6 {0 l: J0 t0 D5 l, HCalibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
5 Y3 I% b) ]% Gpid_max: default: 32768 minimum: 301- C& J* R  J7 s1 I3 U
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)% B5 q& U/ l2 o6 b: F/ ^& a
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
* r1 C' k/ q/ R' a0 QCPU: Testing write buffer coherency: ok! x1 X1 E( s) [) l& s( |6 e9 F% V# y! c
Setting up static identity map for 0xc0008400 - 0xc00084582 a8 `) Y7 r7 L: c
devtmpfs: initialized' s& U. I* K) J6 z
VFP support v0.3: not present& u6 W  d; ^4 s9 Q# X
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns% c5 }6 r9 _& L: s4 |
futex hash table entries: 256 (order: -1, 3072 bytes)- z, I# `, I3 q
pinctrl core: initialized pinctrl subsystem" B2 A+ i- u9 j* ~- K
NET: Registered protocol family 16
) u0 J! P5 a9 M" D4 vDMA: preallocated 256 KiB pool for atomic coherent allocations1 o8 T/ Z( E7 ~$ T+ h1 c; z
cpuidle: using governor ladder" }7 @7 L( u  i7 P+ S* e
cpuidle: using governor menu& C# j* E/ u6 \
EMAC: MII PHY configured$ w9 G4 ?) E, u0 `
mux: initialized GPIO3_12
! A+ Y0 t9 ~0 O- Gmux: Setting register GPIO3_12
+ n& D7 X4 G: ^* G- S6 L+ Mmux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110
- b# j* S! K0 A4 Z1 pmux: initialized GPIO3_13
% D' L" o7 E2 Z- n7 \$ W, Kmux: Setting register GPIO3_13
* _$ \1 i: v7 R' b  g. Wmux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x00118810: r1 \& \/ H5 ~( u1 _5 J* i
mux: initialized GPIO2_4
' z9 L" p/ u- C7 e0 L, qmux: Setting register GPIO2_42 t& l; u% r* r( T# L- R
mux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000( j$ j' c3 g+ j7 j  x
mux: initialized GPIO6_13
8 U7 C* {; v' e) dmux: Setting register GPIO6_138 a( N* a% E$ P% a7 }
mux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x000008008 r& I) f8 }, Z- J0 J
da8xx_register_rproc: memory not reserved for DSP, not registering DSP device
! |. w/ N+ U4 `' `. o; iomapl138_hawk_init: dsp/rproc registration failed: -125 r. ?8 l0 Z+ u. X, H
edma edma.0: Legacy memcpy is enabled, things might not work' T6 h$ G, ]7 |/ E! i
edma edma.0: TI EDMA DMA engine driver
8 O# [: ^9 A& T( Eedma edma.1: Legacy memcpy is enabled, things might not work6 n4 ~+ I. @$ d, z; D, T# D1 E" B/ L
edma edma.1: TI EDMA DMA engine driver
4 v5 B. [3 i4 f  A* Cclocksource: Switched to clocksource timer0_1  M# v5 D0 m& ]% u1 g
NET: Registered protocol family 2
9 x. g+ K7 A% G: \* vTCP established hash table entries: 1024 (order: 0, 4096 bytes)
- \# W! O9 d8 K' u# ]! K( HTCP bind hash table entries: 1024 (order: 0, 4096 bytes)
  I! x9 A4 ^& s( y' g( @) \8 iTCP: Hash tables configured (established 1024 bind 1024)4 r$ i1 x' r8 q) T
UDP hash table entries: 256 (order: 0, 4096 bytes)& v7 Y+ I1 m" z
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)! |) {9 o7 S1 ]/ \6 H* c5 J3 `
NET: Registered protocol family 1
* e" I, {* c  n3 H1 vRPC: Registered named UNIX socket transport module./ c2 `& |- _( |7 k' R
RPC: Registered udp transport module.
/ n' q7 q! X3 HRPC: Registered tcp transport module.
+ c5 Y; L# i" U4 b6 r( o: Q- R% MRPC: Registered tcp NFSv4.1 backchannel transport module.* m2 ~4 T: _# q' x, b& z% a. j
workingset: timestamp_bits=14 max_order=15 bucket_order=13 d+ @9 g9 f9 w. _& ~% x4 ^# M
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
: I  D8 o$ g. b: Tio scheduler noop registered (default)8 O5 E8 v6 ~0 O/ T1 C
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled) Y% \% f) M: g3 M, B" \
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A
7 k( ^* Y' H. Q7 J2 x( Lserial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A! D5 M) r, M6 Z& h6 r% d
serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A/ X& j4 C1 L, ]2 i: w
console [ttyS2] enabled3 Q: [6 W/ X0 ^0 G5 C7 W
brd: module loaded
7 M& r1 d9 D$ {libphy: Fixed MDIO Bus: probed
( T8 D" s7 |- X6 J" ydavinci_mdio davinci_mdio.0: davinci mdio revision 1.5
  S. D9 D; r& R% h% T2 \davinci_mdio davinci_mdio.0: detected phy mask fffffffe2 X: |" u( c% W, Q7 q" a4 h: w' r
libphy: davinci_mdio.0: probed9 m5 R( a4 X+ X. X
davinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN8720
& j- D; e6 j& s3 @) ^3 di2c /dev entries driver6 ^, d+ o9 a& m# H
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
* z9 Q' O$ q5 E! R) Odavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1( V* V6 M7 I5 D7 {
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode% V7 ]' e4 T% v7 b
NET: Registered protocol family 10
. t7 q0 p( i% c, _' Nsit: IPv6, IPv4 and MPLS over IPv4 tunneling driver& i: Z3 \4 @: u2 b6 T' H
NET: Registered protocol family 177 ?- O6 g4 E0 D2 b( J
console [netcon0] enabled
3 d6 [. |0 M& E# f! l2 O5 m" n. Pnetconsole: network logging started, Y( ^) S8 _; S
davinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:899 l1 D- P, [  i! D/ b
hctosys: unable to open rtc device (rtc0)6 q' l3 r2 p* Y! J# u- _* W
libphy: PHY davinci_mdio-0:07 not found
% }1 w7 g! Y: m  O& v$ K3 wnet eth0: could not connect to phy davinci_mdio-0:079 t) W; k% r2 i- Q* k2 p0 ?5 e
IP-Config: Failed to open eth04 R0 w5 B. X: B+ ^
IP-Config: No network devices available% K* z5 s& s* L, I! M; p
mmc0: host does not support reading read-only switch, assuming write-enable
3 u' x; r: O% R- d5 m3 ~mmc0: new high speed SDHC card at address 59b4
8 Q% u/ t* C2 O" q4 fmmcblk0: mmc0:59b4 SS08G 7.41 GiB
. h: P2 z! R  k/ G0 z/ a mmcblk0: p1 p2
2 M: r& l5 o- o# c; V& ^
. X  U; G: m- N4 o: ~/ G- k2 G& h" `. @0 }/* 此处等待了一段时间 */
* C1 t% y7 o) ^; ]& i/ _7 \0 g0 _* s' M
random: fast init done
# Y6 K+ J6 B  \5 l( ]VFS: Unable to mount root fs via NFS, trying floppy.
1 L0 m% s2 b! O3 {) }  GVFS: Cannot open root device "nfs" or unknown-block(2,0): error -60 x/ J+ o5 A4 G
Please append a correct "root=" boot option; here are the available partitions:) {! O" `( L- [9 \. j6 F
0100           32768 ram0  (driver?)
$ S$ q! Z- p0 k9 ]0 ab300         7764992 mmcblk0  driver: mmcblk
- e5 P* }* b  U9 z  b301           71680 mmcblk0p1 cd4e1bc4-01
2 d! i' K' T1 ~7 w; M8 A" q& c* `  b302         7675904 mmcblk0p2 cd4e1bc4-02                          1 Z- r, G2 N" ^+ b8 t  n2 e/ G6 m
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block7 _. u/ D, K9 t" y2 E1 ?

1 t- M1 @8 I2 E. F& L# u( k  O# M; ]# d( M# R
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
沙发
 楼主| 发表于 2017-9-12 22:25:21 | 只看该作者
应该是如下错误造成NFS失败:
% ]- b- y# ?5 T8 W
4 g* X" g) j6 N) u" y8 {libphy: PHY davinci_mdio-0:07 not found
& b( e( b# R0 d; Xnet eth0: could not connect to phy davinci_mdio-0:07
9 L6 V6 e3 l$ U4 p) IIP-Config: Failed to open eth0, U0 k6 {# t& w4 T7 Y- `/ b+ C
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
6 ]+ {0 @6 X! y8 P: ?2 d, N应该是如下错误造成NFS失败:' q8 L" D& i  t0 t% u% k: \

/ J4 g" X: u5 d7 flibphy: PHY davinci_mdio-0:07 not found

7 b) V$ F* k* C$ O" _6 W8 P! `) B4 _  k您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-16 05:19 , Processed in 0.040498 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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