Bump buildroot to 2019.02
This commit is contained in:
@@ -2,7 +2,6 @@ image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"bcm2708-rpi-b-plus.dtb",
|
||||
"bcm2708-rpi-0-w.dtb",
|
||||
"rpi-firmware/bootcode.bin",
|
||||
"rpi-firmware/cmdline.txt",
|
||||
"rpi-firmware/config.txt",
|
||||
|
||||
31
bsp/buildroot/board/raspberrypi/genimage-raspberrypi0w.cfg
Normal file
31
bsp/buildroot/board/raspberrypi/genimage-raspberrypi0w.cfg
Normal file
@@ -0,0 +1,31 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"bcm2708-rpi-0-w.dtb",
|
||||
"rpi-firmware/bootcode.bin",
|
||||
"rpi-firmware/cmdline.txt",
|
||||
"rpi-firmware/config.txt",
|
||||
"rpi-firmware/fixup.dat",
|
||||
"rpi-firmware/start.elf",
|
||||
"rpi-firmware/overlays",
|
||||
"zImage"
|
||||
}
|
||||
}
|
||||
size = 32M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@ image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"bcm2710-rpi-3-b.dtb",
|
||||
"bcm2710-rpi-3-b-plus.dtb",
|
||||
"bcm2837-rpi-3-b.dtb",
|
||||
"rpi-firmware/bootcode.bin",
|
||||
"rpi-firmware/cmdline.txt",
|
||||
|
||||
@@ -2,6 +2,7 @@ image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"bcm2710-rpi-3-b.dtb",
|
||||
"bcm2710-rpi-3-b-plus.dtb",
|
||||
"bcm2710-rpi-cm3.dtb",
|
||||
"rpi-firmware/bootcode.bin",
|
||||
"rpi-firmware/cmdline.txt",
|
||||
|
||||
@@ -23,11 +23,11 @@ __EOF__
|
||||
--aarch64)
|
||||
# Run a 64bits kernel (armv8)
|
||||
sed -e '/^kernel=/s,=.*,=Image,' -i "${BINARIES_DIR}/rpi-firmware/config.txt"
|
||||
if ! grep -qE '^arm_control=0x200' "${BINARIES_DIR}/rpi-firmware/config.txt"; then
|
||||
if ! grep -qE '^arm_64bit=1' "${BINARIES_DIR}/rpi-firmware/config.txt"; then
|
||||
cat << __EOF__ >> "${BINARIES_DIR}/rpi-firmware/config.txt"
|
||||
|
||||
# enable 64bits support
|
||||
arm_control=0x200
|
||||
arm_64bit=1
|
||||
__EOF__
|
||||
fi
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ For model 2 B:
|
||||
|
||||
$ make raspberrypi2_defconfig
|
||||
|
||||
For model 3 B:
|
||||
For model 3 B and B+:
|
||||
|
||||
$ make raspberrypi3_defconfig
|
||||
|
||||
@@ -56,6 +56,7 @@ After building, you should obtain this tree:
|
||||
+-- bcm2708-rpi-b-plus.dtb [1]
|
||||
+-- bcm2709-rpi-2-b.dtb [1]
|
||||
+-- bcm2710-rpi-3-b.dtb [1]
|
||||
+-- bcm2710-rpi-3-b-plus.dtb [1]
|
||||
+-- boot.vfat
|
||||
+-- rootfs.ext4
|
||||
+-- rpi-firmware/
|
||||
|
||||
Reference in New Issue
Block a user