robertoj Posted December 12, 2024 Posted December 12, 2024 I suddenly have a need to test Linux 6.11 or greater, because there's a needed improvement in the panel-mipi-dbi-spi driver (thread keyword ili9488) ย User "The Going" has kindly advised me to try his Armbian branch with Linux 6.12, so I am here sharing results as I test it with my Orange Pi Zero 3. ย Initial instructions: https://forum.armbian.com/topic/35635-armbian-242-is-broken-on-orange-pi-pc2/#findComment-207980 ย At first try, I decided to NOT follow this step: armbian/build> egrep '^-' patch/kernel/archive/sunxi-6.12/series.conf (finds all the excluded patches) ย Well, I continued. Choosing Linux Edge, shallow option, Bookworm minimal, there were zero problems: no patching errors and no compilation errors. ย At the end of the 4 hour compilation, I tested the resulting image in my Orange Pi Zero 3... and it booted fine. ย Not working at this moment: wifi (#iw dev returns nothing) spi1 (failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND when I use a dts overlay that works in Linux 6.7) usb (lsusb only shows the 2 root hubs, but not my usb devices) when I decompile sun50i-h618-orangepi-zero3.dtb there is no references to spi1 or hdmi (maybe more) ย Working: serial console ethernet other things not tested ย Next, I am going execute armbian/build> egrep '^-' patch/kernel/archive/sunxi-6.12/series.conf and find specific patches that maybe will improve my hardware situation. ย Result of that egrep search command, with patches I will try first, one by one, in bold Spoiler -ย ย ย patches.megous/Add-README.md-with-information-and-u-boot-patches.patch -ย ย ย patches.armbian/drv-staging-media-sunxi-cedrus-add-H616-variant.patch -ย ย ย patches.armbian/drv-soc-sunxi-sram-Add-SRAM-C1-H616-handling.patch -ย ย ย patches.armbian/drv-pinctrl-sunxi-pinctrl-sun50i-h6.c-GPIO-disable_strict_mode.patch -ย ย ย patches.armbian/drv-rtc-sun6i-Add-Allwinner-H616-support.patch -ย ย ย patches.armbian/drv-nvmem-sunxi_sid-Support-SID-on-H616.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h6-Add-r_uart-uart2-3-pins.patch -ย ย ย patches.armbian/arm64-dts-allwiner-sun50i-h616.dtsi-add-usb-ehci-ohci.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h616-orangepi-zero2-reg_usb1_vbus-status-ok.patch -ย ย ย patches.armbian/arm64-dts-allwinner-sun50i-h616-Add-GPU-node.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h616-orangepi-zero2-Enable-GPU-mali.patch -ย ย ย patches.armbian/arm64-dts-allwinner-sun50i-h616-Add-VPU-node.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h616-x96-mate-T95-eth-sd-card-hack.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h616-x96-mate-add-hdmi.patch -ย ย ย patches.armbian/arm64-dts-add-sun50i-h618-cpu-dvfs.dtsi.patch -ย ย ย patches.armbian/Add-ws2812-RGB-driver-for-allwinner-H616.patch -ย ย ย patches.armbian/arm64-dts-allwinner-h616-orangepi-zero2-Enable-expansion-board-.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h6.dtsi-improve-thermals.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h6-orangepi-3-delete-node-spi0.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h6-orangepi-lite2-spi0-usb3phy-dwc3-enable.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h6-pine-h64-add-wifi-rtl8723cs.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h6-pine-h64-add-dwc3-usb3phy.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h6.dtsi-add-pinctrl-pins-for-spi.patch -ย ย ย patches.armbian/cb1-overlay.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h6-orangepi-3-add-r_uart-aliase.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h6-orangepi-add-cpu-opp-refs.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h6-orangepi-enable-higher-clock-regulator-max-.patch -ย ย ย patches.armbian/fix-cpu-opp-table-sun8i-a83t.patch -ย ย ย patches.armbian/Add-dump_reg-and-sunxi-sysinfo-drivers.patch -ย ย ย patches.armbian/Add-sunxi-addr-driver-Used-to-fix-uwe5622-bluetooth-MAC-address.patch -ย ย ย patches.armbian/nvmem-sunxi_sid-add-sunxi_get_soc_chipid-sunxi_get_serial.patch -ย ย ย patches.armbian/mmc-host-sunxi-mmc-Fix-H6-emmc.patch -ย ย ย patches.armbian/arm64-dts-allwinner-sun50i-h6-Fix-H6-emmc.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h5-nanopi-r1s-h5-add-rtl8153-support.patch -ย ย ย patches.armbian/net-usb-r8152-add-LED-configuration-from-OF.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h6-orangepi.dtsi-Rollback-r_rsb-to-r_i2c.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h616-bigtreetech-cb1-sd-emmc.patch -ย ย ย patches.armbian/Add-board-BananaPi-BPI-M4-ZERO.patch -ย ย ย patches.armbian/ARM-dts-sun8i-nanopiduo2-Use-key-0-as-power-button.patch -ย ย ย patches.armbian/ARM-dts-sun8i-nanopiduo2-enable-ethernet.patch -ย ย ย patches.armbian/arm-dts-sun8i-h3-reduce-opp-microvolt-to-prevent-not-supported-.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h5-enable-power-button-for-orangepi-prime.patch -ย ย ย patches.armbian/enable-TV-Output-on-OrangePi-Zero-LTE.patch -ย ย ย patches.armbian/drivers-devfreq-sun8i-a33-mbus-disable-autorefresh.patch -ย ย ย patches.armbian/clk-gate-add-support-for-regmap-based-gates.patch -ย ย ย patches.armbian/mfd-Add-support-for-X-Powers-AC200.patch -ย ย ย patches.armbian/mfd-Add-support-for-X-Powers-AC200-EPHY-syscon.patch -ย ย ย patches.armbian/net-phy-Add-support-for-AC200-EPHY.patch -ย ย ย patches.armbian/arm64-dts-allwinner-h6-Add-AC200-EPHY-nodes.patch -ย ย ย patches.armbian/arm64-dts-allwinner-h6-tanix-enable-Ethernet.patch -ย ย ย patches.armbian/ASoC-AC200-Initial-driver.patch -ย ย ย patches.armbian/arm64-dts-allwinner-h6-add-AC200-codec-nodes.patch -ย ย ย patches.armbian/arm64-dts-allwinner-h6-enable-AC200-codec.patch -ย ย ย patches.armbian/add-nodes-for-sunxi-info-sunxi-addr-and-sunxi-dump-reg.patch -ย ย ย patches.armbian/add-initial-support-for-orangepi3-lts.patch -ย ย ย patches.armbian/Input-axp20x-pek-allow-wakeup-after-shutdown.patch -ย ย ย patches.armbian/Add-wifi-nodes-for-Inovato-Quadra.patch -ย ย ย patches.armbian/arm64-dts-h616-add-wifi-support-for-orange-pi-zero-2-and-zero3.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h618-orangepi-zero3-Enable-GPU-mali.patch -ย ย ย patches.armbian/arm64-dts-h616-add-hdmi-support-for-zero2-and-zero3.patch -ย ย ย patches.armbian/arm64-dts-H616-Add-overlays-that-are-also-compatible-with-orang.patch -ย ย ย patches.armbian/driver-allwinner-h618-emac.patch -ย ย ย patches.armbian/drivers-pwm-Add-pwm-sunxi-enhance-driver-for-h616.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h618-orangepi-zero2w-Add-missing-nodes.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h616-bananapi-m4-i2c-spi1-uart-pins.patch -ย ย ย patches.armbian/add-dtb-overlay-for-zero2w.patch -ย ย ย patches.armbian/Add-BPI-M4-ZERO-sdio-wifi-bt-overlay.patch -ย ย ย patches.armbian/Sound-for-H616-H618-Allwinner-SOCs.patch -ย ย ย patches.armbian/ARM64-dts-sun50i-h616-BigTreeTech-CB1-Enable-HDMI.patch -ย ย ย patches.armbian/ARM64-dts-sun50i-h616-BigTreeTech-CB1-Enable-EMAC1.patch -ย ย ย patches.armbian/arm64-dts-sun50i-h313-x96q-lpddr3.patch ย 0 Quote
robertoj Posted December 12, 2024 Author Posted December 12, 2024 I started with including this patch:ย patches.armbian/arm64-dts-H616-Add-overlays-that-are-also-compatible-with-orang.patch But it failed with this message: Spoiler Summary of failed patches [๐จ] โญโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ [๐จ] โ Patch โ Patching output โ Rejects โ [๐จ] โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค [๐จ] โ arm64-dts-H616-Add- โ patching file โ --- arch/arm64/boot/dts/allwinner/overlay/Makefile โ [๐จ] โ overlays-that-are-al โ "arch/arm64/boot/dts/allwinner/overlay/M โ +++ arch/arm64/boot/dts/allwinner/overlay/Makefile โ [๐จ] โ so-compatible-with-o โ akefile" โ @@ -49,6 +49,11 @@ dtb-$(CONFIG_ARCH_SUNXI) += \ โ [๐จ] โ rang โ Hunk #1 FAILED at 49. โ sun50i-h6-uart2.dtbo \ โ [๐จ] โ โ 1 out of 1 hunk FAILED -- saving rejects โ sun50i-h6-uart3.dtbo \ โ [๐จ] โ โ to file "/tmp/tmp2fq2hb8s" โ sun50i-h6-w1-gpio.dtbo \ โ [๐จ] โ โ patching file โ + sun50i-h616-i2c2.dtbo \ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ + sun50i-h616-i2c3.dtbo \ โ [๐จ] โ โ un50i-h616-i2c2.dtso" โ + sun50i-h616-i2c4.dtbo \ โ [๐จ] โ โ patching file โ + sun50i-h616-uart2.dtbo \ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ + sun50i-h616-uart5.dtbo \ โ [๐จ] โ โ un50i-h616-i2c3.dtso" โ sun50i-h616-spi-spidev.dtbo \ โ [๐จ] โ โ patching file โ sun50i-h616-spidev0_0.dtbo \ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ sun50i-h616-spidev1_0.dtbo \ โ [๐จ] โ โ un50i-h616-i2c4.dtso" โ โ [๐จ] โ โ patching file โ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ โ [๐จ] โ โ un50i-h616-uart2.dtso" โ โ [๐จ] โ โ patching file โ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ โ [๐จ] โ โ un50i-h616-uart5.dtso" โ โ [๐จ] โ โ patching file โ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/sun50i-h6 โ โ [๐จ] โ โ 16.dtsi" โ โ [๐จ] โ โ Hunk #1 succeeded at 253 (offset -110 โ โ [๐จ] โ โ lines). โ โ [๐จ] โ โ Hunk #2 succeeded at 311 (offset -117 โ โ [๐จ] โ โ lines). โ โ [๐จ] โ โ Hunk #3 succeeded at 332 (offset -117 โ โ [๐จ] โ โ lines). โ โ [๐จ] โ โ โ โ [๐จ] โฐโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ ย Maybe I need another patch together with this... one patch that adds the lines expected in the reject text 0 Quote
going Posted December 12, 2024 Posted December 12, 2024 38 ะผะธะฝัั ะฝะฐะทะฐะด, robertoj ัะบะฐะทะฐะป: At the end of the 4 hour compilation On which platform did you launch the build system? 0 Quote
going Posted December 12, 2024 Posted December 12, 2024 3 ะผะธะฝััั ะฝะฐะทะฐะด, robertoj ัะบะฐะทะฐะป: Maybe I need another patch together with this... one patch that adds the lines expected in the reject text Your processor is h616, which means you'll have to turn on everyone for h6, h616 0 Quote
robertoj Posted December 12, 2024 Author Posted December 12, 2024 16 minutes ago, going said: On which platform did you launch the build system? A virtualbox instance with 1 CPU and 2GB RAM inside this real PC: CPU: Intel i5-6300U (4) @ 3.000GHz RAM 8GB I started from scratch ย OK, I will activate all H6, H616 patches 0 Quote
robertoj Posted December 12, 2024 Author Posted December 12, 2024 When I activated all the H6, H616, H618 patches, I get 3 patching errors: Spoiler [๐จ] Summary of failed patches [๐จ] โญโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ [๐จ] โ Patch โ Patching output โ Rejects โ [๐จ] โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค [๐จ] โ arm64-dts-H616-Add- โ patching file โ --- arch/arm64/boot/dts/allwinner/overlay/Makefile โ [๐จ] โ overlays-that-are-al โ "arch/arm64/boot/dts/allwinner/overlay/M โ +++ arch/arm64/boot/dts/allwinner/overlay/Makefile โ [๐จ] โ so-compatible-with-o โ akefile" โ @@ -49,6 +49,11 @@ dtb-$(CONFIG_ARCH_SUNXI) += \ โ [๐จ] โ rang โ Hunk #1 FAILED at 49. โ sun50i-h6-uart2.dtbo \ โ [๐จ] โ โ 1 out of 1 hunk FAILED -- saving rejects โ sun50i-h6-uart3.dtbo \ โ [๐จ] โ โ to file "/tmp/tmp783vxx1_" โ sun50i-h6-w1-gpio.dtbo \ โ [๐จ] โ โ patching file โ + sun50i-h616-i2c2.dtbo \ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ + sun50i-h616-i2c3.dtbo \ โ [๐จ] โ โ un50i-h616-i2c2.dtso" โ + sun50i-h616-i2c4.dtbo \ โ [๐จ] โ โ patching file โ + sun50i-h616-uart2.dtbo \ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ + sun50i-h616-uart5.dtbo \ โ [๐จ] โ โ un50i-h616-i2c3.dtso" โ sun50i-h616-spi-spidev.dtbo \ โ [๐จ] โ โ patching file โ sun50i-h616-spidev0_0.dtbo \ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ sun50i-h616-spidev1_0.dtbo \ โ [๐จ] โ โ un50i-h616-i2c4.dtso" โ โ [๐จ] โ โ patching file โ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ โ [๐จ] โ โ un50i-h616-uart2.dtso" โ โ [๐จ] โ โ patching file โ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ โ [๐จ] โ โ un50i-h616-uart5.dtso" โ โ [๐จ] โ โ patching file โ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/sun50i-h6 โ โ [๐จ] โ โ 16.dtsi" โ โ [๐จ] โ โ โ โ [๐จ] โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค [๐จ] โ driver-allwinner-h6 โ patching file โ --- drivers/mfd/Makefile โ [๐จ] โ 18-emac โ "drivers/gpio/gpiolib-of.c" โ +++ drivers/mfd/Makefile โ [๐จ] โ โ Hunk #2 succeeded at 411 (offset -1 โ @@ -146,6 +146,7 @@ obj-$(CONFIG_MFD_DA9052_I2C) += โ [๐จ] โ โ lines). โ da9052-i2c.o โ [๐จ] โ โ patching file "drivers/mfd/Kconfig" โ โ [๐จ] โ โ Hunk #1 succeeded at 203 with fuzz 2. โ obj-$(CONFIG_MFD_AC100) += ac100.o โ [๐จ] โ โ patching file "drivers/mfd/Makefile" โ obj-$(CONFIG_MFD_AC200) += ac200.o โ [๐จ] โ โ Hunk #1 FAILED at 146. โ +obj-$(CONFIG_MFD_AC200_SUNXI) += sunxi-ac200.o โ [๐จ] โ โ 1 out of 1 hunk FAILED -- saving rejects โ obj-$(CONFIG_MFD_AXP20X) += axp20x.o โ [๐จ] โ โ to file "/tmp/tmpzu9fr5uz" โ obj-$(CONFIG_MFD_AXP20X_I2C) += axp20x-i2c.o โ [๐จ] โ โ patching file โ obj-$(CONFIG_MFD_AXP20X_RSB) += axp20x-rsb.o โ [๐จ] โ โ "drivers/mfd/sunxi-ac200.c" โ --- drivers/net/phy/Makefile โ [๐จ] โ โ patching file โ +++ drivers/net/phy/Makefile โ [๐จ] โ โ "drivers/net/ethernet/allwinner/Kconfig" โ @@ -33,6 +33,7 @@ sfp-obj-$(CONFIG_SFP) += sfp-bus.o โ [๐จ] โ โ patching file โ obj-y += $(sfp-obj-y) $(sfp-obj-m) โ [๐จ] โ โ "drivers/net/ethernet/allwinner/Makefile โ โ [๐จ] โ โ " โ obj-$(CONFIG_AC200_PHY) += ac200-phy.o โ [๐จ] โ โ patching file โ +obj-$(CONFIG_AC200_PHY_SUNXI) += sunxi-ephy.o โ [๐จ] โ โ "drivers/net/ethernet/allwinner/sunxi-gm โ obj-$(CONFIG_ADIN_PHY) += adin.o โ [๐จ] โ โ ac.c" โ obj-$(CONFIG_ADIN1100_PHY) += adin1100.o โ [๐จ] โ โ patching file โ obj-$(CONFIG_AIR_EN8811H_PHY) += air_en8811h.o โ [๐จ] โ โ "drivers/net/ethernet/allwinner/sunxi-gm โ โ [๐จ] โ โ ac.h" โ โ [๐จ] โ โ patching file โ โ [๐จ] โ โ "drivers/net/ethernet/allwinner/sunxi_gm โ โ [๐จ] โ โ ac_ops.c" โ โ [๐จ] โ โ patching file "drivers/net/phy/Kconfig" โ โ [๐จ] โ โ Hunk #1 succeeded at 84 with fuzz 2 โ โ [๐จ] โ โ (offset -4 lines). โ โ [๐จ] โ โ patching file "drivers/net/phy/Makefile" โ โ [๐จ] โ โ Hunk #1 FAILED at 33. โ โ [๐จ] โ โ 1 out of 1 hunk FAILED -- saving rejects โ โ [๐จ] โ โ to file "/tmp/tmpzu9fr5uz" โ โ [๐จ] โ โ patching file โ โ [๐จ] โ โ "drivers/net/phy/sunxi-ephy.c" โ โ [๐จ] โ โ patching file โ โ [๐จ] โ โ "include/linux/mfd/ac200.h" โ โ [๐จ] โ โ patching file "include/linux/of_gpio.h" โ โ [๐จ] โ โ โ โ [๐จ] โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค [๐จ] โ add-dtb-overlay-for โ patching file โ --- arch/arm64/boot/dts/allwinner/overlay/Makefile โ [๐จ] โ -zero2w โ "arch/arm64/boot/dts/allwinner/overlay/M โ +++ arch/arm64/boot/dts/allwinner/overlay/Makefile โ [๐จ] โ โ akefile" โ @@ -49,11 +49,11 @@ dtb-$(CONFIG_ARCH_SUNXI) += \ โ [๐จ] โ โ Hunk #1 FAILED at 49. โ sun50i-h6-uart2.dtbo \ โ [๐จ] โ โ Hunk #2 FAILED at 63. โ sun50i-h6-uart3.dtbo \ โ [๐จ] โ โ 2 out of 2 hunks FAILED -- saving โ sun50i-h6-w1-gpio.dtbo \ โ [๐จ] โ โ rejects to file "/tmp/tmpwosf19p8" โ - sun50i-h616-i2c2.dtbo \ โ [๐จ] โ โ patching file โ - sun50i-h616-i2c3.dtbo \ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ - sun50i-h616-i2c4.dtbo \ โ [๐จ] โ โ un50i-h616-gpu.dtso" โ - sun50i-h616-uart2.dtbo \ โ [๐จ] โ โ patching file โ - sun50i-h616-uart5.dtbo \ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ + sun50i-h616-i2c2-ph.dtbo \ โ [๐จ] โ โ un50i-h616-i2c0-pi.dtso" โ + sun50i-h616-i2c3-ph.dtbo \ โ [๐จ] โ โ patching file โ + sun50i-h616-i2c4-ph.dtbo \ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ + sun50i-h616-uart2-ph.dtbo \ โ [๐จ] โ โ un50i-h616-i2c1-pi.dtso" โ + sun50i-h616-uart5-ph.dtbo \ โ [๐จ] โ โ patching file โ sun50i-h616-spi-spidev.dtbo \ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ sun50i-h616-spidev0_0.dtbo \ โ [๐จ] โ โ un50i-h616-i2c2-ph.dtso" (renamed from โ sun50i-h616-spidev1_0.dtbo \ โ [๐จ] โ โ arch/arm64/boot/dts/allwinner/overlay/su โ @@ -63,7 +63,11 @@ dtb-$(CONFIG_ARCH_SUNXI) += \ โ [๐จ] โ โ n50i-h616-i2c2.dtso) โ sun50i-h616-tft35_spi.dtbo \ โ [๐จ] โ โ patching file โ sun50i-h616-mcp2515.dtbo \ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ sun50i-h616-ws2812.dtbo \ โ [๐จ] โ โ un50i-h616-i2c2-pi.dtso" โ - sun50i-h616-light.dtbo โ [๐จ] โ โ patching file โ + sun50i-h616-light.dtbo \ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ + sun50i-h616-i2c0-pi.dtbo \ โ [๐จ] โ โ un50i-h616-i2c3-ph.dtso" (renamed from โ + sun50i-h616-i2c1-pi.dtbo \ โ [๐จ] โ โ arch/arm64/boot/dts/allwinner/overlay/su โ + sun50i-h616-i2c2-pi.dtbo \ โ [๐จ] โ โ n50i-h616-i2c3.dtso) โ + sun50i-h616-gpu.dtbo โ [๐จ] โ โ patching file โ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ scr-$(CONFIG_ARCH_SUNXI) += \ โ [๐จ] โ โ un50i-h616-i2c4-ph.dtso" (renamed from โ sun50i-a64-fixup.scr \ โ [๐จ] โ โ arch/arm64/boot/dts/allwinner/overlay/su โ โ [๐จ] โ โ n50i-h616-i2c4.dtso) โ โ [๐จ] โ โ patching file โ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ โ [๐จ] โ โ un50i-h616-uart2-ph.dtso" (renamed from โ โ [๐จ] โ โ arch/arm64/boot/dts/allwinner/overlay/su โ โ [๐จ] โ โ n50i-h616-uart2.dtso) โ โ [๐จ] โ โ patching file โ โ [๐จ] โ โ "arch/arm64/boot/dts/allwinner/overlay/s โ โ [๐จ] โ โ un50i-h616-uart5-ph.dtso" (renamed from โ โ [๐จ] โ โ arch/arm64/boot/dts/allwinner/overlay/su โ โ [๐จ] โ โ n50i-h616-uart5.dtso) โ โ [๐จ] โ โ โ โ [๐จ] โฐโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ ย ย The 1st patch arm64-dts-H616-Add-overlays-that-are-also-compatible-with-orang is failing because I don't have these lines in the arch/arm64/boot/dts/allwinner/overlay/Makefile sun50i-h616-spi-spidev.dtbo sun50i-h616-spidev0_0.dtbo sun50i-h616-spidev1_0.dtbo ย Which patch file would insert those lines? Or should I edit the patch file to match the existing Makefile? 0 Quote
going Posted December 12, 2024 Posted December 12, 2024 14 ะผะธะฝัั ะฝะฐะทะฐะด, robertoj ัะบะฐะทะฐะป: Which patch file would insert those lines? Or should I edit the patch file to match the existing Makefile? You can try it. But you'd better wait. I'll do it on my own soon. ย 1 ัะฐั ะฝะฐะทะฐะด, robertoj ัะบะฐะทะฐะป: needed improvement in the panel-mipi-dbi-spi driver (thread keyword ili9488) Unfortunately, I have not found support in the 6.12 kernel for this device. drivers/gpu/drm/panel/Makefile:22:obj-$(CONFIG_DRM_PANEL_ILITEK_IL9322) += panel-ilitek-ili9322.o drivers/gpu/drm/panel/Makefile:23:obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9341) += panel-ilitek-ili9341.o drivers/gpu/drm/panel/Makefile:24:obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9805) += panel-ilitek-ili9805.o drivers/gpu/drm/panel/Makefile:25:obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9806E) += panel-ilitek-ili9806e.o drivers/gpu/drm/panel/Makefile:26:obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9881C) += panel-ilitek-ili9881c.o drivers/gpu/drm/panel/Makefile:27:obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9882T) += panel-ilitek-ili9882t.o .... drivers/gpu/drm/tiny/Kconfig:123: If M is selected the module will be called ili9163. drivers/gpu/drm/tiny/Kconfig:135: If M is selected the module will be called ili9225. drivers/gpu/drm/tiny/Kconfig:148: If M is selected the module will be called ili9341. drivers/gpu/drm/tiny/Kconfig:162: If M is selected the module will be called ili9486. drivers/gpu/drm/tiny/Makefile:11:obj-$(CONFIG_TINYDRM_ILI9163) += ili9163.o drivers/gpu/drm/tiny/Makefile:12:obj-$(CONFIG_TINYDRM_ILI9225) += ili9225.o drivers/gpu/drm/tiny/Makefile:13:obj-$(CONFIG_TINYDRM_ILI9341) += ili9341.o drivers/gpu/drm/tiny/Makefile:14:obj-$(CONFIG_TINYDRM_ILI9486) += ili9486.o .... drivers/staging/fbtft/Makefile:13:obj-$(CONFIG_FB_TFT_ILI9163) += fb_ili9163.o drivers/staging/fbtft/Makefile:14:obj-$(CONFIG_FB_TFT_ILI9320) += fb_ili9320.o drivers/staging/fbtft/Makefile:15:obj-$(CONFIG_FB_TFT_ILI9325) += fb_ili9325.o drivers/staging/fbtft/Makefile:16:obj-$(CONFIG_FB_TFT_ILI9340) += fb_ili9340.o drivers/staging/fbtft/Makefile:17:obj-$(CONFIG_FB_TFT_ILI9341) += fb_ili9341.o drivers/staging/fbtft/Makefile:18:obj-$(CONFIG_FB_TFT_ILI9481) += fb_ili9481.o drivers/staging/fbtft/Makefile:19:obj-$(CONFIG_FB_TFT_ILI9486) += fb_ili9486.o .... Maybe if you find a kernel patch to support this device, then I'll add it to the build system and we'll check it out. 0 Quote
robertoj Posted December 12, 2024 Author Posted December 12, 2024 Thank you ย The panel-mipi-dbi-spi driver, with the improvement it got in Linux 6.11, would be able to drive the ili9488 with the standard mipi protocol. ย It just needs to have the correct init byte commands. See: https://forum.armbian.com/topic/47971-driving-the-ili9488-lcd-40-inch-cheap-chinese-clone/#findComment-208043 ย 0 Quote
KungfuPancake Posted December 13, 2024 Posted December 13, 2024 I'm currently working with an Orange Pi 3 Zero, using panel-mipi-dbi-spi to drive an ILI9488 display. You can actually build a working image with the edge kernel, which currently corresponds to Linux 6.11.9. Just use the Armbian Build Framework. ย You can find more information and a DTS overlay here: https://github.com/KungfuPancake/v0_ips_touch_display 0 Quote
robertoj Posted December 13, 2024 Author Posted December 13, 2024 Thank you KungfuPancake!! I tested the command byte sequence, Linux 6.11.9 and my DTS. My LCD is now working ย I posted the solution in the appropriate thread: https://forum.armbian.com/topic/47971-driving-the-ili9488-lcd-40-inch-cheap-chinese-clone/#findComment-208446 ย Going: if you make changes for Opiz3, I will continue testing them 0 Quote
KungfuPancake Posted December 13, 2024 Posted December 13, 2024 You're very welcome ๐ย Glad it's working now. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.