ユーザ用ツール

サイト用ツール


サイドバー

最新の10件
一覧
linux:buildroot:2022.02.1

Buildroot Pi0

download

$ wget2 https://buildroot.org/downloads/buildroot-2022.02.1.tar.xz \
> https://buildroot.org/downloads/buildroot-2022.02.1.tar.xz.sign
$ wget2 https://github.com/pweaver/buildroot/raw/master/buildroot_pubkey.gpg
$ gpg --import ./buildroot_pubkey.gpg
gpg: /home/ubuntu/.gnupg/trustdb.gpg: trustdb created
gpg: key B025BA8B59C36319: public key "Peter Korsgaard <jacmet@uclibc.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
$ gpg --verify ./buildroot-2022.02.1.tar.xz.sign
gpg: Signature made Mon 11 Apr 2022 09:51:18 PM UTC
gpg:                using DSA key AB07D806D2CE741FB886EE50B025BA8B59C36319
gpg: Good signature from "Peter Korsgaard <jacmet@uclibc.org>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: AB07 D806 D2CE 741F B886  EE50 B025 BA8B 59C3 6319
gpg: WARNING: not a detached signature; file './buildroot-2022.02.1.tar.xz' was NOT verified!

展開

$ tar tvf ./buildroot-2022.02.1.tar.xz | lv
$ tar xf ./buildroot-2022.02.1.tar.xz
$ cd buildroot-2022.02.1
$ make list-defconfigs | lv
$ make list-defconfigs | grep rasp
  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
  raspberrypicm4io_64_defconfig       - Build for raspberrypicm4io_64
  raspberrypicm4io_defconfig          - Build for raspberrypicm4io
  raspberrypizero2w_defconfig         - Build for raspberrypizero2w
$ make list-defconfigs | grep beagle
  beagleboardx15_defconfig            - Build for beagleboardx15
  beaglebone_defconfig                - Build for beaglebone
  beaglebone_qt5_defconfig            - Build for beaglebone_qt5
  beagleboneai_defconfig              - Build for beagleboneai
  beaglev_defconfig                   - Build for beaglev
$ time make raspberrypi0_defconfig
$ make menuconfig
$ time make -j$( nproc )    # Oracle Cloud Free Tier VPS(aarch64 x4/RAM24GB)

  :
real    53m12.657s
user    112m22.482s
sys     28m29.333s
$ ls -1s output/images/
total 150376
   28 bcm2708-rpi-zero.dtb
 8960 boot.vfat
63244 rootfs.ext2
    0 rootfs.ext4
    4 rpi-firmware
72248 sdcard.img
 5892 zImage
$ du -hs output/images/*
28K     output/images/bcm2708-rpi-zero.dtb
8.8M    output/images/boot.vfat
62M     output/images/rootfs.ext2
0       output/images/rootfs.ext4
3.0M    output/images/rpi-firmware
71M     output/images/sdcard.img
5.8M    output/images/zImage

Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz

real    439m1.278s
user    0m1.808s
sys     0m4.540s

linux kernel config

$ make help | grep ^linux: -A5
linux:
  linux-menuconfig       - Run linux menuconfig
  linux-xconfig          - Run linux xconfig
  linux-gconfig          - Run linux gconfig
  linux-nconfig          - Run linux nconfig

$ make linux-menuconfig
$ make linux-build
$ make linux-rebuild

コメント

コメントを入力. Wiki文法が有効です:
  ____  __  __   _  __   ___   ____ 
 / __ \ \ \/ /  / |/ /  / _ ) / __ \
/ /_/ /  \  /  /    /  / _  |/ /_/ /
\___\_\  /_/  /_/|_/  /____/ \___\_\
 
linux/buildroot/2022.02.1.txt · 最終更新: 2022/05/12 06:20 by matoken