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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 5802|回复: 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卡启动' n" L+ Y6 _6 d/ U9 i) Y

& y5 S5 s1 ^1 r: p5 d: c8 s1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin% C- g, A) z8 q$ ?

( |' x: ^/ I/ M0 a6 {, V* U2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版+ B; t* \$ w% j5 l
+ `- U* I# s+ p& @5 j2 A3 }. v$ }! ~$ ]
3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式
  L6 y9 Z8 [% Z& X- [& b5 L" p& T8 |+ I2 r
uboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):
5 k# z9 L2 t' j9 e% K" [8 S5 p- L) x. r; R
setenv uboot_macaddr 1
; q) v& H; |* A  h2 csetenv ethaddr 00:0c:29:bc:7e:9a 2 I# Q$ P$ v# \1 j% f) O6 S9 s
setenv serverip 192.168.2.192
' p+ h" f6 A; t8 wsetenv ipaddr 192.168.2.191
4 v9 y/ i- F) s4 m+ Z! [" J5 n  }+ I
bootcmd=tftp c0700000 zImage;bootz c0700000
( c# I4 W/ K: `8 _! M
. C, @/ Y9 z9 I, p# 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/nfs7 ~9 [9 E& f& F" J4 i3 h0 M
: L9 i$ |. J$ a  @  M
4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):
! M2 C! G8 M# O* z% J. y1 ^) I; N, l7 T: b$ {5 h: R( ~
boot命令后的完整启动信息:1 b" V( H, Q; {/ X, z
5 ?* Z3 {8 a" }7 t% L3 z
=> boot) n2 @% d  |! ?: w( [0 z; f2 ?9 Z( Y
Using DaVinci-EMAC device7 N) {; B5 q, u1 ^; j
TFTP from server 192.168.2.192; our IP address is 192.168.2.1916 H. X- ~$ {+ R# T& y! c0 O
Filename 'zImage'., f# ]! Y4 v" M+ h- g0 K, S% p0 _
Load address: 0xc07000004 N' k( W* Y/ v  k* Z& Q4 e: F2 K
Loading: #################################################################, X+ k) o3 M% d0 h) y
         ################################################################## L. ~/ X4 k" |9 E" @; B
         ################################. M  Y+ M) T7 W* i
         288.1 KiB/s5 q  K! Z5 [" T5 `6 c
done$ J, G9 {( H: b: i- P0 z
Bytes transferred = 2367360 (241f80 hex)
' ]) S; z3 k2 {9 y* c3 p& H7 N$ V4 b4 E
( B# C1 `( L& Y* {/ D. |Starting kernel ...
4 G  ^7 X1 z7 t, D8 p: m  ~
3 ]! u  u! q( a5 u) f4 K3 @& p  P* KUncompressing Linux... done, booting the kernel.
; W1 K* Q+ W& Q2 _/ W3 N( h7 aBooting Linux on physical CPU 0x0
: A* N& v" ^+ r5 e0 v/ \7 @, k6 KLinux 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% G. y; S. v- A0 J9 S* c3 x
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f0 e: v4 [/ h- p4 T
CPU: VIVT data cache, VIVT instruction cache
: s/ P! [' N/ L& a; @Machine: AM18x/OMAP-L138 Hawkboard3 }' N2 G* f* i/ {( {
da8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified; k9 U  J8 K: n
    'nn' and 'address' must both be non-zero
1 [2 V6 L4 \6 O! J: m) D# @cma: Reserved 16 MiB at 0xc6c00000  Y7 S# u. l, K& n
Memory policy: Data cache writethrough
  T& s; \, I$ w1 l; e, s. P% JDaVinci da850/omap-l138/am18x variant 0x1
, {/ b: X/ W# y- v4 MBuilt 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
, h8 C5 {" _% M8 M0 |7 E' DKernel 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- ]4 d( s: h* H
PID hash table entries: 512 (order: -1, 2048 bytes)
( D* T) \' {0 N0 V' I7 W; cDentry cache hash table entries: 16384 (order: 4, 65536 bytes)' C+ i% }0 `: r- t4 p5 n
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)+ a9 R3 h( P( [0 P! M& o$ w1 P  v
Memory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)$ Z. N$ j7 S6 N8 x. `3 i/ \
Virtual kernel memory layout:6 t+ \8 T8 \# @- |
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
& p% i6 h, ^! W  |3 s    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)9 v$ j, @4 y' U, I
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
9 Y! E% D. f  G9 M$ g/ w, `    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)) O3 z0 I5 {: v  f; J( t6 B- E
    modules : 0xbf000000 - 0xc0000000   (  16 MB)5 N' ?7 ^' b' x1 `, k
      .text : 0xc0008000 - 0xc0474b38   (4531 kB)% }9 o4 E; e: c& |
      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)
2 q( v; C  _+ S* b, L      .data : 0xc0626000 - 0xc0673110   ( 309 kB)8 O- d5 I; g1 d4 N  Q+ e
       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)
$ k) [1 N* i0 k+ q% y: \6 oSLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1. S! l, `4 ?1 c- f6 w: w$ y
Preemptible hierarchical RCU implementation.
; Q) p" A3 z( p6 h        Build-time adjustment of leaf fanout to 32.
& Y1 G; d) `: K# }+ NNR_IRQS:2453 Z2 t( f: Q2 Z3 D' L* n- Y
clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
9 Z& `3 H6 l/ e, Psched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns6 h3 c7 U+ t5 x) _& _
Console: colour dummy device 80x30* S; T1 @7 ?  ]3 i9 _3 @
Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
2 P) x0 B' N. S! k8 ~9 W) Xpid_max: default: 32768 minimum: 3011 l& P' }( ?5 c+ f! N# z4 j
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)& A  V# I0 a2 E
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
# Y/ U$ w9 h- Z+ lCPU: Testing write buffer coherency: ok/ M" S% g( j! X' g! L* H7 B8 z) K
Setting up static identity map for 0xc0008400 - 0xc0008458
( {, S% q" _9 f$ [/ F3 mdevtmpfs: initialized
: k  N4 o0 _1 R8 I& p- uVFP support v0.3: not present
3 x7 C* \  Y( \, m& Xclocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns8 Y4 D4 Q$ F7 B; Z* ^, V1 g
futex hash table entries: 256 (order: -1, 3072 bytes)- }/ Z" h2 `, E9 B9 W
pinctrl core: initialized pinctrl subsystem
2 c& Q7 h4 j" c- b: h, N( l, _3 S/ n1 b5 LNET: Registered protocol family 16
$ Y' K' T- I& P5 ^0 SDMA: preallocated 256 KiB pool for atomic coherent allocations# _9 w' ?+ k; O. z" \
cpuidle: using governor ladder
* V$ Y8 D) }' H# b" ^- o7 lcpuidle: using governor menu
( Y' H5 J+ f( E- S: z! ZEMAC: MII PHY configured9 u- h% N2 i4 C& y
mux: initialized GPIO3_12
: `% U! X. {+ R' [6 ]9 _4 V! Qmux: Setting register GPIO3_12
+ l0 f/ Q- Y3 p4 r4 Kmux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110
. t) v3 a2 Q/ Z# Y  D! F+ |mux: initialized GPIO3_13
2 w! ^7 Y4 {( N3 pmux: Setting register GPIO3_13! g. @) Z' b! U! Q, }" N) B* `
mux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x001188106 K' m* N7 Q' X$ n
mux: initialized GPIO2_4
6 c2 k6 L+ b0 ^& @4 a5 Bmux: Setting register GPIO2_4! N: o) o5 n# K0 e$ a+ h! L
mux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000
* W' K" [( j0 z+ A( ~' h2 |mux: initialized GPIO6_13* X5 T3 J+ w# B5 W& {. o. C
mux: Setting register GPIO6_13" ?2 c6 v! B5 w. K$ g! J; {
mux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800
" N& Y+ \$ \$ d" Rda8xx_register_rproc: memory not reserved for DSP, not registering DSP device+ P* i+ L0 I0 _8 y: z$ G* J, m
omapl138_hawk_init: dsp/rproc registration failed: -12, m; H7 y9 n. ~$ m
edma edma.0: Legacy memcpy is enabled, things might not work( ^, Q+ w  S) F
edma edma.0: TI EDMA DMA engine driver4 f' p. V0 a% M5 K; |; Z
edma edma.1: Legacy memcpy is enabled, things might not work
& P9 c2 a; H" |4 O6 M/ Wedma edma.1: TI EDMA DMA engine driver
; }7 W  ~( p# d! ^, a7 I, M) G" xclocksource: Switched to clocksource timer0_1- K- ~/ `/ h+ t% u& V
NET: Registered protocol family 2+ {, C1 U' U/ z1 L0 y; n
TCP established hash table entries: 1024 (order: 0, 4096 bytes)/ }. N7 f9 I9 B/ I- a
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
6 {0 d6 A# g) m+ j4 ?/ }- {TCP: Hash tables configured (established 1024 bind 1024)
2 _5 H2 z& c' x0 bUDP hash table entries: 256 (order: 0, 4096 bytes)
8 w) V, R4 @1 S0 G: n/ o  D: ?UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
+ b4 J2 ~+ _) g% u1 _NET: Registered protocol family 1
( T  O; |! o) aRPC: Registered named UNIX socket transport module.7 ?. c5 k/ f) ]0 f! _
RPC: Registered udp transport module.
( k) r& J  R" l+ b* |0 C1 ~1 IRPC: Registered tcp transport module.
9 b) D- M& o8 GRPC: Registered tcp NFSv4.1 backchannel transport module., |  S. o$ D) B
workingset: timestamp_bits=14 max_order=15 bucket_order=1
# s& R! a3 Q0 n' x. }Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
& i$ N6 g% @3 N6 l" Rio scheduler noop registered (default)
1 s) F% C# X4 D: L% sSerial: 8250/16550 driver, 10 ports, IRQ sharing disabled1 e5 N  y& B1 T4 J
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A
, Y' Y* O$ i8 }  yserial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A
# [- _" T% ~9 `! Xserial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A
& {2 C. T4 N0 p/ j  V8 \$ _# S1 v! \console [ttyS2] enabled
% p7 {( y* ^  d( I1 h6 \$ ~. \brd: module loaded
# N, `( ]6 L  ?% c( ^. v4 S4 Blibphy: Fixed MDIO Bus: probed, g! g: M, m# t1 ~
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5" c; C0 Z, h- f- Q
davinci_mdio davinci_mdio.0: detected phy mask fffffffe
# F. K3 n% h* o* [" t; Zlibphy: davinci_mdio.0: probed6 ]9 [* z' l8 |  G! c6 X& C
davinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN87204 N# {  |' n3 |2 d* Z
i2c /dev entries driver: d" ]3 Y; E1 ?$ _- X; p
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1, _2 D0 S- R& Z1 @% m# h( C- E
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
0 R3 [4 m; v7 k) c. adavinci_mmc da830-mmc.0: Using DMA, 4-bit mode7 h* W2 M( r' k# Q" F3 H) l& Z
NET: Registered protocol family 10
% |, v3 u: G: Y+ J2 k+ E( esit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
2 S& @( K( f! m4 _! \3 q5 Q# f6 h* zNET: Registered protocol family 17
1 ]5 W' H( p  a/ ]' a' F% aconsole [netcon0] enabled
3 {+ L8 @# Y. e) Vnetconsole: network logging started, X% c5 ~7 a3 y" g7 Q
davinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89  ]9 x* V1 e6 r5 C
hctosys: unable to open rtc device (rtc0)' c  h' b% P- r4 A1 P$ S
libphy: PHY davinci_mdio-0:07 not found
6 n4 i5 f' B8 K  [net eth0: could not connect to phy davinci_mdio-0:07
% \. s; _! y  U7 q# U) A! T0 wIP-Config: Failed to open eth0* b9 t* |/ g; g4 `* W
IP-Config: No network devices available% e0 Q. o5 ?' \3 V5 h/ r# f% j
mmc0: host does not support reading read-only switch, assuming write-enable
  d: R5 R1 U. ]0 P" K$ S& V% P: ]mmc0: new high speed SDHC card at address 59b4( {. b! y4 v# s9 l/ B# O
mmcblk0: mmc0:59b4 SS08G 7.41 GiB
; J1 v1 e3 [1 Y: z  M mmcblk0: p1 p22 p. x+ c' @. I- ?: p6 v; t

6 m' T6 {0 S6 L( u2 R/* 此处等待了一段时间 */) C+ j& G+ z* t
* p( c8 G. T1 T0 c
random: fast init done
1 o( ~8 X& v- r% [: x" I9 [VFS: Unable to mount root fs via NFS, trying floppy.8 e4 N% v) a, o1 P+ _0 N
VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
: r  a. q" c# y1 j6 g5 a' N; m) uPlease append a correct "root=" boot option; here are the available partitions:
. ~/ q7 ~( W3 D0100           32768 ram0  (driver?)
$ G% N4 t' f  ]9 s2 e5 ~1 N, G( ~9 U/ Z$ |b300         7764992 mmcblk0  driver: mmcblk
0 ~8 @+ \/ W3 h6 o  b301           71680 mmcblk0p1 cd4e1bc4-01
+ R% U& I) b- A" T- c" s1 O  b302         7675904 mmcblk0p2 cd4e1bc4-02                          
. Y* q! p# D5 G' D( i) uKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block
) Y2 }/ m, w4 ]# s' L, a
" z1 a0 O4 w+ n. |) e, }+ K, r' j
" U: }  W" [! @) {
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
沙发
 楼主| 发表于 2017-9-12 22:25:21 | 只看该作者
应该是如下错误造成NFS失败:
4 _. _/ i' t8 D* C6 O; e8 [/ G2 A5 ]5 b) O" P+ a) l- V! D
libphy: PHY davinci_mdio-0:07 not found$ a. g  l6 T# U
net eth0: could not connect to phy davinci_mdio-0:07
4 M* r5 S" O9 u9 m8 Q4 vIP-Config: Failed to open eth0- G& t5 ]) s$ Q" V& l* T
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
" t" G: j) |( b3 F2 |6 K& s. d3 D9 e# r应该是如下错误造成NFS失败:) O& n- i2 L1 e8 y; d$ k2 F

. V$ U% i$ F2 H# Z. \5 u' slibphy: PHY davinci_mdio-0:07 not found

9 g7 l6 ~- e; }! P/ t0 z" \' e2 r您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-9 09:14 , Processed in 0.046900 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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