• 車種別
  • パーツ
  • 整備手帳
  • ブログ
  • みんカラ+

NaO@MZ20のブログ一覧

2021年01月21日 イイね!

[memo] Rpi4 USB Bootについて

メモです
Raspberry Pi4で USB-Boot設定方法

■Raspberry Pi OSイメージダウンロード
URL:
https://www.raspberrypi.org/software/operating-systems/#raspberry-pi-os-32-bit

ex) lite版
https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-01-12/2021-01-11-raspios-buster-armhf-lite.zip

■解凍
$ unzip 2021-01-11-raspios-buster-armhf-lite.zip

■microSDへ書き込み
$ dd if=2021-01-11-raspios-buster-armhf-lite.img of=/dev/sdX

## winなら
https://forest.watch.impress.co.jp/docs/review/1067836.html
等でmicroSDに書き込み

---
■Rpi4にmicroSD入れてboot
piユーザでログイン (デフォルトのpassはraspberry)

■eeprom(bootloader)バージョン確認
$ vcgencmd bootloader_version
Apr 16 2020 18:11:26
version a5e1b95f320810c69441557c5f5f0a7f2460dfb8 (release)
timestamp 1587057086
update-time 0
capabilities 0x00000000

■update
$ sudo apt update
...
$ sudo apt full-upgrade
...
$ sudo reboot

■eeprom(bootloader)バージョン確認
$ vcgencmd bootloader_version
Sep 3 2020 13:11:43
version c305221a6d7e532693cc7ff57fddfc8649def167 (release)
timestamp 1599135103
update-time 0
capabilities 0x00000000

※2021/1/21現在の最新は、
Sep 3 2020 13:11:43
ですね!

■起動設定
$ sudo raspi-config

6 Advanced Options -> A6 Boot Order -> B1 USB Boot -> OK

■bootデバイス作成
OSイメージを任意のusbデバイスにddする。

microSDを抜いた状態のrpi4にusbデバイスを刺して起動!

以上!





■USBメモリでbootした時の情報

# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 14.5G 0 disk
├─sda1 8:1 1 256M 0 part /boot
└─sda2 8:2 1 14.2G 0 part /
# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 4: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
# free
total used free shared buff/cache available
Mem: 3918772 56076 3622932 16864 239764 3717120
Swap: 102396 0 102396
# uname -a
Linux raspberrypi 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l GNU/Linux
# cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
# lscpu
Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Vendor ID: ARM
Model: 3
Model name: Cortex-A72
Stepping: r0p3
CPU max MHz: 1500.0000
CPU min MHz: 600.0000
BogoMIPS: 270.00
Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32

Posted at 2021/01/21 11:17:57 | コメント(3) | トラックバック(0) | Raspberry Pi | パソコン/インターネット

プロフィール

「@BGFK さん、ですよね〜😊居住確認入りますしね〜。引っ越し渦中は、マイナンバーと免許の住所変更を時間差でやって、どちらの自治体でも捨てれるようにしてました。😆」
何シテル?   05/08 18:45
NaOです。よろしくお願いします。 72年式です https://nao.soarer.org/ 活動拠点 富士宮→沼津→富士宮→沼津→富士→富...
みんカラ新規会員登録

ユーザー内検索

<< 2021/1 >>

     12
3456 789
10111213141516
17181920 21 2223
242526 2728 2930
31      

リンク・クリップ

ヘッドライト(ロービーム)バルブ交換 
カテゴリ:その他(カテゴリ未設定)
2024/02/06 18:56:35
イナバガレーディア GRN-3662J 
カテゴリ:その他(カテゴリ未設定)
2023/12/23 21:46:57
プラグ交換 
カテゴリ:その他(カテゴリ未設定)
2023/12/12 11:26:43

愛車一覧

トヨタ ソアラ 10号 (トヨタ ソアラ)
IoTソアラ 10台目のソアラ グレード  3.0GT SUPER LIMITED ...
トヨタ ソアラ 13号 (トヨタ ソアラ)
13号です。 1JZ-GTE、5M/T(R154)換装済 @富士宮
ダイハツ ミラ ダイハツ ミラ
所有期間 1993/03/01 ~ 1996/07/18 ボディーカラー 赤
ダイハツ ミラ ダイハツ ミラ
期間: 2014/03/09 ~ 2014/04/27 型式: UA-L250S グレー ...

過去のブログ

2023年
01月02月03月04月05月06月
07月08月09月10月11月12月
2022年
01月02月03月04月05月06月
07月08月09月10月11月12月
2021年
01月02月03月04月05月06月
07月08月09月10月11月12月
2020年
01月02月03月04月05月06月
07月08月09月10月11月12月
2019年
01月02月03月04月05月06月
07月08月09月10月11月12月
2018年
01月02月03月04月05月06月
07月08月09月10月11月12月
2017年
01月02月03月04月05月06月
07月08月09月10月11月12月
ヘルプ利用規約サイトマップ
© LY Corporation