LoginSignup
1
2

More than 5 years have passed since last update.

RaspberryPi 2のアップデート

Last updated at Posted at 2018-03-06

久しぶりにRaspberryPi 2を引っ張りだしてきた。
アップデートにはrpi-updateコマンドを実行する。

pi@raspberrypi:~$ sudo rpi-update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
#############################################################
WARNING: This update bumps to rpi-4.14.y linux tree
Be aware there could be compatibility issues with some drivers
Discussion here:
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=197689
##############################################################
Would you like to proceed? (y/N)
 *** Downloading specific firmware revision (this will take a few minutes)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   168    0   168    0     0    264      0 --:--:-- --:--:-- --:--:--   264
100 55.3M  100 55.3M    0     0  1037k      0  0:00:54  0:00:54 --:--:--  298k
 *** Updating firmware
 *** Updating kernel modules
 *** depmod 4.14.24-v7+
 *** depmod 4.14.24+
 *** Updating VideoCore libraries
 *** Using HardFP libraries
 *** Updating SDK
 *** Running ldconfig
 *** Storing current firmware revision
 *** Deleting downloaded files
 *** Syncing changes to disk
 *** If no errors appeared, your firmware was successfully updated to 2659c9e87b574b3b05eacef80961c404ed0f0ce3
 *** A reboot is needed to activate the new firmware
pi@raspberrypi:~$ 

rebootしたときのブートログ

[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Linux version 4.14.24-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1097 SMP Mon Mar 5 16:42:05 GMT 2018
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    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 2 Model B Rev 1.1
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 8 MiB at 0x3ac00000
[    0.000000] On node 0 totalpages: 242688
[    0.000000] free_area_init_node: node 0, pgdat 80c7e800, node_mem_map ba3a1000
[    0.000000]   Normal zone: 2133 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 242688 pages, LIFO batch:31
[    0.000000] random: fast init done
[    0.000000] percpu: Embedded 17 pages/cpu @ba34b000 s38720 r8192 d22720 u69632
[    0.000000] pcpu-alloc: s38720 r8192 d22720 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 240555
[    0.000000] Kernel command line: bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 940268K/970752K available (7168K kernel code, 548K rwdata, 2028K rodata, 1024K init, 706K bss, 22292K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xbb800000 - 0xff800000   (1088 MB)
    lowmem  : 0x80000000 - 0xbb400000   ( 948 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x80800000   (8160 kB)
      .init : 0x80b00000 - 0x80c00000   (1024 kB)
      .data : 0x80c00000 - 0x80c89244   ( 549 kB)
       .bss : 0x80c90ed4 - 0x80d417b4   ( 707 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 24646 entries in 73 pages
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    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.000009] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000030] Switching to timer-based delay loop, resolution 52ns
[    0.000342] Console: colour dummy device 80x30
[    0.000383] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000406] pid_max: default: 32768 minimum: 301
[    0.000805] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000832] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002026] Disabling memory control group subsystem
[    0.002174] CPU: Testing write buffer coherency: ok
[    0.002761] CPU0: update cpu_capacity 1024
[    0.002782] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.003380] Setting up static identity map for 0x100000 - 0x10003c
[    0.003567] Hierarchical SRCU implementation.
[    0.004527] smp: Bringing up secondary CPUs ...
[    0.005462] CPU1: update cpu_capacity 1024
[    0.005473] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.006525] CPU2: update cpu_capacity 1024
[    0.006534] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.007558] CPU3: update cpu_capacity 1024
[    0.007567] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.007707] smp: Brought up 1 node, 4 CPUs
[    0.007754] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.007765] CPU: All CPU(s) started in HYP mode.
[    0.007775] CPU: Virtualization extensions available.
[    0.008959] devtmpfs: initialized
[    0.021906] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.022269] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.022300] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.023118] pinctrl core: initialized pinctrl subsystem
[    0.024217] NET: Registered protocol family 16
[    0.027294] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.033400] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.033423] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.033683] Serial: AMBA PL011 UART driver
[    0.035909] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.077069] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb80d000, dmachans=0x1
[    0.078982] SCSI subsystem initialized
[    0.079186] usbcore: registered new interface driver usbfs
[    0.079265] usbcore: registered new interface driver hub
[    0.079410] usbcore: registered new device driver usb
[    0.080205] raspberrypi-firmware soc:firmware: Attached to firmware from 2018-03-05 16:45
[    0.081826] clocksource: Switched to clocksource arch_sys_counter
[    0.167526] VFS: Disk quotas dquot_6.6.0
[    0.167652] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.167939] FS-Cache: Loaded
[    0.168245] CacheFiles: Loaded
[    0.180737] NET: Registered protocol family 2
[    0.181715] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.182096] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.182292] TCP: Hash tables configured (established 8192 bind 8192)
[    0.182489] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.182557] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.182902] NET: Registered protocol family 1
[    0.183614] RPC: Registered named UNIX socket transport module.
[    0.183632] RPC: Registered udp transport module.
[    0.183642] RPC: Registered tcp transport module.
[    0.183653] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.185424] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.189357] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.199929] FS-Cache: Netfs 'nfs' registered for caching
[    0.200865] NFS: Registering the id_resolver key type
[    0.200918] Key type id_resolver registered
[    0.200930] Key type id_legacy registered
[    0.203714] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.203918] io scheduler noop registered
[    0.203935] io scheduler deadline registered (default)
[    0.204313] io scheduler cfq registered
[    0.204329] io scheduler mq-deadline registered
[    0.204342] io scheduler kyber registered
[    0.206606] BCM2708FB: allocated DMA memory fad00000
[    0.206659] BCM2708FB: allocated DMA channel 0 @ bb80d000
[    0.216173] Console: switching to colour frame buffer device 82x26
[    0.223526] bcm2835-rng 3f104000.rng: hwrng registered
[    0.223688] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.224329] vc-sm: Videocore shared memory driver
[    0.224729] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    0.238880] brd: module loaded
[    0.250832] loop: module loaded
[    0.250861] Loading iSCSI transport class v2.0-870.
[    0.251608] usbcore: registered new interface driver smsc95xx
[    0.251639] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.480037] Core Release: 2.80a
[    0.480059] Setting default values for core params
[    0.480105] Finished setting default values for core params
[    0.680424] Using Buffer DMA mode
[    0.680440] Periodic Transfer Interrupt Enhancement - disabled
[    0.680450] Multiprocessor Interrupt Enhancement - disabled
[    0.680462] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.680491] Dedicated Tx FIFOs mode
[    0.681108] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xbad14000 dma = 0xfad14000 len=9024
[    0.681146] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[    0.681174] dwc_otg: Microframe scheduler enabled
[    0.681254] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x805c68fc
[    0.681274] WARN::hcd_init_fiq:460: FIQ ASM at 0x805c6c64 length 36
[    0.681295] WARN::hcd_init_fiq:486: MPHI regs_base at 0xbb878000
[    0.681377] dwc_otg 3f980000.usb: DWC OTG Controller
[    0.681428] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    0.681484] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    0.681540] Init: Port Power? op_state=1
[    0.681551] Init: Power Port (0)
[    0.681904] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.681925] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.681940] usb usb1: Product: DWC OTG Controller
[    0.681955] usb usb1: Manufacturer: Linux 4.14.24-v7+ dwc_otg_hcd
[    0.681970] usb usb1: SerialNumber: 3f980000.usb
[    0.682811] hub 1-0:1.0: USB hub found
[    0.682892] hub 1-0:1.0: 1 port detected
[    0.683593] dwc_otg: FIQ enabled
[    0.683600] dwc_otg: NAK holdoff enabled
[    0.683606] dwc_otg: FIQ split-transaction FSM enabled
[    0.683620] Module dwc_common_port init
[    0.683964] usbcore: registered new interface driver usb-storage
[    0.684264] mousedev: PS/2 mouse device common for all mice
[    0.684357] IR NEC protocol handler initialized
[    0.684369] IR RC5(x/sz) protocol handler initialized
[    0.684379] IR RC6 protocol handler initialized
[    0.684390] IR JVC protocol handler initialized
[    0.684400] IR Sony protocol handler initialized
[    0.684411] IR SANYO protocol handler initialized
[    0.684421] IR Sharp protocol handler initialized
[    0.684431] IR MCE Keyboard/mouse protocol handler initialized
[    0.684441] IR XMP protocol handler initialized
[    0.685375] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    0.685727] bcm2835-cpufreq: min=600000 max=900000
[    0.686192] sdhci: Secure Digital Host Controller Interface driver
[    0.686206] sdhci: Copyright(c) Pierre Ossman
[    0.686647] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    0.686782] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.687489] ledtrig-cpu: registered to indicate activity on CPUs
[    0.687655] hidraw: raw HID events driver (C) Jiri Kosina
[    0.687875] usbcore: registered new interface driver usbhid
[    0.687887] usbhid: USB HID core driver
[    0.688641] vchiq: vchiq_init_state: slot_zero = bad80000, is_master = 0
[    0.690378] [vc_sm_connected_init]: start
[    0.699176] [vc_sm_connected_init]: end - returning 0
[    0.699940] Initializing XFRM netlink socket
[    0.699981] NET: Registered protocol family 17
[    0.700120] Key type dns_resolver registered
[    0.700490] Registering SWP/SWPB emulation handler
[    0.701372] registered taskstats version 1
[    0.708820] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    0.708932] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[    1.692283] console [ttyAMA0] enabled
[    1.698661] sdhost: log_buf @ bad13000 (fad13000)
[    1.781865] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    1.788714] of_cfs_init
[    1.791363] of_cfs_init: OK
[    1.794774] uart-pl011 3f201000.serial: no DMA platform data
[    1.800799] Waiting for root device /dev/mmcblk0p2...
[    1.807839] Indeed it is in host mode hprt0 = 00021501
[    1.919510] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.929687] mmc0: new high speed SDHC card at address 1234
[    1.936000] mmcblk0: mmc0:1234 SA08G 7.29 GiB
[    1.942697]  mmcblk0: p1 p2
[    1.990121] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.998386] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.016558] devtmpfs: mounted
[    2.021889] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.028690] Indeed it is in host mode hprt0 = 00001101
[    2.030434] Freeing unused kernel memory: 1024K
[    2.151969] Under-voltage detected! (0x00050005)
[    2.272256] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.278990] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.287100] hub 1-1:1.0: USB hub found
[    2.290985] hub 1-1:1.0: 5 ports detected
[    2.478268] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    2.492350] systemd[1]: Detected architecture 'arm'.
[    2.611889] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.684255] NET: Registered protocol family 10
[    2.690365] Segment Routing with IPv6
[    2.694328] systemd[1]: Inserted module 'ipv6'
[    2.712449] systemd[1]: Set hostname to <raspberrypi>.
[    2.742302] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    2.749203] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.759543] smsc95xx v1.0.6
[    2.866572] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:b0:47:7e
[    3.507770] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    3.516213] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.523986] systemd[1]: Expecting device dev-ttyAMA0.device...
[    3.562112] systemd[1]: Starting Remote File Systems (Pre).
[    3.601978] systemd[1]: Reached target Remote File Systems (Pre).
[    3.608348] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[    4.294955] fuse init (API version 7.26)
[    4.426805] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    4.467498] i2c /dev entries driver
[    4.921953] systemd-udevd[119]: starting version 215
[    5.852301] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    5.975658] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[    5.976358] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    6.945631] systemd-journald[103]: Received request to flush runtime journal from PID 1
[    7.587565] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[    7.590092] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.413366] Adding 102396k swap on /var/swap.  Priority:-2 extents:5 across:573436k SSFS
[   24.669518] random: crng init done

このあとに、sudo apt update; sudo apt upgrade をしてみたけど、ダウンロード速度が 150kB/s 程度しか出なくてすごく時間がかかる。
rootfs がjessie のままだからのようだ。
最新版のRaspbianではstretchに移行している。

追記

jessieは止めて、以下のサイトからRaspbian Stretch Liteをダウンロードして、SDカードに書いた。

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2