ユーザ用ツール

サイト用ツール


サイドバー

最新の10件
一覧
linux:buildroot

make

$ git clone git://git.buildroot.net/buildroot
$ cd buildroot
$ git checkout 2020.02.2
$ ls configs/raspberrypi*
configs/raspberrypi0_defconfig   configs/raspberrypi2_defconfig     configs/raspberrypi3_defconfig        configs/raspberrypi4_defconfig
configs/raspberrypi0w_defconfig  configs/raspberrypi3_64_defconfig  configs/raspberrypi3_qt5we_defconfig  configs/raspberrypi_defconfig
$ time make raspberrypi3_64_defconfig
#
# configuration written to /home/matoken/src/buildroot/.config
#

real    0m0.301s
user    0m0.267s
sys     0m0.092s
$ time make -j4
  :
real    80m13.801s
user    201m6.840s
sys     21m12.970s
$ ls -sh1 output/images/
total 255M
 14M Image
 20K bcm2710-rpi-3-b-plus.dtb  
 20K bcm2710-rpi-3-b.dtb
 16K bcm2837-rpi-3-b.dtb
 17M boot.vfat
 74M rootfs.ext2
4.0K rootfs.ext4
   0 rpi-firmware
153M sdcard.img

https://github.com/matoken/buildroot/releases/tag/2020.02.2

$ sudo dd if=output/images/sdcard.img of=/dev/sdz bs=1M status=progress conv=fdatasync

error

You seem to have the current working directory in your PATH environment variable. This doesn't work.

$ make
/usr/bin/make -j1 O=/home/matoken/src/buildroot/output HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig
make[1]: warning: -j1 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/home/matoken/src/buildroot'
make[1]: Leaving directory '/home/matoken/src/buildroot'

You seem to have the current working directory in your
PATH environment variable. This doesn't work.
make: *** [support/dependencies/dependencies.mk:27: dependencies] Error 1

NULL?が含まれているとこのエラーになった

$ echo $PATH
/home/matoken/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:

削るとok

$ export PATH=/home/matoken/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin

URL

コメント

コメントを入力. Wiki文法が有効です:
  _   __   ___    __    _  __  _____
 | | / /  / _ \  / /   | |/_/ / ___/
 | |/ /  / , _/ / /__ _>  <  / /__  
 |___/  /_/|_| /____//_/|_|  \___/
 
linux/buildroot.txt · 最終更新: 2020/05/23 03:40 by matoken