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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 8405|回复: 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卡启动4 M" X* D, R" B2 V

( L- p" B+ i# W. h( g. R1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin# H( L! Y1 T% A" ?  a4 l1 H; f. @- e

5 d; b+ G* w- ^$ I& ^! b! ]/ A2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版) x/ n% p* w* s& Z" `, D

9 y- o2 D3 h1 Z5 |; N3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式( [. Y0 s2 B" a  C7 M, D
( r6 N3 }% w) O2 S
uboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):
" d2 Y7 H1 x1 l* ~& V/ Y! x0 h2 M0 E2 S5 G4 W
setenv uboot_macaddr 1- C* z0 L. l$ G! }3 Y3 q6 V  v8 {
setenv ethaddr 00:0c:29:bc:7e:9a " n, J0 \, t8 \
setenv serverip 192.168.2.192
1 f$ X+ z4 ~$ ]! B, {* A, ]setenv ipaddr 192.168.2.191. d& i5 [" t7 T1 D6 q$ {5 {1 j

3 ^# Q6 N7 z8 C+ s8 R7 q. fbootcmd=tftp c0700000 zImage;bootz c0700000" }. x+ ]2 R' q, X
  L) x1 O- I9 ]5 n
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
4 T1 H# \5 V4 ]: m/ g) f, \, L+ A, M
4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):
' o; h8 A8 E# G, A
( a: B: Z7 Q. G, U8 Z. \boot命令后的完整启动信息:! r# t# I( O' d1 L
) R3 i8 E# l7 v1 X/ }: t3 S/ l
=> boot
7 E3 c9 U, J3 L% h& v6 r' [: cUsing DaVinci-EMAC device
0 g. T+ W9 K8 f2 sTFTP from server 192.168.2.192; our IP address is 192.168.2.191
' _, p) B3 `% @0 DFilename 'zImage'.
" Z' q! a0 \7 w5 |$ L" d  c1 CLoad address: 0xc07000004 G$ G3 k3 X  X3 o7 ~
Loading: ################################################################## l0 n: K- G8 A7 N  B  \1 Z
         #################################################################$ j, n1 q- y' O9 F2 @& Q
         ################################9 b) m# }/ y' S% f- N8 u
         288.1 KiB/s
2 t8 o3 ]) }- f% W/ ?done3 [# T) f  Q1 ~$ [& d! Q. d; W
Bytes transferred = 2367360 (241f80 hex)4 z) L, G- r% ~1 X  T2 {* w

2 {( |, S/ Q1 ?9 P, {0 aStarting kernel ...; U: }; [, G; Q
/ q" F' A2 ^# w7 L1 T5 M- s
Uncompressing Linux... done, booting the kernel.+ @6 c, K" Y# z0 s2 w
Booting Linux on physical CPU 0x04 L+ {& b2 U* i( N' H. H
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 L( t" W. A0 o7 oCPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f5 E" s3 j& U2 i1 z
CPU: VIVT data cache, VIVT instruction cache+ r6 ?; `8 o$ u- {# K) e& A$ b6 y
Machine: AM18x/OMAP-L138 Hawkboard
, E/ }" V1 W* u+ L6 hda8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified9 A' W' N! G! Y/ C. s5 \
    'nn' and 'address' must both be non-zero/ r# G4 ~, _1 o# r0 W7 V8 R  L
cma: Reserved 16 MiB at 0xc6c00000
& o" r+ y. p' c1 j0 l+ cMemory policy: Data cache writethrough
7 ~+ n& x, L  ~0 FDaVinci da850/omap-l138/am18x variant 0x1
+ d0 ?$ F9 R- L! b7 W7 rBuilt 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
. {3 p; D5 f9 o* n8 w& i* l- I, yKernel 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/nfs7 ?$ D3 I4 E6 k
PID hash table entries: 512 (order: -1, 2048 bytes)
0 c# v/ V) E& h( t1 t0 V7 j  M3 lDentry cache hash table entries: 16384 (order: 4, 65536 bytes)  C0 v+ S4 Q+ D1 b% c
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)0 I" n( E# p! J
Memory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)2 I2 j% |& t+ E) F2 a5 [: n
Virtual kernel memory layout:. z8 u' h! a5 |( n1 Z0 D
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  a  S" b3 \! b$ q0 V    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)& i# X, j+ n8 N' ^. Q  L
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB), b- w( `1 N. X- y" x
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
' d4 X9 g( F! C, N7 p    modules : 0xbf000000 - 0xc0000000   (  16 MB)
4 ?$ L# t) ]% m% R$ M" i      .text : 0xc0008000 - 0xc0474b38   (4531 kB)8 F' j; c( ^, [6 ]; |, U
      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)
) V1 }. _! z: `      .data : 0xc0626000 - 0xc0673110   ( 309 kB)
" y% a8 u7 i& t) R! n, ~" |3 d3 g       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)
* L" Y6 V/ p4 E( x; d& n* PSLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
2 k* l! m; a6 N0 [9 W$ }! J0 {Preemptible hierarchical RCU implementation." C, v6 P$ Z5 |7 g8 C
        Build-time adjustment of leaf fanout to 32.
; L# F# v6 ?' @9 QNR_IRQS:245
; |7 v- O6 m7 b( ]; Qclocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
. w8 C+ n9 i8 fsched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
+ _  M* N$ f: N- DConsole: colour dummy device 80x300 {5 Y$ A. O* o, |3 Y5 J* B
Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)0 \( n# B# |2 O3 _
pid_max: default: 32768 minimum: 301
, z5 e5 r+ D# e# `% j* d6 Q2 M7 IMount-cache hash table entries: 1024 (order: 0, 4096 bytes)+ M, @$ w2 N# t' @
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)  j  P3 e! D+ y& j% b* O9 r
CPU: Testing write buffer coherency: ok. U# v; T& P) k2 b  K
Setting up static identity map for 0xc0008400 - 0xc0008458
7 q: ^$ y  s/ C! l. m5 [devtmpfs: initialized# _* [# g+ b( a$ ^7 v
VFP support v0.3: not present
9 }0 X; E+ `/ ]clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns5 ]2 D1 t# S  [6 M/ N  r
futex hash table entries: 256 (order: -1, 3072 bytes)
2 y7 |; e3 N: v+ I& K% T! dpinctrl core: initialized pinctrl subsystem- C2 o/ `0 C0 R' e3 [( T# j6 X
NET: Registered protocol family 16
: S6 d1 v  E. YDMA: preallocated 256 KiB pool for atomic coherent allocations9 k- R$ L; W$ b3 x6 x
cpuidle: using governor ladder
0 m* r9 T! U0 |9 @5 J# Ccpuidle: using governor menu7 g4 B9 P9 Q  a8 J* r6 ^
EMAC: MII PHY configured. d0 i, t3 C9 W% `
mux: initialized GPIO3_12
) v) H, ^/ c+ S6 l$ d6 @mux: Setting register GPIO3_12, d- V' B+ ]4 s9 |+ r# c* I5 W
mux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110
6 F$ m6 s' H+ `$ lmux: initialized GPIO3_136 Z! K7 \! Y2 r1 ^( S# |6 p: L% s$ ~
mux: Setting register GPIO3_13
! C; G, L' |* Q# rmux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x00118810
- S& R8 o- Z' e  wmux: initialized GPIO2_4
: D' E; T6 Q4 Y5 ~# ~mux: Setting register GPIO2_4
  e& ~. D% {1 J0 ?mux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000
; s' @4 J+ J: y) ^* Smux: initialized GPIO6_13
: ]8 i$ T9 a: h, hmux: Setting register GPIO6_13
- y' R; }  r* [2 P8 qmux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800
6 f& w( K2 ]0 G" U7 D9 f' \- ^, yda8xx_register_rproc: memory not reserved for DSP, not registering DSP device: _6 S; H; n* ~* n: y' p
omapl138_hawk_init: dsp/rproc registration failed: -12
2 d* o3 _/ y" d1 {$ c9 ^7 Dedma edma.0: Legacy memcpy is enabled, things might not work
& S: ~3 R& C# ?: [8 m& Pedma edma.0: TI EDMA DMA engine driver6 I7 n: f% l' m. @1 F+ ^6 H1 H
edma edma.1: Legacy memcpy is enabled, things might not work: T( f( W- i+ J2 q1 d
edma edma.1: TI EDMA DMA engine driver% P/ o7 u/ n8 s( G: W* T
clocksource: Switched to clocksource timer0_1
4 m& g- F1 o0 Z8 L3 @0 T, tNET: Registered protocol family 2
; X' J1 l8 j3 R' B5 MTCP established hash table entries: 1024 (order: 0, 4096 bytes)4 P' k9 V- Q9 Q$ y$ n
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
2 t* |' L( T% i# h$ CTCP: Hash tables configured (established 1024 bind 1024)
( V7 Y8 D' k* n! M) @UDP hash table entries: 256 (order: 0, 4096 bytes)
7 T. i' @- F, X& V* [UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)8 J* d  J* k* R7 b- B" C
NET: Registered protocol family 1
* A4 }0 Q8 ?' {2 a4 N) i0 A0 t2 wRPC: Registered named UNIX socket transport module.0 J& J! g* {6 {! X4 m7 x
RPC: Registered udp transport module.
6 m2 W' a$ D, {9 q, gRPC: Registered tcp transport module.% o' S% F: [% i0 r9 {
RPC: Registered tcp NFSv4.1 backchannel transport module.+ ]% |" H+ P, @) C/ P2 {
workingset: timestamp_bits=14 max_order=15 bucket_order=1
! j# N. s/ W* r' Z9 h6 aBlock layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
$ ?3 Q; ?5 [2 {; c& ~io scheduler noop registered (default)+ e- M) J9 i7 n) |; i& h
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
0 I. k+ i# ~+ \# O+ c) V: F; }serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A# w6 W3 ~; O1 I; B
serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A9 x4 R# m& `4 W, o, u
serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A! A' y  M" S& F4 f, B- b( ?
console [ttyS2] enabled; _2 @  h/ W5 P. F4 H5 `7 I' Y
brd: module loaded
" V2 i8 g' f0 `5 a. elibphy: Fixed MDIO Bus: probed
% \6 z8 ~2 {) C  g5 udavinci_mdio davinci_mdio.0: davinci mdio revision 1.5, Q$ E1 y- S. _+ B
davinci_mdio davinci_mdio.0: detected phy mask fffffffe: g, |: V; X0 b. }4 I9 l9 y7 C+ U
libphy: davinci_mdio.0: probed
$ Y- a7 X9 r: ]7 w; x& Q# Gdavinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN87201 S( z4 N8 k! s4 `; u; E
i2c /dev entries driver; K' T! a) z: f3 W. T+ ~
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
1 M' y3 L* a# _0 G. Ndavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1# x) u0 }1 w+ @
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode
" }4 X! z# U  y0 ~: }NET: Registered protocol family 10# O4 t1 r2 M7 B% h7 g8 \) q
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
( I" O7 A2 g$ i6 b3 WNET: Registered protocol family 17+ L. C% c& ^3 D; G0 \; _
console [netcon0] enabled
; h! W' M6 T6 ?  H* Knetconsole: network logging started
+ F% C) N5 M* q6 a' Edavinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89
- `; F- [: G) E6 ~6 z% {hctosys: unable to open rtc device (rtc0)
! J& O9 m' c; z: {8 n8 [7 E; Qlibphy: PHY davinci_mdio-0:07 not found. m, Y5 t( C/ C
net eth0: could not connect to phy davinci_mdio-0:07
! I8 J8 W/ U( @IP-Config: Failed to open eth00 d/ @' M9 [7 h" Y7 R
IP-Config: No network devices available& x( L% [1 w% Y% ~4 {; I
mmc0: host does not support reading read-only switch, assuming write-enable2 Y6 M7 b8 D  d3 w2 f/ E3 Q
mmc0: new high speed SDHC card at address 59b45 [$ i7 C. R9 r8 R
mmcblk0: mmc0:59b4 SS08G 7.41 GiB
3 g+ M. ~% J" X% @ mmcblk0: p1 p2
0 L6 w4 N" S" `4 a2 `0 U  t- L, Q5 D" s0 I# {9 g1 G
/* 此处等待了一段时间 */
/ H1 o5 [0 M+ z+ f5 M
! C6 F& @, _4 @/ U- Krandom: fast init done
. I# S# h) X8 Z4 g& I* vVFS: Unable to mount root fs via NFS, trying floppy.. I8 X8 g, H$ ?
VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6% `0 X- ]' L4 J5 X  L$ Z4 X. ^
Please append a correct "root=" boot option; here are the available partitions:+ ~+ l" @( E- K1 S
0100           32768 ram0  (driver?)
: Z' I! O& g# L9 qb300         7764992 mmcblk0  driver: mmcblk2 s2 V. q( {, R6 n
  b301           71680 mmcblk0p1 cd4e1bc4-01. P4 R0 V  p! f# J8 F
  b302         7675904 mmcblk0p2 cd4e1bc4-02                          
) Z0 B( ?2 I9 F- d1 w9 Z0 N/ ZKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block- H8 X4 @5 q2 F' G. b# T
$ D& r7 ?% D0 }7 y7 d

; f) u0 r( S; j% f- |
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
沙发
 楼主| 发表于 2017-9-12 22:25:21 | 只看该作者
应该是如下错误造成NFS失败:' G/ V' v# w) U/ c

. V9 `; s9 {0 Y: C# \5 Elibphy: PHY davinci_mdio-0:07 not found
3 o; s/ [/ h5 ^/ snet eth0: could not connect to phy davinci_mdio-0:07
+ R9 A1 x; c) X9 U" I. AIP-Config: Failed to open eth0( o0 V  r) k/ o) N! i* w3 h
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! Q5 ?  W$ s1 c( b
应该是如下错误造成NFS失败:
) L* d& I) N4 G' m, I( U6 M" y1 I4 |( [/ K
libphy: PHY davinci_mdio-0:07 not found
$ N9 ]+ M  T5 D7 V3 X( x: b2 T
您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

GMT+8, 2026-3-17 04:07 , Processed in 0.062186 second(s), 26 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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