|
0. 开发板型号: TL138/6748/1808F-EasyEVM-A2, 开发版启动模式模式为SD卡启动2 D+ ^7 {2 d& {) E0 A1 e: ^
1 X9 d" U; \- X0 e+ b/ g/ G6 {1. 在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin3 P3 l7 j; F$ R- |6 T+ I7 }0 |
7 A. {/ _0 P7 w- j& r2. 把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版; g( d5 s2 v% c- ]9 `' e
4 I% A' t! b% d# K) U3. SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式
8 }4 F; x- H4 Z9 _6 W+ C8 }( I0 |( a7 P* g: v
uboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为: setenv ethaddr 00:0c:29:bc:7e:9a):+ T. g. A7 Z6 c/ O$ l. E
) {; t( d; m, K7 b, U7 R) x1 R
setenv uboot_macaddr 1
2 T* ]: d4 F/ X- |, ^ c' B, Zsetenv ethaddr 00:0c:29:bc:7e:9a
5 B7 G$ H$ I4 O' J) z- Isetenv serverip 192.168.2.192, \( B8 L, N% f3 |3 a3 R
setenv ipaddr 192.168.2.191
' u! C# f2 O% g( }, D
! c% l; Q% X+ n$ N) W9 g8 [: Pbootcmd=tftp c0700000 zImage;bootz c07000006 ]- C. ^+ O+ { `; [! D9 G0 I
- i0 Y; Z w3 f5 M3 K( S
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/nfs6 l! I# L2 P. v2 A7 H; w% h: j
" x) r- ?! n; G
4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):' p6 O- l* p+ x# W' z) ~% H. \- i
& Q# V9 P+ J. t6 F9 Mboot命令后的完整启动信息:8 h" [% ~. |5 z/ q& f0 x5 E
, P& }8 @! F' b: v=> boot
# i7 X( u' r/ v4 E$ BUsing DaVinci-EMAC device
; _/ x ^6 ^2 ~; B0 DTFTP from server 192.168.2.192; our IP address is 192.168.2.191
1 X9 F/ t/ x5 F+ r: g1 u6 ~Filename 'zImage'.
0 F( B5 ~1 F8 _! w6 S/ H) |- kLoad address: 0xc0700000
* }( Y0 ^" B, f6 u( dLoading: #################################################################
) r8 o# F. S) Y #################################################################: a4 {8 W% ~0 a4 | M! G
################################
) f( S5 M+ J8 G9 }8 f 288.1 KiB/s
6 K7 y) Y& a; Pdone1 M8 \+ P7 ?6 q+ {
Bytes transferred = 2367360 (241f80 hex)9 p6 F! F) t( p9 W2 x# z& y
5 d9 ~9 l( H1 AStarting kernel ...
: o: b. v4 j0 C4 r( P, c- d4 F2 |
' R1 g {( K7 Q5 @" YUncompressing Linux... done, booting the kernel.3 H ?" T/ u+ Y/ I5 e
Booting Linux on physical CPU 0x0
1 n& H, B. t+ S+ c) P qLinux 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 j' K8 h: K% p% {
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
4 |2 q0 h! {- j6 Q1 p) Y9 _ v7 NCPU: VIVT data cache, VIVT instruction cache4 d) N$ N9 j" L
Machine: AM18x/OMAP-L138 Hawkboard
( W1 z7 ^6 a" Vda8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified
- s, s( P* q f 'nn' and 'address' must both be non-zero" K) j% i6 [% E1 v2 ?
cma: Reserved 16 MiB at 0xc6c00000
1 x' `% w5 p$ l, K% @Memory policy: Data cache writethrough
; | e+ u- }' wDaVinci da850/omap-l138/am18x variant 0x1# U0 d# @2 C5 b+ E" t5 `
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32480
3 H8 G+ \% y, R: mKernel 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
/ b) y8 Q- R0 u) d# ` Z% i' @PID hash table entries: 512 (order: -1, 2048 bytes)
: W* v4 W. ~& a/ c* YDentry cache hash table entries: 16384 (order: 4, 65536 bytes)
1 K5 z/ z( ?% N# D! @Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)! q* G) b5 E1 p! O7 S2 j
Memory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)
( b; I( ]( T# f' J) jVirtual kernel memory layout:
# {( X. m4 _! y- l+ T vector : 0xffff0000 - 0xffff1000 ( 4 kB)
R. S3 t9 J6 M4 L8 a: ]2 X s" [: J fixmap : 0xffc00000 - 0xfff00000 (3072 kB)6 _& d2 q1 j: @, K, q
vmalloc : 0xc8800000 - 0xff800000 ( 880 MB)5 U, a7 |2 j2 o; x6 T
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)! E$ i/ [; q0 B3 J# m$ @
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
0 ~% g( }" Z( T5 J: N D .text : 0xc0008000 - 0xc0474b38 (4531 kB)' n2 X) V8 D1 i1 D6 v& C9 T
.init : 0xc05ed000 - 0xc0626000 ( 228 kB)
* \ b- D5 y; b* Z" J% M7 F; h .data : 0xc0626000 - 0xc0673110 ( 309 kB)
3 d6 R! n0 I+ K/ }3 E5 J .bss : 0xc0673110 - 0xc069bc08 ( 163 kB)2 E( i& q. t' {% d1 Y: D
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1! O) F9 s! Z j4 U& H/ K9 j/ O
Preemptible hierarchical RCU implementation.
) y+ ^, L% o- a4 I' t+ n* B Build-time adjustment of leaf fanout to 32.
. J" C6 t9 V- n1 n e+ FNR_IRQS:245$ J( q/ w" z7 }/ L9 ~ ]
clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
0 `0 E( {: A4 t ?) lsched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns1 N# r: m5 \ d! S' J
Console: colour dummy device 80x30
/ P7 c- c/ n$ P1 c8 A$ G" TCalibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
* W5 B3 v3 O. q7 L* m! l. U2 dpid_max: default: 32768 minimum: 301- U b+ v& S/ {" S! @, R# I
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
6 T3 q; G6 }5 ^- n+ M; kMountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
- ?. k9 u, ~. f( @! a1 s \7 |2 jCPU: Testing write buffer coherency: ok
- k B* T8 C6 `6 N5 \% `Setting up static identity map for 0xc0008400 - 0xc00084587 E9 o* V# P* j6 T! a
devtmpfs: initialized
3 V: T; U& [; }) a2 h% c2 z! rVFP support v0.3: not present4 Z+ M* e$ F6 {+ }0 Q& Y9 x
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
1 p3 L% @( B4 P+ c' }futex hash table entries: 256 (order: -1, 3072 bytes): L2 f- T5 A& d: b
pinctrl core: initialized pinctrl subsystem& a0 L7 {6 }( H3 C( a) \
NET: Registered protocol family 16
Z+ x5 z. o |4 _0 p* sDMA: preallocated 256 KiB pool for atomic coherent allocations" D2 j# ~4 ?2 f
cpuidle: using governor ladder6 j" X8 p* G+ q* ]- B
cpuidle: using governor menu* W k8 A% g! s8 I. w: k# ^: ?
EMAC: MII PHY configured
5 s% H$ h$ Q% E5 {- s5 x; Smux: initialized GPIO3_12# t# U/ c9 q- g4 J" c
mux: Setting register GPIO3_12; b& `4 G: b4 ~/ b! x
mux: PINMUX7 (0x0000001c) = 0x00110110 -> 0x00118110
( i. \9 v+ b) f0 T! v9 q6 G( Omux: initialized GPIO3_13/ e: ?1 h( ?, ?) ^
mux: Setting register GPIO3_13
3 ? L9 X4 I4 c o7 U* w4 k8 O3 u! qmux: PINMUX7 (0x0000001c) = 0x00118110 -> 0x00118810
7 V1 P' A. l) D3 E0 q% ^0 `7 K% ^mux: initialized GPIO2_4
1 U( G" z4 p2 \- X6 }6 N2 vmux: Setting register GPIO2_4
: i* |4 o' P& k# X4 Xmux: PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000
: N5 G# N G* M5 Fmux: initialized GPIO6_13, q6 X8 G/ G. d
mux: Setting register GPIO6_13) C2 O: a- e( k+ h. ?: \* D$ T
mux: PINMUX13 (0x00000034) = 0x00000000 -> 0x000008006 [& C. R5 }& g3 f( f3 h: x; m
da8xx_register_rproc: memory not reserved for DSP, not registering DSP device- C. ^! z1 I, |* Z+ ^) K
omapl138_hawk_init: dsp/rproc registration failed: -12
, ^+ T1 c1 C# I* z7 \edma edma.0: Legacy memcpy is enabled, things might not work
, {# `6 W6 p3 d. F" e. o! l7 H9 ^edma edma.0: TI EDMA DMA engine driver
}7 y/ N+ j( nedma edma.1: Legacy memcpy is enabled, things might not work, }. @- Y( m/ R. d% \5 T! K
edma edma.1: TI EDMA DMA engine driver
, s- S' h& o: T: |2 S- fclocksource: Switched to clocksource timer0_1; ^+ C; _" o8 {+ M q
NET: Registered protocol family 2
. T% ~8 K( o& L+ T5 p+ Q2 JTCP established hash table entries: 1024 (order: 0, 4096 bytes)! \4 e0 E5 y; E
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)3 A/ I3 G; u" M, i/ x& h, o
TCP: Hash tables configured (established 1024 bind 1024)
, j" B8 V4 H: R5 W9 k2 y' jUDP hash table entries: 256 (order: 0, 4096 bytes)& b! Y2 V& d3 V l* b# x
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
/ C: h4 ]9 V( R! vNET: Registered protocol family 1
: t6 B6 r$ E. S9 SRPC: Registered named UNIX socket transport module.& D: @1 {9 V8 ~4 w* C3 r8 [
RPC: Registered udp transport module.
$ s m- H9 l3 H; W% X9 u! a+ ] mRPC: Registered tcp transport module. L+ d- }# @- y& @
RPC: Registered tcp NFSv4.1 backchannel transport module.; c l i! Y2 ]( h' c
workingset: timestamp_bits=14 max_order=15 bucket_order=1
0 x. h# Q% F3 w& qBlock layer SCSI generic (bsg) driver version 0.4 loaded (major 250). h! @- |, I0 ]2 p0 u
io scheduler noop registered (default)4 j5 ?. h0 I: \% @( D: E+ V8 q
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled' H$ k5 a8 N$ Y3 O
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A. k8 Q8 a! Q& B
serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A! c3 A3 o/ n; A; ~
serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A
; d) a' v6 P' f" T B+ econsole [ttyS2] enabled5 w' @0 S) q! y0 I* [! M
brd: module loaded# F$ e M9 H5 v0 P3 g' i
libphy: Fixed MDIO Bus: probed. d- k) N4 B1 b* T$ G: y
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
0 t% t9 |9 c5 _& g* E' `1 J) `/ ddavinci_mdio davinci_mdio.0: detected phy mask fffffffe
8 U+ w8 o- y9 \5 v" ^/ `$ n0 tlibphy: davinci_mdio.0: probed
7 B& ~0 }% ~& t. ?& d4 P3 ^& cdavinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN8720
2 c- ?' @ p' _; P8 c! B7 S0 Zi2c /dev entries driver
# B( y6 k" k; f7 \# ddavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1+ ^9 l$ t2 H# f+ D: V' Z2 K
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.14 s- p$ M$ u l( s
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode
6 X- K! B5 g* H( _2 z: S' pNET: Registered protocol family 10
' V6 U) _* J# U0 d Z/ M8 M7 A8 Isit: IPv6, IPv4 and MPLS over IPv4 tunneling driver; ? v# v2 o- G9 t# A* S
NET: Registered protocol family 17
" q. c/ {; L4 K1 ]: f+ J2 oconsole [netcon0] enabled
, q8 m0 Z. l3 n3 r" b G/ `netconsole: network logging started* [, `8 w0 U3 U8 S! p& M4 Y2 P0 T
davinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:89
1 r6 f: T" h, ~: D% [5 mhctosys: unable to open rtc device (rtc0)
9 H4 ?; P8 N1 ?! alibphy: PHY davinci_mdio-0:07 not found' {- ], L' n- }; g
net eth0: could not connect to phy davinci_mdio-0:07) ?- C, ]6 N: C/ v+ o4 t
IP-Config: Failed to open eth0& Y2 r$ x9 N7 l' a: E- j) k5 T. F5 D
IP-Config: No network devices available7 `% o, \# f. m
mmc0: host does not support reading read-only switch, assuming write-enable
2 h; }0 W9 u6 D, R- r4 S/ m) Wmmc0: new high speed SDHC card at address 59b4: r- b8 v8 ~' d5 H B4 w( V' U
mmcblk0: mmc0:59b4 SS08G 7.41 GiB ; I, \- d% j7 R: V
mmcblk0: p1 p2$ P; m! W* `$ r( x
: b5 W+ b3 C( L( W
/* 此处等待了一段时间 */) N3 Y' V l; |3 Q q: a
* S5 n6 c0 l9 O/ drandom: fast init done
8 u+ }" }# V D( H- RVFS: Unable to mount root fs via NFS, trying floppy.
/ B/ g( K) Y9 a5 |VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
8 z% u- X' O9 v6 }Please append a correct "root=" boot option; here are the available partitions:' }) [ h8 R+ ?
0100 32768 ram0 (driver?)
, Y0 P4 a- ] h2 r8 M7 {7 b4 K* Pb300 7764992 mmcblk0 driver: mmcblk3 J; X& X/ D, M6 }; n S; V; A
b301 71680 mmcblk0p1 cd4e1bc4-01- \1 @% z! T0 W. l& _- c- ~
b302 7675904 mmcblk0p2 cd4e1bc4-02
8 _+ Q) Z" B& w! l, aKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block
. W Z G' s# S9 S% H6 L& T* s8 E' Y- G3 @( R! J
0 k9 R: C9 w, q" z. t) e1 n8 V |
|