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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 7463|回复: 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卡启动, j# n' Z+ k5 c# n
& }4 N$ j9 l: H( F6 L
1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin
9 o5 a0 o& l9 M( g+ v" |0 m6 s4 N9 _0 j
2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版6 w, h, O9 @/ f) T! J

7 N9 B* ~/ b7 L* W2 I* j# l  i; X3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式6 U1 b6 E* @/ e7 Y. L
: ~4 l7 V) x5 C0 I2 R; g
uboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):
( Q- j+ W; ]' A, g7 k) @3 F& h& y7 X% u/ z
setenv uboot_macaddr 1
# J) d: _- t$ f$ i6 k5 j! wsetenv ethaddr 00:0c:29:bc:7e:9a
4 K; A! e! T# isetenv serverip 192.168.2.192
0 c3 x0 v( I' |  L& dsetenv ipaddr 192.168.2.191
/ Z6 t2 G8 }: e# W: }1 z
8 d2 n+ @5 S7 e# f) qbootcmd=tftp c0700000 zImage;bootz c0700000( Y: t! k  B6 _. ?) Q3 z# m

, L3 ^& S' l' n  L+ ~* U* b7 jbootargs=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
* h, Q! k; Z& O/ L7 R" e% q
1 j: d: f! |: O6 m/ \4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):, z0 J3 x. c; D! A

6 Q: k, b- T. P) D% p0 `6 `5 Kboot命令后的完整启动信息:
& `6 c' n" U3 x0 g6 ?/ n1 G$ H2 l
=> boot
0 k/ }: m# J  }! SUsing DaVinci-EMAC device
4 z1 o8 @, `  I9 STFTP from server 192.168.2.192; our IP address is 192.168.2.1918 _, d' I/ p! P3 o& I3 a; j
Filename 'zImage'.1 `$ x7 [* B3 x* t, H  k
Load address: 0xc0700000
) z) w. ]2 Q9 L* Y; D7 U% rLoading: #################################################################+ c( P/ u4 L+ U& ^
         #################################################################+ B# D+ U9 \& g: C
         ################################, _( ?& d5 I2 ~) p$ _. R  ~0 T9 c" P
         288.1 KiB/s
! s* Y0 ?- \, Ddone! I  T7 }' [, t" C+ U4 d
Bytes transferred = 2367360 (241f80 hex)
" K6 F- g( c% J9 r" t* H
. Y! H( Z. L" @  A7 G+ M( K4 i' R+ `: kStarting kernel ...6 T0 m3 @$ |& H! Z, H2 s/ s0 D. I

2 c5 W* ]5 P! I2 q( kUncompressing Linux... done, booting the kernel.
* f' R- A1 K( ZBooting Linux on physical CPU 0x0+ B+ @# T$ E+ X- n9 O( L1 w% x6 E
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
9 Q( I0 ^, q4 n; I6 GCPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f% ^1 Z" N& z/ V' q# Z/ a, W
CPU: VIVT data cache, VIVT instruction cache
  t/ |( ]% J6 ~# ^Machine: AM18x/OMAP-L138 Hawkboard. n/ v2 e) s) k8 s
da8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified$ q8 s7 h- g; p7 `, G- s7 e/ @
    'nn' and 'address' must both be non-zero0 A" `. _- F$ _2 ]: ^' [- t$ b, B: d
cma: Reserved 16 MiB at 0xc6c00000( x9 f; z% E! e6 e( A3 V7 x
Memory policy: Data cache writethrough1 M# b* w0 F3 e* u1 `# \
DaVinci da850/omap-l138/am18x variant 0x1
6 X2 Z5 @' [4 rBuilt 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
! n0 |& ^7 K" QKernel 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
3 f5 t/ e2 X$ `: G) u/ U, ?: P+ tPID hash table entries: 512 (order: -1, 2048 bytes)
" z6 e3 P( W! V/ I* i- ?# M- pDentry cache hash table entries: 16384 (order: 4, 65536 bytes)4 C) |" ?( a* G- p+ T) w* J
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)1 W* x; J: ~( H7 a# z
Memory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)% I% Y' {+ b( L( x
Virtual kernel memory layout:& S4 x3 h' E0 o4 m& a8 [
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)# ?# @/ P* P% m& O" ^( a
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)0 i+ h( i# k: v; e3 ~5 }
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
: w8 H7 c  a/ z( Z    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
6 X( P6 p( c& H4 n. w    modules : 0xbf000000 - 0xc0000000   (  16 MB)6 q+ ^+ V( j  \$ _6 |7 Z$ d
      .text : 0xc0008000 - 0xc0474b38   (4531 kB)  d* {4 v# N  M8 J+ E' |
      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)6 C  m  ]3 H: l" u7 p, y* ]
      .data : 0xc0626000 - 0xc0673110   ( 309 kB)
2 i! |! b0 n8 u& P' y" Z! W' d       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)& B. W2 }% ^& A. N
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1. g% R; T4 G+ M2 b' `* I4 a
Preemptible hierarchical RCU implementation.
- E1 ?( b1 @& b0 |/ w        Build-time adjustment of leaf fanout to 32.; x# }3 G% v3 T6 X; S5 l1 O4 c
NR_IRQS:2451 W( L) x+ j- C+ l% l; S2 Q+ {
clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns+ H# F3 T1 c" e. A+ ?' |# A; V
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns. ]6 T' _9 V" d9 Z# \/ J
Console: colour dummy device 80x30' F2 W/ @, a# g( ]2 m) r. T
Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
: e4 z) g; x. j7 I- k- A& a8 @pid_max: default: 32768 minimum: 301
! u: K7 L* y. w+ e" n! hMount-cache hash table entries: 1024 (order: 0, 4096 bytes)
) \6 M& ~$ V# l9 i; U& z8 o& fMountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)8 g- ]9 X- a0 O% J
CPU: Testing write buffer coherency: ok9 r5 f% I2 b3 B% q% z: R
Setting up static identity map for 0xc0008400 - 0xc0008458
4 N0 D" m9 S% b1 o0 Fdevtmpfs: initialized
: o5 u9 i+ b% z9 ~. k: yVFP support v0.3: not present
6 @+ u, Y1 K5 V5 yclocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
( v+ d' \6 `) Kfutex hash table entries: 256 (order: -1, 3072 bytes)+ S( J, g+ b" [7 B, H+ S, [7 b8 |
pinctrl core: initialized pinctrl subsystem
- ^" d& S  r( FNET: Registered protocol family 16
2 a$ u! ^( j, O) k' |DMA: preallocated 256 KiB pool for atomic coherent allocations% p- B. _$ u. L. y8 \+ K; O; b0 O
cpuidle: using governor ladder# d  b' ~0 o2 n8 [
cpuidle: using governor menu
" q1 V7 S; i5 \' T0 BEMAC: MII PHY configured
* l  |2 I' F" V3 v  Gmux: initialized GPIO3_12% j# W) P: d' x* s/ z0 [: ?
mux: Setting register GPIO3_12
* h" T& ?1 m) a- ^+ n! [4 {; qmux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110
# I# L: b8 w' b' ~8 n# fmux: initialized GPIO3_132 ]! v- K( K% P5 F/ F  p9 G
mux: Setting register GPIO3_13
, A2 z/ E. t3 Z. Mmux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x001188100 l( D! E) Q% j$ ?, G- o3 A
mux: initialized GPIO2_49 n% z; e- k# X
mux: Setting register GPIO2_4+ h$ n; q( e, f/ n+ c
mux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000) L* S* {. W3 J3 n. @( K0 t
mux: initialized GPIO6_139 g+ `- T( i3 S5 M' Y
mux: Setting register GPIO6_13
% A3 P, x' X# Q' B, ]% o& n6 i- Bmux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800; {8 Z+ y+ U0 H; }$ ~: W
da8xx_register_rproc: memory not reserved for DSP, not registering DSP device, i  m1 [$ T0 s# Q7 ]3 ^. w2 R2 h
omapl138_hawk_init: dsp/rproc registration failed: -12
( `1 q; w. M% L0 z' \3 p6 A$ Uedma edma.0: Legacy memcpy is enabled, things might not work& b0 w4 _1 D0 Z& w' d! g# O- N7 ^
edma edma.0: TI EDMA DMA engine driver
5 C; \5 W4 {9 O% q1 \1 {edma edma.1: Legacy memcpy is enabled, things might not work) [6 X' H: I* L; F+ r4 m- O. x
edma edma.1: TI EDMA DMA engine driver
2 k4 x: `$ ?  j. jclocksource: Switched to clocksource timer0_11 {' M/ A7 s2 B" ]
NET: Registered protocol family 2; [" g3 p& p# p3 O# x
TCP established hash table entries: 1024 (order: 0, 4096 bytes)" Q& x2 ]/ N6 |0 ]6 J6 D2 G
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
- W6 H2 q+ Z) ~. ]& zTCP: Hash tables configured (established 1024 bind 1024)6 Z7 o6 E- l: L, Q5 w
UDP hash table entries: 256 (order: 0, 4096 bytes)
1 R- L. a5 P; l4 N! ?# `UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
# b" n* G3 |* `& J" y! [2 F# G" DNET: Registered protocol family 1
! k1 ]$ d9 y$ X' C* A  ^RPC: Registered named UNIX socket transport module.& s# F9 W' F/ V2 c
RPC: Registered udp transport module.. ?) q0 y& b. H
RPC: Registered tcp transport module.
9 N% Q5 [' ^) X7 QRPC: Registered tcp NFSv4.1 backchannel transport module.
2 B- J6 k5 Z1 `; X5 oworkingset: timestamp_bits=14 max_order=15 bucket_order=1" N! M5 ^3 |5 a1 S' v
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)7 W1 K" v, `& B+ ^) B
io scheduler noop registered (default)1 |9 x( y' k% y: c
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
+ m5 @# |, h) O8 C/ L5 Gserial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A+ G7 P1 @$ ^7 p' a
serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A
3 x5 n; u5 ]6 e( R" y" D3 `8 Vserial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A
; s3 m3 |6 p2 V" a9 u4 |' [$ Aconsole [ttyS2] enabled8 \) z2 p* B0 C: j2 m/ l. v
brd: module loaded- m5 a8 r2 v$ Z* w
libphy: Fixed MDIO Bus: probed
8 a9 F+ N! x* p8 Gdavinci_mdio davinci_mdio.0: davinci mdio revision 1.5
, m2 q% O4 {4 O5 i2 o+ H& hdavinci_mdio davinci_mdio.0: detected phy mask fffffffe
) f7 ]& p4 ?8 o- _5 f4 Slibphy: davinci_mdio.0: probed! s$ M. p3 g' j
davinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN87204 h8 Q9 j( O7 Y6 O4 j
i2c /dev entries driver
+ z" e9 a! {; @3 U4 J" Mdavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
  q. b5 I5 H: V8 ^# x7 A5 v. Edavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1# R- ?" s0 a7 X, Y
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode- ]1 O( ?% D& ]* S- I& w1 C& S
NET: Registered protocol family 10) m* R6 E7 N: c$ B7 t
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
( U% l8 o3 Z9 ?2 e8 {& LNET: Registered protocol family 17
2 T! S  Q/ Z" V# g; E+ Xconsole [netcon0] enabled
% y" a" {, ^: h- k- }, O: `* _netconsole: network logging started. k+ e4 _& Q1 q7 s
davinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89
/ _$ b0 i8 |, m$ S+ X1 yhctosys: unable to open rtc device (rtc0)
; i9 e8 k/ _5 mlibphy: PHY davinci_mdio-0:07 not found- [# h* s1 B7 ?
net eth0: could not connect to phy davinci_mdio-0:07( s' F1 q" v/ F  k$ `
IP-Config: Failed to open eth0+ ~# L; o: z0 V# R" ?1 l
IP-Config: No network devices available
, J$ C1 q( @4 V5 V1 D& rmmc0: host does not support reading read-only switch, assuming write-enable
# O6 Q! s; C3 K7 tmmc0: new high speed SDHC card at address 59b48 B$ d2 w) ~& t6 {4 E" d
mmcblk0: mmc0:59b4 SS08G 7.41 GiB , e! q, u3 }' L- w5 N7 O
mmcblk0: p1 p2$ d2 x! X4 c6 D6 b+ j
& k/ U  i9 X2 x' N
/* 此处等待了一段时间 */! d% e/ U# ]! V

9 U4 i0 W/ t1 B  x8 Vrandom: fast init done
6 g4 T" F5 {8 d9 b1 U* tVFS: Unable to mount root fs via NFS, trying floppy.5 b4 ], x0 n5 `( f+ D
VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
3 k" y8 }5 @: hPlease append a correct "root=" boot option; here are the available partitions:, p4 N' L/ f! F% \7 f' r; k
0100           32768 ram0  (driver?)  y: |& \3 W3 E* o; Q
b300         7764992 mmcblk0  driver: mmcblk
# }3 c( S8 Z: e9 n! I  b301           71680 mmcblk0p1 cd4e1bc4-011 [  [. {! B+ c- N3 q
  b302         7675904 mmcblk0p2 cd4e1bc4-02                          
' {8 O5 C( P8 N6 P' r3 r/ e8 uKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block
& h0 O" _% h$ ?& w5 i. P- H8 u1 i
( F3 ?. z) |" v$ ^- {* c
) F7 v3 t; _2 Y! b0 ]1 |4 u
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

1

主题

73

帖子

1385

积分

创龙

Rank: 8Rank: 8

积分
1385
板凳
发表于 2017-9-15 21:45:33 | 只看该作者
uestczwj 发表于 2017-9-12 22:25: }$ V0 `! u$ b  L; |
应该是如下错误造成NFS失败:5 R- _7 t& f) @6 A; {6 v# G& b8 |4 c

% R6 H5 B9 e3 o! c" [4 [libphy: PHY davinci_mdio-0:07 not found
1 Y) |2 z* ]1 l5 J7 n7 Q# r
您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。
回复 支持 反对

使用道具 举报

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
沙发
 楼主| 发表于 2017-9-12 22:25:21 | 只看该作者
应该是如下错误造成NFS失败:
( X8 g2 X9 u- x* w  I) E
2 G2 A# m- h; \* Klibphy: PHY davinci_mdio-0:07 not found6 n/ E: x+ K9 k0 T
net eth0: could not connect to phy davinci_mdio-0:07  V9 m' \: v3 M) s; P% m$ D  O
IP-Config: Failed to open eth0
2 M6 u% n, P9 C! [- j* ]( C; }8 V8 jIP-Config: No network devices available

点评

您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。  详情 回复 发表于 2017-9-15 21:45
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-16 03:33 , Processed in 0.051181 second(s), 25 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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