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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 5900|回复: 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卡启动, e4 l  T# \4 k5 \; q2 w1 s

1 H, }' G1 U& b0 d# ~1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin: ?" j+ m7 I* F4 x& U. j' Q/ U
; Y- ]( h$ s! E# _$ `$ ], K
2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版  C0 i) r$ Q4 x' p
- H$ Q2 q, Z$ Y  ]
3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式% F6 ?+ e8 g  A

: M0 i" {1 _% k7 a0 ]; ?uboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):
! f. ]( x+ e+ k8 e3 b% I! V% D9 K$ |8 \% B& T6 ]
setenv uboot_macaddr 1
  {) |! g% E0 h6 ?6 usetenv ethaddr 00:0c:29:bc:7e:9a   R4 k2 n% W' [- x5 G, c; s
setenv serverip 192.168.2.192
# B1 L9 ^  B$ C! x( o$ nsetenv ipaddr 192.168.2.1919 Y& t8 {  s# j: v: h# B7 u# P% g1 Y

& ^% L  S3 I) g- e, Q" K# x+ b8 h1 H* ebootcmd=tftp c0700000 zImage;bootz c0700000/ e  Z, Y" }% w1 e8 y$ g
8 s$ q' W  ?. b6 E8 x; q
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
3 E+ Y4 E; h- J# u
* T2 P& p9 S4 c9 Y( x% z( Z4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):
- h& W8 Y9 F9 N. C
( }5 T: O/ u( z5 e4 w8 |) aboot命令后的完整启动信息:
8 q6 E* T, O- s+ A* ]3 h
/ R3 j) Z9 F" H1 }- H=> boot. c) M4 q6 i& W
Using DaVinci-EMAC device
1 o! y+ a6 L5 uTFTP from server 192.168.2.192; our IP address is 192.168.2.191
$ a7 b$ a. R7 X5 \! ?  VFilename 'zImage'.8 f+ i8 l4 c( p& [
Load address: 0xc0700000
# C- d5 Q$ y3 I" i( Q) xLoading: #################################################################0 A" u# R# T% Z: r% a
         #################################################################
( v: I. v0 |2 x( ^  F( F$ a         ################################
7 |/ s3 a6 S+ @; }! u         288.1 KiB/s
; `0 t) X* S. M: g8 F+ jdone
! @' U4 _: @  ?, BBytes transferred = 2367360 (241f80 hex)
, n' u: M4 p" X; n. q" @7 M3 _5 E
" B+ u- X# F# h) F% @/ {Starting kernel ...
& f. n9 D) |  H& t% h% }
& Q$ l( h) n8 G3 `$ ]1 p; j" fUncompressing Linux... done, booting the kernel.. z6 v5 _) ~( A( l3 v
Booting Linux on physical CPU 0x0
# G$ [/ Z3 i4 X: K& }) LLinux 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 20179 H6 ^5 _7 W. @" i  W3 D
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
7 {" r/ ~: `. F4 r1 j, J5 d4 ECPU: VIVT data cache, VIVT instruction cache, ]8 x" A6 L: Z- i9 f; R
Machine: AM18x/OMAP-L138 Hawkboard
! c, q1 e7 }; D3 u- \! O+ X( X5 bda8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified" A7 m8 B4 K* {* `. `2 U8 ?, `4 h$ f
    'nn' and 'address' must both be non-zero
9 A( Y+ \( i9 F8 e* {cma: Reserved 16 MiB at 0xc6c00000
, Q& i5 u( r) ]7 j# [! OMemory policy: Data cache writethrough
/ S0 d2 r3 C. H9 C; f2 ZDaVinci da850/omap-l138/am18x variant 0x1
6 h! s* z5 m5 ?' ^* b! X: e! sBuilt 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
0 W, `2 `) _* J# i  ZKernel 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
% G& ~- _5 k, L1 J4 V, G( {, wPID hash table entries: 512 (order: -1, 2048 bytes)
% n% _% J7 c7 h3 H4 R" UDentry cache hash table entries: 16384 (order: 4, 65536 bytes)) k) I8 h# P- `
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
7 y+ i/ h( P2 N. dMemory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)3 \8 q  @$ d8 L( L& b
Virtual kernel memory layout:5 o8 {# e3 W$ q' ~& }* ]! j4 ^; h
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
# y9 v+ y, H7 Q8 w    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB); c8 W6 U. ]2 n+ U: H
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)+ a4 E5 A# V+ s$ T, b* m3 l* \
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)& M5 R" e/ L" x( C
    modules : 0xbf000000 - 0xc0000000   (  16 MB); m' K" a) U9 w
      .text : 0xc0008000 - 0xc0474b38   (4531 kB)0 z" p: G6 }6 e1 v  s* ^% G
      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)
9 b( f  s' u* P4 Q- n* @3 T      .data : 0xc0626000 - 0xc0673110   ( 309 kB)2 @" n0 N$ y% B5 M; t
       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)1 H" Y3 f; T! \) X5 W* h! @. _6 ^
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
+ p2 R7 G! V" d% PPreemptible hierarchical RCU implementation.2 p) h+ C; q- ]2 \1 q
        Build-time adjustment of leaf fanout to 32.
# [9 K# c% ?% M7 @1 r' J9 J8 dNR_IRQS:2452 ~! }8 m' i5 n% F' \5 l+ P
clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
6 K+ `6 l: E# ~$ L; Dsched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
& D. e7 b- Z- }3 S% RConsole: colour dummy device 80x30, N' o0 p% Q0 T9 a" t1 \
Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
8 U9 B3 d' E  P6 F: i4 o/ o4 r' Dpid_max: default: 32768 minimum: 301
5 L, b5 \0 ^, E1 E! l/ ]2 `Mount-cache hash table entries: 1024 (order: 0, 4096 bytes); v% T: G$ B4 }; o: Q4 {5 i, P9 O) x
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
% U- k$ l; N% R/ R+ ZCPU: Testing write buffer coherency: ok" E) ?4 d9 n0 H, D- q7 A
Setting up static identity map for 0xc0008400 - 0xc0008458
2 I4 u9 ^6 }  s$ a0 `9 N; Zdevtmpfs: initialized
2 U7 q  Q5 d! e1 P0 W5 B5 eVFP support v0.3: not present
3 Y  t, j) m; sclocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns; M. I/ y9 [! Z
futex hash table entries: 256 (order: -1, 3072 bytes)
* Q) S3 K5 d) V+ R& apinctrl core: initialized pinctrl subsystem3 m5 V$ A# n1 b4 Z# {
NET: Registered protocol family 16
6 r: ^7 k5 x' A- ]: {+ |, jDMA: preallocated 256 KiB pool for atomic coherent allocations5 C; u( r# i- _5 \
cpuidle: using governor ladder
1 M: ?3 {; q' ?. R# n* Wcpuidle: using governor menu
& A- I$ p, s0 a/ ^7 Z" v3 v! N, IEMAC: MII PHY configured
5 c8 |+ f1 M- }$ {6 fmux: initialized GPIO3_125 d. }# U$ Z& \2 k9 b
mux: Setting register GPIO3_12
! \, c2 v4 U' T* |, s6 h8 B  _7 wmux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110: N9 n' T' b& {
mux: initialized GPIO3_13! o- b/ Y7 R+ e
mux: Setting register GPIO3_13" _2 D8 P/ _" ]! W
mux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x00118810( Z( n% H8 L( {
mux: initialized GPIO2_4. {! Q$ V$ w6 f6 P
mux: Setting register GPIO2_47 R% Q5 A& s  B1 O
mux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000
$ k# i  a0 \) ^% Y5 x' ~, O, \mux: initialized GPIO6_13
( A6 v+ _) [8 |/ B3 o$ v" |" c/ gmux: Setting register GPIO6_13- m: j' {( X. @6 K6 i
mux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800! y; p( y% _2 Z0 `/ M$ A0 A
da8xx_register_rproc: memory not reserved for DSP, not registering DSP device
, j! {2 r$ ?  }9 V4 iomapl138_hawk_init: dsp/rproc registration failed: -12
. B& j" p2 I3 G8 V: M* S  Kedma edma.0: Legacy memcpy is enabled, things might not work
2 L0 g9 K* t" P' s3 N$ gedma edma.0: TI EDMA DMA engine driver
6 S& j$ k4 H" \edma edma.1: Legacy memcpy is enabled, things might not work
) d8 e& m9 ~3 g8 _1 `" `" Bedma edma.1: TI EDMA DMA engine driver! ^" m! J8 D  Q0 e& }
clocksource: Switched to clocksource timer0_1
! r6 s% e$ t! a8 l0 |NET: Registered protocol family 2' e! s$ c- E% J+ m
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
: Q$ m8 x* l8 E% }  B8 eTCP bind hash table entries: 1024 (order: 0, 4096 bytes)6 t# X, p3 o$ [( @$ s( o
TCP: Hash tables configured (established 1024 bind 1024)& u: _9 B' w# _: S( Z' t' q* s
UDP hash table entries: 256 (order: 0, 4096 bytes)6 S) w' p: r3 c
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)3 g+ J  y$ g6 N8 ]' l! t5 Q9 N, B% g
NET: Registered protocol family 1/ q/ I, Z4 X+ H3 ]2 l
RPC: Registered named UNIX socket transport module.1 _* O0 d: _( K$ U
RPC: Registered udp transport module.
0 q( \" g( L) f5 O4 Y7 G) ~& oRPC: Registered tcp transport module.
5 W( n; I$ |) o" ~# Z+ h1 kRPC: Registered tcp NFSv4.1 backchannel transport module.1 d, a6 B. b# B* d
workingset: timestamp_bits=14 max_order=15 bucket_order=13 W. K  N* x1 E& m& n. L" e
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
9 G7 g8 |' B/ y+ Q6 aio scheduler noop registered (default)3 Z% N+ p, J; }9 l
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled. ?0 y- {2 f2 Y( r
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A8 Z6 L9 `$ w3 b+ z7 @2 B  V
serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A# ]0 K9 f9 b$ {3 q
serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A. k: q, B; M  D& j0 W: i
console [ttyS2] enabled
2 W0 Q7 ?+ n% s7 e, _4 s0 tbrd: module loaded; T$ H1 f! \3 u( I0 z
libphy: Fixed MDIO Bus: probed
( r( @: O0 Y4 ~4 r+ X( j) U$ Kdavinci_mdio davinci_mdio.0: davinci mdio revision 1.5; }# F; l! [6 d* W
davinci_mdio davinci_mdio.0: detected phy mask fffffffe
8 j) z9 F* e; c1 rlibphy: davinci_mdio.0: probed
) b; r' Y$ q$ `, C. cdavinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN8720
: ~$ ?1 r& Q! c4 n3 r' \5 hi2c /dev entries driver; k) S! t+ _6 h( y
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1, M; H, O- E! D4 K- f' u; `- M
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1  b8 s& k9 K5 K/ C
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode
9 O. ]' t& p; Q! B- cNET: Registered protocol family 10& ]7 u; f' q( H* g
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
- q% I8 b5 p5 [$ y; r* s& XNET: Registered protocol family 174 \( M; s6 Z* ~5 X
console [netcon0] enabled
) W% z# H7 E, m* Pnetconsole: network logging started8 S2 {: Q  k, D) ^6 ~+ e! i) b
davinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89" Y& D) A% b7 m
hctosys: unable to open rtc device (rtc0)
; ~! i7 ?' v$ ~' ^2 rlibphy: PHY davinci_mdio-0:07 not found" \; B0 C& C2 M
net eth0: could not connect to phy davinci_mdio-0:07
- H/ V; z3 {3 [  c7 w  [4 IIP-Config: Failed to open eth03 K& e# L  R7 b. {, }* ^, V2 E
IP-Config: No network devices available
; K9 W& W$ o: s  }! m6 [) V: J5 ummc0: host does not support reading read-only switch, assuming write-enable& b  b  `1 K( k% B9 y& X) |
mmc0: new high speed SDHC card at address 59b4
5 J0 W* E8 v$ C8 d# @mmcblk0: mmc0:59b4 SS08G 7.41 GiB 8 l4 m! N  y& y% L' B" g
mmcblk0: p1 p2+ W3 [: L" }5 Z, `( p0 f5 e

: Y# L! z& @8 k7 @/* 此处等待了一段时间 */
) H9 u) x5 v# i+ z3 W  C8 A9 Q$ n" k) T
random: fast init done1 j1 _' j& w4 N( U$ i
VFS: Unable to mount root fs via NFS, trying floppy.+ r( ?1 A( P0 r) f
VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6# c3 ]) \6 l  U  ?8 Y6 ^
Please append a correct "root=" boot option; here are the available partitions:
4 f1 m, Y1 w4 A9 s: Q* K0100           32768 ram0  (driver?)4 ~0 Y4 L9 E/ N+ M, D& S! X, o
b300         7764992 mmcblk0  driver: mmcblk- @& t6 I4 R% u, o6 o
  b301           71680 mmcblk0p1 cd4e1bc4-010 }$ E7 u: v, v* Q& g& R0 _
  b302         7675904 mmcblk0p2 cd4e1bc4-02                          
" K7 c( ~7 V! t+ x/ J: FKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block+ m  _0 X. t6 @$ m9 a

/ h2 }8 X0 L, {" l; {) t+ S6 ]
. M' e7 l: ~( a# c
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
沙发
 楼主| 发表于 2017-9-12 22:25:21 | 只看该作者
应该是如下错误造成NFS失败:
) Z/ \: b4 A2 K( K* q
2 I& z9 D+ \/ I$ ~) ulibphy: PHY davinci_mdio-0:07 not found( m* _% H9 F: T7 v, Y3 [- K' p
net eth0: could not connect to phy davinci_mdio-0:07
) e9 I" u1 \& `IP-Config: Failed to open eth0
$ n" A9 M% k9 LIP-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, u* b+ r* |! \( Y+ t
应该是如下错误造成NFS失败:! l9 l8 n. Q* J: G" x. D0 Y; e# a
  F5 m+ Y9 k, Q+ u# ~4 i8 R+ A
libphy: PHY davinci_mdio-0:07 not found

% Z* ?* r+ S" [9 j/ L: i您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-6-17 11:37 , Processed in 0.039480 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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