Repository navigation
Description
Hi @widgetii,
I'd like to contribute an OpenIPC Ingenic T23 port based on CIP Linux 6.12 (6.12.114-cip34), replacing the frozen 3.10.14 vendor SDK kernel and binary libimp stack with in-kernel drivers (V4L2/MC + ALSA + standard SoC peripherals). Since this is effectively a fresh kernel port for T23 with an unrelated git history, I'd like to ask for a base branch in OpenIPC/linux before opening the PR.
The request
Please create ingenic-t23-6.12 in OpenIPC/linux from commit 36226b6091bffd759f9e73ff9ce00e05b02130fc ("Linux 6.12.114-cip34"). It is in my fork as ingenic-t23-6.12-base (https://github.com/difanz/openipc-linux/tree/ingenic-t23-6.12-base):
git fetch https://github.com/difanz/openipc-linux.git ingenic-t23-6.12-base
git push https://github.com/OpenIPC/linux.git FETCH_HEAD:refs/heads/ingenic-t23-6.12(Alternatively, if you prefer to keep the unversioned ingenic-t23 branch name by archiving the existing 3.10.14 branch or targeting another branch name, I'm happy to adjust the firmware defconfig to match.)
Once ingenic-t23-6.12 exists, I will open the PR OpenIPC:ingenic-t23-6.12 ← difanz:ingenic-t23-6.12 (https://github.com/difanz/openipc-linux/tree/ingenic-t23-6.12), which is 83 commits, 185 files, +33061/−144 at 5d76dc03155ee85016a49346436aebf8ef31c427.
Why a separate base branch
- The existing
ingenic-t23branch is the frozen3.10.14vendor SDK tree. This port is built on CIP 6.12 (v6.12.114-cip34), an actively maintained SLTS branch whose git history is unrelated to3.10.14. - The base commit is a single-commit import of the unmodified kernel.org release tarball
linux-cip-6.12.114-cip34.tar.xz. Its tree hash isb0dd934438ff34f83d639eb116327748aae7791c, identical to tagv6.12.114-cip34^{tree}and the extracted tarball, so it can be verified independently. Every T23 and OpenIPC change sits on top as an individual, reviewable commit. - Keeping the T23 series cleanly stacked above the vanilla CIP base makes future CIP stable updates a straightforward rebase.
What the port includes
No vendor SDK binary blobs or out-of-tree modules are required:
- Device trees, bindings & configs:
t23.dtsi,t23-openipc.dts(generic 8 MiB NOR board with GC2053 + 24 MiBalloc-rangesCMA pool),ja-a10.dts(T23DL),ja-a12.dts(T23N),t23-qemu*.dtscamera profiles, bindings for all new blocks, andt23_defconfig(vmlinux.bin< 4.5 MiB U-Boot decompression limit with built-in boot/NOR/I2C/watchdog drivers and modular media/GMAC/PHY). - SoC & core peripherals:
MACH_INGENIC_T23+ TCU watchdog restart, XBurst BTB invalidation + scache DMA range fixes, CGU clocks & divider/bus-stop reset handshakes, INTC, pinctrl/GPIO, system OST (ingenic-sysost), PWM, WDT, RTC, PDMA (jz4780-dma), SFC v1 SPI-MEM flash controller (+ Zbit ZB25VQ64/128), SSI SPI, I2C (jz4780), 8250 UART, USB OTG PHY + DWC2 params, MSC/MMC (jz4740_mmc), GMAC (dwmac-ingenic), SAR ADC (IIO), eFuse (NVMEM), AES (ingenic-crypto), DTRNG (ingenic-trng), DDR register window mapping, and RISC-V coprocessor remoteproc skeleton. - Media (standard V4L2 / Media Controller / M2M): MIPI CSI-2 receiver + D-PHY, VIC, Tiziano ISP core + 3-channel MSCA scaler/DMA capture pipeline + UAPI metadata/params formats (
v4l2-t23-isp-stats/v4l2-t23-isp-params), Helix hardware H.264/JPEG/MJPEG V4L2 M2M encoder, IPU v1.3 M2M converter, GPIO PTZ motor driver, and sensor drivers for GC2053, SC1A4T, SC2336, and SC2337P. - Audio (ASoC): T23 internal codec driver and AIC I2S / reference-capture additions.
- OpenIPC rootfs handling: Port of OpenIPC's
mtd/split_layout.candroot_dev_from_flashforfirmware.binimages.
(Companion userland branches that replace libimp/majestic for t23_lite — opt-in T23 V4L2/Helix HAL in difanz/openipc-divinus:ingenic-t23-v4l2 and t23-ipa + t23_lite wiring in difanz/openipc-firmware:ingenic/t23-6.12 — will follow once the kernel branch lands.)
Verification so far
make ARCH=mips W=1 dtbsbuilds all 6 T23 DTBs with 0 warnings.- Full OpenIPC
BOARD=t23_liteBuildroot build succeeds within 8 MiB SPI NOR limits (uImage1479 KB / 1983 KB,rootfs.squashfs4064 KB / 5120 KB,firmware.bin5632 KB / 7616 KB). - End-to-end 2-boot QEMU
-M t23verification (u-boot-t23n-nor.bin+firmware.bin) boots Boot 1 (osmem=40M->load_ingenicupdatesosmem=64M-> watchdog reboot), Boot 2 (mem=64M,24576 kBCMA,eth0DHCP, JFFS2/overlay), runst23-ipa+divinus, serves1920x1080HTTP JPEG snapshots, and decodes 15 RTSP H.264 frames withffmpeg -err_detect explode(0 errors).
Thanks!
Activity
widgetii commentedon Nov 18, 2026
Created
ingenic-t23-6.12at36226b6091bffd759f9e73ff9ce00e05b02130fc("Linux 6.12.114-cip34").Verified before pushing: it is a root commit with tree
b0dd934438ff34f83d639eb116327748aae7791c, identical tov6.12.114-cip34^{tree}from the CIP project tree. That matches howhisilicon-hi3516ev200-6.6is laid out (vanilla release import, then the port on top).The existing 3.10.14
ingenic-t23branch stays as is. Please go ahead and open the PR againstingenic-t23-6.12.difanz commentedon Nov 18, 2026
Thank you, #261 created.
openipc-ai commentedon Nov 20, 2026
For the record: #261 is now rebase-merged into
ingenic-t23-6.12(78 commits on top of6.12.114-cip34, tip89719ddefba7). Follow-ups are listed in the approving review on #261.