================================================================================ OpenIPC bring-up notes — Jooan W8-U (Ingenic T23N) Hardware fully characterised but OpenIPC is not yet runnable. ================================================================================ 0. SUMMARY -------------------------------------------------------------------------------- The Jooan W8-U is a dual-lens Wi-Fi-only pan/tilt camera on an Ingenic T23N. This report documents it end-to-end from a stock UART boot log, an in-system ipctool run, and the raw flash dump — but OpenIPC does not run on it yet. There are two issues: the image sensor is a CV2005 and the Wi-Fi is a Seekwave SWT6621S and neither has an OpenIPC driver. Everything underneath seems fine: the SoC is a supported t23n, the flash/U-Boot path works, and OpenIPC's own u-boot-t23n DDR init is bit-identical to this board's. Two further gaps (dual sensor, GPIO-mux PTZ) would need work once the sensor/Wi-Fi exist. 1. IDENTITY -------------------------------------------------------------------------------- Maker Jooan Retail model W8-U (dual-lens PTZ, Wi-Fi only) Vendor/internal JA-A12 (config.json ProductName + /etc/deviceModel; AP SSID built "JAA-A12") Mainboard silk A12_B_MB_VC_5G16 Wi-Fi module silk JA-6621-SL V1.0 JD PCB edge code A12006805V Vendor firmware ja_version 01.23N.20260522.10 ; app FirmwareVer 05.02.31.135 (U-Boot + kernel built 18 May 2026; app built 03 Jun 2026) FCC ID 2BBQ4-W8U 2. SOC / MEMORY / FLASH -------------------------------------------------------------------------------- SOC Ingenic T23N (die mark "T23"; bootargs CpuType=T23N; XBurst, mips32r1, "Pike") Clocks CCLK 1400 / L2 700 / H0 200 / H2 200 / PCLK 100 MHz ; apll 1400, mpll 1200 ; DDR 600 MHz. RAM 64 MB DDR, 600 MHz. Stock split: mem=43548K@0x0 + rmem=21988K@0x2a87000 (SDKMem 21988); Linux sees ~38 MB, the rest is ISP reserved memory. DDR init: OpenIPC's u-boot-t23n DDR register writes are **37 of 37 bit-identical** to this board's vendor SPL (extracted + compared statically) — e.g. DDRC_CFG 0x0a288a40, PHY timings 050f0a06 / 021c0807 / 20080723 / 1f240031 / ff060405 / 321c0505. SPI NOR 8 MB. PUYA **PY25Q64HA**, JEDEC id **0x852017** (maker 0x85 PUYA, device 0x2017). SOIC-8, 3.3 V, 32 KB erase block. Vendor flash layout (jz_sfc mtdparts): 256k(boot) 32k(bootenv) 1472k(kernel) 2880k(rootfs) 3136k(appfs) 384k(config) 32k(confbak) OpenIPC flash layout (t23n): 256k(boot) 64k(env) 2048k(kernel) -(rootfs) -(rootfs_data) 3. SENSOR -------------------------------------------------------------------------------- Part Dual SmartSens CV2005 (supposedly binocular; config SensorNum=2, binocular_lens_type=1 but physically not). Bus/addr Both on **I2C bus 0** — main @ **0x35**, sub @ **0x36** (7-bit). [confirmed: boot log "cv2005 chip found @ 0x35 (i2c0)" / "cv2005s1 @ 0x36 (i2c0)"; ipctool i2cdetect shows 0x6a/0x6c (=0x35/0x36 8-bit).] Chip-id **0x0520** — reg 0x3002=0x05, 0x3003=0x20. [confirmed: ipctool i2cdump @0x6a + boot-log reads.] Pads I2C0 on PA12/PA13, sensor MCLK on PA15 (ipctool reginfo --pads). Driver sensor_cv2005.ko driver **H20250122a**; ISP tx-isp **H20240819a-mult** (dual, direct_mode=2). Resolution Main 2304x1296 @15 fps H.264 (config UnionRes 0x5100900) + sub 640x360 @15 (0x1680280). *** OpenIPC gap *** openingenic's T23 sensor list has sc1a4t / sc2336 etc. but **no cv2005** — there is no OpenIPC driver for this part. A port needs tx-isp T23 + a CV2005 register init + the I2C address (0x35/0x36, not the usual 0x30). A full 0x3000-0x30ff register dump of a running sensor is included with the extra_logs_and_stuff.txt file to try to help that work. *** ipctool gap *** ipctool does know "CV2005" (vendor "cvsens") but its Ingenic probe only tries 0x30, so on hardware it prints "No sensor detected". The sensor is at 0x35 — worth adding to ipctool? 4. Wi-Fi (only radio; no Ethernet) -------------------------------------------------------------------------------- Chip Seekwave **SWT6621S** (silk "SWT6621 SL"), USB attach, VID:PID **3607:6621**, 40 MHz xtal. 2.4 GHz, Wi-Fi + Bluetooth combo (BT chip ver 0x5302). Vendor model token "skw6621s" / internal "SV6160LITE". Stock drv skw_usb_lite.ko (USB transport, modem_enable_gpio = Wi-Fi power) + skw6316.ko (+ skwbt.ko). Driver VERSION 2.0.241120.be3d109 ; modem fw trunk_W23.20.2 rev36321 (20250815). Firmware SWT6621S_IRAM_USB.bin, SWT6621S_DRAM_USB.bin, SEEKWAVE_NV_SWT6621S.bin, and the per-project RF calib SWT6621S_SEEKWAVE_R04001.bin (all extracted from the stock rootfs). Power Wi-Fi module powered by GPIO 6 (driven high before the driver loads); no Wi-Fi reset GPIO. RESULT On stock: enumerates, loads, brings up wlan0 + wlan1 (dual STA) and Bluetooth -> WIFIREADY / BTREADY. *** OpenIPC gap *** OpenIPC has NO Seekwave driver. Thingino merged one (package wifi-swt6621s, PR #2091, source WLTB-Gino/swt6621s) — but its profile targets the wired W3-U, not this W8-U. 5. ETHERNET -------------------------------------------------------------------------------- NONE fitted. The T23 has an on-chip GMAC (RMII to an external 10/100 PHY) but the PHY is not fitted. Both the "ETH" silk + a small header exist on the board, but config EthMac is empty, and the kernel logs `jz_mii_bus/jz_mac: probe ... failed with error -1` (synopGMAC_reset failed). The firmware then powers down the GMAC clock (`eth0 does not exist, now close gpio39`). Treat this camera as a Wi-Fi-only one. 6. MOTORS / PTZ -------------------------------------------------------------------------------- Real pan/tilt. I believe it's a single 4-wire stepper driver with pan and tilt time-shared: phases GPIO 51 / 52 / 53 / 54 (PB19 / PB20 / PB21 / PB22) select pan<->tilt via motorswitchgpio 17 (level 1) limits HorizontalMaxStep 11900, VerticalMaxStep 1200, VerticalResetStep 900 (sample_motor.ko) It runs a pan/tilt reset at boot (the camera physically moves). *** OpenIPC gap *** OpenIPC's motor.ko uses separate H/V GPIO sets and has NO switch-GPIO, so it cannot drive this one-stepper + GPIO-17 mux as-is. (NB: those stepper pads are dual-function GPIO/I2C2 at the silicon; the board uses them as motor GPIO. Ignore any reginfo snapshot that shows I2C2 there — that is only the sinfo probe transiently muxing the bus; both sensors are on I2C0.) 7. GPIO / LED MAP (config.json HardwareParam, cross-checked vs stock boot log + ipctool reginfo --pads) -------------------------------------------------------------------------------- White light LED ........ GPIO 60 active-high [confirmed: config WhiteLightGpio 60] IR illuminator LED ..... GPIO 59 active-high [confirmed: config InfraredGpio 59; majestic backlightPin] IR-cut filter .......... GPIO 49 + GPIO 50 (dual) [confirmed: config IrcutModel 1, IrcutOneGpio/TwoGpio] Indicator LED green .... GPIO 57 [confirmed: boot log "indicator_init gpio_blue:57" -- pcb is fitted as green] Indicator LED red ...... GPIO 58 [confirmed: boot log "gpio_yellow:58" -- pcb is fitted as red] Reset / function btn ... GPIO 62 active-low (input) [config ResetGpio 62] SD-card detect ......... GPIO 61 [confirmed: bootargs HWKernelGpio=61(SdCd); kernel MMC owns it] Wi-Fi power/enable ..... GPIO 6 [confirmed: config PowerGpio 6; skw_usb_lite modem_enable_gpio] Speaker / amp enable ... GPIO 63 [config SpeakGpio 63 — but audio.ko loaded spk_gpio=-1 on this unit, so it may not be actively driven; need to verify it] Matching majestic-customizer keys (for an eventual profile): irCutPin1=49, irCutPin2=50, backlightPin=59, speakerPin=63, usb(wifi-pwr)=6, mmc_pwr/sdcd=61, button=62. LED1/led2 could map to 57/58. DAY / NIGHT Sensor-exposure driven — there is no LDR / ambient-light sensor on the board (IrDetectGpio=-1). Thresholds: ToNightEv=270000 / ToDayEv=25000 (exposure value). Stock drives IR-cut (49/50) + IR LED (59) from the ISP's auto-exposure; OpenIPC would do the same via majestic nightMode. BUTTON (GPIO 62) Active-low reset/function button. Under OpenIPC, resetd.sh would poll gpio62 (as on the A6M). 8. UART -------------------------------------------------------------------------------- Port UART1 = ttyS1, 115200 8N1, 3.3 V logic. Pads Round test pads next to the SoC; TX = PB23, RX = PB24 (confirmed live). I reflashed with a modifed u-boot to remove the password. Same u-boot password style as the other Jooan camera. Included flash has that small patch, original flash available on request 9. STATUS UNDER OPENIPC -------------------------------------------------------------------------------- OpenIPC does not run end-to-end on this unit. State of play: WORKS / READY - SOC t23n is supported; OpenIPC ships u-boot-t23n-nor.bin (no password). - DDR: OpenIPC u-boot-t23n init is 37/37 identical to the vendor SPL -> RAM will come up. - Flash (PY25Q64HA) + programmer reflash + the whole boot path are fine. BLOCKERS (need code) 1. SENSOR: no CV2005 driver in openingenic (T23). Needs a tx-isp T23 CV2005 port at I2C 0x35. 2. WI-FI: no Seekwave SWT6621S driver in OpenIPC at all. 3. DUAL SENSOR: OpenIPC's T23 libimp has no multi-camera / sensor-switch path (binocular). 4. PTZ: OpenIPC motor.ko has no switch-GPIO, so the single-stepper + GPIO-17 mux is unsupported. UPSTREAM CONTEXT - OpenIPC/linux #261 (T23 on CIP 6.12) MERGED a "ja-a12" device tree — but for a dual-SC1A4T + ATBM6132 revision of this same board, not this CV2005 + SWT6621S unit. - Thingino master has an SWT6621S package (wifi-swt6621s, #2091); no CV2005 anywhere. 10. VALIDATION RESULTS (on this unit) -------------------------------------------------------------------------------- [OK] ipctool: SoC Ingenic T23N; flash 8M NOR PY25Q64HA (JEDEC 0x852017); RAM 64M; uClibc 0.9.33.2. [OK] DDR init of OpenIPC u-boot-t23n == vendor SPL (37/37 registers) — RAM bring-up proven statically. [OK] Sensor: dual CV2005 live on i2c0 @ 0x35/0x36, chip-id 0x0520; stock streams 2304x1296@15 H.264. [OK] Wi-Fi: SWT6621S enumerates (USB 3607:6621), wlan0+wlan1 + BT reach WIFIREADY/BTREADY on stock. [--] Ethernet: none (PHY depopulated; jz_mac probe -1). [--] OpenIPC cannot run yet: no CV2005 driver, no SWT6621S driver (see section 9). [i ] ipctool on T23 has gaps: clocks "T23N not supported yet", temp "cannot be retrieved", sensor missed (probes 0x30 not 0x35), printenv empty. 11. SUGGESTED BOARD-CATALOGUE FIELDS -------------------------------------------------------------------------------- vendor: jooan model: W8-U (internal JA-A12; board A12_B_MB_VC_5G16) chip: t23n (Ingenic) sensor: cv2005 x2 @ i2c0 0x35 / 0x36, chip-id 0x0520 flash: 8 MB SPI NOR (PUYA PY25Q64HA, JEDEC 0x852017) ram: 64 MB wifi: seekwave swt6621s (USB 3607:6621) ethernet: none (PHY depopulated) ptz: yes (single stepper driver, GPIO 51-54 + pan/tilt switch GPIO 17) status: documented / not-yet-supported ================================================================================