Skip to contentSkip to conversation

Added defconfig for RPi2

PATCH New James Hebden 2 participants 2 messages Feb 13, 2015 1 message not in the archive Broadcom BCM2711/BCM2835 Arm architecture

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH v2 1/1 Added defconfig for RPi2

From: James Hebden <[email protected]>

---
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 | 33 +++++++++++++++++++++++++++++++++
  1 file changed, 33 insertions(+)

create mode 100644 configs/raspberrypi2_defconfig

configs/raspberrypi2_defconfig new file +33 -0
new file mode 100644
index 0000000..6b78472
@@ -0,0 +1,33 @@
+BR2_arm=y
+BR2_ARCH="arm"
+BR2_ENDIAN="LITTLE"
+BR2_GCC_TARGET_ABI="aapcs-linux"
+BR2_GCC_TARGET_CPU="cortex-a7"
+BR2_GCC_TARGET_FPU="neon-vfpv4"
+BR2_GCC_TARGET_FLOAT_ABI="hard"
+BR2_GCC_TARGET_MODE="arm"
+BR2_ARCH_HAS_ATOMICS=y
+BR2_BINFMT_SUPPORTS_SHARED=y
+BR2_BINFMT_ELF=y
+BR2_ARM_CPU_HAS_NEON=y
+BR2_ARM_CPU_HAS_VFPV2=y
+BR2_ARM_CPU_HAS_VFPV3=y
+BR2_ARM_CPU_HAS_VFPV4=y
+BR2_ARM_CPU_HAS_ARM=y
+BR2_ARM_CPU_HAS_THUMB2=y
+BR2_ARM_CPU_ARMV7A=y
+BR2_cortex_a7=y
+BR2_ARM_EABIHF=y
+BR2_ARM_FPU_NEON_VFPV4=y
+BR2_ARM_INSTRUCTIONS_ARM=y
+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_USE_DEFCONFIG=y
+BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
+BR2_LINUX_KERNEL_ZIMAGE=y
+BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
+BR2_TARGET_GENERIC_GETTY_PORT="tty1"
+BR2_PACKAGE_RPI_FIRMWARE=y
Signature · 1 line
2.1.4
#2 lore raw

PATCH v2 1/1 Added defconfig for RPi2

Dear James Hebden,

Quoted 12 lines · James Hebden

From: James Hebden <[email protected]>

---
Changes v1 -> v2

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

Quoted 3 lines
  configs/raspberrypi2_defconfig | 33 +++++++++++++++++++++++++++++++++
  1 file changed, 33 insertions(+)

create mode 100644 configs/raspberrypi2_defconfig

Please use "make savedefconfig" to generate the defconfig. Seeing your defconfig that has lots of prompt-less option values defined, it clearly appears that you haven't used "make savedefconfig".

Thanks a lot!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com