Skip to contentSkip to conversation

configs: beaglebone: update kernel to 4.1.13 and u-boot to 2015.10

PATCH New Zoltan Gyarmati 4 participants 10 messages Jan 13, 2016 – May 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: beaglebone: update kernel to 4.1.13 and u-boot to 2015.10

---

This patch is basically the cleaned-up version of Chris LaRocque's patch from his mail
"[PATCH 1/2] Updated the Beaglebone configuration, 01/03/2016 10:01 PM" and the cleanup followed Arnout's corresponding answers.
Changes to Chris' patches:
* dtc patches fetched from GH and placed in 'board/beaglebone/patches/dtc'
* BR2_GLOBAL_PATCH_DIR set accordingly
* added seperated kernel defconfig instead of patching the upstream defconfig
* cleanups in uEnv.txt
* fix u-boot version to 2015.10

The heavy-lifting was done by Chris here, the rest is mostly cosmetics. If anything els seems to be tweaked, please let us know.

 board/beaglebone/linux-3.12.config                 |  251 ---
 board/beaglebone/linux_4.1.13_bb.org_defconfig     | 2043 ++++++++++++++++++++
 ...comment-block-of-fdt_get_property_namelen.patch |   32 +
 .../0002-fdt-Add-a-function-to-count-strings.patch |  246 +++
 ...d-a-function-to-get-the-index-of-a-string.patch |  159 ++
 ...004-fdt-Add-functions-to-retrieve-strings.patch |  173 ++
 ...cache-flush-management-symbols-when-MULTI.patch |   34 -
 .../0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch   |  754 ++++++++
 board/beaglebone/uEnv.txt                          |   13 +-
 configs/beaglebone_defconfig                       |   46 +-
 10 files changed, 3434 insertions(+), 317 deletions(-)
 delete mode 100644 board/beaglebone/linux-3.12.config
 create mode 100644 board/beaglebone/linux_4.1.13_bb.org_defconfig
 create mode 100644 board/beaglebone/patches/dtc/0001-libfdt-fix-comment-block-of-fdt_get_property_namelen.patch
 create mode 100644 board/beaglebone/patches/dtc/0002-fdt-Add-a-function-to-count-strings.patch
 create mode 100644 board/beaglebone/patches/dtc/0003-fdt-Add-a-function-to-get-the-index-of-a-string.patch
 create mode 100644 board/beaglebone/patches/dtc/0004-fdt-Add-functions-to-retrieve-strings.patch
 delete mode 100644 board/beaglebone/patches/linux/linux-0001-arm-Export-cache-flush-management-symbols-when-MULTI.patch
 create mode 100644 board/beaglebone/patches/uboot/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch
board/beaglebone/linux-3.12.config deleted +0 -251
deleted file mode 100644
index 0be5722..0000000
@@ -1,251 +0,0 @@
-CONFIG_SYSVIPC=y
-CONFIG_POSIX_MQUEUE=y
-CONFIG_NO_HZ=y
-CONFIG_HIGH_RES_TIMERS=y
-CONFIG_BSD_PROCESS_ACCT=y
-CONFIG_IKCONFIG=y
-CONFIG_IKCONFIG_PROC=y
-CONFIG_LOG_BUF_SHIFT=16
-CONFIG_BLK_DEV_INITRD=y
-CONFIG_EXPERT=y
-CONFIG_SLAB=y
-CONFIG_PROFILING=y
-CONFIG_KPROBES=y
-CONFIG_MODULES=y
-CONFIG_MODULE_FORCE_LOAD=y
-CONFIG_MODULE_UNLOAD=y
-CONFIG_MODULE_FORCE_UNLOAD=y
-CONFIG_MODVERSIONS=y
-CONFIG_MODULE_SRCVERSION_ALL=y
-# CONFIG_BLK_DEV_BSG is not set
-CONFIG_ARCH_OMAP2PLUS=y
-CONFIG_OMAP_RESET_CLOCKS=y
-CONFIG_OMAP_MUX_DEBUG=y
-CONFIG_ARCH_OMAP3=y
-CONFIG_ARCH_OMAP4=y
-CONFIG_SOC_AM43XX=y
-# CONFIG_ARCH_OMAP2PLUS_TYPICAL is not set
-# CONFIG_SOC_TI81XX is not set
-# CONFIG_MACH_OMAP3_BEAGLE is not set
-# CONFIG_MACH_DEVKIT8000 is not set
-# CONFIG_MACH_OMAP_LDP is not set
-# CONFIG_MACH_OMAP3530_LV_SOM is not set
-# CONFIG_MACH_OMAP3_TORPEDO is not set
-# CONFIG_MACH_OVERO is not set
-# CONFIG_MACH_OMAP3EVM is not set
-# CONFIG_MACH_OMAP3_PANDORA is not set
-# CONFIG_MACH_TOUCHBOOK is not set
-# CONFIG_MACH_OMAP_3430SDP is not set
-# CONFIG_MACH_NOKIA_RM680 is not set
-# CONFIG_MACH_NOKIA_RX51 is not set
-# CONFIG_MACH_OMAP_ZOOM2 is not set
-# CONFIG_MACH_OMAP_ZOOM3 is not set
-# CONFIG_MACH_CM_T35 is not set
-# CONFIG_MACH_CM_T3517 is not set
-# CONFIG_MACH_IGEP0020 is not set
-# CONFIG_MACH_IGEP0030 is not set
-# CONFIG_MACH_SBC3530 is not set
-# CONFIG_MACH_OMAP_3630SDP is not set
-CONFIG_ARM_THUMBEE=y
-CONFIG_HAVE_ARM_ARCH_TIMER=y
-CONFIG_PREEMPT=y
-CONFIG_AEABI=y
-CONFIG_HIGHMEM=y
-CONFIG_ZBOOT_ROM_TEXT=0x0
-CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO2,115200"
-CONFIG_KEXEC=y
-CONFIG_CPU_FREQ=y
-CONFIG_CPU_FREQ_STAT_DETAILS=y
-CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
-CONFIG_CPU_FREQ_GOV_POWERSAVE=y
-CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
-CONFIG_GENERIC_CPUFREQ_CPU0=y
-# CONFIG_ARM_OMAP2PLUS_CPUFREQ is not set
-CONFIG_FPE_NWFPE=y
-CONFIG_VFP=y
-CONFIG_NEON=y
-CONFIG_BINFMT_MISC=y
-CONFIG_PM_RUNTIME=y
-CONFIG_PM_DEBUG=y
-CONFIG_NET=y
-CONFIG_PACKET=y
-CONFIG_UNIX=y
-CONFIG_XFRM_USER=y
-CONFIG_NET_KEY=y
-CONFIG_NET_KEY_MIGRATE=y
-CONFIG_INET=y
-CONFIG_IP_MULTICAST=y
-CONFIG_IP_PNP=y
-CONFIG_IP_PNP_DHCP=y
-CONFIG_IP_PNP_BOOTP=y
-CONFIG_IP_PNP_RARP=y
-# CONFIG_INET_LRO is not set
-# CONFIG_IPV6 is not set
-# CONFIG_WIRELESS is not set
-CONFIG_DEVTMPFS=y
-CONFIG_DEVTMPFS_MOUNT=y
-CONFIG_OMAP_OCP2SCP=y
-CONFIG_CONNECTOR=y
-CONFIG_BLK_DEV_LOOP=y
-CONFIG_BLK_DEV_RAM=y
-CONFIG_BLK_DEV_RAM_SIZE=16384
-CONFIG_CROSSBAR=y
-CONFIG_EEPROM_93CX6=y
-CONFIG_SCSI=y
-CONFIG_BLK_DEV_SD=y
-CONFIG_SCSI_MULTI_LUN=y
-CONFIG_SCSI_SCAN_ASYNC=y
-CONFIG_MD=y
-CONFIG_NETDEVICES=y
-# CONFIG_NET_VENDOR_ARC is not set
-# CONFIG_NET_CADENCE is not set
-# CONFIG_NET_VENDOR_BROADCOM is not set
-# CONFIG_NET_VENDOR_CIRRUS is not set
-# CONFIG_NET_VENDOR_FARADAY is not set
-# CONFIG_NET_VENDOR_INTEL is not set
-# CONFIG_NET_VENDOR_MARVELL is not set
-# CONFIG_NET_VENDOR_MICREL is not set
-# CONFIG_NET_VENDOR_NATSEMI is not set
-# CONFIG_NET_VENDOR_SEEQ is not set
-# CONFIG_NET_VENDOR_SMSC is not set
-# CONFIG_NET_VENDOR_STMICRO is not set
-CONFIG_TI_CPSW=y
-CONFIG_TI_CPTS=y
-# CONFIG_NET_VENDOR_VIA is not set
-# CONFIG_NET_VENDOR_WIZNET is not set
-CONFIG_AT803X_PHY=y
-CONFIG_SMSC_PHY=y
-# CONFIG_WLAN is not set
-# CONFIG_INPUT_MOUSEDEV is not set
-# CONFIG_INPUT_KEYBOARD is not set
-# CONFIG_INPUT_MOUSE is not set
-CONFIG_SERIO_LIBPS2=y
-# CONFIG_LEGACY_PTYS is not set
-CONFIG_SERIAL_8250=y
-CONFIG_SERIAL_8250_CONSOLE=y
-CONFIG_SERIAL_8250_NR_UARTS=32
-CONFIG_SERIAL_8250_EXTENDED=y
-CONFIG_SERIAL_8250_MANY_PORTS=y
-CONFIG_SERIAL_8250_SHARE_IRQ=y
-CONFIG_SERIAL_8250_DETECT_IRQ=y
-CONFIG_SERIAL_8250_RSA=y
-CONFIG_SERIAL_OMAP=y
-CONFIG_SERIAL_OMAP_CONSOLE=y
-CONFIG_HW_RANDOM=y
-CONFIG_I2C=y
-CONFIG_I2C_CHARDEV=y
-CONFIG_I2C_OMAP=y
-CONFIG_SPI=y
-CONFIG_SPI_OMAP24XX=y
-CONFIG_SPI_TI_QSPI=y
-CONFIG_PINCTRL_SINGLE=y
-CONFIG_DEBUG_GPIO=y
-CONFIG_GPIO_SYSFS=y
-CONFIG_W1=y
-CONFIG_POWER_SUPPLY=y
-CONFIG_THERMAL=y
-CONFIG_THERMAL_GOV_FAIR_SHARE=y
-CONFIG_THERMAL_GOV_USER_SPACE=y
-CONFIG_CPU_THERMAL=y
-CONFIG_TI_SOC_THERMAL=y
-CONFIG_TI_THERMAL=y
-CONFIG_WATCHDOG=y
-CONFIG_OMAP_WATCHDOG=y
-CONFIG_MFD_SYSCON=y
-CONFIG_MFD_TPS65217=y
-CONFIG_REGULATOR=y
-CONFIG_REGULATOR_FIXED_VOLTAGE=y
-CONFIG_REGULATOR_PBIAS=y
-CONFIG_REGULATOR_TPS65023=y
-CONFIG_REGULATOR_TPS6507X=y
-CONFIG_REGULATOR_TPS65217=y
-CONFIG_REGULATOR_TIAVSCLASS0=y
-CONFIG_FB=y
-CONFIG_FIRMWARE_EDID=y
-CONFIG_FB_DA8XX=y
-CONFIG_FB_DA8XX_TDA998X=y
-CONFIG_OMAP2_DSS=y
-CONFIG_OMAP2_DSS_SDI=y
-CONFIG_OMAP2_DSS_DSI=y
-CONFIG_FB_OMAP2=y
-CONFIG_DISPLAY_CONNECTOR_HDMI=y
-CONFIG_FRAMEBUFFER_CONSOLE=y
-CONFIG_USB=y
-CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
-CONFIG_USB_MON=y
-CONFIG_USB_EHCI_HCD=y
-CONFIG_USB_MUSB_HDRC=m
-CONFIG_USB_MUSB_OMAP2PLUS=m
-CONFIG_USB_MUSB_DSPS=m
-CONFIG_USB_TI_CPPI41_DMA=y
-CONFIG_USB_STORAGE=y
-CONFIG_AM335X_PHY_USB=y
-CONFIG_USB_GADGET=y
-CONFIG_USB_GADGET_DEBUG=y
-CONFIG_USB_GADGET_DEBUG_FS=y
-CONFIG_USB_ZERO=m
-CONFIG_USB_ETH=m
-CONFIG_USB_ETH_EEM=y
-CONFIG_USB_MASS_STORAGE=m
-CONFIG_USB_G_MULTI=m
-CONFIG_USB_G_MULTI_CDC=y
-CONFIG_MMC=y
-CONFIG_MMC_UNSAFE_RESUME=y
-CONFIG_SDIO_UART=y
-CONFIG_MMC_OMAP=y
-CONFIG_MMC_OMAP_HS=y
-CONFIG_NEW_LEDS=y
-CONFIG_LEDS_CLASS=y
-CONFIG_LEDS_GPIO=y
-CONFIG_LEDS_TRIGGERS=y
-CONFIG_LEDS_TRIGGER_TIMER=y
-CONFIG_LEDS_TRIGGER_ONESHOT=y
-CONFIG_LEDS_TRIGGER_HEARTBEAT=y
-CONFIG_LEDS_TRIGGER_BACKLIGHT=y
-CONFIG_LEDS_TRIGGER_CPU=y
-CONFIG_LEDS_TRIGGER_GPIO=y
-CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
-CONFIG_RTC_CLASS=y
-CONFIG_RTC_DRV_OMAP=y
-CONFIG_DMADEVICES=y
-CONFIG_TI_EDMA=y
-CONFIG_DMA_OMAP=y
-CONFIG_TI_CPPI41=y
-CONFIG_COMMON_CLK_DEBUG=y
-CONFIG_OMAP_USB2=y
-CONFIG_OMAP_PIPE3=y
-CONFIG_EXT2_FS=y
-CONFIG_EXT3_FS=y
-# CONFIG_EXT3_FS_XATTR is not set
-CONFIG_EXT4_FS=y
-CONFIG_QUOTA=y
-CONFIG_QFMT_V2=y
-CONFIG_MSDOS_FS=y
-CONFIG_VFAT_FS=y
-CONFIG_TMPFS=y
-CONFIG_NFS_FS=y
-CONFIG_NFS_V4=y
-CONFIG_ROOT_NFS=y
-CONFIG_NLS_CODEPAGE_437=y
-CONFIG_NLS_ISO8859_1=y
-CONFIG_PRINTK_TIME=y
-CONFIG_DEBUG_INFO=y
-CONFIG_MAGIC_SYSRQ=y
-CONFIG_SCHEDSTATS=y
-CONFIG_TIMER_STATS=y
-CONFIG_PROVE_LOCKING=y
-# CONFIG_DEBUG_BUGVERBOSE is not set
-CONFIG_CRYPTO_MANAGER=m
-CONFIG_CRYPTO_SHA256=m
-CONFIG_CRYPTO_DEFLATE=y
-CONFIG_CRYPTO_LZO=y
-# CONFIG_CRYPTO_ANSI_CPRNG is not set
-# CONFIG_CRYPTO_HW is not set
-CONFIG_CRC_CCITT=y
-CONFIG_CRC_T10DIF=y
-CONFIG_CRC_ITU_T=y
-CONFIG_CRC7=y
-CONFIG_LIBCRC32C=y
-CONFIG_AVERAGE=y
board/beaglebone/linux_4.1.13_bb.org_defconfig new file +2043 -0

2,043 lines not on this page · raw message

board/beaglebone/patches/dtc/0001-libfdt-fix-comment-block-of-fdt_get_property_namelen.patch new file +32 -0
new file mode 100644
index 0000000..d0c19ef
@@ -0,0 +1,32 @@
+From 554fde2c77bd73de3f5093df3b643ce1553e1f96 Mon Sep 17 00:00:00 2001
+From: Masahiro Yamada <[email protected]>
+Date: Thu, 27 Aug 2015 12:12:42 +0900
+Subject: [PATCH 1/4] libfdt: fix comment block of fdt_get_property_namelen()
+
+The statement "Identical to fdt_get_property_namelen() ..." does not
+make sense for the comment of fdt_get_property_namelen() itself.
+
+Signed-off-by: Masahiro Yamada <[email protected]>
+Signed-off-by: David Gibson <[email protected]>
+---
+ libfdt/libfdt.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h
+index 1054512..1bd0242 100644
+--- a/libfdt/libfdt.h
++++ b/libfdt/libfdt.h
+@@ -457,8 +457,8 @@ const struct fdt_property *fdt_get_property_by_offset(const void *fdt,
+  * @namelen: number of characters of name to consider
+  * @lenp: pointer to an integer variable (will be overwritten) or NULL
+  *
+- * Identical to fdt_get_property_namelen(), but only examine the first
+- * namelen characters of name for matching the property name.
++ * Identical to fdt_get_property(), but only examine the first namelen
++ * characters of name for matching the property name.
+  */
+ const struct fdt_property *fdt_get_property_namelen(const void *fdt,
+ 						    int nodeoffset,
+-- 
+1.9.1
+
board/beaglebone/patches/dtc/0002-fdt-Add-a-function-to-count-strings.patch new file +246 -0

246 lines not on this page · raw message

board/beaglebone/patches/dtc/0003-fdt-Add-a-function-to-get-the-index-of-a-string.patch new file +159 -0

159 lines not on this page · raw message

board/beaglebone/patches/dtc/0004-fdt-Add-functions-to-retrieve-strings.patch new file +173 -0

173 lines not on this page · raw message

board/beaglebone/patches/linux/linux-0001-arm-Export-cache-flush-management-symbols-when-MULTI.patch deleted +0 -34
deleted file mode 100644
index 1ca1e70..0000000
@@ -1,34 +0,0 @@
-From 29885f2f3d700341d322274db6ad085e601c0994 Mon Sep 17 00:00:00 2001
-From: Pantelis Antoniou <[email protected]>
-Date: Fri, 4 Jan 2013 00:32:33 +0200
-Subject: [PATCH 3/3] arm: Export cache flush management symbols when
- !MULTI_CACHE
-
-When compiling a kernel without CONFIG_MULTI_CACHE enabled the
-dma access functions end up not being exported. Fix it.
-
-Signed-off-by: Pantelis Antoniou <[email protected]>
----
- arch/arm/kernel/setup.c |    9 +++++++++
- 1 file changed, 9 insertions(+)
-
-diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
-index da1d1aa..dcb678c 100644
---- a/arch/arm/kernel/setup.c
-+++ b/arch/arm/kernel/setup.c
-@@ -923,3 +923,12 @@ const struct seq_operations cpuinfo_op = {
- 	.stop	= c_stop,
- 	.show	= c_show
- };
-+
-+/* export the cache management functions */
-+#ifndef MULTI_CACHE
-+
-+EXPORT_SYMBOL(__glue(_CACHE,_dma_map_area));
-+EXPORT_SYMBOL(__glue(_CACHE,_dma_unmap_area));
-+EXPORT_SYMBOL(__glue(_CACHE,_dma_flush_range));
-+
-+#endif
--- 
-1.7.10.4
-
board/beaglebone/patches/uboot/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch new file +754 -0

62 lines not on this page · raw message

board/beaglebone/uEnv.txt +10 -3
index e09fff5..af7d1ba 100644

Lines of this file are not shown. View the raw message.

configs/beaglebone_defconfig +17 -29

46 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.9.1

Part of the diff is not shown here. View the raw message.

#1 lore raw

PATCH 1/1 configs: beaglebone: update kernel to 4.1.13 and u-boot to 2015.10

Zoltan,

Quoted 2 lines · Zoltan Gyarmati

This patch is basically the cleaned-up version of Chris LaRocque's patch from his mail

Thanks for respining this patch.

Quoted 9 lines

"[PATCH 1/2] Updated the Beaglebone configuration, 01/03/2016 10:01 PM" and the cleanup followed Arnout's corresponding answers.
Changes to Chris' patches:
* dtc patches fetched from GH and placed in 'board/beaglebone/patches/dtc'
* BR2_GLOBAL_PATCH_DIR set accordingly
* added seperated kernel defconfig instead of patching the upstream defconfig
* cleanups in uEnv.txt
* fix u-boot version to 2015.10

Quoted 6 lines

The heavy-lifting was done by Chris here, the rest is mostly cosmetics. If anything els seems to be tweaked, please let us know.

 board/beaglebone/linux-3.12.config                 |  251 ---
 board/beaglebone/linux_4.1.13_bb.org_defconfig     | 2043 ++++++++++++++++++++

Looking at its size, this file looks like a full config file and not a defconfig. Please use a defconfig.

Or better: please use the defconfig that is inside the kernel tree, and if you need additional tweaks, use config fragments.

Quoted 4 lines
 ...comment-block-of-fdt_get_property_namelen.patch |   32 +
 .../0002-fdt-Add-a-function-to-count-strings.patch |  246 +++
 ...d-a-function-to-get-the-index-of-a-string.patch |  159 ++
 ...004-fdt-Add-functions-to-retrieve-strings.patch |  173 ++

I am not supper happy with the solution of having those DTC patches specifically for the BeagleBone platform. If I understand correctly, those patches are needed to get the DT overlay to work, right ?

We had the same problem for the C.H.I.P platform, so it would also be useful for us to have a overlay-capable DTC. You can see what my colleague Antoine T?nart did:

https://github.com/NextThingCo/CHIP-buildroot/commit/1a73b514d204d0c6e9100d53011a11d99fd8b778
https://github.com/NextThingCo/CHIP-buildroot/commit/f3334df58611ff3cae5fd62906423fdce3d80d24
https://github.com/NextThingCo/CHIP-buildroot/commit/c4457eba3099f5ca514c06bb35b42772178a151a

It is not ideal because it relies on a separate dtc-overlay package, which packages a different version of dtc, which Antoine has cooked on his own github repository.

We really need to find a solution that is acceptable in the upstream Buildroot, and applies to multiple platforms.

Quoted 2 lines
 ...cache-flush-management-symbols-when-MULTI.patch |   34 -
 .../0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch   |  754 ++++++++

This huge U-Boot patch is really ugly and mixes lots of stuff. Why do you need it?

configs/beaglebone_defconfig line 27

Quoted 7 lines
configs/beaglebone_defconfig +2 -2
-# bootloader
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BOARDNAME="am335x_evm"
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2013.10"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.10"
+BR2_TARGET_UBOOT_NEEDS_DTC=y

So this is going to use the host-dtc package for U-Boot, but isn't the kernel still going to use its internal copy of dtc ? If so, how are your dtc patches useful for the kernel ?

Thanks!

Thomas

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

PATCH 1/1 configs: beaglebone: update kernel to 4.1.13 and u-boot to 2015.10

Quoted 4 lines · Thomas Petazzoni

Zoltan,

On Wed, 13 Jan 2016 03:52:22 +0100, Zoltan Gyarmati wrote:

[snip]

Quoted 8 lines
Quoted 4 lines
 ...comment-block-of-fdt_get_property_namelen.patch |   32 +
 .../0002-fdt-Add-a-function-to-count-strings.patch |  246 +++
 ...d-a-function-to-get-the-index-of-a-string.patch |  159 ++
 ...004-fdt-Add-functions-to-retrieve-strings.patch |  173 ++

I am not supper happy with the solution of having those DTC patches specifically for the BeagleBone platform. If I understand correctly, those patches are needed to get the DT overlay to work, right ?

I was the one suggesting that approach...

Quoted 8 lines

We had the same problem for the C.H.I.P platform, so it would also be useful for us to have a overlay-capable DTC. You can see what my colleague Antoine T?nart did:

https://github.com/NextThingCo/CHIP-buildroot/commit/1a73b514d204d0c6e9100d53011a11d99fd8b778
https://github.com/NextThingCo/CHIP-buildroot/commit/f3334df58611ff3cae5fd62906423fdce3d80d24
https://github.com/NextThingCo/CHIP-buildroot/commit/c4457eba3099f5ca514c06bb35b42772178a151a

Quoted 6 lines

It is not ideal because it relies on a separate dtc-overlay package, which packages a different version of dtc, which Antoine has cooked on his own github repository.

We really need to find a solution that is acceptable in the upstream Buildroot, and applies to multiple platforms.

Just thinking out loud: we could add an option to the dtc package that selects
the overlay version.

The canonical approach, however, would be to convert dtc to a virtual package
with a dtc-kernel-org and a dtc-overlay implementation.

Regards,
Arnout

[snip]

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
#3 lore raw

PATCH 1/1 configs: beaglebone: update kernel to 4.1.13 and u-boot to 2015.10

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Arnout, Thomas & All,

Quoted 11 lines · Arnout Vandecappelle
Quoted 4 lines · Thomas Petazzoni

Zoltan,

On Wed, 13 Jan 2016 03:52:22 +0100, Zoltan Gyarmati wrote:

[snip]

Quoted 5 lines
Quoted 4 lines
...comment-block-of-fdt_get_property_namelen.patch |   32 + 
.../0002-fdt-Add-a-function-to-count-strings.patch |  246 +++ 
...d-a-function-to-get-the-index-of-a-string.patch |  159 ++ 
...004-fdt-Add-functions-to-retrieve-strings.patch |  173 ++
Quoted 6 lines
Quoted 4 lines

I am not supper happy with the solution of having those DTC patches specifically for the BeagleBone platform. If I understand correctly, those patches are needed to get the DT overlay to work, right ?

I was the one suggesting that approach...

Yes, i added them by following Arnout's advice.

Quoted 7 lines
Quoted 7 lines

We had the same problem for the C.H.I.P platform, so it would also be useful for us to have a overlay-capable DTC. You can see what my colleague Antoine T?nart did:

https://github.com/NextThingCo/CHIP-buildroot/commit/1a73b514d204d0c6

e9100d53011a11d99fd8b778

Quoted 2 lines
Quoted 2 lines

https://github.com/NextThingCo/CHIP-buildroot/commit/f3334df58611ff3cae5
fd62906423fdce3d80d24

Quoted 1 line
Quoted 1 line

https://github.com/NextThingCo/CHIP-buildroot/commit/c4457eba3099f5ca

514c06bb35b42772178a151a

Quoted 3 lines
Quoted 3 lines

It is not ideal because it relies on a separate dtc-overlay package,

Quoted 6 lines
Quoted 5 lines

which packages a different version of dtc, which Antoine has cooked on his own github repository.

We really need to find a solution that is acceptable in the upstream Buildroot, and applies to multiple platforms.

Quoted 6 lines

Just thinking out loud: we could add an option to the dtc package that selects the overlay version.

The canonical approach, however, would be to convert dtc to a virtual package with a dtc-kernel-org and a dtc-overlay implementation.

I looked into this a bit more:
* The u-boot doesn't need the host DTC (even though the BR2_TARGET_UBOOT_NEEDS_DTC is set in the patch i sent, something i'll need to fix in the next iteration)

* As the shipped .dtb files are built with the dtc version included in the linux tree from https://github.com/beagleboard/linux.git, which has the support for the overlays, so for merely getting a booting system, no need to hack the dtc package

* As the kernel build also installs this dtc version as 'output/host/usr/bin/linux-dtc', if one needs to compile overlays on the build host, s/he can use that one (although this need to be documented at least in the board's README)

* if the user want's to use dtc on the target s/he needs to enable BR2_PACKAGE_DTC_PROGRAMS, which will fail unless it has been patched

I'm also not sure what would be the best. I couldn't find any solid
reference now, but i would suspect/hope that this feature will hit the mainline dtc, so maybe we don't need a long-term solution for this, but i'm also just thinking out loud...

So as far i can see the options are (and none of them is ideal):

1. Implementing a similar solution as Antoine with an additional dtc-overlay package with a custom upstream repo.

2. Stick to the current package and upstream, but introduce a config variable like "BR2_PACKAGE_DTC_SUPPORT_OVERLAY", and if it's set, the needed patchset is applied (or just using an other upstream)

3. Create a virtual package and 2 implementations as dtc-kernel-org and a dtc-overlay

4. Only add the needed patches on the boards where needed and patch dtc by setting BR2_GLOBAL_PATCH_DIR

5. Introducing custom repository/custom patch dir config options for the dtc package like for u-boot and linux (maybe also with an option to use the dtc source coming with the kernel tree?)

And these are just covering the cases when the dtc version in the
kernel tree supports the overlay feature (like in the current case with beagleboard), so only the host tool dtc and the target dtc need to be specially treated.

Regards
zgyarmati
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJWmH/dAAoJEAGmEeeR8iVhNsoIAIRA/cIXoHSmkv76CdX2HHGV jYnwgEWsIimTH7KuXdvnhDc5pXSYisq83U9Clq+vN2e1jsQp8asB5LC0E8xCIwsq YHhPYO+g4wboFYTLz4ZlGpJ9FJdZ0qNjfCI4MavUuSXEifbIHVV2Vllkm90ttQB8 T/8QoP0y5a/COLt3DnpMwKzeEAmrIzDQIMKpON3bAwjyJ9/XixwmA665CFHMy7DJ y9aj6y1uB2ohJdMl8oTX7mJcmLn0J/nd264XepF3p5sJ16JWK4J+ofe22daONnNk mvrLumrzNh09UvDLxGDU0YJQ8STO8O0DZbwMEKi+widDJnd4NxGDH3nSZW331t0= =hw93
-----END PGP SIGNATURE-----

#4 lore raw

PATCH 1/1 configs: beaglebone: update kernel to 4.1.13 and u-boot to 2015.10

Zoltan,

Quoted 10 lines · Zoltan Gyarmati

I looked into this a bit more:
* The u-boot doesn't need the host DTC (even though the BR2_TARGET_UBOOT_NEEDS_DTC is set in the patch i sent, something i'll need to fix in the next iteration)

* As the shipped .dtb files are built with the dtc version included in the linux tree from https://github.com/beagleboard/linux.git, which has the support for the overlays, so for merely getting a booting system, no need to hack the dtc package

Quoted 4 lines

* As the kernel build also installs this dtc version as 'output/host/usr/bin/linux-dtc', if one needs to compile overlays on the build host, s/he can use that one (although this need to be documented at least in the board's README)

So in fact, for the purpose of the beaglebone defconfig itself, we don't need to package an overlay-capable DTC, right?

If that's the case, then I would suggest that we separate the problem in two parts: first get an updated beaglebone defconfig merged, then work on packaging an overlay-capable DTC.

Quoted 12 lines

So as far i can see the options are (and none of them is ideal):

1. Implementing a similar solution as Antoine with an additional dtc-overlay package with a custom upstream repo.

2. Stick to the current package and upstream, but introduce a config variable like "BR2_PACKAGE_DTC_SUPPORT_OVERLAY", and if it's set, the needed patchset is applied (or just using an other upstream)

3. Create a virtual package and 2 implementations as dtc-kernel-org and a dtc-overlay

Quoted 6 lines

4. Only add the needed patches on the boards where needed and patch dtc by setting BR2_GLOBAL_PATCH_DIR

5. Introducing custom repository/custom patch dir config options for the dtc package like for u-boot and linux (maybe also with an option to use the dtc source coming with the kernel tree?)

Do we really need to package the two variants of DTC ? The overlay-capable version is perfectly backward compatible with the mainline DTC. So why don't we simply include in package/dtc/ the patches needed to make DTC overlay-capable ?

Yes, this is moving away from our general rule of not including patches that add new features. But general rules are meant to have exceptions, and in this specific case, the upstream DTC project is so slow at integrating major changes such as overlays, and this feature is now being used so often (BeagleBone, Raspberry Pi, CHIP, etc.) that it makes sense to support it.

Arnout ? Antoine ?

Best regards,

Thomas

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

PATCH 1/1 configs: beaglebone: update kernel to 4.1.13 and u-boot to 2015.10

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Thomas & All,

Quoted 51 lines · Thomas Petazzoni

Zoltan,

Quoted 10 lines · Zoltan Gyarmati

I looked into this a bit more: * The u-boot doesn't need the host DTC (even though the BR2_TARGET_UBOOT_NEEDS_DTC is set in the patch i sent, something i'll need to fix in the next iteration)

* As the shipped .dtb files are built with the dtc version included in the linux tree from
https://github.com/beagleboard/linux.git, which has the support for the overlays, so for merely getting a booting system, no need to hack the dtc package

Quoted 4 lines

* As the kernel build also installs this dtc version as 'output/host/usr/bin/linux-dtc', if one needs to compile overlays on the build host, s/he can use that one (although this need to be documented at least in the board's README)

So in fact, for the purpose of the beaglebone defconfig itself, we don't need to package an overlay-capable DTC, right?

If that's the case, then I would suggest that we separate the problem in two parts: first get an updated beaglebone defconfig merged, then work on packaging an overlay-capable DTC.

Quoted 13 lines

So as far i can see the options are (and none of them is ideal):

1. Implementing a similar solution as Antoine with an additional dtc-overlay package with a custom upstream repo.

2. Stick to the current package and upstream, but introduce a config variable like "BR2_PACKAGE_DTC_SUPPORT_OVERLAY", and if it's set, the needed patchset is applied (or just using an other upstream)

3. Create a virtual package and 2 implementations as dtc-kernel-org and a dtc-overlay

Quoted 6 lines

4. Only add the needed patches on the boards where needed and patch dtc by setting BR2_GLOBAL_PATCH_DIR

5. Introducing custom repository/custom patch dir config options for the dtc package like for u-boot and linux (maybe also with an option to use the dtc source coming with the kernel tree?)

Do we really need to package the two variants of DTC ? The overlay-capable version is perfectly backward compatible with the mainline DTC. So why don't we simply include in package/dtc/ the patches needed to make DTC overlay-capable ?

Quoted 9 lines

Yes, this is moving away from our general rule of not including patches that add new features. But general rules are meant to have exceptions, and in this specific case, the upstream DTC project is so slow at integrating major changes such as overlays, and this feature is now being used so often (BeagleBone, Raspberry Pi, CHIP, etc.) that it makes sense to support it.

Arnout ? Antoine ?

Sounds as Columbus' egg solution to me :)
In the meantime i tested u-boot 2016.01 with the eewiki patch [1],
and with kernel tag 4.1.15-ti-rt-r41 from [2], and so far it seems to be working well (i still need to look into the overlay loading though). If the community also think it makes sense, in the next iteration i'm happy to post a patchset which contains:

* adding the [3] patches for the current dtc package unconditionally
* beaglebone board config with patched u-boot 2016.01 and kernel 4.1.15-ti-rt-r41 with a saner defconfig

[1]
https://github.com/eewiki/u-boot-patches/blob/master/v2016.01/0001-am335
x_evm-uEnv.txt-bootz-n-fixes.patch
[2] https://github.com/beagleboard/linux
[3] https://github.com/pantoniou/dtc/commits/dt-overlays5

Regards
zgyarmati
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJWmkdJAAoJEAGmEeeR8iVhEbMH/jG4onr2/MOVNAvTNZGFC86A lX1GQO52BHzXirBTL5uY9cwrJwvnmHx/ZVbUOm5MK/dkqMXQcNplyH3CHwcG+aa7 sBhG7jSvRsG+JzTVG01YZVizbBODFzmSyRzRgR+Wy8gtgi5lfVvdo0zXlOJbPZiI 0dNeTQx/2Bf+ulmqXpqplLnnzrW60w5k0xeHGoea8ZCWNDLgIxUqtUdxdOf7eBAr +grYBuAjJg6y9OpCtWTRf8OEDrj1hY1aFzx/BwYvJKc3ITLt+KMNwrf1oxZSprIG BMMKXkek8TaRRnpyRHEfEhuO3LI1baG5VcsmNgYxq/2ZonJwdBxv5CbjFWaoBXA= =df8M
-----END PGP SIGNATURE-----

#6 lore raw

PATCH 1/1 configs: beaglebone: update kernel to 4.1.13 and u-boot to 2015.10

BTW, thank you all.

I had intended to work on this when I got back to the states. Watching the process has been educational.

Regards

Chris

Pushing back the boundaries of ignorance.

Quoted 92 lines · Zoltan Gyarmati

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Thomas & All,

Quoted 51 lines · Thomas Petazzoni

Zoltan,

Quoted 10 lines · Zoltan Gyarmati

I looked into this a bit more: * The u-boot doesn't need the host DTC (even though the BR2_TARGET_UBOOT_NEEDS_DTC is set in the patch i sent, something i'll need to fix in the next iteration)

* As the shipped .dtb files are built with the dtc version included in the linux tree from
https://github.com/beagleboard/linux.git, which has the support for the overlays, so for merely getting a booting system, no need to hack the dtc package

Quoted 4 lines

* As the kernel build also installs this dtc version as 'output/host/usr/bin/linux-dtc', if one needs to compile overlays on the build host, s/he can use that one (although this need to be documented at least in the board's README)

So in fact, for the purpose of the beaglebone defconfig itself, we don't need to package an overlay-capable DTC, right?

If that's the case, then I would suggest that we separate the problem in two parts: first get an updated beaglebone defconfig merged, then work on packaging an overlay-capable DTC.

Quoted 13 lines

So as far i can see the options are (and none of them is ideal):

1. Implementing a similar solution as Antoine with an additional dtc-overlay package with a custom upstream repo.

2. Stick to the current package and upstream, but introduce a config variable like "BR2_PACKAGE_DTC_SUPPORT_OVERLAY", and if it's set, the needed patchset is applied (or just using an other upstream)

3. Create a virtual package and 2 implementations as dtc-kernel-org and a dtc-overlay

Quoted 6 lines

4. Only add the needed patches on the boards where needed and patch dtc by setting BR2_GLOBAL_PATCH_DIR

5. Introducing custom repository/custom patch dir config options for the dtc package like for u-boot and linux (maybe also with an option to use the dtc source coming with the kernel tree?)

Do we really need to package the two variants of DTC ? The overlay-capable version is perfectly backward compatible with the mainline DTC. So why don't we simply include in package/dtc/ the patches needed to make DTC overlay-capable ?

Quoted 9 lines

Yes, this is moving away from our general rule of not including patches that add new features. But general rules are meant to have exceptions, and in this specific case, the upstream DTC project is so slow at integrating major changes such as overlays, and this feature is now being used so often (BeagleBone, Raspberry Pi, CHIP, etc.) that it makes sense to support it.

Arnout ? Antoine ?

Sounds as Columbus' egg solution to me :)
In the meantime i tested u-boot 2016.01 with the eewiki patch [1],
and with kernel tag 4.1.15-ti-rt-r41 from [2], and so far it seems to be working well (i still need to look into the overlay loading though). If the community also think it makes sense, in the next iteration i'm happy to post a patchset which contains:

* adding the [3] patches for the current dtc package unconditionally
* beaglebone board config with patched u-boot 2016.01 and kernel 4.1.15-ti-rt-r41 with a saner defconfig

[1]
https://github.com/eewiki/u-boot-patches/blob/master/v2016.01/0001-am335
x_evm-uEnv.txt-bootz-n-fixes.patch
[2] https://github.com/beagleboard/linux
[3] https://github.com/pantoniou/dtc/commits/dt-overlays5

Regards
zgyarmati
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

Quoted 9 lines

iQEcBAEBAgAGBQJWmkdJAAoJEAGmEeeR8iVhEbMH/jG4onr2/MOVNAvTNZGFC86A lX1GQO52BHzXirBTL5uY9cwrJwvnmHx/ZVbUOm5MK/dkqMXQcNplyH3CHwcG+aa7 sBhG7jSvRsG+JzTVG01YZVizbBODFzmSyRzRgR+Wy8gtgi5lfVvdo0zXlOJbPZiI 0dNeTQx/2Bf+ulmqXpqplLnnzrW60w5k0xeHGoea8ZCWNDLgIxUqtUdxdOf7eBAr +grYBuAjJg6y9OpCtWTRf8OEDrj1hY1aFzx/BwYvJKc3ITLt+KMNwrf1oxZSprIG BMMKXkek8TaRRnpyRHEfEhuO3LI1baG5VcsmNgYxq/2ZonJwdBxv5CbjFWaoBXA= =df8M
-----END PGP SIGNATURE-----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160116/ba4ae85d/attachment.html>

#7 lore raw

PATCH 1/1 configs: beaglebone: update kernel to 4.1.13 and u-boot to 2015.10

In reply to Thomas Petazzoni

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Deat Thomas & All,

thanks for looking into this, please see the answers inline...

Quoted 22 lines · Thomas Petazzoni

Zoltan,

Quoted 2 lines · Zoltan Gyarmati

This patch is basically the cleaned-up version of Chris LaRocque's patch from his mail

Thanks for respining this patch.

Quoted 13 lines

"[PATCH 1/2] Updated the Beaglebone configuration, 01/03/2016 10:01 PM" and the cleanup followed Arnout's corresponding answers. Changes to Chris' patches: * dtc patches fetched from GH and placed in 'board/beaglebone/patches/dtc' * BR2_GLOBAL_PATCH_DIR set accordingly * added seperated kernel defconfig instead of patching the upstream defconfig * cleanups in uEnv.txt * fix u-boot version to 2015.10

The heavy-lifting was done by Chris here, the rest is mostly cosmetics. If anything els seems to be tweaked, please let us know.

Quoted 6 lines
Quoted 3 lines

board/beaglebone/linux-3.12.config | 251 ---
board/beaglebone/linux_4.1.13_bb.org_defconfig | 2043
++++++++++++++++++++

Looking at its size, this file looks like a full config file and not a defconfig. Please use a defconfig.

It's indeed a defconfig (generated with make linux-savedefconfig), but it enables tons of modules (it's just a slightly modified version of the upstream one, see at
https://github.com/beagleboard/linux/blob/4.1/arch/arm/configs/bb.org_de
fconfig)
I'm going to cook a shrinker defconfig version of this for Buildroot,
with just a basic set of modules enabled, especially as this version also takes a lot of time to build...

Quoted 14 lines

Or better: please use the defconfig that is inside the kernel tree, and if you need additional tweaks, use config fragments.

Quoted 4 lines
...comment-block-of-fdt_get_property_namelen.patch |   32 + 
.../0002-fdt-Add-a-function-to-count-strings.patch |  246 +++ 
...d-a-function-to-get-the-index-of-a-string.patch |  159 ++ 
...004-fdt-Add-functions-to-retrieve-strings.patch |  173 ++

I am not supper happy with the solution of having those DTC patches specifically for the BeagleBone platform. If I understand correctly, those patches are needed to get the DT overlay to work, right ?

Quoted 5 lines

We had the same problem for the C.H.I.P platform, so it would also be useful for us to have a overlay-capable DTC. You can see what my colleague Antoine T?nart did:

https://github.com/NextThingCo/CHIP-buildroot/commit/1a73b514d204d0c6e

9100d53011a11d99fd8b778

Quoted 2 lines

https://github.com/NextThingCo/CHIP-buildroot/commit/f3334df58611ff3cae5
fd62906423fdce3d80d24

Quoted 1 line

https://github.com/NextThingCo/CHIP-buildroot/commit/c4457eba3099f5ca5

14c06bb35b42772178a151a

Quoted 8 lines

It is not ideal because it relies on a separate dtc-overlay
package, which packages a different version of dtc, which Antoine has cooked on his own github repository.

We really need to find a solution that is acceptable in the upstream Buildroot, and applies to multiple platforms.

Quoted 6 lines
Quoted 3 lines

...cache-flush-management-symbols-when-MULTI.patch | 34 -
.../0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch | 754
++++++++

This huge U-Boot patch is really ugly and mixes lots of stuff. Why do you need it?

Agreed, it's an ugly patch, coming from
https://github.com/eewiki/u-boot-patches/blob/master/v2015.10/0001-am335
x_evm-uEnv.txt-bootz-n-fixes.patch
, and i couldn't find a nicer patchset. Looking ahead to 2016.01, there is a smaller patch for it
(https://github.com/eewiki/u-boot-patches/blob/master/v2016.01/0001-am33
5x_evm-uEnv.txt-bootz-n-fixes.patch),
where most of the changes are config-related and just a small actual code is patched, i'm going to test it and and report. (maybe we can go with a small patch extracted from the linked one, and a custom defconfig file?)

Quoted 13 lines

configs/beaglebone_defconfig line 27

Quoted 8 lines

-# bootloader BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="am335x_evm"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y

configs/beaglebone_defconfig +2 -1
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2013.10" 
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.10" 
+BR2_TARGET_UBOOT_NEEDS_DTC=y

So this is going to use the host-dtc package for U-Boot, but isn't the kernel still going to use its internal copy of dtc ? If so, how are your dtc patches useful for the kernel ?

Quoted 4 lines

Thanks!

Thomas

Thanks, regards
zgyarmati
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJWmFEGAAoJEAGmEeeR8iVhCVgIAKQpqvofRUQXyy10wKcAGCvg 8SPtWt09Cl69Y7sNx32kSkrfAWDHI0O3ez+Arz3lodIORAyV0Dq//BwYkof4l/ed uHkI5v+bH9g1JnkxbJ4dssVO2hTFE95rtxmsIwXSTmmoXG9hsHMaXkY34Ka615AJ ZoLQTnY5KL16MINA1N0vfi9KypRHQ69UUJugO9NoNhOpiwwXoTQMCCWmCIdnkcH5 Xn8ahqymgMuXPlA/KqIg54hsEj3/qHx2zvSsNIOSz+efRgCBtkVcH51wqHv04vYi 8/ME1pneG7OA1v5Ki/A9PG1xszlpXxaSA2B/Pxxm0plj30eB5SziYLFVrXzLc6s= =WJ8j
-----END PGP SIGNATURE-----

#8 lore raw

PATCH 1/1 configs: beaglebone: update kernel to 4.1.13 and u-boot to 2015.10

In reply to Zoltan Gyarmati

Zoltan, Chris,

Quoted 14 lines · Zoltan Gyarmati

---

This patch is basically the cleaned-up version of Chris LaRocque's patch from his mail
"[PATCH 1/2] Updated the Beaglebone configuration, 01/03/2016 10:01 PM" and the cleanup followed Arnout's corresponding answers.
Changes to Chris' patches:
* dtc patches fetched from GH and placed in 'board/beaglebone/patches/dtc'
* BR2_GLOBAL_PATCH_DIR set accordingly
* added seperated kernel defconfig instead of patching the upstream defconfig
* cleanups in uEnv.txt
* fix u-boot version to 2015.10

Quoted 2 lines

The heavy-lifting was done by Chris here, the rest is mostly cosmetics. If anything els seems to be tweaked, please let us know.

Any news about this submission? Lots of comments and suggestions have been made, but no newer version was sent, unless I missed it.

Do you plan to work on this topic soon? IIRC, the biggest issue was having an overlay-capable DTC.

Thanks!

Thomas

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

PATCH 1/1 configs: beaglebone: update kernel to 4.1.13 and u-boot to 2015.10

In reply to Zoltan Gyarmati

Hello,

Quoted 14 lines · Zoltan Gyarmati

---

This patch is basically the cleaned-up version of Chris LaRocque's patch from his mail
"[PATCH 1/2] Updated the Beaglebone configuration, 01/03/2016 10:01 PM" and the cleanup followed Arnout's corresponding answers.
Changes to Chris' patches:
* dtc patches fetched from GH and placed in 'board/beaglebone/patches/dtc'
* BR2_GLOBAL_PATCH_DIR set accordingly
* added seperated kernel defconfig instead of patching the upstream defconfig
* cleanups in uEnv.txt
* fix u-boot version to 2015.10

Quoted 2 lines

The heavy-lifting was done by Chris here, the rest is mostly cosmetics. If anything els seems to be tweaked, please let us know.

This patch has received many comments, but as far as I know, no new version has been sent. I still believe that an updated beaglebone_defconfig would be very nice to have, so if someone could revive this effort, it would be good.

In the mean time, I'm marking this patch as "Changes Requested" in our patch tracking system.

Thanks!

Thomas

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