================================================================================ OpenIPC bring-up notes — Jooan A6M-U (Ingenic T23N) Hardware-confirmed working: video + Wi-Fi + GPIO. Compiled 2026-11-15. ================================================================================ 0. SUMMARY -------------------------------------------------------------------------------- The Jooan A6M-U is a fixed (non-PTZ), Wi-Fi-only camera on an Ingenic T23N. OpenIPC works perfectly, the SC1A4T sensor streams H.264, the Altobeam ATBM6012B USB Wi-Fi associates and gets DHCP, and the LED / IR-cut / button / speaker GPIOs all work as expected on hardware. The builder device is `t23_lite_jooan-a6m-u` (SC1A4T / "A6M-U vB" variant). The vendor U-Boot is password-locked with a non-obvious Ctrl-Q interrupt key. That actually cost me hours of my life to figure out. I'm not getting those hours back Jooan. Thanks! :) 1. IDENTITY -------------------------------------------------------------------------------- Maker Jooan Retail model A6M-U Box label HVIN A6MV1 ; FCC ID 2BBQ4-A6M-U ; IC 33096-X01 ; batch 1J083A6MU001 ; 5 V / 2 A (7.5 W) ; Wi-Fi 2412-2462 MHz ; made in China by Shenzhen Jooan Technology. Vendor/internal JA-A1A (config.json ProductName; vendor AP SSID built as "JA-A1A") Mainboard silk A1A_A_MB_VD_5J25 (VD revision; same mainboard family as the C9TS) LED/front sub-board C2_2LED_VD (white + IR illuminators + a small bi-colour red/green indicator LED; 8-way ribbon silk 5V,G,NC,R+,G+,IR,G,W - only ~4 conductors are fitted on this unit) PCB edge code A1A002205V Vendor firmware ja_version 01.23N.20260224.14 (U-Boot/kernel built Feb 2026) 2. SoC / MEMORY / FLASH -------------------------------------------------------------------------------- SoC Ingenic T23N (die mark "T23"; bootargs CpuType=T23N; XBurst, mips32r1, "Pike") Clocks stock: CCLK 1400 / L2 700 / H0 200 / DDR 600 MHz ; apll 1400, mpll 1200 OpenIPC runs CCLK at 1188 MHz (its conservative default) which works fine. RAM 64 MB DDR, 600 MHz. Split (OpenIPC): osmem 45M@0x0, rmem 19M@0x2D00000. (Stock split: mem=46080K + rmem=19456K ; SDKMem 19456.) DDR init: OpenIPC's u-boot-t23n DDR registers are bit-identical to the vendor SPL's (verified statically AND the OpenIPC U-Boot booted live on this board) — e.g. DDRC_CFG 0x0a288a40, timings 050f0a06 / 021c0807 / 20080723 / 1f240031 / ff060405 / 321c0505. No DDR surprises. SPI NOR 8 MB. Kernel/U-Boot detect "XM25QH64C" (JEDEC id 0x204017 = maker 0x20 XMC, device 0x4017). Board chip is silk-marked "LDC 25QH64DHIIQ" — an XMC- compatible die reporting maker 0x20. SOIC-8, 3.3 V. MTD erase 32 KB. Programmer reflash is easy (CH341A / pico-serprog; chip detected fine). Vendor flash layout (jz_sfc mtdparts): 256k(boot) 32k(bootenv) 1472k(kernel) 2880k(rootfs) 3136k(appfs) 384k(config) 32k(confbak) OpenIPC flash layout: 256k(boot) 64k(env) 2048k(kernel) 5120k(rootfs) -(rootfs_data) 3. SENSOR -------------------------------------------------------------------------------- Part SmartSens SC1A4T. I2C bus 0 @ 0x30 (8-bit write addr 0x60). Chip-id regs: 0x3107=0xda, 0x3108=0x4d (=> 0xda4d). Single sensor. Driver sensor_sc1a4t.ko, driver version H20230921a (same in vendor + OpenIPC). Resolution OpenIPC sc1a4t.yaml: 1280x720 @ 60-120 fps (H.264). *** ipctool caveat *** ipctool identifies the sensor as "SC1346" because it maps the 0xda4d chip-id to SC1346. I believe the ACTUAL part is SC1A4T (vendor + OpenIPC both ship an sc1a4t driver and tuning, and both detect "sc1a4t chip found @ 0x30"). Report SC1A4T. 4. Wi-Fi -------------------------------------------------------------------------------- Chip Altobeam ATBM6012B (driver/firmware report "6012B-X"), USB attach, VID:PID 007a:888b, 24 MHz xtal. 2.4 GHz only, 20 MHz only (no HT40), Wi-Fi + BLE combo on stock (OpenIPC loads Wi-Fi-only firmware). Silk ALTOBEAM / 6012B / CG01B5X (lot). OpenIPC drv atbm6012b_wifi_usb.ko (+ cfg80211 + mac80211). Power Wi-Fi module is powered by GPIO 6 (driven high before modprobe). Result Loads, associates to WPA2 AP, gets DHCP, and SSH (dropbear) over wlan0 works. 5. ETHERNET -------------------------------------------------------------------------------- None fitted. The T23 has an on-chip GMAC (RMII to an external 10/100 PHY), but the PHY is not populated on this board. Both vendor and OpenIPC kernels log `jz_mac: probe ... failed with error -1`, and the vendor firmware powers down the GMAC clock (GPIO 39) when eth0 is absent. 6. MOTORS / PTZ -------------------------------------------------------------------------------- NONE — this is a FIXED camera. The VD mainboard is shared with a PTZ sibling, so it carries unpopulated stepper headers (silk "VM"/"VH") and a ULN2803 Darlington driver, and the firmware blindly runs a pan/tilt reset at boot — but no steppers are fitted. Don't enable PTZ in the profile. 7. GPIO / LED MAP (hardware-validated under OpenIPC via `gpio set/clear/read`) -------------------------------------------------------------------------------- White light LED ........ GPIO 60 active-high [confirmed: lights (very bright!) white LEDs] IR illuminator LED ..... GPIO 59 [confirmed: red/purple IR glow; majestic backlightPin] IR-cut filter .......... GPIO 49 + GPIO 50 (dual) [confirmed: click/click; majestic irCutPin1/irCutPin2] Speaker / amp enable ... GPIO 63 active-LOW [confirmed: majestic speakerPin + speakerPinInvert] Reset / function btn ... GPIO 62 active-low (input) [confirmed: reads button] SD-card detect ......... GPIO 61 [confirmed: owned by kernel MMC card-detect] Wi-Fi power/enable ..... GPIO 6 [confirmed: Wi-Fi only comes up after this is driven high] Indicator LED (R/G) .... GPIO 57 / 58 ? (Unconfirmed) [a small bi-colour red/green indicator LED IS fitted on the C2_2LED board (ribbon lines R+/G+, 1k current-limit resistors), but stayed dark when 57/58 were toggled -- the LED-board ribbon harness is missing conductors (only ~4 of 8 wires fitted, R+/G+ among the absent), so there is likely no electrical path. Stock logs "indicator type 0, not support yellow-blue LED" (stock did not drive it either). A mainboard pinout is needed to map it.] Matching majestic customizer keys: irCutPin1=49, irCutPin2=50, backlightPin=59, speakerPin=63, speakerPinInvert=true. OpenIPC /usr/share/openipc/gpio.conf: button=62 ircut1=49 ircut2=50 light_wl=60 light_ir=59 speaker=63 mmc_pwr=61 usb=6 light_sensor=-1 led1=-1 led2=-1 alarm_in=-1 alarm_out=-1 DAY / NIGHT Driven by the image sensor's auto-exposure - there is NO LDR / ambient-light sensor on the board Vendor config: IrDetectGpio=-1, and the active thresholds are ToNightEv=87000 / ToDayEv=28000 (exposure value) therefore the SoC ADC is never read for light. BUTTON (GPIO 62) Works out of the box, no scripting: OpenIPC's resetd.sh (started from /etc/rc.local) reads `button` from gpio.conf, polls /sys/class/gpio/gpio62/value every 0.25s (active-low, pressed=0) and runs a factory reset (firstboot) on a ~5s hold. 8. UART (No, I'm still not over my afternoon of discovering Ctrl-Q and how flow contorl works!!) -------------------------------------------------------------------------------- Port UART1 = ttyS1, 115200 8N1, 3.3 V logic. Pads Three round test pads at the SD-slot corner: one silk-labelled GND, the other two are TX/RX (See the photos for labels). VENDOR U-Boot — Password Locked with an irritatingly unguessable interrupt: * Its "Hit any key to stop autoboot" is misleading: the autoboot loop accepts only the byte 0x11 = Ctrl-Q. Every other key (incl. Ctrl-C, Enter and smashing your face into the keyboard because you've been at this for hours and WHY ISN'T THE BOARD LISTENING TO ME) is read and discarded. Seriously, I think I checked all of them. * After Ctrl-Q it prompts "### Please input uboot password: ###". The password is supposedly the U-Boot build timestamp string, format "Mmm DD YYYY - HH:MM:SS" * I say supposedly because after all that I couldn't get it work so I gave up and patched the password out. Nope, still not over it. Actual hours of staring at an RX pad. * Vendor kernel runs console=null, so U-Boot prints then the kernel goes silent. 9. INSTALLING OPENIPC -------------------------------------------------------------------------------- Image Builder device `t23_lite_jooan-a6m-u` (asset t23_lite_jooan-a6m-u-nor.tgz: uImage.t23 + rootfs.squashfs.t23) + u-boot-t23n-nor.bin. Flash Easiest: a full 8 MB NOR image via programmer (u-boot @0x0, kernel @0x50000, rootfs @0x250000, env/rootfs_data blank). OpenIPC U-Boot writes a default env and boots on first power-up. First boot OpenIPC U-Boot boots with console on ttyS1 115200, no password! (HOURS I TELL YOU, HOURS!) Post-flash fw_setenv sensor sc1a4t fw_setenv wlandev atbm601x-t23-jooan-a6m-u <-- makes the wifi work fw_setenv wlanssid '' fw_setenv wlanpass '' reboot 10. VALIDATION RESULTS (Once I stopped crying about that uboot password. The therapy is helping.) -------------------------------------------------------------------------------- [OK] Boots OpenIPC; DDR solid (OpenIPC U-Boot proven live on this board). [OK] Flash XM25QH64C detected; MTD partitions created. [OK] Sensor: `set SENSOR as sc1a4t` -> majestic uses /etc/sensor/sc1a4t.yaml -> "sc1a4t chip found @ 0x30 (i2c0)" -> "sc1a4t stream on". [OK] Video: majestic H.264 1280x720 @ 60 fps; RTSP on :554; web UI on :80; snapshots OK. [OK] Wi-Fi: ATBM6012B "6012B-X" -> associated WPA2 -> DHCP -> SSH over wlan0. [OK] IR-cut exercised at start (gpio 49/50); IR / white / button / speaker / SD-detect all confirmed (see section 7). [ok] IR-Cut tune at start up a little fuzzy but did work. 11. SUGGESTED BOARD-CATALOGUE FIELDS -------------------------------------------------------------------------------- vendor: jooan model: A6M-U (internal JA-A1A; board A1A_A_MB_VD_5J25) chip: t23n (Ingenic) sensor: sc1a4t @ i2c0 0x30 flash: 8 MB SPI NOR (XM25QH64C) ram: 64 MB wifi: atbm6012b (USB 007a:888b), wlandev token atbm601x-t23-jooan-a6m-u ethernet: none (PHY gone, like my afternoon :)) ptz: none (fixed) ================================================================================