All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCHv2-next 1/2] orangepi_pc_defconfig: bump linux to 4.19.3, u-boot to 2018.11
@ 2018-11-23  7:51 Peter Korsgaard
  2018-11-23  7:51 ` [Buildroot] [PATCHv2-next 2/2] orangepi_zero_defconfig: " Peter Korsgaard
  2018-11-23  9:48 ` [Buildroot] [PATCHv2-next 1/2] orangepi_pc_defconfig: " Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Korsgaard @ 2018-11-23  7:51 UTC (permalink / raw)
  To: buildroot

4.18 brought cpufreq support for H3, but sunxi_defconfig does not enable the
driver for the sy8106a regulator used on the board or enable the ondemand
cpufreq govenor so the frequency is dynamically adjusted - So enable these in
linux.fragment.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
Changes since v1:
- Enable ondemand govenor so CPU frequency is actually dynamically adjusted

 board/orangepi/orangepi-pc/linux.fragment | 2 ++
 configs/orangepi_pc_defconfig             | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/board/orangepi/orangepi-pc/linux.fragment b/board/orangepi/orangepi-pc/linux.fragment
index cdd522452a..581b715bd5 100644
--- a/board/orangepi/orangepi-pc/linux.fragment
+++ b/board/orangepi/orangepi-pc/linux.fragment
@@ -1,3 +1,5 @@
+CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
+CONFIG_REGULATOR_SY8106A=y
 CONFIG_DRM_SUN8I_DW_HDMI=y
 CONFIG_SUN8I_DE2_CCU=y
 CONFIG_SND_SUN8I_CODEC_ANALOG=y
diff --git a/configs/orangepi_pc_defconfig b/configs/orangepi_pc_defconfig
index 313b7ab3a4..130a4e7088 100644
--- a/configs/orangepi_pc_defconfig
+++ b/configs/orangepi_pc_defconfig
@@ -1,7 +1,7 @@
 BR2_arm=y
 BR2_cortex_a7=y
 BR2_ARM_FPU_VFPV4=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_17=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
 BR2_TARGET_GENERIC_HOSTNAME="OrangePi_PC"
 BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi PC"
 BR2_SYSTEM_DHCP="eth0"
@@ -9,7 +9,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-pc/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.17.15"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.3"
 BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
 BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-pc/linux.fragment"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
@@ -20,7 +20,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.07"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.11"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_pc"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCHv2-next 2/2] orangepi_zero_defconfig: bump linux to 4.19.3, u-boot to 2018.11
  2018-11-23  7:51 [Buildroot] [PATCHv2-next 1/2] orangepi_pc_defconfig: bump linux to 4.19.3, u-boot to 2018.11 Peter Korsgaard
@ 2018-11-23  7:51 ` Peter Korsgaard
  2018-11-23  9:48 ` [Buildroot] [PATCHv2-next 1/2] orangepi_pc_defconfig: " Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2018-11-23  7:51 UTC (permalink / raw)
  To: buildroot

4.18 brought cpufreq support for H3, but sunxi_defconfig does not enable the
ondemand cpufreq govenor so the frequency is dynamically adjusted - So
enable it in linux-extra.config.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
New in v2

 board/orangepi/orangepi-zero/linux-extras.config | 3 +++
 configs/orangepi_zero_defconfig                  | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/board/orangepi/orangepi-zero/linux-extras.config b/board/orangepi/orangepi-zero/linux-extras.config
index fe00af5ef7..2db241de28 100644
--- a/board/orangepi/orangepi-zero/linux-extras.config
+++ b/board/orangepi/orangepi-zero/linux-extras.config
@@ -15,3 +15,6 @@ CONFIG_CFG80211_WEXT=y
 
 # wireless drivers
 CONFIG_WLAN=y
+
+# ondemand cpufreq governor
+CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig
index 87962152f3..3c65665cd1 100644
--- a/configs/orangepi_zero_defconfig
+++ b/configs/orangepi_zero_defconfig
@@ -3,13 +3,13 @@ BR2_cortex_a7=y
 BR2_ARM_FPU_VFPV4=y
 BR2_GLOBAL_PATCH_DIR="board/orangepi/orangepi-zero/patches"
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_17=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
 BR2_TARGET_GENERIC_HOSTNAME="OrangePi_Zero"
 BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi Zero"
 BR2_SYSTEM_DHCP="eth0"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.17.15"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.3"
 BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h2-plus-orangepi-zero"
@@ -21,7 +21,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.07"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.11"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCHv2-next 1/2] orangepi_pc_defconfig: bump linux to 4.19.3, u-boot to 2018.11
  2018-11-23  7:51 [Buildroot] [PATCHv2-next 1/2] orangepi_pc_defconfig: bump linux to 4.19.3, u-boot to 2018.11 Peter Korsgaard
  2018-11-23  7:51 ` [Buildroot] [PATCHv2-next 2/2] orangepi_zero_defconfig: " Peter Korsgaard
@ 2018-11-23  9:48 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2018-11-23  9:48 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 23 Nov 2018 08:51:13 +0100, Peter Korsgaard wrote:
> 4.18 brought cpufreq support for H3, but sunxi_defconfig does not enable the
> driver for the sy8106a regulator used on the board or enable the ondemand
> cpufreq govenor so the frequency is dynamically adjusted - So enable these in
> linux.fragment.
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
> Changes since v1:
> - Enable ondemand govenor so CPU frequency is actually dynamically adjusted

Both applied to next.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-23  9:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-23  7:51 [Buildroot] [PATCHv2-next 1/2] orangepi_pc_defconfig: bump linux to 4.19.3, u-boot to 2018.11 Peter Korsgaard
2018-11-23  7:51 ` [Buildroot] [PATCHv2-next 2/2] orangepi_zero_defconfig: " Peter Korsgaard
2018-11-23  9:48 ` [Buildroot] [PATCHv2-next 1/2] orangepi_pc_defconfig: " Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.