|
|
0. 开发板型号: TL138/6748/1808F-EasyEVM-A2, 开发版启动模式模式为SD卡启动7 ?" M i4 x3 x$ N0 J
3 q8 L+ X8 s- F. w" u8 J1. 在ubantu16.04(64bit)按照官网安装ti-processor-sdk-linux-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin6 F8 P% e/ a% C+ V
2 C# M6 p0 @, G2 Y. x2. 把uboot, kernel, filesystem写入SD卡, 拨码开关设置为SD启动, 能够正常启动能够进入嵌入式开发版2 J; b: Z/ |7 m0 d5 c- O
: z) y: p2 R" N# B+ K, Z3. SD卡启动方式保持不变,但是在uboot中配置为tftp下载内核和nfs挂载方式( o0 ?+ J2 b, S# A+ Q2 f: W
: `4 ^/ I! V4 l& S4 G* D
uboot配置参数如下(由于没有开发板没有自动获取mac地址,所以自己设置为: setenv ethaddr 00:0c:29:bc:7e:9a):5 n8 a- b5 W+ U p
6 N$ f! W$ P; [0 u
setenv uboot_macaddr 1
. ?+ r4 d) e: csetenv ethaddr 00:0c:29:bc:7e:9a 6 |7 h/ G0 {* A0 P' q
setenv serverip 192.168.2.192+ c Z: O# s0 J7 K) o4 {7 M
setenv ipaddr 192.168.2.191
( O) A) j8 E' n
$ I# W( K) M3 n- pbootcmd=tftp c0700000 zImage;bootz c0700000% K6 r$ y. [+ s. ?3 N2 Z
7 c5 f! | m/ L: T! k
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/ P5 w8 [8 O; a) g
4 ]- C" r1 f' F4 J+ ^# e4. 能够通过tftp下载并启动内核,但是在挂载NFS文件系统之前报错(错误在下面内核启动信息的最后):: q* l$ P! O+ |! ^3 `) B) I
- K6 }7 H1 w) \2 ~) G
boot命令后的完整启动信息:2 T+ w( [% q' ]( D) B b
! O) i( _" Y& H1 C8 M$ R7 G, [7 r=> boot, r8 k" ]6 w1 J& F0 ^; w
Using DaVinci-EMAC device' H! m4 ~ M! h
TFTP from server 192.168.2.192; our IP address is 192.168.2.191
7 l% B, L& W4 LFilename 'zImage'.6 c( Q3 ^* V3 n( W0 c; [- B
Load address: 0xc0700000
6 Q: `0 m; V! k+ @1 @* I& ]Loading: #################################################################
5 W' {* |, _( p# R' @- i4 _ #################################################################/ n0 q; i5 e* K3 q/ E0 _0 K
################################
# S. W7 j4 ?3 |+ ]; U2 n 288.1 KiB/s% \% @$ b# x1 J7 P) I3 C
done
. B4 `" a: X1 lBytes transferred = 2367360 (241f80 hex)8 P1 C( K( j& X1 \
: N6 ]% K+ Y% W, G( z/ o( W2 r1 jStarting kernel ...- C. S4 v3 W6 A, r( }
+ \( M4 _$ p0 j( gUncompressing Linux... done, booting the kernel.
% ]. h( y; _. R1 L: Q! |( sBooting Linux on physical CPU 0x0
# j# U( {- d, s8 t+ J. B9 CLinux 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
& {+ _# A2 i, ?. b h" i) H. ]CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f- x& E# X3 L4 |$ D5 w& o- H8 g2 o5 I
CPU: VIVT data cache, VIVT instruction cache
2 g2 _. E- e9 u6 T; g' m# UMachine: AM18x/OMAP-L138 Hawkboard& a9 u6 K8 y9 B/ d
da8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified6 ~, g& a( _1 w1 `2 H
'nn' and 'address' must both be non-zero9 ]% v$ n; |5 @' [+ y6 I
cma: Reserved 16 MiB at 0xc6c00000
9 L% `. h3 n# V3 K* p( f8 Z- f( [* WMemory policy: Data cache writethrough* M; Z. x5 \, o0 C- n4 ]. i7 h
DaVinci da850/omap-l138/am18x variant 0x1
. a' ?( ~' t! @" s' n+ V! ZBuilt 1 zonelists in Zone order, mobility grouping on. Total pages: 32480
6 I. v( S% T3 c0 E9 J- IKernel 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
) _" J2 _6 R7 BPID hash table entries: 512 (order: -1, 2048 bytes)( k2 c* y: }# M# g/ z3 q6 W
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)3 J! G( [! M6 W+ M/ m
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
& ]- E8 J! U% ]Memory: 106592K/131072K available (4529K kernel code, 308K rwdata, 1500K rodata, 228K init, 162K bss, 8096K reserved, 16384K cma-reserved)9 q! `8 A1 b6 s9 M7 U
Virtual kernel memory layout:
* w( E- `! l4 q vector : 0xffff0000 - 0xffff1000 ( 4 kB)7 I+ @. {7 Z) R: U) Z% h+ p
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
6 F9 u+ [% V. S" V9 I3 F vmalloc : 0xc8800000 - 0xff800000 ( 880 MB)+ ?9 W! y! `8 }. h3 F
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
7 J) @6 q% p5 s) \( v- d* v modules : 0xbf000000 - 0xc0000000 ( 16 MB)
3 \+ H2 _6 H4 x7 E) `) U8 u, C .text : 0xc0008000 - 0xc0474b38 (4531 kB)
& W* g4 o6 V" d' I/ c .init : 0xc05ed000 - 0xc0626000 ( 228 kB)! N! o P' \* _8 b- z5 K S: E4 r
.data : 0xc0626000 - 0xc0673110 ( 309 kB)# y3 E: l! S/ Z0 c
.bss : 0xc0673110 - 0xc069bc08 ( 163 kB)
; v( ?9 O- v# RSLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1# E- L; a( T: z; g8 v# E& I
Preemptible hierarchical RCU implementation.
- L3 S) d1 |) Q1 G' e Build-time adjustment of leaf fanout to 32.& J9 s8 K( L& H/ x) W1 Q
NR_IRQS:245
M5 `% u$ g5 [' D' ]4 Qclocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
2 N- k' L( ], i7 m0 \; Z7 H* G% F& J$ Gsched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
. U1 n, w2 K6 nConsole: colour dummy device 80x30
. ]5 ^, P! D7 ]) ECalibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
5 @9 i- n" B x" wpid_max: default: 32768 minimum: 301
) f2 _5 u ^% n& K+ ]0 BMount-cache hash table entries: 1024 (order: 0, 4096 bytes)
! F/ M' W& `3 X. U% M- x" _Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
! J3 E- O) \2 P8 X# H! R% X- f2 cCPU: Testing write buffer coherency: ok$ d1 Q* L: C( q8 v
Setting up static identity map for 0xc0008400 - 0xc0008458) R: b- |# g4 m+ z) T
devtmpfs: initialized5 s5 F+ w! S* O* \$ _* R5 s
VFP support v0.3: not present# c6 l6 G4 `- R" L0 u0 B
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns& J# ^. e$ I; G) f
futex hash table entries: 256 (order: -1, 3072 bytes)
# x' F/ z. b; u. J. Gpinctrl core: initialized pinctrl subsystem
k$ s) Z' w7 l1 Q7 [1 }NET: Registered protocol family 16
2 }: f2 m- g0 y: a, xDMA: preallocated 256 KiB pool for atomic coherent allocations
1 N9 w$ A" t# ~7 H* Ucpuidle: using governor ladder
/ X: M# P1 G1 T( ~( g* O4 E' @! Ncpuidle: using governor menu
- h6 b& n2 ^# o1 \, B( `2 f8 @+ F$ HEMAC: MII PHY configured
5 z& ^8 e- Z3 j' _0 Wmux: initialized GPIO3_12" E) [. ^" @- I/ o/ f
mux: Setting register GPIO3_12
' w! L; q( Q# ^mux: PINMUX7 (0x0000001c) = 0x00110110 -> 0x001181105 }7 v+ W% _- h4 Y" N' r
mux: initialized GPIO3_13
1 N7 y& g6 W( b, h! `mux: Setting register GPIO3_132 F" A$ A8 `/ T' I
mux: PINMUX7 (0x0000001c) = 0x00118110 -> 0x00118810
9 A& I1 g3 G0 h) d2 n7 D$ wmux: initialized GPIO2_4
6 r! z8 Y# h- c: Y$ t0 t0 ]# a& n1 imux: Setting register GPIO2_4 z8 R8 K- @' @: r8 T0 u" K; g
mux: PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000
7 z6 u& C- ~( ^( E! i( |mux: initialized GPIO6_134 o" ?4 k G4 r$ Y4 V
mux: Setting register GPIO6_13
) |" g) o' v. K6 y; Y" J+ U$ \mux: PINMUX13 (0x00000034) = 0x00000000 -> 0x00000800# @4 O! ` ^, N3 R
da8xx_register_rproc: memory not reserved for DSP, not registering DSP device
- [; q; A( C; j( @2 _* Homapl138_hawk_init: dsp/rproc registration failed: -12 L4 u4 x" [. I8 D; z. H
edma edma.0: Legacy memcpy is enabled, things might not work3 a1 U4 H" v1 \- ?7 K
edma edma.0: TI EDMA DMA engine driver3 u9 m+ Q) R+ h7 @* c
edma edma.1: Legacy memcpy is enabled, things might not work
, \$ W/ b: ^# oedma edma.1: TI EDMA DMA engine driver1 v/ j: t% W4 [- _; F
clocksource: Switched to clocksource timer0_1
+ E- _2 } `. J7 d2 j# o- s+ f# jNET: Registered protocol family 2
7 p" N, ^- Z: z& I0 K7 \8 vTCP established hash table entries: 1024 (order: 0, 4096 bytes)0 E' N0 \) C: T+ L% e
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
) G D2 M! l A% o+ UTCP: Hash tables configured (established 1024 bind 1024)- n$ _! p. r2 g/ t& Q; U0 w* C% Q3 `6 F
UDP hash table entries: 256 (order: 0, 4096 bytes)* C6 w7 _8 ~' f3 D$ w
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
4 R4 i4 C2 i' d3 l! w i9 P( p* Y$ Z# sNET: Registered protocol family 1( e- v# c. n2 m) [' \' ?
RPC: Registered named UNIX socket transport module.
% ~2 H e' f. X1 G- P, rRPC: Registered udp transport module.1 r% P! e. c0 b* Y1 t
RPC: Registered tcp transport module.
9 w- k6 E% b- Z7 O% wRPC: Registered tcp NFSv4.1 backchannel transport module.
* V. s3 r: C, n9 L& O- {" Pworkingset: timestamp_bits=14 max_order=15 bucket_order=1
" e6 W& L/ _" t/ u! o2 VBlock layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
* W! I5 ?% M/ S3 k% ?1 Mio scheduler noop registered (default)+ d# V; c5 F) T8 |- r
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
% K$ |9 S" F* w7 t+ E$ [! Mserial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A
' L; R/ i; o) [ ?serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A
1 g, ]. y J1 |5 |5 `serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A
$ |- Q$ J' p% q9 J" ?7 P1 }; jconsole [ttyS2] enabled
% H0 D- H" w/ \6 Cbrd: module loaded! K; F6 r0 H! [( W% V2 R0 V
libphy: Fixed MDIO Bus: probed: q% e3 S. u# L0 P4 }5 i
davinci_mdio davinci_mdio.0: davinci mdio revision 1.58 J6 u4 H, ?/ v3 M7 }5 I9 ~
davinci_mdio davinci_mdio.0: detected phy mask fffffffe
( t1 u# y8 C2 k9 U- s8 F! j6 [3 llibphy: davinci_mdio.0: probed6 z, ^5 L( d' A) c/ h
davinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN8720
7 s8 L+ n1 x- o3 _i2c /dev entries driver
! i P( v' z4 Q; Vdavinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1) N. o( C! I. y% X# Z
davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.1" B+ _' A) v* p2 k" F3 I. R+ r
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode6 H# ^, y- T/ m) `/ q# ^" h7 u
NET: Registered protocol family 106 M# U- V% h/ F* D, i0 N
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
0 H6 j0 ]1 t: ?- sNET: Registered protocol family 17% o% ]3 M- Y3 E; l3 n, k
console [netcon0] enabled `$ S7 s& u) {8 `, @6 i) v& q5 N% d
netconsole: network logging started
% G( J2 ?; u, ^4 _7 [, w& W+ bdavinci_emac davinci_emac.1: using random MAC addr: 0a:ed:9e:24:43:898 Z% F. K! ]0 h6 M, ~
hctosys: unable to open rtc device (rtc0)
) q5 m% u9 @8 alibphy: PHY davinci_mdio-0:07 not found( ~6 T+ t% f. Q _8 s
net eth0: could not connect to phy davinci_mdio-0:07
6 h" o p* r. @& O1 iIP-Config: Failed to open eth0, i6 p. {& i7 k& J l' C0 O
IP-Config: No network devices available- V; C9 w) z- g
mmc0: host does not support reading read-only switch, assuming write-enable
& y& K! t9 O" h2 t1 t4 Dmmc0: new high speed SDHC card at address 59b4, Q- P0 ` U$ s5 P b
mmcblk0: mmc0:59b4 SS08G 7.41 GiB * o; j8 f1 _- l
mmcblk0: p1 p2
' P. T3 [# W4 z6 I9 r- i+ u$ t7 o/ Y8 {/ H! k
/* 此处等待了一段时间 */8 ~5 ?3 ^, H _9 P- y0 \ \. y
! J4 [1 i# J1 R$ y% r5 q2 j! m( |7 N" Mrandom: fast init done
o. p0 C( f5 O# m2 a; ^) T5 lVFS: Unable to mount root fs via NFS, trying floppy.
4 m& h' |/ D* G8 v- {VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6, K1 H7 Y- W% P9 v7 ^( l
Please append a correct "root=" boot option; here are the available partitions:
7 @0 } x4 U3 t: K, m( V# q0100 32768 ram0 (driver?)
- v/ B) s) G: z8 m' y6 nb300 7764992 mmcblk0 driver: mmcblk* S' Y/ ]( L1 K7 l
b301 71680 mmcblk0p1 cd4e1bc4-01
5 ~6 ?2 f# t$ h! z! I b302 7675904 mmcblk0p2 cd4e1bc4-02
0 ?8 V8 t: W/ g4 `: k0 I+ i) xKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block
5 Z4 r7 M5 m! T9 _2 i5 s
?* A6 J* F, U" T% l- R; d j! M
5 ?* [# S6 j* R( k9 R7 V& A% @- a/ _ |
|