Raspberry Pi 3でFreeBSD

Raspberry Pi 3をゲットしたのでFreeBSDを起動させてみた。

どうやらまだまともに動かないらしいが、イメージを発見
https://people.freebsd.org/~andrew/arm64/rpi3-20160306.img.xz
イメージをSDに展開して早速起動。

# cu -s 115200 -l /dev/cuaU0
Connected
Consoles: pl011 console
FreeBSD Raspberry Pi 3 loader
Booting kernel at 0x200000, size 9714192
DTB: 0xc35000 0xffffff8000a35000
entry: 0x201000 9400003d ffffff8000a38000
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2016 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.0-CURRENT #183 113a7cb(arm64-rpi3)-dirty: Fri Mar 4 16:28:43 GMT 2016
andrew@zapp:/usr/obj/arm64.aarch64/usr/home/andrew/freebsd/repo/head-git/sys/GENERIC arm64
FreeBSD clang version 3.7.1 (tags/RELEASE_371/final 255217) 20151225
WARNING: WITNESS option enabled, expect reduced performance.
FreeBSD/SMP: Multiprocessor System Detected: 1 CPUs
random: entropy device external interface
ACPI: Table initialisation failed: AE_NOT_FOUND
ACPI: Try disabling either ACPI or apic support.
ofwbus0:
simplebus0: on ofwbus0
bcm28360: intc0: mem 0x3f00b200-0x3f00b3ff on simplebus0
generic_timer0: irq 72,73,75,74 on ofwbus0
Timecounter "ARM MPCore Timecounter" frequency 19200000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 19200000 Hz quality 1000
bcm_dma0: mem 0x3f007000-0x3f007eff irq 24,25,26,27,28,29,30,31,32,33,34,35 on simplebus0
mbox0: mem 0x3f00b880-0x3f00b8bf irq 1 on simplebus0
uart0: mem 0x3f201000-0x3f201fff irq 65 on simplebus0
uart0: console (115200,n,8,1)
sdhci_bcm0: mem 0x3f300000-0x3f3000ff irq 70 on simplebus0
mmc0: <MMC/SD bus> on sdhci_bcm0
pmu0: irq 81 on simplebus0
cpulist0: on ofwbus0
cpu0: on cpulist0
cryptosoft0:
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
mmcsd0: 16GB at mmc0 41.6MHz/4bit/65535-block
Release APs
APs not started
WARNING: WITNESS option enabled, expect reduced performance.
Trying to mount root from ufs:/dev/mmcsd0s2a []...
warning: no time-of-day clock registered, system time will not be set accurately
Growing root partition to fill device
GEOM_PART: mmcsd0s2 was automatically resized.
Use `gpart commit mmcsd0s2` to save changes or `gpart undo mmcsd0s2` to revert them.
mmcsd0s2 resized
mmcsd0s2a resized
super-block backups (for fsck_ffs -b #) at:
random: unblocking device.
1889072, 2000192, 2111312, 2222432, 2333552, 2444672, 2555792, 2666912,
2778032, 2889152, 3000272, 3111392, 3222512, 3333632, 3444752, 3555872,
3666992, 3778112, 3889232, 4000352, 4111472, 4222592, 4333712, 4444832,
4555952, 4667072, 4778192, 4889312, 5000432, 5111552, 5222672, 5333792,
5444912, 5556032, 5667152, 5778272, 5889392, 6000512, 6111632, 6222752,
6333872, 6444992, 6556112, 6667232, 6778352, 6889472, 7000592, 7111712,
7222832, 7333952, 7445072, 7556192, 7667312, 7778432, 7889552, 8000672,
8111792, 8222912, 8334032, 8445152, 8556272, 8667392, 8778512, 8889632,
9000752, 9111872, 9222992, 9334112, 9445232, 9556352, 9667472, 9778592,
9889712, 10000832, 10111952, 10223072, 10334192, 10445312, 10556432, 10667552,
10778672, 10889792, 11000912, 11112032, 11223152, 11334272, 11445392,
11556512, 11667632, 11778752, 11889872, 12000992, 12112112, 12223232,
12334352, 12445472, 12556592, 12667712, 12778832, 12889952, 13001072,
13112192, 13223312, 13334432, 13445552, 13556672, 13667792, 13778912,
13890032, 14001152, 14112272, 14223392, 14334512, 14445632, 14556752,
14667872, 14778992, 14890112, 15001232, 15112352, 15223472, 15334592,
15445712, 15556832, 15667952, 15779072, 15890192, 16001312, 16112432,
16223552, 16334672, 16445792, 16556912, 16668032, 16779152, 16890272,
17001392, 17112512, 17223632, 17334752, 17445872, 17556992, 17668112,
17779232, 17890352, 18001472, 18112592, 18223712, 18334832, 18445952,
18557072, 18668192, 18779312, 18890432, 19001552, 19112672, 19223792,
19334912, 19446032, 19557152, 19668272, 19779392, 19890512, 20001632,
20112752, 20223872, 20334992, 20446112, 20557232, 20668352, 20779472,
20890592, 21001712, 21112832, 21223952, 21335072, 21446192, 21557312,
21668432, 21779552, 21890672, 22001792, 22112912, 22224032, 22335152,
22446272, 22557392, 22668512, 22779632, 22890752, 23001872, 23112992,
23224112, 23335232, 23446352, 23557472, 23668592, 23779712, 23890832,
24001952, 24113072, 24224192, 24335312, 24446432, 24557552, 24668672,
24779792, 24890912, 25002032, 25113152, 25224272, 25335392, 25446512,
25557632, 25668752, 25779872, 25890992, 26002112, 26113232, 26224352,
26335472, 26446592, 26557712, 26668832, 26779952, 26891072, 27002192,
27113312, 27224432, 27335552, 27446672, 27557792, 27668912, 27780032,
27891152, 28002272, 28113392, 28224512, 28335632, 28446752, 28557872,
28668992, 28780112, 28891232, 29002352, 29113472, 29224592, 29335712,
29446832, 29557952, 29669072, 29780192, 29891312, 30002432, 30113552,
30224672, 30335792, 30446912, 30558032, 30669152, 30780272, 30891392, 31002512
/etc/rc: WARNING: hostid: unable to figure out a UUID from DMI data, generating a new one
Setting hostuuid: 9fb3608b-e3b8-11e5-b128-1bfd19e57fd4.
Setting hostid: 0x893d297a.
No suitable dump device was found.
Starting file system checks:
Mounting local file systems:.
Setting hostname: rpi3.
Setting up harvesting:[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
Feeding entropy:.
Starting Network: lo0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> ELF ldconfig path: /lib /usr/lib /usr/lib/compat
Starting devd.
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Generating host.conf.
Creating and/or trimming log files.
Starting syslogd.
Clearing /tmp (X related).
Updating motd:.
Mounting late file systems:.
Starting sendmail_submit.
Starting sendmail_msp_queue.
Starting cron.
Starting background file system checks in 60 seconds.
mount: /dev/mmcsd0s2a: Device busy

Sun Mar 6 16:30:00 UTC 2016

FreeBSD/arm64 (rpi3) (ttyu0)

login:

とりあえず起動する。

NIC、wifi、USB、HDMI、Bluetooth諸々動かない状態。
cpuも1つしか認識されていない。

現状起動してスタンドアローンで弄るくらい。
ただ初代RPI-Bに比べるとつっかかりもなく凄く快適。

FreeBSD arm64 デスクトップも期待できそう。

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

Time limit is exhausted. Please reload CAPTCHA.