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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 5752|回复: 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卡启动' R" W" K) ^; k- m5 O7 M

$ ]8 n/ X, J6 b0 }& D1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin+ Q1 G  p3 {; E! m5 V8 l4 T5 t
, Y! x* u# z9 s
2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版, X. _8 d  o8 `: w, z

- d% ~7 E  C4 O8 W2 ]- a3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式6 c  @& Q, F- X+ J9 s* `" u

; H- [# ~7 C5 b+ o& @4 F% Luboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):
* g$ V* E2 @# d9 g
1 [+ _$ [) }3 v; d, s  Ksetenv uboot_macaddr 1
, U$ Z2 x' w  |& w) osetenv ethaddr 00:0c:29:bc:7e:9a $ e! ~  c9 p+ d2 a& d1 ~
setenv serverip 192.168.2.192- b1 r3 L9 }- i' P+ v2 i
setenv ipaddr 192.168.2.191
; a/ A$ {( G0 [* W' s' A* T" w2 A9 |
bootcmd=tftp c0700000 zImage;bootz c0700000# |* ?1 U* n4 r& I( s) M

3 d5 C, }! o, N, W9 C: nbootargs=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/nfs1 s  i" i2 x: [  [& g7 z4 o
+ f' x' ~7 j3 z& }$ k" w
4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):+ S) ^) y" w+ r/ C. Y! F1 {3 S

7 k$ ^% x9 c. n/ }boot命令后的完整启动信息:
2 b3 P  O' t% L) m4 @5 f9 D
& {( b- j2 H- c8 O8 B: c=> boot. \& |4 a" [2 K0 e! s
Using DaVinci-EMAC device
9 v' r% z" B9 W" Q2 [: R  BTFTP from server 192.168.2.192; our IP address is 192.168.2.1912 p) C5 v+ j# Z& J; }7 h6 }/ P
Filename 'zImage'.' R& k6 U9 F, B: D
Load address: 0xc07000000 o2 Z+ ]0 m* n
Loading: #################################################################4 K$ b( [& j8 |( w6 |! [
         #################################################################
% c5 Y. z& N: F, }         ################################
- H1 q- t& A5 i4 ^$ I9 d9 C  ~         288.1 KiB/s
& Y7 q# c- z# ]2 cdone
. I0 T& G1 p$ v  aBytes transferred = 2367360 (241f80 hex)) q& e$ s8 g$ M, G( F, s3 k+ K6 P3 ~; j
* C" g0 Y$ ~5 e, R) Q
Starting kernel ..." Z' m  P* w* `! I( B3 f
! r+ `! i# a; @
Uncompressing Linux... done, booting the kernel.
! T6 `4 o3 Q, h! [* c- kBooting Linux on physical CPU 0x0
% T+ R  X* \; 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
6 U0 p9 p1 C1 ]9 A5 FCPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
3 ~" r3 J3 E$ C5 TCPU: VIVT data cache, VIVT instruction cache3 f! z1 e& L7 O: \$ v: w1 X; i
Machine: AM18x/OMAP-L138 Hawkboard# W4 ^' v. H0 }
da8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified5 i5 a5 D' X, t( {, q: i! g
    'nn' and 'address' must both be non-zero7 }- X# ~0 n- y+ \+ a
cma: Reserved 16 MiB at 0xc6c00000
, t* h1 m3 k1 @- t( g2 JMemory policy: Data cache writethrough5 \+ p  j  O6 k$ q- Y: Y7 [3 g
DaVinci da850/omap-l138/am18x variant 0x1
& e' Q# f. Q: X+ C# ~, I3 R: w9 RBuilt 1 zonelists in Zone order, mobility grouping on.  Total pages: 324803 O, \4 K! j1 C  x) V9 n! t  s
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$ v* y" s. K: K5 d' z
PID hash table entries: 512 (order: -1, 2048 bytes)
  b9 z: g0 B1 }- uDentry cache hash table entries: 16384 (order: 4, 65536 bytes)4 A3 n! a* Y+ \5 v1 N
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)+ e& F* s1 x, B6 }; T6 V8 N7 Z3 D. }
Memory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)
: h* k6 j) ^6 g$ r; V+ x* c4 bVirtual kernel memory layout:
& U2 x5 K& {' V+ W2 L0 B% ~    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
/ g, x( Y8 A/ K, J/ s! W0 S( j5 T    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
6 a# G# p7 y+ h* y) l' ]. Q    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
% _- v! C- q0 \8 w1 R    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)  F  L/ E/ K! g* Z: q
    modules : 0xbf000000 - 0xc0000000   (  16 MB)  A& Z1 `1 ?* K2 a
      .text : 0xc0008000 - 0xc0474b38   (4531 kB)
" H$ S" p) n& ]: C* n      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)1 t5 ]2 N) o  ^2 B. L2 Y$ T8 P$ }
      .data : 0xc0626000 - 0xc0673110   ( 309 kB)9 G( U* T) [! _8 A" n2 X0 W+ _
       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)8 S7 A2 z" }5 m  _2 U; P# p
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=18 v4 Y6 g* l7 w( r3 J% k9 N
Preemptible hierarchical RCU implementation.
; v2 o& V7 x' J% ^2 U, ^$ O5 a        Build-time adjustment of leaf fanout to 32.  }5 L$ k7 y6 M1 r, R* q; m8 M
NR_IRQS:245
! K4 x' U2 h2 z! hclocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
* m2 c5 m4 e/ Lsched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
6 J$ N" j9 D6 R6 X& I; C, X, |Console: colour dummy device 80x30
; K9 l: X2 K' C" M' n, iCalibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
5 D+ n1 S0 p4 ppid_max: default: 32768 minimum: 301
4 w8 }1 ]$ j: t  c: ^0 ~0 x! q* ~Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
. J6 E0 T& M2 O8 z5 r/ ^Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)5 e* ~8 B0 t" J5 ?; r0 s. I  c
CPU: Testing write buffer coherency: ok
1 }' t& a, i, Z- BSetting up static identity map for 0xc0008400 - 0xc00084589 D1 y$ l4 p/ E1 N
devtmpfs: initialized( Y  F9 X0 o7 @( p
VFP support v0.3: not present2 s: ~* i2 L3 m) v
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
; ~" |0 d; d" Z* l5 ~futex hash table entries: 256 (order: -1, 3072 bytes). l% E, j5 n. z  O3 `
pinctrl core: initialized pinctrl subsystem
; B& Z! I- `/ a, J/ d2 JNET: Registered protocol family 16) Q# G' g( E9 [: v
DMA: preallocated 256 KiB pool for atomic coherent allocations
2 q' D  j) q3 E, S1 Gcpuidle: using governor ladder+ R' ]) e/ O. h' O% b4 Y0 R
cpuidle: using governor menu
$ v* B, y; {5 J% |/ @% rEMAC: MII PHY configured" t/ @/ Q0 S8 \) w
mux: initialized GPIO3_12
! t( O# [9 K2 ~5 o$ \* ]( E( p# ^$ Ymux: Setting register GPIO3_123 O" l: c6 i7 R+ c$ s  Q3 S
mux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110
$ O# @9 K0 A5 Imux: initialized GPIO3_13
, k; x, [2 P2 C2 T: g! }. W0 wmux: Setting register GPIO3_13' K) Q6 u* A  d
mux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x00118810# v  a' f7 ~# [
mux: initialized GPIO2_4
9 _; |. a) f& kmux: Setting register GPIO2_4
5 h2 |+ U7 \+ j4 I. _mux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000% t4 Z2 U1 [1 ?& X$ v
mux: initialized GPIO6_13
( L3 T, i( V8 p* Umux: Setting register GPIO6_13
& a4 \6 e% G: D# u1 C6 umux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800
& D  g, C4 ~0 f% l, D- S4 lda8xx_register_rproc: memory not reserved for DSP, not registering DSP device( M8 x+ x- C: |% q7 ?" \. S. w/ O; l
omapl138_hawk_init: dsp/rproc registration failed: -129 A& G! S2 d8 m  h+ L
edma edma.0: Legacy memcpy is enabled, things might not work7 k' Y2 ?6 s, P+ D. K) f
edma edma.0: TI EDMA DMA engine driver
4 l, x9 E6 h2 B' {edma edma.1: Legacy memcpy is enabled, things might not work: B! j* i) z& k, a# d5 M
edma edma.1: TI EDMA DMA engine driver% {+ Y5 S' z7 A- F
clocksource: Switched to clocksource timer0_1
7 e3 c: |) ~6 v2 ~( ^) H) ^% zNET: Registered protocol family 27 M. N" J% T: ~4 y% m3 x8 j8 E
TCP established hash table entries: 1024 (order: 0, 4096 bytes)% n) ]5 b9 t% _* z( Q
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
9 J2 `$ `& m& Z" W! X* PTCP: Hash tables configured (established 1024 bind 1024)
+ p8 H; ?( z0 }, VUDP hash table entries: 256 (order: 0, 4096 bytes)2 N' \/ q1 s6 J: y+ R/ M9 _0 f$ P
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)( j; P- n! z9 {4 @- G$ n: D
NET: Registered protocol family 1
/ Q6 X& I4 c# g1 nRPC: Registered named UNIX socket transport module.
' h5 }# m0 K5 \4 rRPC: Registered udp transport module.& k& X2 H* c" c1 R. `
RPC: Registered tcp transport module.
% C" R& n0 o. BRPC: Registered tcp NFSv4.1 backchannel transport module.
( ^2 h0 Q) e, K8 A' I8 Pworkingset: timestamp_bits=14 max_order=15 bucket_order=1
& l$ B- x. i) v! [Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
& E$ M' K* B7 q  i) ^5 R2 Xio scheduler noop registered (default)
5 W6 ^0 L; s2 c6 {9 r0 d" T. [$ v) ISerial: 8250/16550 driver, 10 ports, IRQ sharing disabled
9 W4 i' W6 p2 D1 d! Jserial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A! Y! R" h6 t4 P' b" `2 H9 n; p
serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A  d" `' x3 S5 [( K
serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A
' b3 j$ r# i6 a1 R' }console [ttyS2] enabled0 w6 \( p' b, T$ W
brd: module loaded
8 w* Y! J. B( W& l- @1 l- |libphy: Fixed MDIO Bus: probed
1 U9 n% S. g/ h' ~: n7 K4 j3 a. ydavinci_mdio davinci_mdio.0: davinci mdio revision 1.5
( G' o  _& c) a2 l; Gdavinci_mdio davinci_mdio.0: detected phy mask fffffffe
/ f8 w* {1 l, c; Tlibphy: davinci_mdio.0: probed
. S/ M; u: M: {2 g- u: K6 Hdavinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN8720
; r5 d( E+ K% k3 x& yi2c /dev entries driver
. z- F, t: v. j" f2 G8 b8 Ydavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
" I* p) B7 m2 ^( ldavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
/ m" L; d  r2 b$ d* w6 ^" vdavinci_mmc da830-mmc.0: Using DMA, 4-bit mode
7 K. G# X" y& z, ^4 p9 s) M- g( nNET: Registered protocol family 10, t7 x9 @0 f1 r- Z8 G2 H
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
% r6 {, e, F2 fNET: Registered protocol family 17( l. B# d# f! m) e5 j
console [netcon0] enabled; L7 ^& I' _" l7 Q& l2 `6 v) f
netconsole: network logging started
- i9 f3 `( n- adavinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:899 O8 U# b) W; \) N9 T
hctosys: unable to open rtc device (rtc0)8 J8 ^0 `2 \% a1 I
libphy: PHY davinci_mdio-0:07 not found
% M1 z0 S* ?* `) ^1 n+ L4 |# wnet eth0: could not connect to phy davinci_mdio-0:07, C( t& v1 x, M. @1 i! j8 X
IP-Config: Failed to open eth0
- q3 I3 ~3 }  R4 ~/ v0 `& A+ nIP-Config: No network devices available" W6 h# H" t) D/ }
mmc0: host does not support reading read-only switch, assuming write-enable
  c  l. A( L4 q% W2 H- u/ Immc0: new high speed SDHC card at address 59b48 \5 w4 w; Y/ o# ]
mmcblk0: mmc0:59b4 SS08G 7.41 GiB
  P$ a  }9 E& U0 i: _2 t- [ mmcblk0: p1 p2% e% M, z4 Q' y. r; G) R8 i; V+ @" n

' y! h8 S$ r( f/* 此处等待了一段时间 */) Z' w8 U; e! s6 o, S4 X6 m

  g) U1 _/ c0 F6 @random: fast init done9 O$ g  J9 Q7 D  e8 |
VFS: Unable to mount root fs via NFS, trying floppy.
0 W7 G$ x) J* g' `5 iVFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
7 k7 v1 j- T8 U  mPlease append a correct "root=" boot option; here are the available partitions:. o1 `: l1 F3 F& |
0100           32768 ram0  (driver?)
% @: Z& L# q+ f& e' d( qb300         7764992 mmcblk0  driver: mmcblk
, V$ O. d' p+ ~  b301           71680 mmcblk0p1 cd4e1bc4-01$ K; e! v/ T6 @9 v8 d% A3 Y
  b302         7675904 mmcblk0p2 cd4e1bc4-02                          
$ _8 Y3 N# y7 T* n! P' dKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block
7 t( K5 E0 M) z# F" Q6 F
! e0 x( G; K  d8 o3 [8 S6 W0 W* u8 e1 ~, ~: \( r  Z+ t" `% M
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
沙发
 楼主| 发表于 2017-9-12 22:25:21 | 只看该作者
应该是如下错误造成NFS失败:$ U. K! D+ A( A' f5 G
5 @, i$ p% R% \6 e& x) Q; W
libphy: PHY davinci_mdio-0:07 not found/ t( b" [) \$ x* f' f% W" Y4 l6 V
net eth0: could not connect to phy davinci_mdio-0:07
/ u7 W" k3 H, b! y$ _IP-Config: Failed to open eth0; ~! L7 M7 C" R. o+ {
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
( i6 r5 y2 \  `应该是如下错误造成NFS失败:
0 o; O2 f( ~$ `) j& @8 j0 i
' l1 z$ n0 a7 x: Y2 i" O6 Dlibphy: PHY davinci_mdio-0:07 not found
3 Q+ w4 ?# P7 U; Q6 ^) Y' ]5 c
您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-27 13:54 , Processed in 0.038853 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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