Project

General

Profile

OpenBSD on beaglebone black » History » Version 7

Tsutomu KIMURA, 01/26/2015 07:16 AM

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