http://git.buildroot.net/buildroot/tree/board/raspberrypi/readme.txt说明以下内容 - 最后一行是有趣的一行:
raspberrypi_defconfig配置是最小配置 所有这一切都需要带来Raspberry Pi。你应该 根据此defconfig进行工作:
$ make raspberrypi_defconfig
或者,如果要测试对设备树的支持:
$ make raspberrypi_dt_defconfig
对于Raspberry Pi 2,请使用不同的defconfig:
$ make raspberrypi2_defconfig
raspberrypi2_defconfig 必需是否在Raspberry Pi 2上使用buildroot,还是只包含RPi2优化?我问的原因是我在最新稳定版本的Buildroot中找不到该配置,而当前的git版本用
中止了构建"HTTP request sent, awaiting response... 404: Not Found"
====================================
第二次构建crasch后的控制台打印输出:
make[1]: Leaving directory `/home/fredrik/buildroot/output/build/host-lzop-1.03'
>>> linux 2c4959b772a35d9d459b0a92f39bb066e9a44d37 Downloading
Doing shallow clone
Cloning into bare repository 'linux-2c4959b772a35d9d459b0a92f39bb066e9a44d37'...
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-BVQjKJ/pkcs11: No such file or directory
POST git-upload-pack (gzip 1077 to 570 bytes)
POST git-upload-pack (gzip 1086 to 577 bytes)
remote: Counting objects: 223619, done.
remote: Compressing objects: 100% (141382/141382), done.
remote: Total 223619 (delta 145491), reused 134621 (delta 80295), pack-reused 0
Receiving objects: 100% (223619/223619), 271.86 MiB | 1.80 MiB/s, done.
Resolving deltas: 100% (145491/145491), done.
warning: Remote branch 2c4959b772a35d9d459b0a92f39bb066e9a44d37 not found in upstream origin, using HEAD instead
fatal: not a tree object
--2015-04-13 00:26:38-- http://sources.buildroot.net/linux-2c4959b772a35d9d459b0a92f39bb066e9a44d37.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 176.9.16.109
Connecting to sources.buildroot.net (sources.buildroot.net)|176.9.16.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-04-13 00:26:38 ERROR 404: Not Found.
make: *** [/home/fredrik/buildroot/output/build/linux-2c4959b772a35d9d459b0a92f39bb066e9a44d37/.stamp_downloaded] Error 1
答案 0 :(得分:2)
它不是强制性的,但它是一种预先构建的配置,可确保您拥有一个正常工作的系统。
当粘贴错误时,请包含更多行(如50-100行),因为真正的错误不是这个404.它早些时候,它无法在RPi内核中找到Git存储库我们正在寻找的提交。使用最新的Buildroot再试一次,我想我们已经使用更新的RPi内核提交更新了raspberrypi2_defconfig。