NetBSD/evbarm on Raspberry Pi 3 B+

公開日時: 2021年05月10日 00:53.00

dmesg

[     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[     1.000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[     1.000000]     2018, 2019, 2020 The NetBSD Foundation, Inc.  All rights reserved.
[     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[     1.000000]     The Regents of the University of California.  All rights reserved.

[     1.000000] NetBSD 9.1_STABLE (GENERIC64) #0: Sat May  8 10:29:10 UTC 2021
[     1.000000] 	mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC64
[     1.000000] total memory = 933 MB
[     1.000000] avail memory = 900 MB
[     1.000000] timecounter: Timecounters tick every 10.000 msec
[     1.000000] running cgd selftest aes-xts-256 aes-xts-512 done
[     1.000000] armfdt0 (root)
[     1.000000] simplebus0 at armfdt0: Raspberry Pi 3 Model B Plus Rev 1.3
[     1.000000] simplebus1 at simplebus0
[     1.000000] simplebus2 at simplebus0
[     1.000000] cpus0 at simplebus0
[     1.000000] simplebus3 at simplebus0
[     1.000000] cpu0 at cpus0: Cortex-A53 r0p4 (Cortex V8-A core)
[     1.000000] cpu0: package 0, core 0, smt 0
[     1.000000] cpu0: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[     1.000000] cpu0: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[     1.000000] cpu0: Dcache line 64, Icache line 64
[     1.000000] cpu0: L1 32KB/64B 2-way read-allocate VIPT Instruction cache
[     1.000000] cpu0: L1 32KB/64B 4-way write-back read-allocate write-allocate PIPT Data cache
[     1.000000] cpu0: L2 512KB/64B 16-way write-back read-allocate write-allocate PIPT Unified cache
[     1.000000] cpu0: revID=0x80, PMCv3, 4k table, 64k table, 16bit ASID
[     1.000000] cpu0: auxID=0x10000, FP, CRC32, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[     1.000000] cpu1 at cpus0: Cortex-A53 r0p4 (Cortex V8-A core)
[     1.000000] cpu1: package 0, core 1, smt 0
[     1.000000] cpu2 at cpus0: Cortex-A53 r0p4 (Cortex V8-A core)
[     1.000000] cpu2: package 0, core 2, smt 0
[     1.000000] cpu3 at cpus0: Cortex-A53 r0p4 (Cortex V8-A core)
[     1.000000] cpu3: package 0, core 3, smt 0
[     1.000000] simplebus4 at simplebus1
[     1.000000] bcmicu0 at simplebus1
[     1.000000] bcmicu1 at simplebus1: Multiprocessor
[     1.000000] bcmcprman0 at simplebus1: BCM283x Clock Controller
[     1.000000] fclock0 at simplebus2: 19200000 Hz fixed clock (osc)
[     1.000000] bcmaux0 at simplebus1
[     1.000000] fclock1 at simplebus2: 480000000 Hz fixed clock (otg)
[     1.000000] gtmr0 at simplebus0: Generic Timer
[     1.000000] gtmr0: interrupting on local_intc irq 3
[     1.000000] armgtmr0 at gtmr0: Generic Timer (19200 kHz, virtual)
[     1.000000] timecounter: Timecounter "armgtmr0" frequency 19200000 Hz quality 500
[     1.000003] plcom0 at simplebus1: ARM PL011 UART
[     1.000003] plcom0: txfifo disabled
[     1.000003] plcom0: interrupting on icu irq 185
[     1.000003] com0 at simplebus1: BCM AUX UART, working fifo
[     1.000003] com0: console
[     1.000003] com0: interrupting on icu irq 157
[     1.000003] mmcpwrseq0 at simplebus0autoconfiguration error: : couldn't get reset GPIOs
[     1.000003] /soc/thermal@7e212000 at simplebus1 not configured
[     1.000003] /soc/dsi@7e209000 at simplebus1 not configured
[     1.000003] bcmgpio0 at simplebus1: GPIO controller
[     1.000003] bcmgpio0: pins 0..31 interrupting on icu irq 177
[     1.000003] bcmgpio0: pins 32..54 interrupting on icu irq 178
[     1.000003] gpio0 at bcmgpio0: 54 pins
[     1.000003] /soc/firmware/gpio at simplebus4 not configured
[     1.000003] bcmdmac0 at simplebus1: DMA0 DMA2 DMA4 DMA5 DMA8 DMA9 DMA10
[     1.000003] /soc/power at simplebus1 not configured
[     1.000003] bsciic0 at simplebus1: Broadcom Serial Controller
[     1.000003] iic0 at bsciic0: I2C bus
[     1.000003] /phy at simplebus0 not configured
[     1.000003] bcmpmwdog0 at simplebus1: Power management, Reset and Watchdog controller
[     1.000003] bcmmbox0 at simplebus1: VC mailbox
[     1.000003] bcmmbox0: interrupting on icu irq 193
[     1.000003] vcmbox0 at bcmmbox0
[     1.000003] bcmsdhost0 at simplebus1: SD HOST controller
[     1.000003] bcmsdhost0: interrupting on icu irq 184
[     1.000003] bsciic1 at simplebus1: Broadcom Serial Controller
[     1.000003] iic1 at bsciic1: I2C bus
[     1.000003] /soc/pwm@7e20c000 at simplebus1 not configured
[     1.000003] sdhc0 at simplebus1: SDHC controller
[     1.000003] sdhc0: interrupting on icu irq 190
[     1.000003] bsciic2 at simplebus1: Broadcom Serial Controller
[     1.000003] iic2 at bsciic2: I2C bus
[     1.000003] /soc/vec@7e806000 at simplebus1 not configured
[     1.000003] /soc/hdmi@7e902000 at simplebus1 not configured
[     1.000003] dwctwo0 at simplebus1: USB controller
[     1.000003] dwctwo0: interrupting on icu irq 137
[     1.000003] /soc/gpu at simplebus1 not configured
[     1.000003] genfb0 at simplebus1: switching to framebuffer console
[     1.000003] genfb0: framebuffer at 0xfe330000, size 1920x1200, depth 32, stride 7680
[     1.000003] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
[     1.000003] wsmux1: connecting to wsdisplay0
[     1.000003] wsdisplay0: screen 1-3 added (default, vt100 emulation)
[     1.000003] /soc/mailbox@7e00b840 at simplebus1 not configured
[     1.000003] armpmu0 at simplebus0: Performance Monitor Unit
[     1.000003] gpioleds0 at simplebus0: ACT
[     1.000003] /soc/timer@7e003000 at simplebus1 not configured
[     1.000003] /soc/txp@7e004000 at simplebus1 not configured
[     1.000003] bcmrng0 at simplebus1: RNG
[     1.000003] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[     1.000003] cpu3: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[     1.488187] cpu3: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[     1.508189] cpu3: Dcache line 64, Icache line 64
[     1.528191] cpu3: L1 32KB/64B 2-way read-allocate VIPT Instruction cache
[     1.548193] cpu3: L1 32KB/64B 4-way write-back read-allocate write-allocate PIPT Data cache
[     1.578196] cpu3: L2 512KB/64B 16-way write-back read-allocate write-allocate PIPT Unified cache
[     1.608199] cpu3: revID=0x80, PMCv3, 4k table, 64k table, 16bit ASID
[     1.628202] cpu3: auxID=0x10000, FP, CRC32, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[     1.668205] cpu2: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[     1.698209] cpu2: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[     1.718211] cpu2: Dcache line 64, Icache line 64
[     1.738212] cpu2: L1 32KB/64B 2-way read-allocate VIPT Instruction cache
[     1.758214] cpu2: L1 32KB/64B 4-way write-back read-allocate write-allocate PIPT Data cache
[     1.788219] cpu2: L2 512KB/64B 16-way write-back read-allocate write-allocate PIPT Unified cache
[     1.818219] cpu2: revID=0x80, PMCv3, 4k table, 64k table, 16bit ASID
[     1.838221] cpu2: auxID=0x10000, FP, CRC32, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[     1.888227] cpu1: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[     1.908228] cpu1: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[     1.938233] cpu1: Dcache line 64, Icache line 64
[     1.958234] cpu1: L1 32KB/64B 2-way read-allocate VIPT Instruction cache
[     1.978236] cpu1: L1 32KB/64B 4-way write-back read-allocate write-allocate PIPT Data cache
[     2.008240] cpu1: L2 512KB/64B 16-way write-back read-allocate write-allocate PIPT Unified cache
[     2.038241] cpu1: revID=0x80, PMCv3, 4k table, 64k table, 16bit ASID
[     2.058243] cpu1: auxID=0x10000, FP, CRC32, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[     2.158257] sdmmc0 at bcmsdhost0
[     2.158257] sdhc0: SDHC 3.0, rev 153, platform DMA, 200000 kHz, HS 3.3V, re-tuning mode 1, 1024 byte blocks
[     2.168421] sdmmc1 at sdhc0 slot 0
[     2.178302] dwctwo0: Core Release: 2.80a (snpsid=4f54280a)
[     2.178302] usb0 at dwctwo0: USB revision 2.0
[     2.198306] uhub0 at usb0: NetBSD (0000) DWC2 root hub (0000), class 9/0, rev 2.00/1.00, addr 1
[     2.208311] uhub0: 1 port with 1 removable, self powered
[     2.208311] armpmu0: interrupting on local_intc irq 9
[     2.238310] IPsec: Initialized Security Association Processing.
[     2.278314] sdmmc0: direct I/O error 5, r=6 p=0xffffffc032e55e4c write
[     2.278314] sdmmc0: sdmmc_mem_enable failed with error 5
[     2.298318] sdmmc0: autoconfiguration error: couldn't enable card: 5
[     2.378322] sdmmc1: 4-bit width, 50.000 MHz
[     2.378322] sdmmc1: MAX_BLK_SIZE1 = 64
[     2.398326] sdmmc1: MAX_BLK_SIZE2 = 512
[     2.398326] sdmmc1: MAX_BLK_SIZE3 = 512
[     2.398326] sdmmc1: SDIO function
[     2.410809] (manufacturer 0x2d0, product 0xa9a6) at sdmmc1 function 1 not configured
[     2.418651] (manufacturer 0x2d0, product 0xa9a6) at sdmmc1 function 2 not configured
[     2.418651] (manufacturer 0x2d0, product 0xa9a6, standard function interface code 0x2) at sdmmc1 function 3 not configured
[     4.059367] uhub1 at uhub0 port 1: vendor 0424 (0x424) product 2514 (0x2514), class 9/0, rev 2.00/b.b3, addr 2
[     4.069369] uhub1: multiple transaction translators
[     4.079370] uhub1: 4 ports with 3 removable, self powered
[     5.389471] uhub2 at uhub1 port 1: vendor 0424 (0x424) product 2514 (0x2514), class 9/0, rev 2.00/b.b3, addr 3
[     5.399475] uhub2: multiple transaction translators
[     5.409473] uhub2: 3 ports with 2 removable, self powered
[     6.769620] uhidev0 at uhub1 port 3 configuration 1 interface 0
[     6.769620] uhidev0: BTC (0x46e) USB Keyboard (0x6000), rev 1.10/1.80, addr 4, iclass 3/1
[     6.819628] ukbd0 at uhidev0
[     7.229682] wskbd0 at ukbd0: console keyboard, using wsdisplay0
[     7.229682] uhidev1 at uhub1 port 3 configuration 1 interface 1
[     7.239815] uhidev1: BTC (0x46e) USB Keyboard (0x6000), rev 1.10/1.80, addr 4, iclass 3/0
[     7.279818] uhidev1: 2 report ids
[     7.279818] uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
[     7.279818] uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
[     7.291843] uhub0: autoconfiguration error: illegal enable change, port 1
[     8.270389] mue0 at uhub2 port 1
[     8.270389] mue0: vendor 0424 (0x424) product 7800 (0x7800), rev 2.10/3.00, addr 5
[     8.560414] mue0: LAN7800 id 0x7800 rev 0x2
[     8.570416] ukphy0 at mue0 phy 1: OUI 0x00800f, model 0x0013, rev. 2
[     8.570416] ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[     8.581152] mue0: Ethernet address b8:27:eb:98:ba:5e
[     9.571243] umass0 at uhub1 port 2 configuration 1 interface 0
[     9.571243] umass0: Generic USB3.0 Device (0x152d) USB3.0 DEVICE (0x539), rev 2.10/1.00, addr 6
[     9.587412] umass0: using SCSI over Bulk-Only
[     9.587412] scsibus0 at umass0: 2 targets, 1 lun per target
[     9.593051] sd0 at scsibus0 target 0 lun 0:  disk fixed
[     9.603052] sd0: 186 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
[     9.933077] WARNING: 3 errors while detecting hardware; check system log.
[     9.943079] boot device: sd0
[     9.943079] root on sd0a dumps on sd0b
[     9.993083] root file system type: ffs
[    10.003084] kern.module.path=/stand/evbarm/9.1/modules
[    10.013085] WARNING: no TOD clock present
[    10.013085] WARNING: using filesystem time
[    10.024863] WARNING: CHECK AND RESET THE DATE!
[    18.294209] wsdisplay0: screen 4 added (default, vt100 emulation)

USB接続のハードディスクからOSを起動する

Raspberry Pi 3 B+では初期状態でUSBからの起動が有効になっているため、端末側で特に設定などの操作をする必要はない。

Raspberry Pi Imager

OSをSDカードに書き込むツール「Raspberry Pi Imager」も実はSDカードだけではなくハードディスクやUSBフラッシュメモリにもOSを書き込むことができるため、外付けハードディスクに書き込んだ後、そのディスクをUSBで接続すればOSを起動することができる。