Skip to contentSkip to conversation

Bump OLPC XO-1.75 to 5.8

PATCH New Lubomir Rintel 2 participants 5 messages Sep 11, 2020

lore
Share & tools
lore
#0 lore raw

cover Bump OLPC XO-1.75 to 5.8

Hi,

please consider applying this short series. It updates the XO-1.75 board to 5.8, enabling the new drivers.

Tested on a XO-1.75 laptop.

Thanks,
Lubo

#1 lore raw

PATCH 1/2 configs/olpc_xo175: bump kernel version

Update kernel to version 5.8.2.

---
 configs/olpc_xo175_defconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
configs/olpc_xo175_defconfig +1 -2
index 19075fe5a2..de790d66b4 100644
@@ -1,12 +1,11 @@
 BR2_arm=y
 BR2_pj4=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/olpc/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olpc/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.7.1"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.2"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olpc/xo-1.75/linux.config"
 BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olpc/linux.config"
Signature · 1 line
2.26.2
#2 lore raw

PATCH 1/2 configs/olpc_xo175: bump kernel version

Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Lubomir" == Lubomir Rintel <[email protected]> writes:

Update kernel to version 5.8.2.

---
 configs/olpc_xo175_defconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
configs/olpc_xo175_defconfig +0 -0
index 19075fe5a2..de790d66b4 100644

configs/olpc_xo175_defconfig line 3

Quoted 3 lines
configs/olpc_xo175_defconfig +0 -1
@@ -1,12 +1,11 @@
 BR2_arm=y
 BR2_pj4=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y

Even though it is currently the default, there should be an explicit

BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y

So this doesn't break when the 5.9 kernel is added.

configs/olpc_xo175_defconfig line 8

Quoted 7 lines
configs/olpc_xo175_defconfig +1 -1
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/olpc/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olpc/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.7.1"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.2"

NIT: Latest is 5.8.8.

Committed with the kernel-headers fix added, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 2/2 board/olpc/xo-1.75: enable drivers that were added in 5.8

In reply to Lubomir Rintel

This notably makes sound work.

---
 board/olpc/xo-1.75/linux.config | 9 +++++++++
 1 file changed, 9 insertions(+)
board/olpc/xo-1.75/linux.config +9 -0
index 30e43a8860..937cc38bd5 100644
@@ -15,8 +15,11 @@ CONFIG_NEON=y
 CONFIG_SENSORS_LIS3_SPI=y
 CONFIG_SERIO_OLPC_APSP=y
 CONFIG_REGULATOR_88PG86X=m
+CONFIG_MEDIA_PLATFORM_SUPPORT=y
+CONFIG_V4L_PLATFORM_DRIVERS=y
 CONFIG_VIDEO_MMP_CAMERA=y
 CONFIG_DRM_ARMADA=y
+CONFIG_DRM_CHRONTEL_CH7033=m
 CONFIG_DRM_DISPLAY_CONNECTOR=m
 CONFIG_DRM_SIMPLE_BRIDGE=m
 CONFIG_DRM_ETNAVIV=m
@@ -33,14 +36,20 @@ CONFIG_LIBERTAS_THINFIRM=m
 CONFIG_MWIFIEX=m
 CONFIG_MWIFIEX_SDIO=m
 CONFIG_MTD_SPI_NOR=m
+CONFIG_SRAM=y
 CONFIG_I2C_PXA=y
 CONFIG_SERIAL_OF_PLATFORM=y
 CONFIG_SPI=y
 CONFIG_SPI_PXA2XX=y
 CONFIG_SPI_SLAVE=y
 CONFIG_SND_SOC=y
+CONFIG_SND_MMP_SOC_SSPA=y
 CONFIG_SND_SOC_RT5631=y
+CONFIG_SND_AUDIO_GRAPH_CARD=y
 CONFIG_PWRSEQ_SD8787=m
 CONFIG_RTC_DRV_DS1307=y
+CONFIG_DMADEVICES=y
+CONFIG_MMP_TDMA=y
 CONFIG_INPUT_TOUCHSCREEN=y
 CONFIG_TOUCHSCREEN_ZFORCE=y
+CONFIG_COMMON_CLK_MMP2_AUDIO=y
Signature · 1 line
2.26.2
#4 lore raw

PATCH 2/2 board/olpc/xo-1.75: enable drivers that were added in 5.8

Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Lubomir" == Lubomir Rintel <[email protected]> writes:

This notably makes sound work.

This could have been part of the same commit changing to 5.8.2, but OK.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard