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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 5799|回复: 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卡启动* k% H1 E8 L. f' f

; n3 w- h/ Q* @  R+ K' F1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin
5 b  b! r( d" l$ m5 E8 o$ ~/ O
% @% I: U  \4 @  D2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版0 I: x9 E6 T. _5 k/ o

) X) D6 X1 Q1 Z" G  U( D6 s! s3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式
, G7 i, }# x6 t5 p* d: p' z7 f
* O" e+ ^1 \  Y' y, h) U  c: c* y$ puboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):, f. w' r2 S  Z' k! {
' E0 K& f5 F6 A! Z
setenv uboot_macaddr 1
2 o  h6 s3 C$ o: lsetenv ethaddr 00:0c:29:bc:7e:9a
& y: i, ^' }( ^. W; w2 Dsetenv serverip 192.168.2.192
' D) W) W. V8 C4 _% V# esetenv ipaddr 192.168.2.191
' A) p' ?: _) m/ X+ E2 W! G( D- `# Y3 }. O* i/ d
bootcmd=tftp c0700000 zImage;bootz c0700000
' Y4 j4 x# c# A) P0 S' l* w" z  m& e; C2 @. H, w4 u  |
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
& k1 M% V1 f, d, q0 S: e0 ^) @# [6 d: b3 Q
4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):
0 b$ b  ^8 t+ t7 j3 f& v4 _: f5 ^; N* ]/ k  I# ]5 @8 v% [8 P, T
boot命令后的完整启动信息:
. D# y2 |( t& z' h1 F3 F7 m) @! _; S4 D+ P# B0 B: c
=> boot$ i& T  n' \8 N" s$ h; g
Using DaVinci-EMAC device- O0 g  Y0 b  v: O% e* F  V9 {3 @0 y
TFTP from server 192.168.2.192; our IP address is 192.168.2.191
; q6 Q- {6 t! K: \$ J' VFilename 'zImage'.
4 D& H- z# Y0 m2 {Load address: 0xc0700000
1 ^, J8 g  t* l. E# `! G& a# HLoading: #################################################################! N1 a9 m' b" G  _& |
         #################################################################
1 O3 b% l' N3 h5 a$ s* s% y         ################################
9 A( x* I$ T) H5 z         288.1 KiB/s
3 {# S4 C, ]# L, W2 y8 Xdone7 b: z8 w  i6 H+ B
Bytes transferred = 2367360 (241f80 hex)
9 y6 Z7 M" V0 a& q; m( p
5 H+ Q, N  }. w: N  |+ a0 |Starting kernel ...
! c5 B+ e3 F9 T3 S! e7 I! U: Q$ b5 B  Q$ w6 H
Uncompressing Linux... done, booting the kernel.  T% k7 T+ \8 m' U
Booting Linux on physical CPU 0x0
+ s5 V6 x2 Y, G: d, `+ J, m7 jLinux 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
6 y. ?' ~5 P2 [: U& l, @CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
  T# C4 A& U/ `CPU: VIVT data cache, VIVT instruction cache1 D; O8 o2 M: ^5 H/ P
Machine: AM18x/OMAP-L138 Hawkboard9 R7 v7 }2 c' i" k: N
da8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified' ?0 O0 A! v. z" d( W5 m* K5 E
    'nn' and 'address' must both be non-zero
1 B! O$ S$ y: u& k' L8 l5 ?- Icma: Reserved 16 MiB at 0xc6c00000
+ ^$ h. M7 L, U$ `, b- }2 C+ K" oMemory policy: Data cache writethrough
: a1 z/ n; N2 LDaVinci da850/omap-l138/am18x variant 0x1& a; b& {- g# x. u, \% U( K1 d2 s' p
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
: Y, S' U: U4 d0 j: N% p, r+ 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
8 b/ k# V# {. B0 s$ j6 ?5 D' s% pPID hash table entries: 512 (order: -1, 2048 bytes)& P7 s6 S. r4 G# X4 {
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)2 M- I9 i9 U/ u! Q: {: c
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)  C0 H; W* p8 b% s1 G2 `9 s
Memory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)& m+ V- O3 n) o1 [$ x3 D! v
Virtual kernel memory layout:
% `0 r: X- J/ m    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
+ I0 F3 ]1 _1 ~/ T# q    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
; A0 {' ~+ o8 o& `    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
4 q+ ~: t9 r2 d    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
. I# {# k1 a! H7 z    modules : 0xbf000000 - 0xc0000000   (  16 MB)" r- ?+ ]$ ]% d6 e1 e& o
      .text : 0xc0008000 - 0xc0474b38   (4531 kB)7 P( A' b4 U, i/ f+ D
      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)
- n7 q+ v, i; o6 d      .data : 0xc0626000 - 0xc0673110   ( 309 kB)
5 f% z- F/ v$ V! ?# a! w2 [/ B  {5 V8 h       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)( a1 E& `0 S: k
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1, k& u" O. n/ u1 e" w* I! z' q
Preemptible hierarchical RCU implementation.+ ?" w7 m! n/ {5 u4 ]7 n
        Build-time adjustment of leaf fanout to 32.
0 g' x0 c$ |6 L" ^+ i$ W) YNR_IRQS:245: W* \9 Y2 x/ G1 h/ v% K* `
clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
: u. T' ]/ G7 _5 Dsched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns6 Q: _+ d# m" U4 h" O* [; G
Console: colour dummy device 80x306 Q/ `8 r7 b/ A/ G  z# U
Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
5 c, z& m3 N/ s: z7 u8 xpid_max: default: 32768 minimum: 301
6 z4 i& z; J- f7 X1 `6 e1 u5 Y6 ?" oMount-cache hash table entries: 1024 (order: 0, 4096 bytes)
, m: T2 V7 f' R8 c; I1 s3 t, H  }Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)- D: w% K* |/ M3 d1 V1 o8 @
CPU: Testing write buffer coherency: ok  T$ M4 L6 p- P; e# w8 W1 X
Setting up static identity map for 0xc0008400 - 0xc0008458: Y7 S# ]0 {# s3 L% C( N* q/ V* b. f
devtmpfs: initialized6 z; \) [, w+ B6 l6 U  n7 n) N) ^; D7 c
VFP support v0.3: not present
% ?. v' x/ X" s0 K4 s* U/ H3 s& xclocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns5 `  r( A' Q. B/ M9 z; ]* q; |
futex hash table entries: 256 (order: -1, 3072 bytes)4 a6 w8 v1 R. X0 G; k- A
pinctrl core: initialized pinctrl subsystem
& M5 y/ y; m4 SNET: Registered protocol family 16
! C- U1 D: Z- e  TDMA: preallocated 256 KiB pool for atomic coherent allocations
8 r) B1 r: c4 A% x( X" J/ @  J3 lcpuidle: using governor ladder0 _$ V5 Z% _$ [
cpuidle: using governor menu
& {( k; Y- t" X4 z3 sEMAC: MII PHY configured
( |: y2 Z6 Q+ S8 y2 S1 @mux: initialized GPIO3_12
+ X9 E$ y5 n  p9 m+ w" Pmux: Setting register GPIO3_12( x0 l: n4 Z3 g# c
mux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110" p! O* `0 L1 ~7 g5 Y
mux: initialized GPIO3_13
% t* u! ]; A: m/ F5 k- dmux: Setting register GPIO3_134 b* M- X8 C& C9 r
mux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x00118810/ c3 m, i3 [8 N6 {3 w* s7 s
mux: initialized GPIO2_4$ u9 X- Q/ H0 Y: g0 U1 s; T) r- M
mux: Setting register GPIO2_4
5 }- ]% I2 Q+ \7 umux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000. I1 J/ b( Z, W' |3 @
mux: initialized GPIO6_13
. A: Q7 p1 l6 A+ K0 ~+ Tmux: Setting register GPIO6_13; Q' |6 j4 s  I3 ~* e2 Y- u
mux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x000008004 a1 `& c! [1 K/ B
da8xx_register_rproc: memory not reserved for DSP, not registering DSP device
+ x1 n. L+ H0 a7 momapl138_hawk_init: dsp/rproc registration failed: -12, c* z) t* U, W0 b
edma edma.0: Legacy memcpy is enabled, things might not work* ~# @  E8 l3 D7 h/ {3 g$ l
edma edma.0: TI EDMA DMA engine driver6 n' r" Y7 m0 a5 n/ q
edma edma.1: Legacy memcpy is enabled, things might not work: t9 ]1 R$ [- ~- f; k- n2 E
edma edma.1: TI EDMA DMA engine driver1 f2 P& [0 d* b! s) \  W# \
clocksource: Switched to clocksource timer0_1( K# A- {2 p# V3 g' s
NET: Registered protocol family 21 W/ F: Y7 {) ?- Y0 D
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
. }" {+ O+ L* X8 g& D! H+ X; eTCP bind hash table entries: 1024 (order: 0, 4096 bytes)
# m' u9 _( |& N) l- gTCP: Hash tables configured (established 1024 bind 1024)
4 D( K/ `! f. l" v  Y! t9 j/ o% wUDP hash table entries: 256 (order: 0, 4096 bytes)
5 g' |6 [! z5 DUDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
+ ?+ s4 o. S1 x! GNET: Registered protocol family 1) S  y2 w5 Q0 M, O5 s# q3 i
RPC: Registered named UNIX socket transport module.# f+ f+ `- K! [( {, e
RPC: Registered udp transport module.; j* t2 n; l8 H' v3 a9 z
RPC: Registered tcp transport module.' Q2 S. Y/ }' C( W9 c% F$ u1 Q
RPC: Registered tcp NFSv4.1 backchannel transport module.
% h5 ?; C' ?$ Z# Nworkingset: timestamp_bits=14 max_order=15 bucket_order=1# B0 ~* }. b9 i# z
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250). L" m2 u; q9 B  c( g) y- G
io scheduler noop registered (default)6 r/ c# a. p% e& V+ c
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
' t* x+ {, w' x. mserial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A+ Y3 M$ L$ Z5 x
serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A
0 B7 L6 j4 E8 b- w6 |* x& {serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A
5 w3 L  X7 @$ }- G0 G6 Aconsole [ttyS2] enabled, x, o  _5 g) R* f* ^& @1 |0 I- c
brd: module loaded
0 Y; L/ ^, i! ?$ Ilibphy: Fixed MDIO Bus: probed% ]/ X) d+ e2 L( R" }2 `' G
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
  [! c' }% F# F' P7 @" qdavinci_mdio davinci_mdio.0: detected phy mask fffffffe
1 L% f0 x( ?3 U0 f* plibphy: davinci_mdio.0: probed
3 z# L2 r* i# y6 ~  a$ I# zdavinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN8720: v1 ?0 d8 R' Y/ |
i2c /dev entries driver  s1 n/ f% i" x) [* k
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.10 C  [' U* o; ?& q% G2 ]" j( t
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
9 ^6 w( u) q  ]6 hdavinci_mmc da830-mmc.0: Using DMA, 4-bit mode" z: p" [, Y2 N2 r3 K; @6 X0 c" k' R. A
NET: Registered protocol family 101 }5 q6 q; O4 ?. [' Q- ?
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
; J5 E+ {  s) ~5 xNET: Registered protocol family 17
6 F4 r! Z9 {& a9 f6 cconsole [netcon0] enabled! B) C, s2 K$ ^
netconsole: network logging started" Z5 x. K2 N$ D( S9 [  @( f+ q
davinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89! y' z$ I' T- {0 L
hctosys: unable to open rtc device (rtc0)& Z! U$ ?" L; z4 D$ W. X9 X
libphy: PHY davinci_mdio-0:07 not found9 ]* n) A! S6 C
net eth0: could not connect to phy davinci_mdio-0:07; ]) h7 L! G4 q& H6 z% l
IP-Config: Failed to open eth0
) k* A- P/ W3 C1 W* S! q' lIP-Config: No network devices available* S5 y. X; _6 Z5 V
mmc0: host does not support reading read-only switch, assuming write-enable# f; x' ~/ T3 w0 V8 \/ {
mmc0: new high speed SDHC card at address 59b4
% i, R7 k9 R+ ?- q) W* Mmmcblk0: mmc0:59b4 SS08G 7.41 GiB
: R, s0 _, V, r, |; K0 P6 U mmcblk0: p1 p2/ q1 K0 g$ h4 S; P! n3 o
2 l) V# Q7 c  m) Y
/* 此处等待了一段时间 */
8 p( u/ T3 \. ~0 E! i0 Z8 s% U4 ]& S% I: [- Q% ]- O/ ]) M
random: fast init done
' v3 a0 O7 S5 q' O% k! ~; lVFS: Unable to mount root fs via NFS, trying floppy.
; o( ~/ u0 n/ n" y; V' KVFS: Cannot open root device "nfs" or unknown-block(2,0): error -6$ x! S0 Q, S- l
Please append a correct "root=" boot option; here are the available partitions:
; `8 I4 J7 k8 u9 D# q2 U9 R" x0100           32768 ram0  (driver?)  C& V2 V2 j1 {
b300         7764992 mmcblk0  driver: mmcblk) H8 ^$ M* }# b3 t) @# D6 R+ T+ n
  b301           71680 mmcblk0p1 cd4e1bc4-01& s; h5 x5 K0 |
  b302         7675904 mmcblk0p2 cd4e1bc4-02                          
+ ?# |$ [9 O+ O6 L1 p3 ZKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block' C5 X3 _# Z0 f$ M: [

; d# a7 s5 ?8 O, R/ H$ }% Z" h3 g
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
沙发
 楼主| 发表于 2017-9-12 22:25:21 | 只看该作者
应该是如下错误造成NFS失败:
: A) L$ R2 ]+ m$ i
( A8 h' Z) x' @' Tlibphy: PHY davinci_mdio-0:07 not found
4 ]- G" I1 w* t8 W7 Ynet eth0: could not connect to phy davinci_mdio-0:07. S; Z. _) M2 m; R2 G2 b6 }$ y
IP-Config: Failed to open eth0- I6 A. i- ]" _. x( X
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
- Z7 G6 I" F0 j* p应该是如下错误造成NFS失败:) p3 [2 I/ }+ M
2 k8 w5 \/ L6 F9 l  c
libphy: PHY davinci_mdio-0:07 not found
0 L' Q% q  q6 f$ d
您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-9 02:42 , Processed in 0.039995 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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