Project

General

Profile

OpenBSD on beaglebone black » History » Version 6

Tsutomu KIMURA, 01/25/2015 11:36 PM

1 5
h1. OpenBSD on beaglebone black
2
3
h2. 1. 概略
4
5
beaglebone blackについては"こちら":http://beagleboard.org/BLACK 。こいつで"OpenBSD":http://www.openbsd.org が動きます。最新の情報については"こちら":http://www.openbsd.org/armv7.html をどうぞ。
6
7
h2. 2. 注意すべきこと
8
9
この記事を書いている現状では、HDMIを経由した画面出力はありません。つまり、シリアルコンソールかnetwork経由でしか弄れません。
10
それでも、画面出力デバイスがそもそも全くないIO-DATAのUSL-5Pのようなケース(USBデバイスサーバ、という名前で売り出しているのである意味当然ではあります。ちなみにこちらは"OpenBSD/landisk":http://www.openbsd.org/landisk.html で稼働)よりはマシでしょうけれど、ね。
11
12 6 Tsutomu KIMURA
ちなみにシリアルコンソールのpin配置は以下の通り;
13
14
* pin1: GND
15
* pin4: RxD
16
* pin5: TxD
17
18
シリアルコンソールのlogin accountは次の通り;
19
20
* login root
21
* password: (なし)
22
23 5
h2. 3. install log
24
25
他で色々と参考になりそうなので、貼り付けておきます。
26
27
<pre>
28
U-Boot SPL 2014.04-00015-gb4422bd (Apr 22 2014 - 13:24:29)
29
reading args
30
spl_load_image_fat_os: error reading image args, err - -1
31
reading u-boot.img
32
reading u-boot.img
33
34
35
U-Boot 2014.04-00015-gb4422bd (Apr 22 2014 - 13:24:29)
36
37
I2C:   ready
38
DRAM:  512 MiB
39
NAND:  0 MiB
40
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
41
*** Warning - readenv() failed, using default environment
42
43
Net:   <ethaddr> not set. Validating first E-fuse MAC
44
cpsw, usb_ether
45
Hit any key to stop autoboot:  0 
46
gpio: pin 53 (gpio 53) value is 1
47
mmc0 is current device
48
gpio: pin 54 (gpio 54) value is 1
49
SD/MMC found on device 0
50
reading uEnv.txt
51
159 bytes read in 10 ms (14.6 KiB/s)
52
gpio: pin 55 (gpio 55) value is 1
53
Loaded environment from uEnv.txt
54
Importing environment from mmc ...
55
Checking if uenvcmd is set ...
56
gpio: pin 56 (gpio 56) value is 1
57
Running uenvcmd ...
58
reading bsd.umg
59
7163548 bytes read in 412 ms (16.6 MiB/s)
60
## Booting kernel from Legacy Image at 82800000 ...
61
   Image Name:   boot
62
   Image Type:   ARM Linux Kernel Image (uncompressed)
63
   Data Size:    7163484 Bytes = 6.8 MiB
64
   Load Address: 80300000
65
   Entry Point:  80300000
66
   Verifying Checksum ... OK
67
   Loading Kernel Image ... OK
68
69
Starting kernel ...
70
71
72
OpenBSD/omap booting ...
73
arg0 0x0 arg1 0xe05 arg2 0x80000100
74
atag core flags 0 pagesize 0 rootdev 0
75
atag cmdline [sd0i:/bsd.umg]
76
atag mem start 0x80000000 size 0x20000000
77
bootfile: sd0i:/bsd.umg
78
bootargs: 
79
memory size derived from u-boot
80
bootconf.mem[0].address = 80000000 pages 131072/0x20000000
81
Allocating page tables
82
freestart = 0x809d5000, free_pages = 128555 (0x0001f62b)
83
IRQ stack: p0x80a03000 v0xc0a03000
84
ABT stack: p0x80a04000 v0xc0a04000
85
UND stack: p0x80a05000 v0xc0a05000
86
SVC stack: p0x80a06000 v0xc0a06000
87
Creating L1 page table at 0x809d8000
88
Mapping kernel
89
Constructing L2 page tables
90
undefined page pmap board type: beaglebone
91
Copyright (c) 1982, 1986, 1989, 1991, 1993
92
	The Regents of the University of California.  All rights reserved.
93
Copyright (c) 1995-2015 OpenBSD. All rights reserved.  http://www.OpenBSD.org
94
95
OpenBSD 5.7-beta (RAMDISK-OMAP) #1: Fri Jan  9 20:02:48 AEDT 2015
96
    jsg@armv7.jsg.id.au:/usr/src/sys/arch/armv7/compile/RAMDISK-OMAP
97
real mem  = 536870912 (512MB)
98
avail mem = 515444736 (491MB)
99
mainbus0 at root
100
cpu0 at mainbus0: ARM Cortex A8 R3 rev 2 (ARMv7 core)
101
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
102
cpu0: 32KB(64b/l,4way) I-cache, 32KB(64b/l,4way) wr-back D-cache
103
omap0 at mainbus0: BeagleBone
104
prcm0 at omap0 rev 0.2
105
sitaracm0 at omap0: control module, rev 1.0
106
intc0 at omap0 rev 5.0
107
omap0: device edma unit 0 not configured
108
dmtimer0 at omap0 rev 3.1
109
dmtimer1 at omap0 rev 3.1
110
omdog0 at omap0 rev 0.1
111
omgpio0 at omap0: rev 0.1
112
omgpio1 at omap0: rev 0.1
113
omgpio2 at omap0: rev 0.1
114
omgpio3 at omap0: rev 0.1
115
omap0: device tiiic unit 0 not configured
116
omap0: device tiiic unit 1 not configured
117
omap0: device tiiic unit 2 not configured
118
ommmc0 at omap0
119
sdmmc0 at ommmc0
120
ommmc1 at omap0
121
sdmmc1 at ommmc1
122
com0 at omap0: ti16750, 64 byte fifo
123
com0: console
124
cpsw0 at omap0: version 1.12 (0), address d0:5f:b8:f5:94:f9
125
ukphy0 at cpsw0 phy 0: Generic IEEE 802.3u media interface, rev. 1: OUI 0x0001f0, model 0x000f
126
scsibus0 at sdmmc0: 2 targets, initiator 0
127
sd0 at scsibus0 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
128
sd0: 7580MB, 512 bytes/sector, 15523840 sectors
129
scsibus1 at sdmmc1: 2 targets, initiator 0
130
sd1 at scsibus1 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
131
sd1: 3688MB, 512 bytes/sector, 7553024 sectors
132
boot device: sd0
133
root on rd0a swap on rd0b dump on rd0b
134
WARNING: CHECK AND RESET THE DATE!
135
erase ^?, werase ^W, kill ^U, intr ^C, status ^T
136
137
Welcome to the OpenBSD/armv7 5.7 installation program.
138
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? i
139
At any prompt except password prompts you can escape to a shell by
140
typing '!'. Default answers are shown in []'s and are selected by
141
pressing RETURN.  You can exit this program at any time by pressing
142
Control-C, but this can leave your system in an inconsistent state.
143
144
Terminal type? [vt220] 
145
System hostname? (short form, e.g. 'foo') foo
146
147
Available network interfaces are: cpsw0.
148
Which network interface do you wish to configure? (or 'done') [cpsw0] 
149
IPv4 address for cpsw0? (or 'dhcp' or 'none') [dhcp] 
150
DHCPDISCOVER on cpsw0 - interval 1
151
DHCPDISCOVER on cpsw0 - interval 2
152
DHCPOFFER from xx.xx.xx.xx (00:17:e0:a1:61:84)
153
DHCPREQUEST on cpsw0 to 255.255.255.255
154
DHCPACK from xx.xx.xx.xx (00:17:e0:a1:61:84)
155
bound to xx.xx.xx.xx -- renewal in 43200 seconds.
156
IPv6 address for cpsw0? (or 'rtsol' or 'none') [none] rtsol
157
Available network interfaces are: cpsw0.
158
Which network interface do you wish to configure? (or 'done') [done] 
159
Using DNS domainname tknd.jp
160
Using DNS nameservers at xx.xx.xx.xx xx.xx.xx.xx
161
162
Password for root account? (will not echo) 
163
Password for root account? (again) 
164
The root password must be set.
165
Password for root account? (will not echo) 
166
Password for root account? (again) 
167
Start sshd(8) by default? [yes] 
168
Start ntpd(8) by default? [no] 
169
Setup a user? (enter a lower-case loginname, or 'no') [no] 
170
What timezone are you in? ('?' for list) [Japan] 
171
172
Available disks are: sd0 sd1.
173
Which disk is the root disk? ('?' for details) [sd0] ?
174
sd0: Drive #01 (7.4G)
175
sd1: Drive #01 (3.6G)
176
Available disks are: sd0 sd1.
177
Which disk is the root disk? ('?' for details) [sd0] 
178
Use DUIDs rather than device names in fstab? [yes] 
179
Disk: sd0       geometry: 966/255/63 [15523840 Sectors]
180
Offset: 0       Signature: 0xAA55
181
            Starting         Ending         LBA Info:
182
 #: id      C   H   S -      C   H   S [       start:        size ]
183
-------------------------------------------------------------------------------
184
*0: 0C      0   1   1 -      1 254  63 [          63:       32067 ] Win95 FAT32L
185
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
186
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
187
 3: A6      0   1   2 -      1 254  63 [          64:       32066 ] OpenBSD     
188
Use (W)hole disk or (E)dit the MBR? [whole] W
189
Creating a msdos partition and an OpenBSD partition for rest of sd0...done.
190
/dev/rsd0i: 32668 sectors in 8167 FAT16 clusters (2048 bytes/cluster)
191
bps=512 spc=4 res=1 nft=2 rde=512 sec=32768 mid=0xf8 spf=32 spt=63 hds=255 hid=64
192
The auto-allocated layout for sd0 is:
193
#                size           offset  fstype [fsize bsize  cpg]
194
  a:            99.8M            32832  4.2BSD   2048 16384    1 # /
195
  b:           119.6M           237216    swap                   
196
  c:          7580.0M                0  unused                   
197
  d:           151.7M           482176  4.2BSD   2048 16384    1 # /tmp
198
  e:           131.5M           792768  4.2BSD   2048 16384    1 # /var
199
  f:           919.8M          1062016  4.2BSD   2048 16384    1 # /usr
200
  g:           523.9M          2945760  4.2BSD   2048 16384    1 # /usr/X11R6
201
  h:          2087.6M          4018656  4.2BSD   2048 16384    1 # /usr/local
202
  i:            16.0M               64   MSDOS                   
203
  j:          1031.9M          8294048  4.2BSD   2048 16384    1 # /usr/src
204
  k:          1315.8M         10407392  4.2BSD   2048 16384    1 # /usr/obj
205
  l:          1182.4M         13102208  4.2BSD   2048 16384    1 # /home
206
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] C
207
208
You will now create an OpenBSD disklabel inside the OpenBSD MBR
209
partition. The disklabel defines how OpenBSD splits up the MBR partition
210
into OpenBSD partitions in which filesystems and swap space are created.
211
You must provide each filesystem's mountpoint in this program.
212
213
The offsets used in the disklabel are ABSOLUTE, i.e. relative to the
214
start of the disk, NOT the start of the OpenBSD MBR partition.
215
216
Label editor (enter '?' for help at any prompt)
217
> a
218
partition: [a] 
219
offset: [32832] 
220
size: [15491008] 7062M
221
Rounding size to cylinder (16065 sectors): 14473863
222
FS type: [4.2BSD] 
223
mount point: [none] /
224
Rounding size to bsize (32 sectors): 14473856
225
> p
226
OpenBSD area: 32832-15523840; size: 15491008; free: 1017152
227
#                size           offset  fstype [fsize bsize  cpg]
228
  a:         14473856            32832  4.2BSD   2048 16384    1 # /
229
  c:         15523840                0  unused                   
230
  i:            32768               64   MSDOS                   
231
> a
232
partition: [b] 
233
offset: [14506688] 
234
size: [1017152] 
235
FS type: [swap] 
236
> p
237
OpenBSD area: 32832-15523840; size: 15491008; free: 0
238
#                size           offset  fstype [fsize bsize  cpg]
239
  a:         14473856            32832  4.2BSD   2048 16384    1 # /
240
  b:          1017152         14506688    swap                   
241
  c:         15523840                0  unused                   
242
  i:            32768               64   MSDOS                   
243
> ?
244
Available commands:
245
 ? | h    - show help                 n [part] - set mount point
246
 A        - auto partition all space  p [unit] - print partitions
247
 a [part] - add partition             q        - quit & save changes
248
 b        - set OpenBSD boundaries    R [part] - resize auto allocated partition
249
 c [part] - change partition size     r        - display free space
250
 D        - reset label to default    s [path] - save label to file
251
 d [part] - delete partition          U        - undo all changes
252
 e        - edit drive parameters     u        - undo last change
253
 g [d|u]  - [d]isk or [u]ser geometry w        - write label to disk
254
 i        - modify disklabel UID      X        - toggle expert mode
255
 l [unit] - print disk label header   x        - exit & lose changes
256
 M        - disklabel(8) man page     z        - delete all partitions
257
 m [part] - modify partition
258
259
Suffixes can be used to indicate units other than sectors:
260
 'b' (bytes), 'k' (kilobytes), 'm' (megabytes), 'g' (gigabytes) 't' (terabytes)
261
 'c' (cylinders), '%' (% of total disk), '&' (% of free space).
262
Values in non-sector units are truncated to the nearest cylinder boundary.
263
> w
264
> q
265
No label changes.
266
/dev/rsd0a: 7067.3MB in 14473856 sectors of 512 bytes
267
35 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
268
Available disks are: sd1.
269
Which disk do you wish to initialize? (or 'done') [done] 
270
/dev/sd0a (0f62129f7e341b8c.a) on /mnt type ffs (rw, asynchronous, local)
271
272
Let's install the sets!
273
Location of sets? (disk http nfs or 'done') [http] 
274
HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none]
275
HTTP Server? (hostname, list#, 'done' or '?') [mirror.internode.on.net] 
276
Server directory? [pub/OpenBSD/snapshots/armv7] 
277
278
Select sets by entering a set name, a file name pattern or 'all'. De-select
279
sets by prepending a '-' to the set name, file name pattern or 'all'. Selected
280
sets are labelled '[X]'.
281
    [X] bsd.OMAP            [X] base57.tgz          [ ] xbase57.tgz
282
    [X] bsd.rd.OMAP         [X] comp57.tgz          [ ] xshare57.tgz
283
    [X] bsd.OMAP.umg        [X] man57.tgz           [ ] xfont57.tgz
284
    [X] bsd.rd.OMAP.umg     [X] game57.tgz          [ ] xserv57.tgz
285
Set name(s)? (or 'abort' or 'done') [done] 
286
Get/Verify SHA256.sig   100% |**************************|  2500       00:00    
287
Signature Verified
288
Get/Verify bsd.OMAP     100% |**************************|  3200 KB    00:08    
289
Get/Verify bsd.rd.OMAP  100% |**************************|  6577 KB    00:11    
290
Get/Verify bsd.OMAP.umg 100% |**************************|  3652 KB    00:06    
291
Get/Verify bsd.rd.OMAP.umg 100% |***********************|  6995 KB    00:11    
292
Get/Verify base57.tgz   100% |**************************| 49397 KB    01:24    
293
Get/Verify comp57.tgz   100% |**************************| 43817 KB    01:15    
294
Get/Verify man57.tgz    100% |**************************|  8764 KB    00:15    
295
Get/Verify game57.tgz   100% |**************************|  2616 KB    00:04    
296
Installing bsd.OMAP     100% |**************************|  3200 KB    00:06    
297
Installing bsd.rd.OMAP  100% |**************************|  6577 KB    00:13    
298
Installing bsd.OMAP.umg 100% |**************************|  3652 KB    00:07    
299
Installing bsd.rd.OMAP.umg 100% |***********************|  6995 KB    00:15    
300
Installing base57.tgz   100% |**************************| 49397 KB    04:43    
301
Extracting etc.tgz      100% |**************************|   110 KB    00:00    
302
Installing comp57.tgz   100% |**************************| 43817 KB    03:58    
303
Installing man57.tgz    100% |**************************|  8764 KB    00:58    
304
Installing game57.tgz   100% |**************************|  2616 KB    00:13    
305
Location of sets? (disk http nfs or 'done') [done] 
306
Time appears wrong.  Set to 'Sun Jan 25 15:29:03 JST 2015'? [yes] 
307
Saving configuration files...done.
308
Making all device nodes...done.
309
310
CONGRATULATIONS! Your OpenBSD install has been successfully completed!
311
To boot the new system, enter 'reboot' at the command prompt.
312
When you login to your new system the first time, please read your mail
313
using the 'mail' command.
314
315
# reboot
316
syncing disks... done
317
rebooting...
318
319
U-Boot SPL 2014.04-00015-gb4422bd (Apr 22 2014 - 13:24:29)
320
reading args
321
spl_load_image_fat_os: error reading image args, err - -1
322
reading u-boot.img
323
reading u-boot.img
324
325
326
U-Boot 2014.04-00015-gb4422bd (Apr 22 2014 - 13:24:29)
327
328
I2C:   ready
329
DRAM:  512 MiB
330
NAND:  0 MiB
331
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
332
*** Warning - readenv() failed, using default environment
333
334
Net:   <ethaddr> not set. Validating first E-fuse MAC
335
cpsw, usb_ether
336
Hit any key to stop autoboot:  0 
337
gpio: pin 53 (gpio 53) value is 1
338
mmc0 is current device
339
gpio: pin 54 (gpio 54) value is 1
340
SD/MMC found on device 0
341
reading uEnv.txt
342
158 bytes read in 4 ms (38.1 KiB/s)
343
gpio: pin 55 (gpio 55) value is 1
344
Loaded environment from uEnv.txt
345
Importing environment from mmc ...
346
Checking if uenvcmd is set ...
347
gpio: pin 56 (gpio 56) value is 1
348
Running uenvcmd ...
349
reading bsd.umg
350
3740120 bytes read in 206 ms (17.3 MiB/s)
351
## Booting kernel from Legacy Image at 82800000 ...
352
   Image Name:   boot
353
   Image Type:   ARM Linux Kernel Image (uncompressed)
354
   Data Size:    3740056 Bytes = 3.6 MiB
355
   Load Address: 80300000
356
   Entry Point:  80300000
357
   Verifying Checksum ... OK
358
   Loading Kernel Image ... OK
359
360
Starting kernel ...
361
362
363
OpenBSD/omap booting ...
364
arg0 0x0 arg1 0xe05 arg2 0x80000100
365
atag core flags 0 pagesize 0 rootdev 0
366
atag cmdline [sd0i:/bsd.umg]
367
atag mem start 0x80000000 size 0x20000000
368
bootfile: sd0i:/bsd.umg
369
bootargs: 
370
memory size derived from u-boot
371
bootconf.mem[0].address = 80000000 pages 131072/0x20000000
372
Allocating page tables
373
freestart = 0x80692000, free_pages = 129390 (0x0001f96e)
374
IRQ stack: p0x806c0000 v0xc06c0000
375
ABT stack: p0x806c1000 v0xc06c1000
376
UND stack: p0x806c2000 v0xc06c2000
377
SVC stack: p0x806c3000 v0xc06c3000
378
Creating L1 page table at 0x80694000
379
Mapping kernel
380
Constructing L2 page tables
381
undefined page pmap [ using 299260 bytes of bsd ELF symbol table ]
382
board type: beaglebone
383
Copyright (c) 1982, 1986, 1989, 1991, 1993
384
	The Regents of the University of California.  All rights reserved.
385
Copyright (c) 1995-2015 OpenBSD. All rights reserved.  http://www.OpenBSD.org
386
387
OpenBSD 5.7-beta (GENERIC-OMAP) #7: Wed Jan 21 05:43:17 AEDT 2015
388
    jsg@armv7.jsg.id.au:/usr/src/sys/arch/armv7/compile/GENERIC-OMAP
389
real mem  = 536870912 (512MB)
390
avail mem = 518791168 (494MB)
391
warning: no entropy supplied by boot loader
392
mainbus0 at root
393
cpu0 at mainbus0: ARM Cortex A8 R3 rev 2 (ARMv7 core)
394
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
395
cpu0: 32KB(64b/l,4way) I-cache, 32KB(64b/l,4way) wr-back D-cache
396
omap0 at mainbus0: BeagleBone
397
prcm0 at omap0 rev 0.2
398
sitaracm0 at omap0: control module, rev 1.0
399
intc0 at omap0 rev 5.0
400
edma0 at omap0 rev 0.0
401
dmtimer0 at omap0 rev 3.1
402
dmtimer1 at omap0 rev 3.1
403
omdog0 at omap0 rev 0.1
404
omgpio0 at omap0: rev 0.1
405
gpio0 at omgpio0: 32 pins
406
omgpio1 at omap0: rev 0.1
407
gpio1 at omgpio1: 32 pins
408
omgpio2 at omap0: rev 0.1
409
gpio2 at omgpio2: 32 pins
410
omgpio3 at omap0: rev 0.1
411
gpio3 at omgpio3: 32 pins
412
omap0: device tiiic unit 0 not configured
413
omap0: device tiiic unit 1 not configured
414
omap0: device tiiic unit 2 not configured
415
ommmc0 at omap0
416
sdmmc0 at ommmc0
417
ommmc1 at omap0
418
sdmmc1 at ommmc1
419
com0 at omap0: ti16750, 64 byte fifo
420
com0: console
421
cpsw0 at omap0: version 1.12 (0), address d0:5f:b8:f5:94:f9
422
ukphy0 at cpsw0 phy 0: Generic IEEE 802.3u media interface, rev. 1: OUI 0x0001f0, model 0x000f
423
scsibus0 at sdmmc0: 2 targets, initiator 0
424
sd0 at scsibus0 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
425
sd0: 7580MB, 512 bytes/sector, 15523840 sectors
426
scsibus1 at sdmmc1: 2 targets, initiator 0
427
sd1 at scsibus1 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
428
sd1: 3688MB, 512 bytes/sector, 7553024 sectors
429
vscsi0 at root
430
scsibus2 at vscsi0: 256 targets
431
softraid0 at root
432
scsibus3 at softraid0: 256 targets
433
boot device: sd0
434
root on sd0a (0f62129f7e341b8c.a) swap on sd0b dump on sd0b
435
WARNING: CHECK AND RESET THE DATE!
436
Automatic boot in progress: starting file system checks.
437
/dev/sd0a (0f62129f7e341b8c.a): file system is clean; not checking
438
setting tty flags
439
pf enabled
440
starting network
441
DHCPDISCOVER on cpsw0 - interval 3
442
DHCPOFFER from xx.xx.xx.xx (00:17:e0:a1:61:84)
443
DHCPREQUEST on cpsw0 to 255.255.255.255
444
DHCPACK from xx.xx.xx.xx (00:17:e0:a1:61:84)
445
bound to xx.xx.xx.xx -- renewal in 43199 seconds.
446
IPv6 autoconf: cpsw0
447
openssl: generating isakmpd/iked RSA key... done.
448
ssh-keygen: generating new host keys: RSA1 RSA DSA ECDSA ED25519 
449
starting early daemons: syslogd pflogd.
450
starting RPC daemons:.
451
savecore: no core dump
452
checking quotas: done.
453
clearing /tmp
454
kern.securelevel: 0 -> 1
455
creating runtime link editor directory cache.
456
preserving editor files.
457
starting network daemons: sshd smtpd sndiod.
458
Path to firmware: http://firmware.openbsd.org/firmware/5.7/
459
No devices found which need firmware files to be downloaded.
460
starting local daemons: cron.
461
Sun Jan 25 15:34:26 JST 2015
462
463
OpenBSD/armv7 (foo.tknd.jp) (console)
464
465
login: 
466 6 Tsutomu KIMURA
</pre>
467
468
h2. 3. buildin Debian GNU/Linux OSのboot時log
469
470
こちらも比較用として、一応載せておきます。
471
472
<pre>
473
U-Boot SPL 2014.04-00015-gb4422bd (Apr 22 2014 - 13:24:29)
474
reading args
475
spl_load_image_fat_os: error reading image args, err - -1
476
reading u-boot.img
477
reading u-boot.img
478
479
480
U-Boot 2014.04-00015-gb4422bd (Apr 22 2014 - 13:24:29)
481
482
I2C:   ready
483
DRAM:  512 MiB
484
NAND:  0 MiB
485
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
486
*** Warning - readenv() failed, using default environment
487
488
Net:   <ethaddr> not set. Validating first E-fuse MAC
489
Could not get PHY for cpsw: addr 0
490
cpsw, usb_ether
491
Hit any key to stop autoboot:  0 
492
gpio: pin 53 (gpio 53) value is 1
493
Card did not respond to voltage select!
494
mmc0(part 0) is current device
495
Card did not respond to voltage select!
496
gpio: pin 56 (gpio 56) value is 0
497
gpio: pin 55 (gpio 55) value is 0
498
gpio: pin 54 (gpio 54) value is 0
499
mmc1(part 0) is current device
500
gpio: pin 54 (gpio 54) value is 1
501
SD/MMC found on device 1
502
reading uEnv.txt
503
1430 bytes read in 5 ms (279.3 KiB/s)
504
gpio: pin 55 (gpio 55) value is 1
505
Loaded environment from uEnv.txt
506
Importing environment from mmc ...
507
Checking if uenvcmd is set ...
508
gpio: pin 56 (gpio 56) value is 1
509
Running uenvcmd ...
510
reading zImage
511
3717760 bytes read in 206 ms (17.2 MiB/s)
512
reading initrd.img
513
2870014 bytes read in 161 ms (17 MiB/s)
514
reading /dtbs/am335x-boneblack.dtb
515
25080 bytes read in 9 ms (2.7 MiB/s)
516
Kernel image @ 0x82000000 [ 0x000000 - 0x38ba80 ]
517
## Flattened Device Tree blob at 88000000
518
   Booting using the fdt blob at 0x88000000
519
   Using Device Tree in place at 88000000, end 880091f7
520
521
Starting kernel ...
522
523
Uncompressing Linux... done, booting the kernel.
524
[    0.381743] omap2_mbox_probe: platform not supported
525
[    0.548644] tps65217-bl tps65217-bl: no platform data provided
526
[    0.612665] bone-capemgr bone_capemgr.9: slot #0: No cape found
527
[    0.649771] bone-capemgr bone_capemgr.9: slot #1: No cape found
528
[    0.686880] bone-capemgr bone_capemgr.9: slot #2: No cape found
529
[    0.723989] bone-capemgr bone_capemgr.9: slot #3: No cape found
530
[    0.740142] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI)
531
[    0.749748] bone-capemgr bone_capemgr.9: slot #6: Failed verification
532
[    0.756501] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
533
[    0.773007] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
534
[    0.835589] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
535
[    0.847304] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
536
[    0.854594] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
537
Loading, please wait...
538
Scanning for Btrfs filesystems
539
systemd-fsck[203]: rootfs: clean, 86458/230144 files, 569092/919296 blocks
540
541
Debian GNU/Linux 7 beaglebone ttyO0
542
543
default username:password is [debian:temppwd]
544
545
Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
546
547
The IP Address for usb0 is: 192.168.7.2
548
beaglebone login: [   23.146367] libphy: PHY 4a101000.mdio:00 not found
549
[   23.151415] net eth0: phy 4a101000.mdio:00 not found on slave 0
550
[   23.157620] libphy: PHY 4a101000.mdio:01 not found
551
[   23.162630] net eth0: phy 4a101000.mdio:01 not found on slave 1
552
553
Debian GNU/Linux 7 beaglebone ttyO0
554
555
default username:password is [debian:temppwd]
556
557
Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
558
559
The IP Address for usb0 is: 192.168.7.2
560
beaglebone login: root
561
Last login: Wed Apr 23 20:20:20 UTC 2014 on ttyO0
562
Linux beaglebone 3.8.13-bone47 #1 SMP Fri Apr 11 01:36:09 UTC 2014 armv7l
563
564
The programs included with the Debian GNU/Linux system are free software;
565
the exact distribution terms for each program are described in the
566
individual files in /usr/share/doc/*/copyright.
567
568
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
569
permitted by applicable law.
570
root@beaglebone:~# ifconfig -a
571
eth0      Link encap:Ethernet  HWaddr d0:5f:b8:f5:94:f9  
572
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
573
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
574
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
575
          collisions:0 txqueuelen:1000 
576
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
577
          Interrupt:40 
578
579
lo        Link encap:Local Loopback  
580
          inet addr:127.0.0.1  Mask:255.0.0.0
581
          inet6 addr: ::1/128 Scope:Host
582
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
583
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
584
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
585
          collisions:0 txqueuelen:0 
586
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
587
588
usb0      Link encap:Ethernet  HWaddr 76:78:7c:0d:b0:d4  
589
          inet addr:192.168.7.2  Bcast:192.168.7.3  Mask:255.255.255.252
590
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
591
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
592
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
593
          collisions:0 txqueuelen:1000 
594
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
595
596
root@beaglebone:~# 
597 5
</pre>