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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 5838|回复: 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卡启动
2 x0 t" z0 B+ [9 N8 Y0 Z* I0 l- c- ?# I' ]% m4 S; D- a8 z5 z
1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin
- n7 ^" ^+ H2 B+ A% \/ s2 ~. k! {; D* e  `. l7 ~% g+ U7 I' k4 K3 h" {2 Z
2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版
3 M+ _( J$ y! Q. v) W0 ^8 t5 _1 ?6 q. H8 q4 X
3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式
; k5 v) t4 ^" c( U
( z9 a* z5 e& C  ^3 J1 R; ?6 Auboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):0 E$ |3 J" T7 w: U& j
9 }$ p! M. `% D; Q, U
setenv uboot_macaddr 1) ]& m  ^+ ~8 W  \! N( V
setenv ethaddr 00:0c:29:bc:7e:9a + K) x( y& b2 y, L& i" @
setenv serverip 192.168.2.1921 O5 {- {* L$ J2 t
setenv ipaddr 192.168.2.191
3 [6 g7 S+ }. r7 e5 x( ^( I4 [7 k" G& c5 B5 D: W. M+ w; Z) i$ {# S$ {; A
bootcmd=tftp c0700000 zImage;bootz c0700000
: `# y+ ?" [  Y  n* [& S' o% A( J4 z7 w  q* E+ P( E
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/nfs2 S3 I8 C( z6 H+ A% l# m  ?
% ~; f) p+ A  C8 c, U7 s0 a9 o$ R
4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):
6 l: L9 o  y2 j  y: |
8 U# D5 @/ D, F" Z! gboot命令后的完整启动信息:
  h- F- d% _, N. W* g9 z" p, \. x" G7 B1 j
=> boot
1 e: ]) h. z2 n! G" k  OUsing DaVinci-EMAC device
% Q5 @$ P& e9 x: jTFTP from server 192.168.2.192; our IP address is 192.168.2.191  n" _1 N: Z% \
Filename 'zImage'.( H2 ~+ v% z7 I, z7 @$ `$ ]
Load address: 0xc0700000
* w6 v# v3 N! ALoading: #################################################################" J% }" Q- n4 ?5 {
         #################################################################
+ ?9 t  ]- ?7 w         ################################
1 T7 ~  C' M0 ^8 S( j8 h         288.1 KiB/s
" T4 }  i- O% `done
0 W3 ?- S( y" c# l) P+ B/ r8 zBytes transferred = 2367360 (241f80 hex)
1 P- D7 M: F* `5 H0 o
8 M) T8 t) R3 [6 @7 [Starting kernel ...
; i! O1 L, l/ V$ I/ e1 I
2 F& ?+ A" ~9 I, s4 ~( D0 IUncompressing Linux... done, booting the kernel.. L0 |1 @- m. ]  G
Booting Linux on physical CPU 0x0
% u. @8 m6 i9 i7 XLinux 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 20176 L, s4 N5 R' x7 }
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f1 s) M4 }* _& M- ?" Y% `, Z1 v
CPU: VIVT data cache, VIVT instruction cache0 R( L$ d" p- d6 D! ]
Machine: AM18x/OMAP-L138 Hawkboard9 I, ?5 j5 i* r0 H: z6 E8 U" ]
da8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified
$ d5 E7 g% m$ N    'nn' and 'address' must both be non-zero
" w- D$ H; ]; z! K8 l1 bcma: Reserved 16 MiB at 0xc6c00000
3 L! K% p" ^' H6 Z( hMemory policy: Data cache writethrough
3 ^. U6 ]; U! L! vDaVinci da850/omap-l138/am18x variant 0x1
6 k+ M. p1 x) e6 ~5 h/ h# @3 L. pBuilt 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480/ Z/ n5 n/ q$ M4 b
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
" }/ ~4 C2 e0 B1 L  e7 \PID hash table entries: 512 (order: -1, 2048 bytes)
5 K! r9 H  T5 ~% ZDentry cache hash table entries: 16384 (order: 4, 65536 bytes)
0 u0 \4 k, x/ Y. h" W2 @Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
1 C0 T$ A% n% c$ O& |Memory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)+ G/ d( E& v  c4 j
Virtual kernel memory layout:7 H+ b- W+ b# Y7 j
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)# e5 d% E5 J9 l, c
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)  v7 b1 K6 Z4 J+ {( U3 G3 i+ t
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
5 _9 b0 E7 N$ }    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)3 o) k9 r/ o2 X2 n
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
' Z2 L# a9 X/ k5 j0 g5 ^5 E4 G      .text : 0xc0008000 - 0xc0474b38   (4531 kB)
1 p; f. o+ O' P' o+ }( j8 ^      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)
5 C' G6 J( l# ]! c      .data : 0xc0626000 - 0xc0673110   ( 309 kB), R* B  x3 w6 I; n: o1 M
       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)2 T7 W7 p  d- e) t7 b: c) [1 Y
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
' o2 z6 q* l! v* yPreemptible hierarchical RCU implementation.
( U1 L$ k# ^3 }3 H- B        Build-time adjustment of leaf fanout to 32.* V; l; Z/ F" E
NR_IRQS:2454 I8 x2 y4 C- y$ c. O: ~: u
clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns) H6 z1 I& g8 n6 d# y* H' k& K
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns2 U# l& W2 _' E# u9 O
Console: colour dummy device 80x30
4 ]# U5 y4 [. C" nCalibrating delay loop... 227.32 BogoMIPS (lpj=1136640)2 A" ?% V, P2 A$ N' ?
pid_max: default: 32768 minimum: 301" b* K5 G8 }# M6 y5 J. a6 l1 m/ r
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
3 y; B( S& Q" }1 c# wMountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes), p. A/ A5 Y7 K9 C0 I
CPU: Testing write buffer coherency: ok" v+ H$ n$ `1 m* X/ G- r
Setting up static identity map for 0xc0008400 - 0xc0008458. N# i9 V2 J6 |/ w4 L% f# K: n2 \
devtmpfs: initialized2 g) l# W/ \2 z8 L3 I" f
VFP support v0.3: not present5 a0 U9 c) Y8 \7 Q+ I* Y1 X
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns2 h* S2 j7 ~5 [  a$ L0 C
futex hash table entries: 256 (order: -1, 3072 bytes)8 [! O5 K7 U" _0 c+ b
pinctrl core: initialized pinctrl subsystem- M" m. E* e/ M/ _9 G: A- n0 c' ^
NET: Registered protocol family 16" A' W& p* d, J: K0 Y
DMA: preallocated 256 KiB pool for atomic coherent allocations' C6 v2 }0 o, h* X' E# Q8 X
cpuidle: using governor ladder; j* D; `2 g5 h* J; o
cpuidle: using governor menu
7 @! f  H2 }8 I/ V+ zEMAC: MII PHY configured
  i$ _5 u# M/ U7 D4 [" b, u7 qmux: initialized GPIO3_12, `' I/ H" y! @7 D
mux: Setting register GPIO3_12" I' F. A. X5 j2 B/ e' o  H
mux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110
+ Q3 e. Y! ?9 n. ~6 R% |mux: initialized GPIO3_135 M/ R$ E+ Q* B5 k: a: S, |& y
mux: Setting register GPIO3_13
4 z( W8 D1 S2 B: a: H0 zmux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x001188102 f7 B4 b6 }8 S- s
mux: initialized GPIO2_49 A6 n; q0 M$ K: V# R1 J% _/ r
mux: Setting register GPIO2_4/ Y4 g8 @+ O9 @7 k% P2 A
mux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000& b; f8 k% s4 s' L1 |  L
mux: initialized GPIO6_139 |9 H. b* w4 L- x9 ]$ q
mux: Setting register GPIO6_138 ?9 c& \+ R% s. |8 t% U
mux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800
$ o* @9 O) v& E; Vda8xx_register_rproc: memory not reserved for DSP, not registering DSP device
! l: V, |1 _! ]! z1 j& o  Q( uomapl138_hawk_init: dsp/rproc registration failed: -128 {- T+ t; w* ~
edma edma.0: Legacy memcpy is enabled, things might not work" u, }: L4 A, l$ f
edma edma.0: TI EDMA DMA engine driver
$ [  P+ v# S6 P7 d/ g# Xedma edma.1: Legacy memcpy is enabled, things might not work
; u; b7 k+ k+ P5 M" }, N4 d7 M  }edma edma.1: TI EDMA DMA engine driver* @8 d) D6 [5 p$ S( E5 C
clocksource: Switched to clocksource timer0_1
7 _( F. C) s; e  c* o; ?" fNET: Registered protocol family 2
" Y+ [9 C' W% d% x6 [- |TCP established hash table entries: 1024 (order: 0, 4096 bytes)
, O: a! U  L+ v0 E9 g0 h" E+ FTCP bind hash table entries: 1024 (order: 0, 4096 bytes)
" @/ z& I8 p' f; \" [TCP: Hash tables configured (established 1024 bind 1024)
* R4 i6 w" \; M! n, \+ P: E4 BUDP hash table entries: 256 (order: 0, 4096 bytes)
& B; s& h1 b+ g+ [UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)4 l. T; j5 @3 v
NET: Registered protocol family 1
' M7 i- D+ o3 L5 C3 G  S1 t  nRPC: Registered named UNIX socket transport module.+ s; X$ R% R: x0 B+ e$ c: y- \( E
RPC: Registered udp transport module.% s7 i8 d' ]0 s9 @
RPC: Registered tcp transport module.
9 _* ~( E. q: P) R# _7 QRPC: Registered tcp NFSv4.1 backchannel transport module.
5 ?. y7 m$ j6 bworkingset: timestamp_bits=14 max_order=15 bucket_order=1
% B7 y9 [: X; c& T1 F1 bBlock layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
) N" |; Z; k# g8 T9 E' Y! Dio scheduler noop registered (default)' A* b& ]7 `5 b0 R4 K% E, p$ w8 i9 l: y) I
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
3 D: q' l/ i$ {* M3 ?5 aserial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A
" R" f& g* E7 U3 C3 ?! y: `serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A8 @) C+ e# x& |
serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A
( t* W9 C- I2 |console [ttyS2] enabled" v# V1 I; b! h$ d( {
brd: module loaded
9 {! P( z! k* [! Y/ s& t+ h' Flibphy: Fixed MDIO Bus: probed
" M$ ]5 @; @2 q8 l5 H/ G% N& n* zdavinci_mdio davinci_mdio.0: davinci mdio revision 1.58 r! Z4 Q2 E0 [7 ]3 J
davinci_mdio davinci_mdio.0: detected phy mask fffffffe
2 i& x& ]) G: S, Klibphy: davinci_mdio.0: probed! D7 M! t- K* K/ M4 f. t5 l
davinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN87206 g+ `, O9 f) }% ~) Q  \3 Z7 _
i2c /dev entries driver
0 U0 q7 T- B- y! f8 A. ^, k0 y2 Gdavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
( u' h; g  {4 v- C% ddavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1) b9 |% J1 }8 S( d& t: y% {9 }
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode
9 A* g; ]$ V1 J' {/ S( B( r# S# X. tNET: Registered protocol family 10
7 b1 J! L* b: s& T1 {' i0 Bsit: IPv6, IPv4 and MPLS over IPv4 tunneling driver! Y0 C6 w% c' x, M- b+ N
NET: Registered protocol family 17
/ g& p3 f( J1 e; a+ econsole [netcon0] enabled
/ I. s  f" P" o( f8 J& rnetconsole: network logging started
5 ?: d: ]& @/ M/ B: Hdavinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89
0 b- G  d- a6 o; O' hhctosys: unable to open rtc device (rtc0)9 A# o2 q4 W1 n
libphy: PHY davinci_mdio-0:07 not found6 E5 t* W0 y+ z! Q# z' q9 q
net eth0: could not connect to phy davinci_mdio-0:07
* P# h2 M! ^: m( z9 uIP-Config: Failed to open eth0" }: g5 c* ~) F& ?' G
IP-Config: No network devices available6 W& y- T1 {2 _* t* J& f
mmc0: host does not support reading read-only switch, assuming write-enable
8 H' `- y1 ^. b* K7 l* X+ Immc0: new high speed SDHC card at address 59b4
# c# J2 X( R2 Z, E  |  V8 Immcblk0: mmc0:59b4 SS08G 7.41 GiB
4 U4 k' Y: d0 ?3 z mmcblk0: p1 p2
0 U3 D! P6 x  ^7 o7 ~8 ~6 a
" ?' E) P$ w, ~- C7 v- d- Z/* 此处等待了一段时间 */
+ |) \) Y; [1 E& |( p5 f& w, b8 W' P, C, e2 p
random: fast init done
! o) T& j- R+ [  U7 e) F! uVFS: Unable to mount root fs via NFS, trying floppy.
" V& z0 q* U! AVFS: Cannot open root device "nfs" or unknown-block(2,0): error -6( G9 r8 y4 W2 t6 L
Please append a correct "root=" boot option; here are the available partitions:4 f! e! N5 }9 n! f' v& T
0100           32768 ram0  (driver?)5 F/ \! d: ?* G9 j
b300         7764992 mmcblk0  driver: mmcblk6 v9 L. ^# q* S; a, t' m
  b301           71680 mmcblk0p1 cd4e1bc4-011 Y# C# C, ~4 T
  b302         7675904 mmcblk0p2 cd4e1bc4-02                          7 u/ e# T/ f2 b5 f$ _& b
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block& c9 v1 s+ H9 [8 x* t+ [3 j
( r* }0 r& }: T+ _: H
' }" [! m% t4 s1 S3 g; N) o
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
沙发
 楼主| 发表于 2017-9-12 22:25:21 | 只看该作者
应该是如下错误造成NFS失败:/ U: k5 J! [. u( h; j' N; c

4 v1 _& y; D$ T  hlibphy: PHY davinci_mdio-0:07 not found
' u) o$ P' o- {) G* X# T3 Fnet eth0: could not connect to phy davinci_mdio-0:07
4 \$ b% L6 b) \. ~: X" NIP-Config: Failed to open eth0
4 F4 Z. u  j% p; I! ~* @9 DIP-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:256 z3 R1 Z. c1 j$ a
应该是如下错误造成NFS失败:
8 d" ?' b& i% ]" F
8 Z7 N6 B' ~3 Z0 D, wlibphy: PHY davinci_mdio-0:07 not found

$ d/ k( Z! W7 @8 s% W1 n2 W您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-20 10:52 , Processed in 0.106704 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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