概要
- 最近、nextブランチから、masterに取り込まれたっぽい。
ので、rpi-update
で、BRANCH=next
を入れなくても良いはず。 -
https://github.com/raspberrypi/firmware/commits/master
(2017-01-10)[e44f66a] firmware: Add usb/net support from next branch
(2017-01-12)[6df93de] firmware: Fix usb/net boot issue
とりあえず、すぐできる、USB起動のみ確認。
関連
環境
- Raspberry Pi 3 model B
- Raspbian:
2017-01-11-raspbian-jessie-lite.img
- microSD カードリーダ
手順
- これ→ "らずぱい3で、USBストレージからブート(SDなし)" にしたがっていく。
-
sudo rpi-update
のとこだけ変更。 -
microSDの
/boot/cmdline.txt
と、/etc/fstab
を変更mmcblk=>sdaみたいなsudo sed -i "s,root=/dev/mmcblk0p2,root=/dev/sda2," /boot/cmdline.txt sudo sed -i "s,/dev/mmcblk0p,/dev/sda," /etc/fstab sudo sync sudo poweroff
ラズパイにささってるmicroSDをUSBカードリーダーにさして、らずぱいのUSBポートに。
電源ケーブルを抜き差しして、待つ。
=>起動した :-)
その他
実行例
pi@raspberrypi:~ $ sudo rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12016 100 12016 0 0 75170 0 --:--:-- --:--:-- --:--:-- 75572
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** We're running for the first time
*** Backing up files (this will take a few minutes)
*** Backing up firmware
*** Backing up modules 4.4.34-v7+
This update bumps to rpi-4.4.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=144087
##############################################################
*** 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 456 0 --:--:-- --:--:-- --:--:-- 456
100 51.9M 100 51.9M 0 0 889k 0 0:00:59 0:00:59 --:--:-- 1431k
*** Updating firmware
*** Updating kernel modules
*** depmod 4.4.43-v7+
*** depmod 4.4.43+
*** 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 a12b699d642096023a2b3009bb88ca82ad0baef4
*** A reboot is needed to activate the new firmware
pi@raspberrypi:~ $ vcgencmd otp_dump | grep 17:
17:3020000a
pi@raspberrypi:~ $