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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 5730|回复: 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卡启动
  w/ @% r5 |" L! T+ r5 @  r2 g( U& H  m, a) S1 l( {# Q
1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin; S9 A# [* x  k$ O$ m& n) ?
1 f! _1 R7 r! O4 h/ o8 f
2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版
$ |: c' y* q4 z' d& C+ \( I6 {6 ~& \0 }0 S! v  y' K) @
3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式
3 R: [  q& Q7 ^1 U0 V1 ?( B5 P% V
+ y6 v- k* l; j) iuboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):
' K) |! N; h% }% T% {3 y
1 f) x/ X: Z5 g" rsetenv uboot_macaddr 1: \7 j3 X* k& j, y6 a% @* W9 m
setenv ethaddr 00:0c:29:bc:7e:9a - M! @6 h& Q1 i
setenv serverip 192.168.2.192/ q( L) A7 Z0 `8 `: W7 B4 I0 E& ^
setenv ipaddr 192.168.2.191
" \, M( Q7 F( f
+ W8 k) W9 q: }' n* q7 bbootcmd=tftp c0700000 zImage;bootz c07000007 l% s$ O7 T& w+ K' \' z
# B& X% w% _% {8 _0 r! T
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/ d8 c6 y' |0 W9 \
0 Q$ x" B6 w4 ~, j" U
4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):1 T& S' {& ?& u
9 w0 }0 g& r. V, e
boot命令后的完整启动信息:
$ Q9 ?( y7 r, D# z8 C# l
/ w- f4 ^( Z' z$ K- `=> boot
+ ^& ?& f( s- W9 \8 bUsing DaVinci-EMAC device
5 s' Y, H0 r- MTFTP from server 192.168.2.192; our IP address is 192.168.2.191
: a# t$ G! x& M) I9 D: B. L  IFilename 'zImage'.
$ H# a2 v. J+ b' j: Y7 i$ g+ n9 Q7 Q( qLoad address: 0xc07000009 v7 E, g1 V$ \1 I; j, O+ a5 o
Loading: #################################################################( y; H: f6 S# X* T; }( }
         #################################################################6 K! w; J5 ?8 v4 ^- h. @
         ################################6 M$ b: F& z6 Y1 u
         288.1 KiB/s$ P# q" o0 w2 [2 ?
done
9 w8 D. k8 C. y# ~( gBytes transferred = 2367360 (241f80 hex), ^) i) g2 D3 F, G' W$ N. ^
9 h# A# T8 v  T, U1 \
Starting kernel ...
. L, Z9 ^5 X$ _, v
! ^1 {. A- X8 B. a; n' T8 |& ^/ yUncompressing Linux... done, booting the kernel." `# ~% U+ S* b. q) ~# Z5 u3 Z* [- V
Booting Linux on physical CPU 0x0
" n* u% x9 e9 nLinux 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
3 q$ g& s2 a0 L( p5 uCPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
/ a% s) R4 h: n/ BCPU: VIVT data cache, VIVT instruction cache8 Y% E! L" K. ~) s) r! ^* F4 G
Machine: AM18x/OMAP-L138 Hawkboard
' R* V% J9 T, o* s$ dda8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified6 H# o, J- ^1 M2 {2 B
    'nn' and 'address' must both be non-zero3 M) a. ~: v' j" X. [8 b0 o$ P
cma: Reserved 16 MiB at 0xc6c00000
$ {4 R4 b8 [0 o% @2 a5 w5 `1 R0 SMemory policy: Data cache writethrough
* O& Z9 Y8 [( A1 sDaVinci da850/omap-l138/am18x variant 0x1
/ p- q$ P- R! k  w1 ?! s: V" rBuilt 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
( E5 k$ n! }0 N. M/ W) WKernel 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& R; Z0 u' R7 L8 i
PID hash table entries: 512 (order: -1, 2048 bytes)5 f# M7 q" [& j) G8 C8 e7 y
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
- Y( B' t9 K8 l5 v4 o4 b! NInode-cache hash table entries: 8192 (order: 3, 32768 bytes)
; t/ j  Q7 f0 t/ bMemory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)
* Y3 Q- E1 T1 }9 J9 ^Virtual kernel memory layout:
# A1 H9 K8 k" R6 X1 W    vector  : 0xffff0000 - 0xffff1000   (   4 kB)9 v: w# v% G" m4 \3 r
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
0 L1 G  j9 Y5 W. m' p0 d# ^    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
* j) w8 w2 A* z7 ~& i: Y6 Z    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
" w( M7 @2 D3 S    modules : 0xbf000000 - 0xc0000000   (  16 MB)! O- g' ~' {1 F3 n! P- |$ s
      .text : 0xc0008000 - 0xc0474b38   (4531 kB)
* `+ k) Q8 o5 ]8 s: |/ f: ^      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)6 V* u5 C6 L* n+ J4 \; U) ?% `2 k
      .data : 0xc0626000 - 0xc0673110   ( 309 kB)
0 i9 R, Z) V+ U1 x9 B  a, D. a       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)
# x% E) B5 a7 d# nSLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
$ `; N$ R# Z, [- e' EPreemptible hierarchical RCU implementation.
) c. S5 U1 _- U) N  M        Build-time adjustment of leaf fanout to 32.
! d* `  Y; H3 k/ u7 }" X5 ANR_IRQS:245
3 a- T2 ^8 \$ N( tclocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns7 ~* M, r" N% c# r* S
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns) M+ t* ~' O1 c% V! S# j
Console: colour dummy device 80x30
( `+ C# w6 c, S) K* M% HCalibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
, E" \) D, \9 l8 O+ m6 G9 x/ V; }pid_max: default: 32768 minimum: 301
! }; w: A3 ?7 C& e& l% vMount-cache hash table entries: 1024 (order: 0, 4096 bytes)) K& t" n4 ?2 z  V1 z, t+ X4 i
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)- ?- s; u: o1 B1 i  J$ P$ M3 x, W0 r! s
CPU: Testing write buffer coherency: ok
+ r, e; Y& P8 x  GSetting up static identity map for 0xc0008400 - 0xc0008458
# j# A7 A, f3 U$ {8 f0 w2 ^  D8 n8 r3 Mdevtmpfs: initialized' X' S) s: F9 R+ y- R
VFP support v0.3: not present
" y+ q0 F6 |, B, Iclocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns* @) |6 J: ^* V2 |3 p) h9 _
futex hash table entries: 256 (order: -1, 3072 bytes)
- T  ]1 U; W4 f; U0 D2 gpinctrl core: initialized pinctrl subsystem
6 W4 h; |" f, D4 {NET: Registered protocol family 16
9 `$ h9 d" y# F* d# qDMA: preallocated 256 KiB pool for atomic coherent allocations" P: M. `3 Y& ?" q6 F
cpuidle: using governor ladder. v( I6 Q9 {# v: o, I
cpuidle: using governor menu
& d/ {5 d1 Y7 r2 JEMAC: MII PHY configured
2 B: x, T: w/ d+ z& c( Z$ J! zmux: initialized GPIO3_12
3 \; J& J/ i4 t& x5 @mux: Setting register GPIO3_12
* {1 K1 O' E# X- d0 A) ^# Imux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110
  R3 S4 u2 f: I$ p/ G: ]( }mux: initialized GPIO3_13  b6 X4 M7 e& R; s3 k/ o( C! C+ L
mux: Setting register GPIO3_13
& k1 D5 {5 T5 ?+ imux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x00118810
& L9 F2 e* n, G1 [$ ^mux: initialized GPIO2_45 @9 _7 P% _: v, A
mux: Setting register GPIO2_4) l# y9 W7 y5 K' _2 U" z! E
mux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000- f3 K& f( ?# s" k1 W
mux: initialized GPIO6_13+ G( }6 S' \* `/ @
mux: Setting register GPIO6_13
; `( @) j: m' U, q8 I; p" \mux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800
' T; D4 h# k2 G, M7 }1 A3 |$ Ida8xx_register_rproc: memory not reserved for DSP, not registering DSP device
" @. @/ ?1 i' i1 tomapl138_hawk_init: dsp/rproc registration failed: -12% H! A6 H- y4 q3 f
edma edma.0: Legacy memcpy is enabled, things might not work# M) L; D# _5 B2 h
edma edma.0: TI EDMA DMA engine driver
* n* E6 u+ h! I# N8 zedma edma.1: Legacy memcpy is enabled, things might not work4 f9 i; g) S9 A  D9 N
edma edma.1: TI EDMA DMA engine driver, w6 x, K+ \# e
clocksource: Switched to clocksource timer0_1& l. h, w- y* }" H+ l
NET: Registered protocol family 2
, v% P# Q7 p( E+ OTCP established hash table entries: 1024 (order: 0, 4096 bytes). k4 q' l7 D7 w+ ^0 i: M. {6 h+ c" ^
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
/ e# A+ M; n. u/ j# GTCP: Hash tables configured (established 1024 bind 1024)3 L1 D0 m  e7 C. ~2 _
UDP hash table entries: 256 (order: 0, 4096 bytes)& }, ^  o; N7 Z, P0 f
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)0 z" e. ?4 o$ V# O0 @$ K- T* F8 i
NET: Registered protocol family 1" s# a) p8 a9 z. k% Y2 f$ H
RPC: Registered named UNIX socket transport module.. a* a4 j- {0 {4 `# k% r$ j: @
RPC: Registered udp transport module.
5 C9 D' o" R6 k) M7 WRPC: Registered tcp transport module.) E3 p" I  R. f: v$ _
RPC: Registered tcp NFSv4.1 backchannel transport module.
; h4 L$ e2 {2 ]% U8 D4 h/ ]! `( Aworkingset: timestamp_bits=14 max_order=15 bucket_order=1
9 Y! Q! x* k5 K3 o3 K+ U) i9 `& {' gBlock layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
2 Q& e. z, W5 p1 Y7 t0 v0 mio scheduler noop registered (default)3 h4 t3 Z' _5 T3 Y
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled& c( `+ `; y% u8 W3 f4 `5 o' ?
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A& r/ L' [2 O, A6 Y
serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A
2 J! V9 T! I% d5 s. R! p. tserial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A
- o. d% d/ c: B  p, u+ F. ]console [ttyS2] enabled
3 w3 G) @, y7 A% ibrd: module loaded, f) z4 z8 [: i
libphy: Fixed MDIO Bus: probed; B" [5 x+ ?5 e) w" }
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
3 Q' O, K1 Q" k0 h8 Qdavinci_mdio davinci_mdio.0: detected phy mask fffffffe% _' h. }, \6 b
libphy: davinci_mdio.0: probed
% E1 N& }0 j% l! G& O8 adavinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN8720. o) ]7 k2 j  B) p6 ^$ y: m
i2c /dev entries driver
) y4 [5 I: T2 `. Z5 s. {) i( tdavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.10 S1 ^  r) v8 N
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1, E! ~* I- U8 l
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode! f2 g  d' m  a2 }$ h0 ^8 @
NET: Registered protocol family 10+ a6 O6 _' P5 F; U) V2 V
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver# [+ n9 P& b8 q* B* h3 c
NET: Registered protocol family 172 J$ m! z3 _. C# H- r/ W& O+ m
console [netcon0] enabled/ b3 |  Q1 L9 ]* w, g; q8 F
netconsole: network logging started5 z% [- `3 a1 d7 Z- {3 N
davinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:898 V7 g# W0 b# u% K3 U/ H- Y
hctosys: unable to open rtc device (rtc0)
7 j% Y" G# m* A+ G' V3 plibphy: PHY davinci_mdio-0:07 not found& s0 v- Z$ H  e; R3 O
net eth0: could not connect to phy davinci_mdio-0:074 T0 K, O) y  p$ e
IP-Config: Failed to open eth00 v+ o$ C7 y% ^9 e' m0 s
IP-Config: No network devices available
9 G( V" G9 y( o6 n1 m% Bmmc0: host does not support reading read-only switch, assuming write-enable
4 [: L7 s1 o5 |1 Vmmc0: new high speed SDHC card at address 59b4
1 D$ I7 e) n0 ^0 a  W) Emmcblk0: mmc0:59b4 SS08G 7.41 GiB 8 a6 M# k4 Y, a3 F& x/ i0 I+ A) y
mmcblk0: p1 p2
/ c1 s. e0 U; i: s
8 m* y. N1 i, J/* 此处等待了一段时间 */
5 w5 t( [+ \* C1 D7 d' F+ _0 \4 @5 F) |# O1 v
random: fast init done
9 w  k8 d+ v& {" y; ~VFS: Unable to mount root fs via NFS, trying floppy.
3 G2 |9 v' d# M/ IVFS: Cannot open root device "nfs" or unknown-block(2,0): error -61 r& L, O4 j& b8 z0 S6 w" o
Please append a correct "root=" boot option; here are the available partitions:. R% `# T% n/ _0 @2 `
0100           32768 ram0  (driver?)% n; p" ~+ d9 i6 u, j6 ^# A' Z4 \
b300         7764992 mmcblk0  driver: mmcblk0 y% ]* D" a0 s5 U* G( @0 K6 b3 t
  b301           71680 mmcblk0p1 cd4e1bc4-01+ F0 x% j$ l  o) G
  b302         7675904 mmcblk0p2 cd4e1bc4-02                          
$ l3 `8 ~9 n$ J, \6 ]+ LKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block
2 I( }" N/ K) j5 K. V. \' o- O" S# ?$ a0 X$ {% e
$ J& `/ \5 l" K$ O3 T3 _3 E
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
沙发
 楼主| 发表于 2017-9-12 22:25:21 | 只看该作者
应该是如下错误造成NFS失败:
$ B( S; c0 X5 X
6 \! Q0 \9 j0 @9 L5 ~$ O2 k6 z- ~libphy: PHY davinci_mdio-0:07 not found4 G7 V9 I" l9 l( M, }
net eth0: could not connect to phy davinci_mdio-0:07
8 K* X# d7 O2 \  t( B7 j. zIP-Config: Failed to open eth0* Y' {* q7 H' p2 _5 {, y
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
% w0 D3 h, h+ w: l: A  ?应该是如下错误造成NFS失败:) T# o0 N; f: K
$ F/ c9 z& k2 f6 r% H; W5 x
libphy: PHY davinci_mdio-0:07 not found

+ r5 ]1 m2 F3 S- _7 D" x您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-23 14:33 , Processed in 0.041028 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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