Skip to contentSkip to conversation

Added Raspberry Pi 2 defconfig

PATCH New James Hebden 2 participants 2 messages Feb 13, 2015 – Feb 22, 2015 Broadcom BCM2711/BCM2835 Arm architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Added Raspberry Pi 2 defconfig

Changes v2 -> v3
- Reformatted defonfig using make savedefconfig

Changes v1 -> v2

- Removed custom kernel configuration, used default kernel config for
bcm2709
- Removed changes to rpi-firmware package, separate patch coming
- Enabled EABIhf

---
 configs/raspberrypi2_defconfig | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 configs/raspberrypi2_defconfig
configs/raspberrypi2_defconfig new file +14 -0
new file mode 100644
index 0000000..571b026
@@ -0,0 +1,14 @@
+BR2_arm=y
+BR2_cortex_a7=y
+BR2_ARM_EABIHF=y
+BR2_ARM_FPU_NEON_VFPV4=y
+BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
+BR2_TARGET_GENERIC_GETTY_PORT="tty1"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="087966e5e3bafdeb9f9ac7578f4995c7cc7ecf1d"
+BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
+BR2_LINUX_KERNEL_ZIMAGE=y
+BR2_PACKAGE_RPI_FIRMWARE=y
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 Added Raspberry Pi 2 defconfig

James, All,

On 2015-02-14 09:22 +1100, James Hebden spake thusly:

Quoted 9 lines

Changes v2 -> v3
- Reformatted defonfig using make savedefconfig

Changes v1 -> v2

- Removed custom kernel configuration, used default kernel config for
bcm2709
- Removed changes to rpi-firmware package, separate patch coming
- Enabled EABIhf

The changelog above should have been below the '---' line (below).

Quoted 13 lines
---
 configs/raspberrypi2_defconfig | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 configs/raspberrypi2_defconfig
configs/raspberrypi2_defconfig new file +1 -0
new file mode 100644
index 0000000..571b026
@@ -0,0 +1,14 @@
+BR2_arm=y

configs/raspberrypi2_defconfig line 11

Quoted 10 lines
configs/raspberrypi2_defconfig new file +10 -0
+BR2_cortex_a7=y
+BR2_ARM_EABIHF=y
+BR2_ARM_FPU_NEON_VFPV4=y
+BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
+BR2_TARGET_GENERIC_GETTY_PORT="tty1"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="087966e5e3bafdeb9f9ac7578f4995c7cc7ecf1d"

There's now a newer changeset with some fixes (one by me, yeah!).

configs/raspberrypi2_defconfig line 12

Quoted 1 line
configs/raspberrypi2_defconfig new file +1 -0
+BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"

The bcm2709_defconfig enables support for Device Tree, so I believe we should also install the DTBs from rpi-firmware.

I'll fix and bump, then resubmit. So, I've marked your patch as "Changes Requested" on our Patchwork.

Thank you! :-)

Regards,
Yann E. MORIN.

Quoted 9 lines
configs/raspberrypi2_defconfig new file +2 -0
+BR2_LINUX_KERNEL_ZIMAGE=y
+BR2_PACKAGE_RPI_FIRMWARE=y
Signature · 6 lines
2.1.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'