#author("2022-01-14T11:14:19+09:00","default:honma","honma")
#author("2022-01-30T00:09:55+09:00","default:honma","honma")
* ラズパイにBuildrootをインストールする [#z50b399f]

組み込み用途のLinux環境を構築する際に利用される [[Buildroot:https://buildroot.org/]] は、ターゲットボードとして Raspberry Pi をサポートしている。

参考:[[The Buildroot user manual:https://buildroot.org/downloads/manual/manual.html]]

** ダウンロード [#deabcda1]

開発に必要なパッケージ群の追加

 $ sudo apt install build-essential unzip rsync bc libncurses-dev

Buildroot のダウンロード

 $ wget https://buildroot.org/downloads/buildroot-2021.02.8.tar.bz2

展開

 $ tar jxvf buildroot-2021.02.8.tar.bz2
 $ cd buildroot-2021.02.8

** ビルド [#cd31a670]

まずは、できることの確認

 $ make help
 Cleaning:
   clean                  - delete all files created by build
   distclean              - delete all non-source files (including .config)
 
 Build:
   all                    - make world
   toolchain              - build toolchain
   sdk                    - build relocatable SDK
 
 Configuration:
   menuconfig             - interactive curses-based configurator
   nconfig                - interactive ncurses-based configurator
   xconfig                - interactive Qt-based configurator
   gconfig                - interactive GTK-based configurator
   oldconfig              - resolve any unresolved symbols in .config
   syncconfig             - Same as oldconfig, but quietly, additionally update deps
   olddefconfig           - Same as syncconfig but sets new symbols to their default value
   randconfig             - New config with random answer to all options
   defconfig              - New config with default answer to all options;
                              BR2_DEFCONFIG, if set on the command line, is used as input
   savedefconfig          - Save current config to BR2_DEFCONFIG (minimal config)
   update-defconfig       - Same as savedefconfig
   allyesconfig           - New config where all options are accepted with yes
   allnoconfig            - New config where all options are answered with no
   alldefconfig           - New config where all options are set to default
   randpackageconfig      - New config with random answer to package options
   allyespackageconfig    - New config where pkg options are accepted with yes
   allnopackageconfig     - New config where package options are answered with no
 
 Package-specific:
   <pkg>                  - Build and install <pkg> and all its dependencies
   <pkg>-source           - Only download the source files for <pkg>
   <pkg>-extract          - Extract <pkg> sources
   <pkg>-patch            - Apply patches to <pkg>
   <pkg>-depends          - Build <pkg>'s dependencies
   <pkg>-configure        - Build <pkg> up to the configure step
   <pkg>-build            - Build <pkg> up to the build step
   <pkg>-show-info        - generate info about <pkg>, as a JSON blurb
   <pkg>-show-depends     - List packages on which <pkg> depends
   <pkg>-show-rdepends    - List packages which have <pkg> as a dependency
   <pkg>-show-recursive-depends
                          - Recursively list packages on which <pkg> depends
   <pkg>-show-recursive-rdepends
                          - Recursively list packages which have <pkg> as a dependency
   <pkg>-graph-depends    - Generate a graph of <pkg>'s dependencies
   <pkg>-graph-rdepends   - Generate a graph of <pkg>'s reverse dependencies
   <pkg>-dirclean         - Remove <pkg> build directory
   <pkg>-reconfigure      - Restart the build from the configure step
   <pkg>-rebuild          - Restart the build from the build step
   <pkg>-reinstall        - Restart the build from the install step
 
 Documentation:
   manual                 - build manual in all formats
   manual-html            - build manual in HTML
   manual-split-html      - build manual in split HTML
   manual-pdf             - build manual in PDF
   manual-text            - build manual in text
   manual-epub            - build manual in ePub
   graph-build            - generate graphs of the build times
   graph-depends          - generate graph of the dependency tree
   graph-size             - generate stats of the filesystem size
   list-defconfigs        - list all defconfigs (pre-configured minimal systems)
 
 Miscellaneous:
   source                 - download all sources needed for offline-build
   external-deps          - list external packages used
   legal-info             - generate info about license compliance
   show-info              - generate info about packages, as a JSON blurb
   pkg-stats              - generate info about packages as JSON and HTML
   printvars              - dump internal variables selected with VARS=...
 
   make V=0|1             - 0 => quiet build (default), 1 => verbose build
   make O=dir             - Locate all output files in "dir", including .config
 
 For further details, see README, generate the Buildroot manual, or consult
 it on-line at http://buildroot.org/docs.html

ビルド対象の確認

 $ make list-defconfigs | grep raspberry
   raspberrypi0_defconfig              - Build for raspberrypi0
   raspberrypi0w_defconfig             - Build for raspberrypi0w
   raspberrypi2_defconfig              - Build for raspberrypi2
   raspberrypi3_64_defconfig           - Build for raspberrypi3_64
   raspberrypi3_defconfig              - Build for raspberrypi3
   raspberrypi3_qt5we_defconfig        - Build for raspberrypi3_qt5we
   raspberrypi4_64_defconfig           - Build for raspberrypi4_64
   raspberrypi4_defconfig              - Build for raspberrypi4
   raspberrypi_defconfig               - Build for raspberrypi

今回は、 Raspberry Pi 3B+ なので

 $ make raspberrypi3_defconfig

*** カスタマイズ [#y0ebdaed]

今回は、SSHログインを使用したいので、sshサーバの省メモリ版の [[dropbear:https://matt.ucc.asn.au/dropbear/dropbear.html]] を導入する。

 $ make menuconfig

     Target packages  --->
     Networking applications  --->
     [*] dropbear

説明文

 BR2_PACKAGE_DROPBEAR:
 
 a small ssh 2 server designed for small memory environments.
 
 Note that dropbear requires a per-device unique host key. The
 key will be generated when dropbear starts, but it is not
 persistent over reboot (if you have a read-only rootfs) or
 upgrade (if you have a read-write rootfs). To make the key
 persistent, replace /etc/dropbear with a symlink to a
 directory on a persistent, writeable filesystem.
 Alternatively, mount a persistent unionfs over your root
 filesystem.
 
 https://matt.ucc.asn.au/dropbear/dropbear.html
 
ログインが root になるので、パスワードの設定

     System configuration  --->
     (rPi3pAss) Root password
 [*] Enable root login with password
 (rPi3pAss) Root password

あまり、捻りはないがパスワードは「rPi3pAss」としてビルド

 $ make all

下記のようなメッセージが出力されればビルド完了

 INFO: hdimage(sdcard.img): adding partition 'boot' (in MBR) from 'boot.vfat' ...
 INFO: hdimage(sdcard.img): adding partition 'rootfs' (in MBR) from 'rootfs.ext4' ...
 INFO: hdimage(sdcard.img): writing MBR

速いマシンなら数十分の作業。

ちなみに~
~
カーネルの構成を修正するなら

 $ make linux-menuconfig

busyboxの構成を修正するなら

 $ make busybox-menuconfig

** SDへの書き込み [#m2249ff9]

生成された SDイメージは output/images/sdcard.img~
今回は 153Mバイトほど

 $ ls -lh output/images/sdcard.img
 -rw-r--r-- 1 developer developer 153M  1月 14 07:43 output/images/sdcard.img

SDへの書き込み

 $ sudo dd bs=4M if=output/images/sdcard.img of=/dev/sdb status=progress conv=fsync
 $ sync

** 起動 [#cde7d399]

 # dmesg
 [    0.000000] Booting Linux on physical CPU 0x0
 [    0.000000] Linux version 5.10.1-v7 (developer@debian) (arm-buildroot-linux-uclibcgnueabihf-gcc.br_real (Buildroot 2021.02.8) 9.4.0, GNU ld (GNU Binutils) 2.35.2) #1 SMP Thu Jan 13 20:54:17 JST 2022
 [    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
 [    0.000000] CPU: div instructions available: patching division code
 [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
 [    0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
 [    0.000000] Memory policy: Data cache writealloc
 [    0.000000] Reserved memory: created CMA memory pool at 0x35c00000, size 64 MiB
 [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
 [    0.000000] Zone ranges:
 [    0.000000]   DMA      [mem 0x0000000000000000-0x0000000039bfffff]
 [    0.000000]   Normal   empty
 [    0.000000] Movable zone start for each node
 [    0.000000] Early memory node ranges
 [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000039bfffff]
 [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000039bfffff]
 [    0.000000] On node 0 totalpages: 236544
 [    0.000000]   DMA zone: 2079 pages used for memmap
 [    0.000000]   DMA zone: 0 pages reserved
 [    0.000000]   DMA zone: 236544 pages, LIFO batch:63
 [    0.000000] percpu: Embedded 20 pages/cpu s50572 r8192 d23156 u81920
 [    0.000000] pcpu-alloc: s50572 r8192 d23156 u81920 alloc=20*4096
 [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
 [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 234465
 [    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hd mi=1 bcm2708_fb.fbwidth=720 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA0,115200
 [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
 [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
 [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
 [    0.000000] Memory: 854448K/946176K available (10240K kernel code, 1310K rwdata, 2964K rodata, 1024K init, 860K bss, 261 92K reserved, 65536K cma-reserved)
 [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
 [    0.000000] ftrace: allocating 31783 entries in 63 pages
 [    0.000000] ftrace: allocated 63 pages with 6 groups
 [    0.000000] rcu: Hierarchical RCU implementation.
 [    0.000000]  Rude variant of Tasks RCU enabled.
 [    0.000000]  Tracing variant of Tasks RCU enabled.
 [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
 [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
 [    0.000000] random: get_random_bytes called from start_kernel+0x3b0/0x598 with crng_init=0
 [    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
 [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
 [    0.000008] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
 [    0.000024] Switching to timer-based delay loop, resolution 52ns
 [    0.000309] Console: colour dummy device 80x30
 [    0.001102] printk: console [tty1] enabled
 [    0.001173] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
 [    0.001232] pid_max: default: 32768 minimum: 301
 [    0.001454] LSM: Security Framework initializing
 [    0.001711] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
 [    0.001762] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
 [    0.003320] Disabling memory control group subsystem
 [    0.003459] CPU: Testing write buffer coherency: ok
 [    0.003960] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
 [    0.004957] Setting up static identity map for 0x100000 - 0x10003c
 [    0.005183] rcu: Hierarchical SRCU implementation.
 [    0.006110] smp: Bringing up secondary CPUs ...
 [    0.007281] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
 [    0.008564] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
 [    0.009771] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
 [    0.010012] smp: Brought up 1 node, 4 CPUs
 [    0.010045] SMP: Total of 4 processors activated (153.60 BogoMIPS).
 [    0.010077] CPU: All CPU(s) started in HYP mode.
 [    0.010105] CPU: Virtualization extensions available.
 [    0.011073] devtmpfs: initialized
 [    0.028439] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
 [    0.029061] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
 [    0.029123] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
 [    0.032377] pinctrl core: initialized pinctrl subsystem
 [    0.033589] NET: Registered protocol family 16
 [    0.037616] DMA: preallocated 1024 KiB pool for atomic coherent allocations
 [    0.043411] audit: initializing netlink subsys (disabled)
 [    0.043752] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
 [    0.044335] thermal_sys: Registered thermal governor 'step_wise'
 [    0.045227] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
 [    0.045290] hw-breakpoint: maximum watchpoint size is 8 bytes.
 [    0.045578] Serial: AMBA PL011 UART driver
 [    0.064389] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
 [    0.080162] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-12-15T18:34:30, variant start
 [    0.090174] raspberrypi-firmware soc:firmware: Firmware hash is 4b4aff21f72c5b9ba39d83c7b0f8fa910a6ef99b
 [    0.139488] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
 [    0.142058] SCSI subsystem initialized
 [    0.142330] usbcore: registered new interface driver usbfs
 [    0.142430] usbcore: registered new interface driver hub
 [    0.142577] usbcore: registered new device driver usb
 [    0.144451] clocksource: Switched to clocksource arch_sys_counter
 [    1.753351] VFS: Disk quotas dquot_6.6.0
 [    1.753494] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
 [    1.753728] FS-Cache: Loaded
 [    1.754014] CacheFiles: Loaded
 [    1.765256] NET: Registered protocol family 2
 [    1.766200] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
 [    1.766288] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
 [    1.766439] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
 [    1.766653] TCP: Hash tables configured (established 8192 bind 8192)
 [    1.766839] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
 [    1.766918] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
 [    1.767381] NET: Registered protocol family 1
 [    1.768253] RPC: Registered named UNIX socket transport module.
 [    1.768288] RPC: Registered udp transport module.
 [    1.768317] RPC: Registered tcp transport module.
 [    1.768347] RPC: Registered tcp NFSv4.1 backchannel transport module.
 [    1.769922] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
 [    1.773719] Initialise system trusted keyrings
 [    1.774000] workingset: timestamp_bits=14 max_order=18 bucket_order=4
 [    1.783668] zbud: loaded
 [    1.785813] FS-Cache: Netfs 'nfs' registered for caching
 [    1.786729] NFS: Registering the id_resolver key type
 [    1.786798] Key type id_resolver registered
 [    1.786828] Key type id_legacy registered
 [    1.787003] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
 [    1.788182] Key type asymmetric registered
 [    1.788216] Asymmetric key parser 'x509' registered
 [    1.788291] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
 [    1.788332] io scheduler mq-deadline registered
 [    1.788363] io scheduler kyber registered
 [    1.791785] bcm2708_fb soc:fb: FB found 1 display(s)
 [    1.805404] Console: switching to colour frame buffer device 90x30
 [    1.813987] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 720x480
 [    1.820476] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
 [    1.826272] bcm2835-rng 3f104000.rng: hwrng registered
 [    1.829629] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
 [    1.836604] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
 [    1.853196] brd: module loaded
 [    1.868546] loop: module loaded
 [    1.873204] Loading iSCSI transport class v2.0-870.
 [    1.878072] libphy: Fixed MDIO Bus: probed
 [    1.881448] usbcore: registered new interface driver lan78xx
 [    1.884747] usbcore: registered new interface driver smsc95xx
 [    1.887780] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
 [    2.619055] Core Release: 2.80a
 [    2.622060] Setting default values for core params
 [    2.625178] Finished setting default values for core params
 [    2.828629] Using Buffer DMA mode
 [    2.831622] Periodic Transfer Interrupt Enhancement - disabled
 [    2.834714] Multiprocessor Interrupt Enhancement - disabled
 [    2.837764] OTG VER PARAM: 0, OTG VER FLAG: 0
 [    2.840740] Dedicated Tx FIFOs mode
 [    2.844264]
 [    2.844285] WARN::dwc_otg_hcd_init:1072: FIQ DMA bounce buffers: virt = b5d14000 dma = 0xf5d14000 len=9024
 [    2.853262] FIQ FSM acceleration enabled for :
 [    2.853262] Non-periodic Split Transactions
 [    2.853262] Periodic Split Transactions
 [    2.853262] High-Speed Isochronous Endpoints
 [    2.853262] Interrupt/Control Split Transaction hack enabled
 [    2.867510] dwc_otg: Microframe scheduler enabled
 [    2.867581]
 [    2.867591] WARN::hcd_init_fiq:457: FIQ on core 1
 [    2.872715]
 [    2.872725] WARN::hcd_init_fiq:458: FIQ ASM at 807cb66c length 36
 [    2.877899]
 [    2.877908] WARN::hcd_init_fiq:496: MPHI regs_base at ba010000
 [    2.883178] dwc_otg 3f980000.usb: DWC OTG Controller
 [    2.885977] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
 [    2.888816] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000
 [    2.891597] Init: Port Power? op_state=1
 [    2.894315] Init: Power Port (0)
 [    2.897347] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
 [    2.902849] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
 [    2.905786] usb usb1: Product: DWC OTG Controller
 [    2.908665] usb usb1: Manufacturer: Linux 5.10.1-v7 dwc_otg_hcd
 [    2.911586] usb usb1: SerialNumber: 3f980000.usb
 [    2.915287] hub 1-0:1.0: USB hub found
 [    2.918188] hub 1-0:1.0: 1 port detected
 [    2.921933] dwc_otg: FIQ enabled
 [    2.921946] dwc_otg: NAK holdoff enabled
 [    2.921958] dwc_otg: FIQ split-transaction FSM enabled
 [    2.921976] Module dwc_common_port init
 [    2.922329] usbcore: registered new interface driver usb-storage
 [    2.925354] mousedev: PS/2 mouse device common for all mice
 [    2.929355] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
 [    2.935223] sdhci: Secure Digital Host Controller Interface driver
 [    2.938171] sdhci: Copyright(c) Pierre Ossman
 [    2.941677] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
 [    2.945391] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
 [    2.948666] sdhci-pltfm: SDHCI platform and OF driver helper
 [    2.953491] ledtrig-cpu: registered to indicate activity on CPUs
 [    2.957065] hid: raw HID events driver (C) Jiri Kosina
 [    2.960283] usbcore: registered new interface driver usbhid
 [    2.963345] usbhid: USB HID core driver
 [    2.970863] Initializing XFRM netlink socket
 [    2.973925] NET: Registered protocol family 17
 [    2.977089] Key type dns_resolver registered
 [    2.980555] Registering SWP/SWPB emulation handler
 [    2.983691] registered taskstats version 1
 [    2.986627] Loading compiled-in X.509 certificates
 [    2.990319] Key type ._fscrypt registered
 [    2.993055] Key type .fscrypt registered
 [    2.995740] Key type fscrypt-provisioning registered
 [    3.009455] uart-pl011 3f201000.serial: there is not valid maps for state default
 [    3.012477] uart-pl011 3f201000.serial: cts_event_workaround enabled
 [    3.015406] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
 [    4.058186] printk: console [ttyAMA0] enabled
 [    4.068600] 3f215040.serial: ttyS0 at MMIO 0x3f215040 (irq = 86, base_baud = 50000000) is a 16550
 [    4.084388] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
 [    4.096483] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
 [    4.105605] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
 [    4.141114] sdhost: log_buf @ (ptrval) (f5d13000)
 [    4.186553] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
 [    4.195085] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
 [    4.206576] of_cfs_init
 [    4.212054] of_cfs_init: OK
 [    4.218744] uart-pl011 3f201000.serial: no DMA platform data
 [    4.224644] Indeed it is in host mode hprt0 = 00021501
 [    4.232848] Waiting for root device /dev/mmcblk0p2...
 [    4.295414] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
 [    4.305529] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
 [    4.314152] random: fast init done
 [    4.325528] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
 [    4.355987] mmc0: host does not support reading read-only switch, assuming write-enable
 [    4.370469] mmc0: new high speed SD card at address b368
 [    4.379988] mmcblk0: mmc0:b368 UD    1.90 GiB
 [    4.390597]  mmcblk0: p1 p2
 [    4.434385] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
 [    4.439277] mmc1: new high speed SDIO card at address 0001
 [    4.448551] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
 [    4.457116] usb 1-1: new high-speed USB device number 2 using dwc_otg
 [    4.467726] devtmpfs: mounted
 [    4.477204] Indeed it is in host mode hprt0 = 00001101
 [    4.552351] Freeing unused kernel memory: 1024K
 [    4.560263] Run /sbin/init as init process
 [    4.567226]   with arguments:
 [    4.567238]     /sbin/init
 [    4.567249]   with environment:
 [    4.567260]     HOME=/
 [    4.567271]     TERM=linux
 [    4.734834] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
 [    4.749031] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
 [    4.760155] hub 1-1:1.0: USB hub found
 [    4.767193] hub 1-1:1.0: 4 ports detected
 [    4.917586] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
 [    5.051218] random: dd: uninitialized urandom read (512 bytes read)
 [    5.094559] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
 [    5.244886] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
 [    5.259975] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
 [    5.271952] hub 1-1.1:1.0: USB hub found
 [    5.279415] hub 1-1.1:1.0: 3 ports detected
 [    5.362424] NET: Registered protocol family 10
 [    5.371657] Segment Routing with IPv6
 [    5.639903] dwc_otg_handle_wakeup_detected_intr lxstate = 2
 [    6.074502] usb 1-1.1.1: new high-speed USB device number 4 using dwc_otg
 [    6.214999] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800, bcdDevice= 3.00
 [    6.230009] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
 [    6.506353] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): No External EEPROM. Setting MAC Speed
 [    6.524743] libphy: lan78xx-mdiobus: probed
 [    6.641518] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): int urb period 64
 [    7.475452] random: mktemp: uninitialized urandom read (6 bytes read)
 [    8.462388] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 [   10.902837] random: mktemp: uninitialized urandom read (6 bytes read)
 [   24.259146] random: crng init done
 #

** 終了(電源OFF) [#vfbf3e29]

電源を切る前は忘れずに

 # poweroff

※Raspberry PiはRaspberry Pi財団の登録商標です。
#htmlinsert(rpi3b+.html);

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS