TL138/6748/1808F-EasyEVM-A2使用ti-processor-sdk-linux-omapl138-lcdk-04.00.... - OMAP-L138 - 嵌入式开发者社区 - 51ele.net
设为首页收藏本站
点击跳转“创龙科技服务通”

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 8186|回复: 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卡启动: S" a0 S" Z7 A
0 C4 A+ N" a1 Q5 C7 O5 k: i# |
1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin
0 i, ]' c$ l" U. A' {. P! {; {
! q/ v. n4 x1 l3 P+ @2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版
$ h* z5 E' ]9 a1 `9 E. y) _& C4 h# X
3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式
+ _* j8 ~( t" g' d0 H$ C
8 A: {; O* C( E( F9 nuboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):
! Y, \# P, w* s% V. ?6 `. b$ H) W+ A. ?2 X, H# t
setenv uboot_macaddr 13 R6 J3 x: a, a- J# W3 C* \4 @
setenv ethaddr 00:0c:29:bc:7e:9a 1 ^% _# E3 R6 J$ z9 F4 }) Y# j
setenv serverip 192.168.2.192
; W4 i" M, k; Q6 B) Q9 \. R3 dsetenv ipaddr 192.168.2.191: k. T' L- g7 C

. j8 e1 w: G2 G+ Ibootcmd=tftp c0700000 zImage;bootz c0700000
! X, {$ ~% }8 M+ g. X
$ }% y7 r1 @0 r4 h4 I, U5 ~* 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
" @+ [6 u) x; Y% F1 Y+ g" A5 K+ e5 {
6 ?7 `5 F- \/ h& A8 q/ O1 }' v! Z4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):3 B2 i/ o/ D# S0 r0 q( K" X" t
3 k8 U/ X+ `6 W% J8 j
boot命令后的完整启动信息:( ?6 M5 C; V7 r* \  Y0 q

7 v* e5 }; e' @/ T2 S  O=> boot
3 Q* R& {  G. j' [, e/ jUsing DaVinci-EMAC device5 m& c) h6 |2 c, j+ |( u0 I
TFTP from server 192.168.2.192; our IP address is 192.168.2.191$ s9 T' i( W# U% H
Filename 'zImage'.0 S, h* ^! N% G* d
Load address: 0xc0700000  l) q1 P9 j. E7 x
Loading: #################################################################
" D+ w* _; m8 Z0 [2 H7 ~1 a         #################################################################
' P" ~" B% ?  p6 W         ################################
$ y! g: k4 g( M( ]- r         288.1 KiB/s8 w+ w4 W# K% w! a. q5 j7 T5 m  E4 ~' T
done
  r4 P( {+ f, H1 q; w$ L% i0 XBytes transferred = 2367360 (241f80 hex)
- a. r0 Z* V2 W# n5 t( Q9 ?9 [. F: R( Y+ ~$ s8 C3 E3 _
Starting kernel ...9 E6 ]7 s! t7 c$ k% C

* E: q9 r8 _. ^. i) ]% IUncompressing Linux... done, booting the kernel.4 x7 b- K( d$ V) y! A/ {8 t
Booting Linux on physical CPU 0x01 f; z  w  u$ U9 {. `( [  G; B
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
/ ^! d$ b' N/ \. C$ a1 d1 iCPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f* V! D0 _2 w& f/ b9 |2 H
CPU: VIVT data cache, VIVT instruction cache* l7 r. a& [4 ~5 }, u' F
Machine: AM18x/OMAP-L138 Hawkboard
# S, ^3 ?) j* G. {2 l6 u& y( H! d2 c3 Zda8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified
: B) U6 ?, `) r* \9 C1 k; j  `    'nn' and 'address' must both be non-zero2 W; w8 ]1 s, E# B7 x
cma: Reserved 16 MiB at 0xc6c00000) T) l7 X+ o# n" ~7 v
Memory policy: Data cache writethrough6 r$ T2 E& j' R7 S& p9 W
DaVinci da850/omap-l138/am18x variant 0x1/ O% w3 [( ^) h6 E" e; ^0 w1 j
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480% l, O+ H% ^% I2 w+ H; f6 W; X
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/nfs4 `+ q5 q5 t4 ]$ n/ `
PID hash table entries: 512 (order: -1, 2048 bytes)
& U, a% m; B6 k9 f3 o) O# k$ nDentry cache hash table entries: 16384 (order: 4, 65536 bytes)9 a# @- P; C' {
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
8 S9 w, I0 j7 `9 h) J6 e8 h  sMemory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)
" |  S  ^6 ]% }" e+ @4 \Virtual kernel memory layout:
8 g1 p; y4 p2 N$ ~# U: q0 I    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
% Q* e6 s7 s& V) o! l. ]8 P    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)! F% O. _. b% m' Z
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
5 J1 b5 ^) @( `) V' C0 r    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB), W" h/ s1 m' m/ \: f
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
  R3 o+ b( \2 Z2 ~' e( F2 |+ ]% c      .text : 0xc0008000 - 0xc0474b38   (4531 kB): ?- d/ [9 e/ V+ ~' M
      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)
' z2 N4 Z1 o# X      .data : 0xc0626000 - 0xc0673110   ( 309 kB)
+ w# p* c9 V* M( R' Y$ Q       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)
( Y9 }; o$ Y0 h/ ^* X, qSLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=14 F4 h% `" R3 j) O
Preemptible hierarchical RCU implementation.* H% Q8 t6 X3 }* r$ F! @
        Build-time adjustment of leaf fanout to 32.) b" h2 m* K4 t6 @3 |* T8 K4 x; N
NR_IRQS:2454 E; ?7 }! Z1 h7 b# D" P- x8 @) q1 |
clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
5 l* d' ~$ s0 n7 n- p5 Gsched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
; n! C2 r! T6 P5 t, A; K( J2 w9 d2 aConsole: colour dummy device 80x30
" i& s$ A- ?8 P- |& {* N4 {: _- kCalibrating delay loop... 227.32 BogoMIPS (lpj=1136640)" u9 d: `7 ^5 [$ A6 s7 I2 S
pid_max: default: 32768 minimum: 301; I0 q- R* E" d
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
, N( Y+ j9 b! k8 b2 T+ MMountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)4 p9 K$ ?, n* u6 }7 S' _% l$ G
CPU: Testing write buffer coherency: ok
  ?% g- t7 R( }9 RSetting up static identity map for 0xc0008400 - 0xc0008458  G' W& }8 k; l7 f* Z
devtmpfs: initialized
' X0 b$ ]+ u* V" t7 bVFP support v0.3: not present$ }, W# U5 W. B" q: d
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
8 Y3 _$ y6 G$ J2 K2 u; Zfutex hash table entries: 256 (order: -1, 3072 bytes)
- l2 x; }4 d. Jpinctrl core: initialized pinctrl subsystem
+ `5 t( O% Z! N2 k& K: E2 }6 oNET: Registered protocol family 16, i$ `5 b. v. b# N: Z& L3 b
DMA: preallocated 256 KiB pool for atomic coherent allocations5 c1 M9 C8 p" {$ u$ F. Z
cpuidle: using governor ladder
9 C, d% @% I; H! a* T( xcpuidle: using governor menu3 a3 R* ]0 @( t4 g- [; v: T1 R  @
EMAC: MII PHY configured6 F& |) h' g0 I& z. I
mux: initialized GPIO3_12, C1 @( M0 Q  _( `- z# U: y" o
mux: Setting register GPIO3_12
1 ^7 J2 N: g# Q8 @6 gmux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110/ i) x2 k; r' y! E, J
mux: initialized GPIO3_131 g; }0 N) i% a# r
mux: Setting register GPIO3_13
+ O9 y# r  O! p2 B0 N& o# H0 ]mux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x00118810
& P9 ^4 C) {, |- B( |mux: initialized GPIO2_4; a2 R0 i. \6 n% I, _0 ^
mux: Setting register GPIO2_4  Z# b" H9 m- x, q8 h1 b  E, C
mux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x000080001 D# e5 X# r) c0 A4 W) V0 T) N
mux: initialized GPIO6_137 O0 V& l$ |6 a3 Q, `1 A- E$ j
mux: Setting register GPIO6_132 F, A0 P; M0 o" K/ D% m2 D0 P
mux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800! P! B0 C9 c* i- m7 b& C
da8xx_register_rproc: memory not reserved for DSP, not registering DSP device
, ]9 S/ u' S% X; l# p4 Jomapl138_hawk_init: dsp/rproc registration failed: -12
  O. O% x8 b! Cedma edma.0: Legacy memcpy is enabled, things might not work3 V, Q; |  y! x  j6 _) ?9 ?
edma edma.0: TI EDMA DMA engine driver9 z/ ]! }9 x8 |+ q& h: Z
edma edma.1: Legacy memcpy is enabled, things might not work
% Q% u  ]+ W& Eedma edma.1: TI EDMA DMA engine driver. k' y( ^. G( o& L( W- J
clocksource: Switched to clocksource timer0_1+ U  f2 v! E( U8 J
NET: Registered protocol family 28 ~5 a1 w* ]  S3 E$ L7 K
TCP established hash table entries: 1024 (order: 0, 4096 bytes)) ?6 }& L0 y3 F. L3 H5 ^$ \
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
1 x' Q- \$ S) f0 ^1 |' q* jTCP: Hash tables configured (established 1024 bind 1024)
; \4 V. e9 [! i& ]/ AUDP hash table entries: 256 (order: 0, 4096 bytes)
$ F; |; l; f4 U) ~UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)' G( Y: W* [* p0 u6 m/ y# D7 h
NET: Registered protocol family 1: y( k' Y* f9 D) y  W' }
RPC: Registered named UNIX socket transport module.2 R5 d' o& B7 c% Q& G% `
RPC: Registered udp transport module.
; Q8 p9 w. x! c; v9 W! HRPC: Registered tcp transport module.
0 s5 {2 o, }8 ^' u$ a/ u8 LRPC: Registered tcp NFSv4.1 backchannel transport module.# Z, K3 c; |" _5 w: e6 U+ F) j- ~
workingset: timestamp_bits=14 max_order=15 bucket_order=1
* l9 R  v: L$ rBlock layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
% p8 k" W0 W; {7 Yio scheduler noop registered (default)0 D8 U, e& A6 e) {: e3 Z  z
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled; Z4 T, B2 A4 L6 \" L# N
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A
/ \! g9 J( e2 Fserial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A
; _1 C$ M6 c( L" y+ @" \2 U& Iserial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A
) F5 K; Y, Q5 u* {console [ttyS2] enabled  x- W$ D9 P- n
brd: module loaded
, b! O' Q% `: x  a8 tlibphy: Fixed MDIO Bus: probed' }* B1 d3 d4 R( }% z2 _+ H& U3 i
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
! |, y) k* i( q& O0 idavinci_mdio davinci_mdio.0: detected phy mask fffffffe
# U) \% [1 S8 X( llibphy: davinci_mdio.0: probed
  x2 q2 r" H  h& W! V4 ^. M3 Udavinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN8720
4 M/ {. C/ [4 D0 P4 b5 b& gi2c /dev entries driver
, J( m, j# q0 t1 Xdavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
9 u; j, t* l* Q1 o8 l) F. {: Pdavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
2 ]; x; ~0 T  e0 _# h: idavinci_mmc da830-mmc.0: Using DMA, 4-bit mode6 B2 G! c) O8 ^! o: x; Y
NET: Registered protocol family 106 E, W8 u8 g& Z
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
( w( |# ~6 H3 g; O* |NET: Registered protocol family 17& ^. B1 V5 v# S( G' [$ r' p
console [netcon0] enabled7 A+ Y( d. H$ @' Z- s
netconsole: network logging started
5 J8 j5 p3 U$ n5 T2 {4 W! i) F) g% ^davinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89; m# g! N* I' U6 g
hctosys: unable to open rtc device (rtc0)7 R. X2 C) W0 a
libphy: PHY davinci_mdio-0:07 not found0 ~" [0 W- P: a) C) x7 N
net eth0: could not connect to phy davinci_mdio-0:07
0 a9 }1 n% B/ A) M! _6 N/ `IP-Config: Failed to open eth0% _3 u8 s* L2 m. J4 }" o
IP-Config: No network devices available
7 K+ r! N: W/ Q9 Jmmc0: host does not support reading read-only switch, assuming write-enable0 X+ O" R  N% B
mmc0: new high speed SDHC card at address 59b4
+ y: _; o3 ]8 [2 Dmmcblk0: mmc0:59b4 SS08G 7.41 GiB
) W) b3 C, s) ?2 i+ K  R mmcblk0: p1 p2
8 z6 t  Y3 X- K; Z) B' a
5 Q4 B- [) _/ [) {# _/* 此处等待了一段时间 */0 S; i( X0 V1 r+ S! ]

' D4 b2 M% e$ R9 z6 E( Zrandom: fast init done: F3 E6 l% x$ D4 j; m! N! L+ i6 B- E
VFS: Unable to mount root fs via NFS, trying floppy.
+ P9 z8 ?; i9 Z/ [" MVFS: Cannot open root device "nfs" or unknown-block(2,0): error -68 m) Y) V% C# L( r
Please append a correct "root=" boot option; here are the available partitions:) w, R+ L0 ]* M4 ?
0100           32768 ram0  (driver?)  Y5 e+ _9 }; y$ ~+ T& j
b300         7764992 mmcblk0  driver: mmcblk; v  y. A% h7 b- f. x' y2 Y1 C' q
  b301           71680 mmcblk0p1 cd4e1bc4-01
- @( |1 p7 i1 X7 S  h; D  b302         7675904 mmcblk0p2 cd4e1bc4-02                          
6 k, A( w, I0 @) ]Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block9 _8 |* N( G3 Q: A$ t  Z; y- o

$ e! L: Z2 T! i* {2 @# m! m/ U) I0 p9 o  L5 @( C6 b6 p2 H
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
沙发
 楼主| 发表于 2017-9-12 22:25:21 | 只看该作者
应该是如下错误造成NFS失败:
  `" B& z' h& y( j1 x$ q8 c" f* K4 {/ h6 p$ n6 Q2 |  g
libphy: PHY davinci_mdio-0:07 not found
+ Y, `0 T+ k2 F3 Gnet eth0: could not connect to phy davinci_mdio-0:07, E/ \% Y0 ]; O6 Y( d) [
IP-Config: Failed to open eth0/ k( X4 {0 a1 U# P0 R# l. `
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
8 ^1 ?7 \& F' N! x* p应该是如下错误造成NFS失败:* Y2 _" }$ t4 m7 h9 y8 ^
5 g: z3 c# G  D7 r
libphy: PHY davinci_mdio-0:07 not found
& Z1 F/ s3 S7 K( y; A' b; {+ H
您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。
回复 支持 反对

使用道具 举报

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

本版积分规则

点击跳转“创龙科技服务通”

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

GMT+8, 2026-1-31 21:08 , Processed in 0.048197 second(s), 25 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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