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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 5796|回复: 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卡启动
5 @* ]) g$ ^% a# `) J, L
8 a! j& O$ H5 r) r- f1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin
# `: M0 D5 R! y  w; I% k# g! p6 G1 m
2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版
& E/ \1 V- \$ e9 g6 u5 `. m
( w5 ], M  {4 U$ f3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式1 D) l# P7 f& C

: {3 i7 D( T9 y4 i# T" A' yuboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):
# U8 m8 u- U/ j: P& ]9 s9 H3 Z4 v4 Q! ^  b
setenv uboot_macaddr 1
3 \9 A6 {, g; `: X! t/ [# C0 Nsetenv ethaddr 00:0c:29:bc:7e:9a % _5 [+ k; d. g6 u
setenv serverip 192.168.2.192" S7 Y$ A8 K1 t* v0 ^0 B
setenv ipaddr 192.168.2.191& `) \# [/ p6 a+ T- T9 Z; f( t7 c. O

8 g" x. C7 V9 _4 ~' C( j" O& N  Zbootcmd=tftp c0700000 zImage;bootz c0700000* l$ n2 D! K8 w) `. W. ~' {  q) Y
/ h" V" S) _- k0 Z$ G7 E- V: ]
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( \; |* g( @5 N. G8 ?$ W3 V

. [6 U- [! B2 Y; G7 i4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):
, z# t$ r7 r% e' b; i! H, X( X# f4 r/ s% Q
boot命令后的完整启动信息:
: i- M, x/ W/ w# {. y6 N
8 O, [. U5 X/ |" |1 t=> boot/ w5 `2 z# ^. S2 V: c! ~
Using DaVinci-EMAC device8 ~4 S! h: m3 Z; @3 D/ x2 @, Y
TFTP from server 192.168.2.192; our IP address is 192.168.2.191
" a' U, N" A3 YFilename 'zImage'.
1 j: u  p) u* _, |& `% r4 cLoad address: 0xc07000000 F; u8 C9 u( F2 I
Loading: #################################################################
1 b6 |/ E1 @! {. s  Z  J' j         #################################################################- d# Y) X4 f) s; a# D8 e# {  e
         ################################* s- g# V# K6 U9 ~  g' _: \& n, {
         288.1 KiB/s
* [$ y" m' `0 z, Ydone
  |+ A' T" `( X. aBytes transferred = 2367360 (241f80 hex)5 ^8 D3 d, ^" B/ g" V) p4 N. L+ U7 ?

' _( o* s' @6 o7 b4 v0 u$ iStarting kernel ...
! z6 {# E* `4 k
" J1 X& ^3 e' n* l+ P8 S6 yUncompressing Linux... done, booting the kernel.
9 m. `$ h: e( |1 k5 r, b! E! x8 w9 |Booting Linux on physical CPU 0x0
/ G; i  e" c! V$ @. eLinux 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
/ f; A  q/ I( o+ ~CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f0 V+ C9 E* D/ Q1 T6 ?  v# _
CPU: VIVT data cache, VIVT instruction cache
& e1 V" c( y7 H5 L+ S  C& M# GMachine: AM18x/OMAP-L138 Hawkboard' w1 F0 `! _4 ?  S
da8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified
3 {! O* Z# v, Y1 e4 ~    'nn' and 'address' must both be non-zero9 l/ E$ O0 e# S# ~" E; p. J6 t
cma: Reserved 16 MiB at 0xc6c00000. B; W1 a, }8 X8 j
Memory policy: Data cache writethrough+ X/ ~( b/ p3 Y7 V6 B
DaVinci da850/omap-l138/am18x variant 0x1
2 C9 C; x6 a4 Z% W# WBuilt 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
7 t9 _( v- r- c" ^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
+ ?2 S0 o/ |- O" ^1 Y4 WPID hash table entries: 512 (order: -1, 2048 bytes): c9 d8 I  s9 }# G$ M5 G$ B* b
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
" B3 X. \" O* c# VInode-cache hash table entries: 8192 (order: 3, 32768 bytes)5 {, Z# s. L# n: U! Y
Memory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)8 h  g) p, @) U! [4 t
Virtual kernel memory layout:1 P. R7 N" h6 a3 J$ m+ u1 l
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
! b7 b2 W1 r' y- V. ]. K. F    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)- b3 j- F. K4 v" K
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)7 ]5 N. k6 [' }  c
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)  }, M: v3 r" D. {
    modules : 0xbf000000 - 0xc0000000   (  16 MB)" {' q$ j5 Q+ P* G, l3 Y# `9 ]3 c
      .text : 0xc0008000 - 0xc0474b38   (4531 kB)+ t4 ^" ~, k) W7 i
      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)
) M9 j  K( R# S, \- S7 V5 T4 K      .data : 0xc0626000 - 0xc0673110   ( 309 kB)
+ {( S- k- [" x7 q* \1 L       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)
! p$ F6 v0 i0 G# Z  J: g& h2 ~& ]SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1. U6 G/ {  K$ @! y+ K& Q& ^4 |
Preemptible hierarchical RCU implementation./ b4 m4 \5 u; b) d
        Build-time adjustment of leaf fanout to 32.8 a; b2 k. P$ f+ C9 e# a) ~
NR_IRQS:245
! i. f- P6 J# ?; a- Y+ N4 h$ {clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
4 W5 Z4 g, D) v/ L6 i8 F- f& lsched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
8 |1 }% V0 K# g: f$ G, RConsole: colour dummy device 80x30' z; _9 s- i7 W1 U/ B
Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
6 j& L; {( I8 }2 Npid_max: default: 32768 minimum: 301) Q- C  A0 t# x, O( ?% f* [
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
8 E. n0 O4 j' TMountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)+ @9 b/ u; C6 p0 O3 ?& w
CPU: Testing write buffer coherency: ok
9 U5 X8 {+ i: _0 l2 }Setting up static identity map for 0xc0008400 - 0xc0008458& N6 i( U- Z! H+ ~
devtmpfs: initialized7 i% m$ O+ o, N% |- j* A2 }! `3 b
VFP support v0.3: not present
5 k  U& E( F: S( F+ Rclocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns5 Q' d% u/ {! v% V, }) ~
futex hash table entries: 256 (order: -1, 3072 bytes)
' N) U. A" [" h1 N- [pinctrl core: initialized pinctrl subsystem
; }+ V) I! Q  M- {NET: Registered protocol family 16
6 f4 S  u) Z, F/ j8 CDMA: preallocated 256 KiB pool for atomic coherent allocations* y1 ]. d) |9 R4 y! C9 d2 \
cpuidle: using governor ladder% Q2 p3 l7 q1 J& G
cpuidle: using governor menu  q7 T) O# \$ S- k
EMAC: MII PHY configured
; g3 h" q: ?% C8 y* ~mux: initialized GPIO3_12
4 z+ D' n9 U0 V# _7 Cmux: Setting register GPIO3_12
- D+ _! W& a5 kmux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110
8 m$ k: o& m3 Q0 Mmux: initialized GPIO3_13
2 b# z& W' L' y# ]* ^mux: Setting register GPIO3_13
' [: H- K% e& z9 g  d% imux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x001188100 h5 |/ Y! ^3 g8 f8 y) Z* y
mux: initialized GPIO2_4/ \  ~3 \* r4 K( y: V
mux: Setting register GPIO2_4, v9 H3 Z, T0 Y8 x6 W
mux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000
5 p3 ~, W0 P! Cmux: initialized GPIO6_13: I$ h2 r# A# l* `5 J
mux: Setting register GPIO6_13
/ \. u4 S+ m  ~: xmux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800
' [6 Y: e: _8 G" P- gda8xx_register_rproc: memory not reserved for DSP, not registering DSP device/ ~' x% w5 K& F$ _& f- L/ v9 L
omapl138_hawk_init: dsp/rproc registration failed: -12
2 |% x0 G8 y$ Y: A, q# n- dedma edma.0: Legacy memcpy is enabled, things might not work- _2 R8 q3 t/ S7 J3 ?
edma edma.0: TI EDMA DMA engine driver9 o- g* a$ A+ g/ M0 Q$ }+ r
edma edma.1: Legacy memcpy is enabled, things might not work
  O1 C) z; f! P( }  ^$ kedma edma.1: TI EDMA DMA engine driver
4 K: l0 p: P6 M7 I  Q1 k+ vclocksource: Switched to clocksource timer0_1
7 ]$ |0 {* [) p! kNET: Registered protocol family 27 i7 x5 ~8 w# {1 |5 i
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
1 q! N/ i" i; L) U# o" ?. @TCP bind hash table entries: 1024 (order: 0, 4096 bytes)6 G& ]& G. Z7 Y
TCP: Hash tables configured (established 1024 bind 1024)+ T) h# R! a+ U8 f- d) f
UDP hash table entries: 256 (order: 0, 4096 bytes), a0 x7 e! Q. o
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
7 r+ E, d0 ]$ g4 x' YNET: Registered protocol family 1+ ]3 k4 Q: d( y/ M7 L) G% i5 s
RPC: Registered named UNIX socket transport module.0 K2 Y! O# t$ Z* P
RPC: Registered udp transport module.
( C+ A' U! _; s1 |' H; fRPC: Registered tcp transport module.4 u9 R: z) ?& g3 C( Z
RPC: Registered tcp NFSv4.1 backchannel transport module.
, B2 \' S& `5 R7 C- u) jworkingset: timestamp_bits=14 max_order=15 bucket_order=1
6 w/ U: ~- W6 C' S4 ^Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
; h4 f4 f" E- \, ]/ S. Eio scheduler noop registered (default)
- U. S( O/ g, _* N' A# [& |Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled- S9 ^8 h, `- j/ L1 q
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A5 |# _; ?9 {( @4 Q8 Z6 Z" s
serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A
7 Q% h$ F) M" W2 ~serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A# T. X7 K% j0 o1 C
console [ttyS2] enabled
' |' w. {+ r% \( Fbrd: module loaded1 o3 f8 u- m1 h+ f/ ]
libphy: Fixed MDIO Bus: probed
( V+ ^, S3 u- D/ p2 ddavinci_mdio davinci_mdio.0: davinci mdio revision 1.5, g8 z  D# q( w0 W% L
davinci_mdio davinci_mdio.0: detected phy mask fffffffe& |* y/ c8 J; ?8 D' a2 K/ W
libphy: davinci_mdio.0: probed
) k! g3 h  ^; B- fdavinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN87207 _! a! [1 {) K) M
i2c /dev entries driver
: n( t+ g4 P" R' Kdavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1$ F7 l* y7 {- Y7 B/ t: g
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.18 \, I/ ~. J. a# N
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode; U3 M! V6 R7 k- U
NET: Registered protocol family 10, C0 n, ]9 r, s  [% Z0 P. B) t0 D
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver1 T2 \) h' P6 D7 L5 f9 }3 D. s
NET: Registered protocol family 17" @/ L; f! H! t) H, \" H
console [netcon0] enabled
7 D5 I5 c6 k5 G0 J0 j( e5 `( Ynetconsole: network logging started. V+ z3 I0 V2 M! Q+ Q( i6 ^) U
davinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89
6 j$ s* c$ L- ]: K; o: ihctosys: unable to open rtc device (rtc0)' c9 x1 R1 {: C, |, z7 K
libphy: PHY davinci_mdio-0:07 not found
6 N9 E* L9 ^* Q' W! p5 ^net eth0: could not connect to phy davinci_mdio-0:073 l# n3 o$ B# U+ b5 H2 Q
IP-Config: Failed to open eth0
& }: [8 @2 p8 a- U5 xIP-Config: No network devices available" V) j3 n/ l3 I9 J3 T
mmc0: host does not support reading read-only switch, assuming write-enable/ Q$ k# o3 r; ^$ w6 d4 h  _
mmc0: new high speed SDHC card at address 59b4
3 ?  l, y5 }. n& r2 b. h: nmmcblk0: mmc0:59b4 SS08G 7.41 GiB 4 N- w% _5 c5 e8 W
mmcblk0: p1 p2# L9 p  |& A1 C
. X- _9 Y0 j! @# m% G
/* 此处等待了一段时间 */' S' Y& T$ U3 o" E! k: D6 d
  Y& H( G8 y4 v
random: fast init done
7 n1 _, h- L% r. [VFS: Unable to mount root fs via NFS, trying floppy.+ J7 ?5 z2 \: w' W! ]
VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
, M- K0 q% s% {7 F0 l, RPlease append a correct "root=" boot option; here are the available partitions:
9 m$ {% U' P/ o# j' v( M0100           32768 ram0  (driver?)2 n6 W1 {$ N2 |9 E% U5 C+ Z, r
b300         7764992 mmcblk0  driver: mmcblk
7 k: D" N: \1 Z' T/ F* }% A' Q( n  b301           71680 mmcblk0p1 cd4e1bc4-01; A. n: e" u4 i/ T) o6 r+ ^
  b302         7675904 mmcblk0p2 cd4e1bc4-02                          # s# k* [" O) t- r: {
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block( e' i- {2 o5 k8 F* c' M# B

! G; I  e- y" U' o, ?# L
. V8 [" f7 y0 `
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
沙发
 楼主| 发表于 2017-9-12 22:25:21 | 只看该作者
应该是如下错误造成NFS失败:
3 C* q2 c$ `; |6 ?7 j4 R. P# c6 _4 ]  c. ~4 i$ f1 M* F5 m
libphy: PHY davinci_mdio-0:07 not found& Q# m+ a/ a1 G: }; a
net eth0: could not connect to phy davinci_mdio-0:07! }  k. _( K$ p2 |7 ?/ W# j% M! H9 q" U
IP-Config: Failed to open eth0
9 f$ A0 v' H& N. F8 qIP-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
" c- c/ Z/ B* d, o$ B应该是如下错误造成NFS失败:- W' T4 ~& ?7 {2 I4 k

9 r# D, G9 j1 ^libphy: PHY davinci_mdio-0:07 not found
4 x& ~' D; J- a: @/ T" Y
您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-8 11:37 , Processed in 0.039910 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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