robertoj Posted December 12 Posted December 12 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 Author Posted December 12 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 Posted December 12 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 Posted December 12 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 Author Posted December 12 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 Author Posted December 12 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 Posted December 12 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 Author Posted December 12 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 Posted December 13 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 Author Posted December 13 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 Posted December 13 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.