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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 5792|回复: 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卡启动. z$ }9 j2 W5 u6 O' I( w2 w
! T. R2 }( C3 E* J9 G
1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin( P: H+ N: t( q+ L8 v; E' K

- J8 [% S5 [; }2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版, ~" w, {7 I! q. f) j( S$ H0 ~+ X
& j, G! i7 S" c5 A7 i
3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式
( q6 j: I, j# j2 e8 y. k7 c& Z6 @) o0 _" b2 n7 W( U3 C5 g+ ~0 [. w/ @$ d
uboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):
& R' W7 z2 [+ l. ]3 e5 T; g: {% r6 R; k' h6 y& O* X5 n
setenv uboot_macaddr 1! G2 U% Q' G" v# W, Z
setenv ethaddr 00:0c:29:bc:7e:9a
. D1 O( A6 a4 y1 N: o# Z: p+ I5 X8 zsetenv serverip 192.168.2.192
# @1 ^8 |8 |! W- ]( x2 {/ isetenv ipaddr 192.168.2.1919 b3 n1 y. [( g! ]

" B, @% m( H; N8 d- Y- W4 cbootcmd=tftp c0700000 zImage;bootz c0700000
3 Q6 `3 x7 h! @- D2 x2 F; m' ]9 T4 w8 Y) n
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
0 h. V% r- A! v% j8 c6 U3 U$ r/ N  y* `' z, K/ l. o
4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):
: w# h3 M$ I2 k. [/ B* y; D% P8 ~* D0 k9 J$ G- h" g
boot命令后的完整启动信息:/ G3 t% e; {( u! r& K

4 c$ @* Z; z6 o8 y=> boot( l7 Y6 T+ z6 Z. z, h
Using DaVinci-EMAC device
3 j$ i8 y- |1 c* f5 k; H7 ^6 aTFTP from server 192.168.2.192; our IP address is 192.168.2.191
6 X. e4 c) f  E' o' k3 A; y3 |) zFilename 'zImage'.3 d* o2 u1 t* H
Load address: 0xc07000007 ~- R" \+ W, ~. ^  V$ t/ P
Loading: ################################################################## g4 X- W1 T0 Y1 u3 R
         #################################################################
# Y7 j: I% ~( d+ t; q! Y5 G1 V         ################################/ V! _3 D/ D, U- c. o4 a
         288.1 KiB/s# ]" R- E8 G9 [  \# H
done
' Z; r  [7 O) ^: ?# J1 f) h' m; CBytes transferred = 2367360 (241f80 hex)
3 w' D7 X3 x/ m: h  Y3 n) @% W, Q) F; g: [" W) `/ S
Starting kernel ...
8 V8 }8 I! ~+ q# f1 v" T3 H
& N% g; m* t7 C6 R1 v. Y% `: pUncompressing Linux... done, booting the kernel., a0 d) Y  E) q( y! t1 r6 m6 T9 E
Booting Linux on physical CPU 0x0
* `' ]/ b" o2 |5 s- OLinux 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! {( X- j- F4 E% _2 |* ?
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f- E) I1 _( |# k$ n. \9 h, c* @
CPU: VIVT data cache, VIVT instruction cache
1 h# W) M4 z' @Machine: AM18x/OMAP-L138 Hawkboard  W' `! B. U! ]1 m( o5 t0 w
da8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified
$ n$ e& ]4 N7 [9 H    'nn' and 'address' must both be non-zero
& l" x: l. ?8 d8 _- J' f( [cma: Reserved 16 MiB at 0xc6c000008 Z: E' C  v! p) K: b
Memory policy: Data cache writethrough4 J% z4 q) |. P. E% H! t5 {& y7 B
DaVinci da850/omap-l138/am18x variant 0x1
: ~% H6 P5 l: n* X: ]Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480  k$ ]- k+ r, h8 n! |
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% \6 l4 B2 F6 A8 ^
PID hash table entries: 512 (order: -1, 2048 bytes)
# b9 X  T2 F0 _0 A1 B  oDentry cache hash table entries: 16384 (order: 4, 65536 bytes), E: ?. L% K. S
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)0 V9 W% S% \. q; Q
Memory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)
+ I- I0 ~* A) g  V/ j. lVirtual kernel memory layout:
( F6 i, l  \4 `4 U* I# u5 N    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
, w& s6 b- l- h6 K8 ?    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
9 \+ w% F. q# E4 _    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
8 A: L0 w9 R: n1 H    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
3 p; Y) [% \- Y" l# I+ o. x    modules : 0xbf000000 - 0xc0000000   (  16 MB)
$ f" g' R4 X! Z! C" \5 w. g  f      .text : 0xc0008000 - 0xc0474b38   (4531 kB)
+ L- Q) Q( _7 u      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)
3 f! y/ F1 S# m3 s' b. o      .data : 0xc0626000 - 0xc0673110   ( 309 kB)
6 w; f$ H, a) f       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)
9 F- q' B) q7 x+ o, R. w! F- h0 MSLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1) v3 K) U$ L) \
Preemptible hierarchical RCU implementation.
& F8 q' p1 ?* e+ t8 L& H4 |        Build-time adjustment of leaf fanout to 32.2 ^+ O( ?9 H/ E' t) c% L
NR_IRQS:245" o) F8 r# x  k2 p0 \: I  o
clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns% D2 Y2 H' F8 g4 n
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns, [" ^% y. ]2 }! E0 ~1 C( R( ?
Console: colour dummy device 80x30
* A- P. a3 d+ c% J& h8 T! @Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
) e, f6 w: F5 g$ X/ spid_max: default: 32768 minimum: 301
& A3 H& o3 n/ PMount-cache hash table entries: 1024 (order: 0, 4096 bytes)5 B- T' m$ Z* }
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
) w8 c3 P9 V! Z4 j+ zCPU: Testing write buffer coherency: ok+ W* A$ |  R: R" F, S0 G
Setting up static identity map for 0xc0008400 - 0xc0008458- y2 q9 x$ E1 ~3 }
devtmpfs: initialized, h7 q. U4 h3 y8 m
VFP support v0.3: not present
2 G& p) [& K1 R, ^clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns) Z, G- Z- w' F) U5 {1 ~
futex hash table entries: 256 (order: -1, 3072 bytes)
& q' g$ w9 j% Z5 w3 j8 B' M) p8 ?pinctrl core: initialized pinctrl subsystem  c; g* h7 D% L# c1 X* k
NET: Registered protocol family 16
0 U% N% p+ O5 [) ?2 I+ u8 oDMA: preallocated 256 KiB pool for atomic coherent allocations
7 e2 A  R4 h! ~  rcpuidle: using governor ladder
$ n8 X) U$ |9 F. Z0 u) i* Gcpuidle: using governor menu
7 v; q7 S. q8 ^EMAC: MII PHY configured6 Y) i! z: ?: |% l& s
mux: initialized GPIO3_12( K/ L' n* T5 P
mux: Setting register GPIO3_12) H: @: {( I0 U3 g; |' W5 H' c
mux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110
# R, s! x; C3 W% l) e& U6 T  K7 h6 R% ymux: initialized GPIO3_13) |/ m# M0 s; |
mux: Setting register GPIO3_137 R) a: U  f% c; e! U) |+ a" [( S
mux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x00118810
9 a" A8 W$ A/ w% U5 Gmux: initialized GPIO2_4
5 K+ F# E# b: R9 c5 rmux: Setting register GPIO2_4
5 \3 [) W1 s, \% amux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x000080004 q- D  y4 m0 Q8 f1 D
mux: initialized GPIO6_138 `5 P9 \4 x! r; s' h6 O
mux: Setting register GPIO6_139 l" O: z. V: J2 R
mux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800
$ q0 i& D, R5 n- s2 pda8xx_register_rproc: memory not reserved for DSP, not registering DSP device
* I; b1 [* R: ~omapl138_hawk_init: dsp/rproc registration failed: -120 p' y# w6 N/ C: l- p" C
edma edma.0: Legacy memcpy is enabled, things might not work! A, `: O& X0 n  n& Z6 Y
edma edma.0: TI EDMA DMA engine driver
1 x, O9 }/ y! h; sedma edma.1: Legacy memcpy is enabled, things might not work3 l1 Y9 Z' k% s, ~% O" j
edma edma.1: TI EDMA DMA engine driver' R0 a. @# E$ W) i! X0 _# }
clocksource: Switched to clocksource timer0_1
8 v" {0 |' A) n, t( {$ _% t, QNET: Registered protocol family 2
5 A, ^$ X$ h- d4 ?" u8 f* pTCP established hash table entries: 1024 (order: 0, 4096 bytes)7 x' Y* v5 z& g' h) ]& i
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
7 T) {% ^5 B# \6 ]5 p% H6 I1 WTCP: Hash tables configured (established 1024 bind 1024)5 v" I8 e; c! a+ i: d  k
UDP hash table entries: 256 (order: 0, 4096 bytes)6 f7 j' \; f% c! A2 k
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes); X( j* w1 K* s
NET: Registered protocol family 16 T& X0 x0 {8 ?3 D
RPC: Registered named UNIX socket transport module.
  ~/ U. q. A5 x+ E+ iRPC: Registered udp transport module.* y( s3 F9 r% w, G! X+ F
RPC: Registered tcp transport module.0 i: a. O, V3 \" G. B
RPC: Registered tcp NFSv4.1 backchannel transport module.
. J7 g# G5 S* }' V) ~workingset: timestamp_bits=14 max_order=15 bucket_order=1
$ f) f7 n6 m% B' P" y+ H( O$ _! WBlock layer SCSI generic (bsg) driver version 0.4 loaded (major 250)4 d# W6 {& \2 a& E( A9 m
io scheduler noop registered (default)/ t- E$ ]( G( }0 [  h
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled7 }- D5 [  F. D# a3 H
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A
- `$ H! i+ |9 d: Zserial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A
- R) H6 r/ u$ c2 Dserial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A
( |; J! w% k! u. tconsole [ttyS2] enabled
, Z8 A( [. h5 z# ], \+ ybrd: module loaded: E) u' a: f  p8 v* B
libphy: Fixed MDIO Bus: probed+ e+ X4 w* c' Z% _7 y6 H8 f, b
davinci_mdio davinci_mdio.0: davinci mdio revision 1.53 c& @9 P8 j' r( h* `1 D( c
davinci_mdio davinci_mdio.0: detected phy mask fffffffe( i3 i0 ]. f: i# N5 ]: w8 I
libphy: davinci_mdio.0: probed+ ~9 Y" Z0 g4 G! R
davinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN8720; P- }; l" [9 k( ^& \  \1 H* X
i2c /dev entries driver3 |& k, s' c6 ?" F( r; I
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
; ?1 c, y, A# Idavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1, e! Q7 ^: s1 _  Q- \4 V3 E
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode
% I4 v* [8 m+ cNET: Registered protocol family 10
' y% S5 q- Y* I4 Zsit: IPv6, IPv4 and MPLS over IPv4 tunneling driver6 u' L0 I8 F- _' `
NET: Registered protocol family 17: }5 k6 u* O, z+ D  n' ?0 B! o
console [netcon0] enabled" q, |1 N' B5 k7 ~
netconsole: network logging started, z; Q7 ]* d( C( p9 S' w
davinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89) I! q0 f% Y1 a. c
hctosys: unable to open rtc device (rtc0)
  |" q- ]; }0 _0 Slibphy: PHY davinci_mdio-0:07 not found. u" B( F# c6 S
net eth0: could not connect to phy davinci_mdio-0:076 C4 ?5 @# q8 k8 D2 k
IP-Config: Failed to open eth0
' O; L2 B1 {, z) ?IP-Config: No network devices available9 F; E8 j7 M; C7 P  A2 \
mmc0: host does not support reading read-only switch, assuming write-enable6 ~4 y  x) M: T. h, E3 @
mmc0: new high speed SDHC card at address 59b4, Q! J( @& d/ p  r3 j% I
mmcblk0: mmc0:59b4 SS08G 7.41 GiB
  t2 W4 I$ H6 Q) X' c) r: B mmcblk0: p1 p2. D: u( _# N' j

: M  ^8 H2 V( Q  S/* 此处等待了一段时间 */
6 k. n7 M$ n* o5 V2 U' g6 e9 _8 B: E2 d
random: fast init done$ ]) w" a5 y& W- \7 x2 Q
VFS: Unable to mount root fs via NFS, trying floppy.
; N1 x  Z/ S' _8 R: x1 hVFS: Cannot open root device "nfs" or unknown-block(2,0): error -6/ f$ B! }8 [! R* \
Please append a correct "root=" boot option; here are the available partitions:0 |: [% g0 E; n" {1 V* F
0100           32768 ram0  (driver?)& J4 M  v! F; e
b300         7764992 mmcblk0  driver: mmcblk
% r8 A5 S( t$ G, T  b301           71680 mmcblk0p1 cd4e1bc4-01
' W1 t2 z1 P* v! |4 [  b302         7675904 mmcblk0p2 cd4e1bc4-02                          ; u: `: d' a/ w$ z! U$ [( m
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block! D0 y* H/ v# p5 u! T0 ^# F# E1 M/ O4 x
9 b: D: Z( v( K% H" h! j9 H7 c1 @

8 X# V3 ~: Y! U; M9 e
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
沙发
 楼主| 发表于 2017-9-12 22:25:21 | 只看该作者
应该是如下错误造成NFS失败:, n8 O: ^6 Y, v

: z; N" M: r+ T. O0 R6 Slibphy: PHY davinci_mdio-0:07 not found1 _3 b9 t; I- b- J. y
net eth0: could not connect to phy davinci_mdio-0:07
3 y4 o3 {% i% V* d$ CIP-Config: Failed to open eth09 m8 n" C+ l, 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& b3 Y# M( e3 }) y5 n
应该是如下错误造成NFS失败:0 e0 n2 p: F% M& m+ b2 B: I

' R$ g% b8 t2 [* k' g8 u7 Nlibphy: PHY davinci_mdio-0:07 not found
1 m( d8 o2 D$ m# }- Z
您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-7 17:14 , Processed in 0.040673 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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