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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 5594|回复: 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卡启动
* L8 M! X8 _- T0 v3 b) B7 B$ X% {
' z6 x8 f" @) [4 C/ _  @1.  在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin' a+ T- U6 @) \/ j7 C# |
6 [- [7 i/ O/ p$ u. V
2.  把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版
; Z1 |& t' ?3 `# s/ C; O/ ?1 Z. H! v# l
3.  SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式5 W. |4 I' j, n# q
4 ~% x8 W6 K; s% N
uboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为:  setenv  ethaddr 00:0c:29:bc:7e:9a):7 O3 o! \/ S0 F8 D: E$ b8 ]

- J& @; ^" T, t/ {. @setenv uboot_macaddr 1
8 {: k; A, n) d( N) f1 H% tsetenv ethaddr 00:0c:29:bc:7e:9a
" Q; l4 A; k7 z9 c* Hsetenv serverip 192.168.2.1927 f/ y# b% H" [% j% T
setenv ipaddr 192.168.2.191
; ~% h: \; p4 t- V0 ^; V
' L" n' ^, x. q% z0 cbootcmd=tftp c0700000 zImage;bootz c0700000
1 H# b3 g" |- _5 V9 {) a& h9 z3 c( Q* A* j
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) h5 D7 N" f6 d$ T

5 E4 M* X7 ?5 @" U% ~$ O4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):
/ f1 W9 b! g, j  x& p
( y5 g) y0 ^; X6 H. j% Y2 sboot命令后的完整启动信息:  d  Y. r) t7 S3 F! W# w7 z, A

' F( s8 D2 N; i$ b  `- A=> boot
; u* D+ o. {2 K. u) }8 ^( TUsing DaVinci-EMAC device. V1 ^! s. [: ]; D; x! O
TFTP from server 192.168.2.192; our IP address is 192.168.2.1913 E! O" f: m6 z
Filename 'zImage'.' O. S, C  L( \' z9 r7 E. [! v' W
Load address: 0xc0700000
1 w' c6 H& J& E. o+ R# i6 zLoading: #################################################################8 E5 D( `# w1 i) Y- h
         #################################################################
1 E' C' L3 _3 X0 ]6 h8 |" y3 w. _         ################################
- A0 {: k- p6 w. g8 @5 M         288.1 KiB/s
* m, M. d- `3 U& wdone
0 A% m4 r- H6 X# }Bytes transferred = 2367360 (241f80 hex)( \& S+ z2 W6 k6 X6 A7 ?

! O( L- i, m/ S% A+ {  Y" a4 LStarting kernel ...! T9 ]5 {' D* c

8 L; a/ v" z" p  `; `9 nUncompressing Linux... done, booting the kernel.
. i* @, F# N& n& [9 XBooting Linux on physical CPU 0x0) d! p7 a; A0 m% t
Linux 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
: g0 F* b& N1 ?( t7 g2 nCPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
3 k3 H6 E! ?8 B* k" i# rCPU: VIVT data cache, VIVT instruction cache& W4 V8 n9 y  H  Y0 V
Machine: AM18x/OMAP-L138 Hawkboard$ V* `7 _9 k3 L# ]0 o; q7 k
da8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified$ {, t; x& T; b
    'nn' and 'address' must both be non-zero
) w% \% q, w5 D6 c& W. @9 Gcma: Reserved 16 MiB at 0xc6c00000% e9 k% B6 D: \$ q* e
Memory policy: Data cache writethrough& y2 A3 J: z" U5 \( u  Y
DaVinci da850/omap-l138/am18x variant 0x1, e' U, [3 _' P4 B
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480& Q; m  T1 S5 c3 I5 p9 e
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/nfs4 S5 p' t/ S# a2 y  k
PID hash table entries: 512 (order: -1, 2048 bytes)- i; F3 n6 D) ]  g. d1 M4 @
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)! x% m% q9 M( T, G. ]% f0 H$ f8 K
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes); V# Y3 D% `, K
Memory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)6 m" |0 N' S, |# j2 I( \
Virtual kernel memory layout:9 i4 y/ x5 m4 Q: M( W
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)+ q1 E' v2 f  \* J- O: Z
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB), ^" H; c% M( L- U2 j
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
% Q6 k, V0 ]# j5 o. L' T    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
( ~5 }. ?5 U8 [! f) K: d) e    modules : 0xbf000000 - 0xc0000000   (  16 MB)4 C% h& [0 l. J6 D! e, @4 e, Y
      .text : 0xc0008000 - 0xc0474b38   (4531 kB)
. d7 ^* Y" a& p4 Q3 r9 a$ Q      .init : 0xc05ed000 - 0xc0626000   ( 228 kB)
- O, H* I; O& s. W& m      .data : 0xc0626000 - 0xc0673110   ( 309 kB)
: K: A* F5 G1 i% n+ ^( x       .bss : 0xc0673110 - 0xc069bc08   ( 163 kB)
& }5 Q( z% X8 c7 S& J7 M; ?SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1/ O1 P- k0 ]8 a! W
Preemptible hierarchical RCU implementation.
+ B; O; C4 x1 K  f# s        Build-time adjustment of leaf fanout to 32." f. g6 Q9 |8 R5 t: ^
NR_IRQS:245
/ A, G/ L! u: O5 J; M  Hclocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
5 `, I+ [# a, b* C, Osched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns- v! M  j2 r: M4 _
Console: colour dummy device 80x309 [0 |  \4 H" i: \) {
Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
) n& N8 W: H) v% Z& npid_max: default: 32768 minimum: 301
1 K6 O6 [% j  G; IMount-cache hash table entries: 1024 (order: 0, 4096 bytes)
. ]8 M; G) K5 J- c* U% i8 ~, a1 SMountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
9 U' z' i9 Q0 `  r% L& ]/ ~3 @; ^8 sCPU: Testing write buffer coherency: ok
* }, z% X& h3 W5 E: f1 ~: Y, B# mSetting up static identity map for 0xc0008400 - 0xc0008458, f- u2 Z- C& `( A5 n
devtmpfs: initialized7 K0 M6 ^5 h7 K+ A
VFP support v0.3: not present
/ }7 p% t' s4 Zclocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  e- r) ]2 |! F  k, E3 r0 l' \futex hash table entries: 256 (order: -1, 3072 bytes)
5 A' k" a3 n5 h0 ]pinctrl core: initialized pinctrl subsystem" ^! R% N+ ~8 \! Q0 I$ {
NET: Registered protocol family 16
$ w6 _8 R3 W$ r) q4 @' eDMA: preallocated 256 KiB pool for atomic coherent allocations
1 l& z) X/ Q! `& q  J# V2 Ucpuidle: using governor ladder
2 G$ J# w' r3 v3 }; ]4 ]cpuidle: using governor menu
% r: X1 f: p; LEMAC: MII PHY configured
! e% a1 g: V) l. L' E6 E1 ]% Dmux: initialized GPIO3_12
& ^" @1 F% R% rmux: Setting register GPIO3_125 G( n+ J& r9 q
mux:    PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110
6 c3 m/ J5 i5 g2 |! ^2 d: Tmux: initialized GPIO3_13$ [+ X* j& ~- J* t% w
mux: Setting register GPIO3_13
7 T0 p2 {) f+ a: J# n& nmux:    PINMUX7 (0x0000001c) = 0x00118110 -> 0x00118810
  p; |: L; E3 f+ j8 n2 L1 h7 cmux: initialized GPIO2_49 i- p7 z8 P0 s5 g! Z
mux: Setting register GPIO2_4! r$ D& n  X7 R9 x$ }+ H
mux:    PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000
+ v' l# x9 z8 E. amux: initialized GPIO6_13
4 D$ Y7 t* X$ F" L8 A# c/ tmux: Setting register GPIO6_13
' q1 V& l. g5 qmux:    PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800
6 L/ |  o; E  z: Bda8xx_register_rproc: memory not reserved for DSP, not registering DSP device4 o/ [6 H" h. `. ~" N" C
omapl138_hawk_init: dsp/rproc registration failed: -122 q; {9 w7 p0 `( C  O
edma edma.0: Legacy memcpy is enabled, things might not work! A0 Z. U8 K) e  {( O6 P9 l3 n
edma edma.0: TI EDMA DMA engine driver
% N9 k  c0 T& |) Yedma edma.1: Legacy memcpy is enabled, things might not work5 @6 J. v/ ]6 ~' l' [
edma edma.1: TI EDMA DMA engine driver
0 W) R* ^6 C) D/ _. Tclocksource: Switched to clocksource timer0_1
2 D: C  g9 C! I: Y4 ?NET: Registered protocol family 2
" O  t/ E: S9 H! Z- Z! ?5 L  n$ fTCP established hash table entries: 1024 (order: 0, 4096 bytes)
# g$ X& Q+ L: h) uTCP bind hash table entries: 1024 (order: 0, 4096 bytes)1 g1 ?, R% \# u* I' o: g0 E0 w
TCP: Hash tables configured (established 1024 bind 1024)9 r# ?( O2 R5 R/ k4 u3 Z
UDP hash table entries: 256 (order: 0, 4096 bytes)
, C  q2 H1 ~6 \: @UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)$ y/ K2 I& I: u, T! T5 D/ `
NET: Registered protocol family 1
$ o' ^4 F9 V" tRPC: Registered named UNIX socket transport module.( v4 |( R" }  x* m
RPC: Registered udp transport module.
! k: r/ q  o' pRPC: Registered tcp transport module.
- n% {4 ]) B% L6 i5 }: ^RPC: Registered tcp NFSv4.1 backchannel transport module.: h* F$ w) X* Y8 |* J0 D
workingset: timestamp_bits=14 max_order=15 bucket_order=1: [5 z8 e& M. B, x
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)" l2 z; P- e+ r9 T  w6 Y4 V
io scheduler noop registered (default)
  A$ i7 A9 K2 N% a  q% BSerial: 8250/16550 driver, 10 ports, IRQ sharing disabled. V& b1 A( D! H* B2 W
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A
* B3 c2 R# I" ^2 F( d. b/ q! y# hserial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A
  \* p* _2 e; r$ ^serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A( q& D" ]7 q7 D" t' G, ?2 ~. i. b- g
console [ttyS2] enabled, e! I: n' X. Z
brd: module loaded
6 ~! M3 X3 \4 s/ X) j' u0 K7 hlibphy: Fixed MDIO Bus: probed
1 t0 R: J7 A8 M3 ^  G& Edavinci_mdio davinci_mdio.0: davinci mdio revision 1.50 z* r7 d3 ^5 ^' L1 V& G
davinci_mdio davinci_mdio.0: detected phy mask fffffffe# O: N7 j1 z' f) b
libphy: davinci_mdio.0: probed, d) f0 |" u8 }( a  w  d& M0 O
davinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN87201 W9 O# u2 q7 o% M: w3 B* [3 O0 K
i2c /dev entries driver
7 D* t; @2 }7 l) X: V$ W& ~davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1
9 M$ h9 V3 d& J, ^* w. @$ f+ ~1 ndavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1. N7 s3 o0 m# K: N1 s/ F+ d
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode$ D" X/ r, n6 L0 ^; ~' G# W
NET: Registered protocol family 10
0 p8 ?6 Q' c4 b& ^3 A3 A, z, gsit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
: T7 }4 m' r" z( _, G0 {NET: Registered protocol family 172 p) B+ C; `5 z. E4 o/ @
console [netcon0] enabled# X) O; j  ?4 K
netconsole: network logging started- y$ u0 z* t! i- T
davinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89
  i6 a/ ]3 m( w; H( Ohctosys: unable to open rtc device (rtc0)" [* N1 r9 F7 E, i. S
libphy: PHY davinci_mdio-0:07 not found& S) N+ z) O+ e: J
net eth0: could not connect to phy davinci_mdio-0:072 P+ x( \% e/ I0 U
IP-Config: Failed to open eth0
6 s6 X" x: j0 RIP-Config: No network devices available8 a; {# C0 n- @# l4 p
mmc0: host does not support reading read-only switch, assuming write-enable1 Y; _' N3 l+ w, z1 i  j$ W) H
mmc0: new high speed SDHC card at address 59b4
+ x. O- G9 Y  y0 e, V0 V9 nmmcblk0: mmc0:59b4 SS08G 7.41 GiB
6 z/ c* l. \  `- F mmcblk0: p1 p2
- s0 Z1 x0 o) N
, w3 A1 N7 W! R# l/* 此处等待了一段时间 */$ b' Z) _5 h; i# b" J; A1 g, ?  c$ z
5 O, |2 K& V  Z7 u9 N* a. _
random: fast init done
, v3 \3 \3 E* ~* `* m% z" uVFS: Unable to mount root fs via NFS, trying floppy.
6 I3 t  m) q2 T4 m7 E9 GVFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
( j* J( }* q' V1 t) D& O' |0 [Please append a correct "root=" boot option; here are the available partitions:6 r7 W# }) z/ q6 m* e
0100           32768 ram0  (driver?)% d/ t% H, m$ O& E1 \6 R+ z
b300         7764992 mmcblk0  driver: mmcblk
$ v. j! ]- ]# G6 k- e' y  b301           71680 mmcblk0p1 cd4e1bc4-01
8 G: h4 Y9 ~- {9 t) E2 [% L  b302         7675904 mmcblk0p2 cd4e1bc4-02                          : p; j" a' o0 A$ I, S. s. F
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block% m" z# b6 j" I9 O; A! o4 `- [

" W3 T; J) {* d( b6 `( F
: r  ~& k8 d( l( O- ]2 O! y) P
回复

使用道具 举报

2

主题

4

帖子

46

积分

新手上路

Rank: 1

积分
46
 楼主| 发表于 2017-9-12 22:25:21 | 显示全部楼层
应该是如下错误造成NFS失败:
$ y5 I" ^+ t9 q
- s7 z- v. w( |; V7 K/ p% qlibphy: PHY davinci_mdio-0:07 not found* M% I8 z7 z7 S% g
net eth0: could not connect to phy davinci_mdio-0:07' p4 F9 a1 z: R  e
IP-Config: Failed to open eth0& Y% P5 e, r" c: Q! V9 V/ M5 A
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
0 J1 m% d5 g! U9 r+ U$ S" I$ C应该是如下错误造成NFS失败:
4 Z% S: L, I$ \2 E( O1 L, H( G! e1 t
libphy: PHY davinci_mdio-0:07 not found
! Y4 |# Z9 Q& i( l8 S7 L1 r7 @7 ^
您好,我们光盘资料里面,有提供相关的nfs组件安装包和搭建的指导文档,建议您先按照我们的资料去搭建,我们使用的是,基于Ubuntu12.04的nfs开发环境搭建。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-3-28 18:59 , Processed in 0.041775 second(s), 25 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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