Repository navigation
Description
I bought this Camera from Aliexpress:
https://www.aliexpress.com/item/1005005944052795.html
It comes with a IVG-N8S mainboard running a Novateck NT98566 SoC connected to a Sony IMX415 sensor and a FM25Q128A 16MB NOR. I’m interested in it for a security camera and the house, power board, lights, microphone and speaker make it a fairly nice unit for this. The Camera I bought comes with software branded at Xmeye, which has been truly terrible to work with! At the time of writing OpenIPC does have limited support for the Novateck NT9856, marked as work in progress. I was given a precompiled .bin to flash to the camera but my reading of the current state of the build-root firmware you can currently build for this SoC would only run a SC401AI, SC500AI or a SC501AI sensor. So I’m trying to get the IMX415 sensor working. I’ll document everything I’ve found out that might help anyone wanting to help me, including the steps that would help anyone wanting to follow in my footsteps. I’ve tried to use heading so people can skip stuff that isn’t useful for them.
Orignal software:
Although it says you have to download software to run the camrea it is possible to get a RTSP feed off it. My camrea got a ip address off my DHCP server, other say it presents on 192.168.1.10. This command worked for me:
ffmpeg -i rtsp://admin:@192.168.1.10:554/ -vcodec copy test.mp4
although I replace 192.168.1.10 with the IP it had been given on my local LAN
UART, U-BOOT and flashing new firmware:
The Xmeye firmware really does try everything it can to stop you messing with it! I didn’t even bother to try and get the camera working with its stock firmware as you had to download and install software to find it.
The UBoot doesn’t let you interrupt the boot process and the linux kernel doesn’t present a terminal on the UART once it’s loaded. Also if you try a glitch attack (shorting the NOR chip after UBoot loads but before the Kernel loads) you will still find it is password protected. So you’ll have to go straight to using a CH341A programmer and SOP8 chip adapter to flash directly to the NOR chip. My board had Write protection on each block of the NOR chip not just via the Write protection pin (3). The datasheet for the FM25Q128A is freely available and my trusty AI friend wrote me a script to unlock it, I will happily post what I have if anyone wants it. Once unlocked I was about to dump the old firmware off and flash the OpenIPC image given to me that boots up and works, albeit without an image from the sensor.
The UART is the 3 unused pad at the bottom of the board on the side with a single 6 pin connector. It is the normal 115200 baud rate and 8 bit mode.
Current State of IMX415 support and simple stuff I found:
There is a NVT_SEN_IMX415.ko driver and a sen_imx415.cfg config file in the firmware github, but they are not copied to the image by the current buildroot process. Also the current load_novetek script ignores any other sensor other than sc401a, sc500ai, sc501ai. I was able to find in the dump of the original firmware a couple of ISP config files such as isp_imx415_0.cfg. My first hope had been to simply copy the files from github onto my camera and alter the load_novatek script with the line:
insmod nvt_sen_imx415.ko sen_cfg_path=/etc/sensors/sen_imx415.cfg
This didn’t work.
One simple reason would be that the sen_imx415.cfg from the original firmware of the camera differs from the OpenIPC github file by specifying the reset pin as 0x41 not 0x40:
[MAP]
path_1 = 1 #Path 1 Enable
path_2 = 0 #Path 2 Disable
path_3 = 0 #Path 3 Disable
path_4 = 0 #Path 4 Disable
path_5 = 0 #Path 5 Disable
path_6 = 0 #Path 6 Disable
path_7 = 0 #Path 7 Disable
path_8 = 0 #Path 8 Disable
[PRESET]
id_0_expt_time = 10000 #10000us
id_0_gain_ratio = 1000 #1x gain
[DIRECTION]
id_0_mirror = 1 #mirror
id_0_flip = 1 #flip
[POWER]
id_0_mclk = 0 #CTL_SEN_CLK_SEL_SIEMCLK
id_0_pwdn_pin = 0xFFFFFFFF #no pwdn pin, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
id_0_rst_pin = 0x41 #S_GPIO_1, C_GPIO:+0x0; P_GPIO:+0x20; S_GPIO:+0x40; L_GPIO:0x60
id_0_rst_time = 1 #1ms
id_0_stable_time = 1 #1ms
[I2C]
id_0_i2c_id = 0 #SEN_I2C_ID_1
id_0_i2c_addr = 0x1a #0x1a>> 1
Current thinking and lines of investigation:
At the moment i2cdetect doesn’t find anything on the I2C bus. There are 3 of them and all come back empty. Similarly ipctool -s comes back empty.
I am guessing it’s a pin mux problem. I was able to find the command:
echo sensor 0x220 > /proc/nvt_info/nvt_pinmux/pinmux_set
in the original firmware. I assume the pinmux_set working in the OpenIPC firmware?
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status




Activity
DrSamjames commentedon Oct 7, 2025
Update on progress:
A very big thanks has to go to Dima Tsygankov who sent me all of the information in this post and help me put it into action.
I had originally given up on the stock firmware as even under a glitch attack the Uboot was password protected and no linux terminal presented on the URAT or via LAN.
However Dima supplied a password which was correct and this reminded me that it always useful to search the OpenIPC github. The password was:
#Ux6@9V&4_RzAnd it can be found in a number of posts.
https://github.com/search?q=repo%3AOpenIPC%2Ffirmware+%23Ux6%409V%264_Rz&type=issues
Once we had the uboot promote it should be a simple matter of setting some environmental variables:
however the most important one of these failed:
This behaviour is documented here (again thanks Dima for the link) it’s well written and short so I’m not going to rewrite it:
https://kuku.eu.org/?projects/xm530/part1
(the more Xmeye do this the more I want to make sure I get OpenIPC running on the hardware!)
Following kuku.eu.org I found this:
Suggesting that I needed to first dump out from
relocaddr = 0x03edf000, the first attempt was:md.b 0x03edf000 20000This dumps 128 KiB of bytes of raw hex to the screen and you are looking for a string about “xmuart” in it. I dumped this to a file, in my case I called it xmuart.cap I was using minicom, and used commands like:
strings xmuart.cap | grep -i uartto search it. The first dump I tried didn’t come up with anything, so I took a larger dump:
md.b 0x03edf000 0xd0000and this got me what we needed:
worth noting I found this long before the end of my massive read out, so you might not need to read out as much as I did to find it.
The command to disrupt the setenv and read the data back to check were therefore:
After which:
I think you can just do a hard restart at this point, but I undid the change:
And booted as normal:
I am now getting the terminal on the URAT, but I had to stop further investigation for the moment as I ran out of time to do more. I’ll post more updates if I get logged in
sansarus commentedon Dec 25, 2025
mean
"PinMux":[544, 3841, 1],
echo sensor 0x220 > /proc/nvt_info/nvt_pinmux/pinmux_set # 544 = 0x220 clock muxes
echo mipi_lvds 0xf01 > /proc/nvt_info/nvt_pinmux/pinmux_set # 3841= 0xf01 4 Lanes for mipi
echo i2c 0x1 > /proc/nvt_info/nvt_pinmux/pinmux_set
now this parameters hardcoded at majestic
i2C bus 0 (S_GPIO7[SCL], S_GPIO8[SDA])
BlueMax commentedon Aug 6, 2026
Did you flash in-circuit (without pinlifting)? I've checked the NOR 3.3V lane. Its not protected by a diode. I'm wondering if this could damage the board.
DrSamjames commentedon Aug 6, 2026
BlueMax commentedon Aug 9, 2026
Where did you get the image from? I cannot find a compiled u-boot image for the nt98566 and i'm not sure if i can produce a compatible u-boot from the OpenIPC Novatek repo. Can you post that image?
DrSamjames commentedon Aug 11, 2026
I got sent a Image by the lovely people on the telegram channel, unfortunately it would seem can't find my copy at the moment :-(
I'm not doing so well at passing the help along.
I'm sure if you post on the Telegram channel someone can help you. I also know it is possible to compile everything form the repo, it was the next thing I was going to do as the image I'd been given wasn't quite what I wanted, i.e. had some option turned on the I wanted to permanently turn off. But it worked...
Sam
BlueMax commentedon Aug 13, 2026
You can dump mtd0/mtd1 from your camera if you want. It would help in investigating the 2BL in case the bootchain is locked. I have no problem compiling a new u-boot but before flashing anything back I want to take a look into the nvt autoboot key first.
sansarus commentedon Nov 5, 2026
update
root@openipc-nt98566:
# ipcinfo -s# ipcinfo -iroot@openipc-nt98566:
root@openipc-nt98566:
# ipcinfo -c# ipcinfo -tnt98566
root@openipc-nt98566:
Temperature cannot be retrieved
root@openipc-nt98566:~# majestic
09:20:58 < majestic> [ main] main@1391 Majestic Lite for Novatek (nt9856x), version master+025b6f6, built on 2026-11-04 17:40
09:20:58 < majestic> [ main] main@1440 No /etc/majestic.yaml yet: running on built-in defaults until a setting is saved
09:20:58 < majestic> [watchdog] watchdog_start@317 Watchdog device (/dev/watchdog) not found
09:20:58 < majestic> [ licence] licence_evaluate@166 no identity: no chip identity on this platform
09:20:58 < majestic> [ httpd] start_web_server@811 Set server path: /var/www
09:20:58 < majestic> [ httpd] new_http_server@777 HTTP server started on :::80
09:20:58 < majestic> [ httpd] new_http_server@549 HTTPS port :::443 configured without cert/key; skipping TLS server
09:20:58 < majestic> [sensor_l] sensor_hint@107 No sensor named by $SENSOR, a loaded sensor driver or the u-boot environment, and probing the bus is not safe on this platform
09:20:58 < majestic> [sensor_l] sensor_hint@110 Use the SENSOR environment variable to specify it explicitly.
09:20:58 < majestic> [ main] init_sdk@144 Cannot start SDK
09:21:06 < majestic> [ httpd] check_remember@3563 session restored from stay-signed-in token for root
09:21:08 < majestic> [ backlog] settle_freeze@254 Live backlog budget: 3126 KiB of 25636 KiB RAM (headroom bound, memory available 7816 KiB); 1280 KiB per session, so about 2 concurrent live viewers across /ws/video, WebRTC, RTSP-over-TCP, /mjpeg and /video.mp4. Low-memory floor 3204 KiB. Lower system.buffer for more viewers.
09:21:08 < majestic> [ backlog] settle_freeze@265 Memory available fell from 7888 KiB to 7816 KiB as the pipeline committed its buffers; the budget was lowered from 3155 KiB
^C09:21:22 < majestic> [ levent] signal_cb@95 Interrupt signal received
09:21:22 < majestic> [ main] main@1616 Shutdown main thread
root@openipc-nt98566:~# ipctool reginfo --pads
pad 0 C_GPIO0 [FSPI_DO] GPIO SDIO3_D0
pad 1 C_GPIO1 [FSPI_DI] GPIO SDIO3_D1
pad 2 C_GPIO2 [FSPI_WP] GPIO SDIO3_D2
pad 3 C_GPIO3 [FSPI_HOLD] GPIO SDIO3_D3
pad 4 C_GPIO4 [GPIO] SDIO3_D4 PWM0_4
pad 5 C_GPIO5 [GPIO] SDIO3_D5 PWM1_4
pad 6 C_GPIO6 [GPIO] SDIO3_D6 PWM2_4
pad 7 C_GPIO7 [GPIO] SDIO3_D7 PWM3_4
pad 8 C_GPIO8 [FSPI_CLK] GPIO SDIO3_CLK
pad 9 C_GPIO9 [GPIO] SDIO3_CMD SP_CLK2_2
pad 10 C_GPIO10 [FSPI_CS] GPIO
pad 11 C_GPIO11 [SDIO_CLK] GPIO DMCLK_3 I2C3_2_SCL I2S_MCLK_2 PWM4_2 SPI3_2_CLK
pad 12 C_GPIO12 [SDIO_CMD] GPIO DMDAT0_3 I2C3_2_SDA I2S_BCLK_2 PWM5_2 SPI3_2_DO
pad 13 C_GPIO13 [SDIO_D0] GPIO DMDAT1_3 UART2_2_CTS I2S_SYNC_2 PWM0_2 SPI3_2_CS
pad 14 C_GPIO14 [SDIO_D1] GPIO SPI3_2_DI UART2_2_RTS I2S_SDATAO_2 PWM1_2 REMOTE_IN_2
pad 15 C_GPIO15 [SDIO_D2] GPIO REMOTE_EXT SPI_CH3_RDY I2S_SDATAI_2 PWM2_2 UART2_2_TX
pad 16 C_GPIO16 [SDIO_D3] GPIO PWM3_2 UART2_2_RX
pad 17 C_GPIO17 [SDIO2_CLK] GPIO I2C2_2_SCL PWM6_2 SPI_1_CLK
pad 18 C_GPIO18 [SDIO2_CMD] GPIO I2C2_2_SDA PWM7_2 SPI_1_DO
pad 19 C_GPIO19 [SDIO2_D0] GPIO UART3_2_CTS PWM8_2 SPI_1_CS
pad 20 C_GPIO20 [SDIO2_D1] GPIO SPI_1_DI UART3_2_RTS PWM9_2
pad 21 C_GPIO21 [SDIO2_D2] GPIO PWM10_2 UART3_2_TX
pad 22 C_GPIO22 [SDIO2_D3] GPIO PWM11_2 UART3_2_RX
pad 32 P_GPIO0 [GPIO] ETH_RMII_2 PWM0_1 SENSOR_CCIR16BITS SPI2_2_CS UART2_3_TX SENSOR2_12BITS SENSOR2_CCIR8BITS SENSOR_12BITS_2ND
pad 33 P_GPIO1 [GPIO] ETH_RMII_2 PWM1_1 SENSOR_CCIR16BITS SPI2_2_CLK UART2_3_RX SENSOR2_12BITS SENSOR2_CCIR8BITS SENSOR_12BITS_2ND
pad 34 P_GPIO2 [GPIO] UART2_3_RTS ETH_RMII_2 PWM2_1 SENSOR_CCIR16BITS SPI2_2_DO SENSOR2_12BITS SENSOR2_CCIR8BITS SENSOR_12BITS_2ND
pad 35 P_GPIO3 [GPIO] SPI2_2_DI UART2_3_CTS ETH_RMII_2 PWM3_1 SENSOR_CCIR16BITS SENSOR2_12BITS SENSOR2_CCIR8BITS SENSOR_12BITS_2ND
pad 36 P_GPIO4 [GPIO] ETH_RMII_2 PWM4_1 SENSOR_CCIR16BITS SPI3_3_CS UART3_3_TX SENSOR2_12BITS SENSOR2_CCIR8BITS SENSOR_12BITS_2ND
pad 37 P_GPIO5 [GPIO] ETH_RMII_2 PWM5_1 SENSOR_CCIR16BITS SPI3_3_CLK UART3_3_RX SENSOR2_12BITS SENSOR2_CCIR8BITS SENSOR_12BITS_2ND
pad 38 P_GPIO6 [GPIO] UART3_3_RTS PWM6_1 SENSOR_CCIR16BITS SPI3_3_DO SENSOR2_12BITS SENSOR2_CCIR8BITS SENSOR_12BITS_2ND
pad 39 P_GPIO7 [GPIO] ETH_EXTPHYCLK SPI3_3_DI UART3_3_CTS PWM7_1 SB4_CS SENSOR_CCIR16BITS SENSOR2_12BITS SENSOR2_CCIR8BITS SENSOR_12BITS_2ND
pad 40 P_GPIO8 [GPIO] SPI_CH3_RDY ETH_RMII_2 I2S_MCLK_1 PWM8_1 SB4_CK SENSOR2_CCIR8BITS SENSOR2_12BITS SENSOR_12BITS_2ND
pad 41 P_GPIO9 [GPIO] ETH_MDIO_2 I2S_BCLK_1 PWM9_1 SB4_DAT SENSOR2_CCIR8BITS SENSOR2_12BITS SENSOR_12BITS_2ND
pad 42 P_GPIO10 [GPIO] ETH_MDIO_2 I2S_SYNC_1 PWM10_1 SB3_1_CS SENSOR2_CCIR8BITS SENSOR2_12BITS SENSOR_12BITS_2ND
pad 43 P_GPIO11 [GPIO] I2S_SDATAO_1 PWM11_1 SB3_1_CK SENSOR2_CCIR8BITS SENSOR2_12BITS SENSOR_12BITS_2ND
pad 44 P_GPIO12 [GPIO] SENSOR2_SN3_MCLK SPI_CH3_RDY I2S_SDATAI_1 PICNT_1 SB3_1_DAT SENSOR2_12BITS SENSOR_12BITS_2ND
pad 45 P_GPIO13 [GPIO]
pad 46 P_GPIO14 [GPIO]
pad 47 P_GPIO15 [GPIO]
pad 48 P_GPIO16 [GPIO]
pad 49 P_GPIO17 [GPIO] DMDAT0_1 PICNT3_1 REMOTE_IN_1 SB3_2_CS SPI3_1_CS UART2_1_TX
pad 50 P_GPIO18 [GPIO] DMDAT1_1 REMOTE_EXT PICNT_2 SB3_2_CK SPI3_1_CLK UART2_1_RX
pad 51 P_GPIO19 [GPIO] DMCLK_1 UART2_1_RTS PICNT2_2 RTC_CLK SB3_2_DAT SPI3_1_DO
pad 52 P_GPIO20 [GPIO] SPI3_1_DI UART2_1_CTS PICNT3_2 SP_CLK_1
pad 53 P_GPIO21 [GPIO] I2C3_1_SDA SP_CLK2_1
pad 54 P_GPIO22 [GPIO] I2C3_1_SCL
pad 55 P_GPIO23 [UART_TX] GPIO
pad 56 P_GPIO24 [UART_RX] GPIO
pad 57 P_GPIO25 [GPIO]
pad 64 S_GPIO0 [SENSOR_MCLK] GPIO SDIO2_CLK UART3_4_TX
pad 65 S_GPIO1 [GPIO] SENSOR_MCLK2 SENSOR_CCIR16BITS PWM0_3 SDIO2_CMD SENSOR_12BITS SENSOR_CCIR8BITS UART3_4_RX
pad 66 S_GPIO2 [GPIO] SENSOR_CCIR16BITS PWM1_3 SDIO2_D0 SENSOR_12BITS SENSOR_12BITS_2ND SENSOR_CCIR8BITS SENSOR_LVDS_VDHD
pad 67 S_GPIO3 [GPIO] SENSOR_CCIR16BITS PWM2_3 SB2_CS SDIO2_D1 SENSOR_12BITS SENSOR_12BITS_2ND SENSOR_CCIR8BITS SENSOR_LVDS_VDHD
pad 68 S_GPIO4 [GPIO] I2C2_1_SCL PWM3_3 SB2_CK SENSOR2_12BITS SENSOR2_LVDS_VDHD UART3_5_TX
pad 69 S_GPIO5 [GPIO] SPI_2_DI I2C2_1_SDA PWM4_3 SB2_DAT SENSOR2_12BITS SENSOR2_LVDS_VDHD UART3_5_RX
pad 70 S_GPIO6 [GPIO] PWM5_3 SB_CS SPI_2_CS
pad 71 S_GPIO7 [I2C_SCL_1] GPIO SENSOR_CCIR16BITS PWM6_3 SB_CK SDIO2_D2 SENSOR_CCIR8BITS SPI_2_CLK
pad 72 S_GPIO8 [I2C_SDA_1] GPIO PWM7_3 SB_DAT SDIO2_D3 SENSOR2_MCLK_2ND SPI_2_DO
pad 96 L_GPIO0 [GPIO] LCD_DE_ENABLE PWM11_5
pad 97 L_GPIO1 [GPIO] LCD_CCIR601_16BITS LCD_CCIR656_16BITS LCD_HVLD_VVLD LCD_PARALLE_RGB565 LCD_RGB_16BITS PICNT2_1
pad 98 L_GPIO2 [GPIO] LCD_CCIR601_16BITS LCD_CCIR656_16BITS LCD_HVLD_VVLD LCD_PARALLE_RGB565 LCD_RGB_16BITS SP_CLK_2
pad 99 L_GPIO3 [GPIO] LCD_CCIR601_16BITS LCD_CCIR656_16BITS LCD_FIELD LCD_PARALLE_RGB565 LCD_RGB_16BITS
pad 100 L_GPIO4 [GPIO] LCD_CCIR601_16BITS LCD_CCIR656_16BITS LCD_PARALLE_RGB565 LCD_RGB_16BITS
pad 101 L_GPIO5 [GPIO] LCD_CCIR601_16BITS LCD_CCIR656_16BITS LCD_PARALLE_RGB565 LCD_RGB_16BITS
pad 102 L_GPIO6 [GPIO] LCD_CCIR601_16BITS LCD_CCIR656_16BITS LCD_PARALLE_RGB565 LCD_RGB_16BITS
pad 103 L_GPIO7 [GPIO] LCD_CCIR601_16BITS LCD_CCIR656_16BITS LCD_PARALLE_RGB565 LCD_RGB_16BITS
pad 104 L_GPIO8 [GPIO] LCD_CCIR601_16BITS LCD_CCIR656_16BITS LCD_PARALLE_RGB565 LCD_RGB_16BITS
pad 105 L_GPIO9 [GPIO]
pad 128 D_GPIO0 [GPIO] ETH_LED1
pad 129 D_GPIO1 [GPIO] ETH_LED1
pad 130 D_GPIO2 [GPIO]
pad 131 D_GPIO3 [GPIO] PWM4_4 SB3_3_CS SP_CLK_3
pad 132 D_GPIO4 [GPIO] PWM5_4 SB3_3_CK SP_CLK2_3
pad 133 D_GPIO5 [ETH_LED2] GPIO PWM6_4 SB3_3_DAT
pad 134 D_GPIO6 [ETH_LED2] GPIO PWM7_4
pad 135 D_GPIO7 [GPIO] PWM11_4
pad 160 H_GPIO0 [MIPI_LVDS_DAT0] GPIO SENSOR_CCIR_2 SENSOR_12BITS
pad 161 H_GPIO1 [MIPI_LVDS_DAT0] GPIO SENSOR_CCIR_2 SENSOR_12BITS
pad 162 H_GPIO2 [MIPI_LVDS_DAT1] GPIO SENSOR_12BITS SENSOR_CCIR16BITS SENSOR_CCIR8BITS
pad 163 H_GPIO3 [MIPI_LVDS_DAT1] GPIO SENSOR_12BITS SENSOR_CCIR16BITS SENSOR_CCIR8BITS
pad 164 H_GPIO4 [MIPI_LVDS_CLK0] GPIO SENSOR_12BITS SENSOR_CCIR16BITS SENSOR_CCIR8BITS
pad 165 H_GPIO5 [MIPI_LVDS_CLK0] GPIO SENSOR_12BITS SENSOR_CCIR16BITS SENSOR_CCIR8BITS
pad 166 H_GPIO6 [MIPI_LVDS_DAT2] GPIO PWM8_3 SENSOR_12BITS SENSOR_CCIR16BITS SENSOR_CCIR8BITS
pad 167 H_GPIO7 [MIPI_LVDS_DAT2] GPIO PWM9_3 SENSOR_LVDS_VDHD2 SENSOR_12BITS SENSOR_CCIR16BITS SENSOR_CCIR8BITS
pad 168 H_GPIO8 [MIPI_LVDS_DAT3] GPIO PWM10_3 SENSOR_LVDS_VDHD2 SENSOR_12BITS SENSOR_CCIR16BITS SENSOR_CCIR8BITS
pad 169 H_GPIO9 [MIPI_LVDS_DAT3] GPIO I2C_2_SCL PWM11_3 SENSOR_12BITS SENSOR_CCIR16BITS SENSOR_CCIR8BITS
pad 170 H_GPIO10 [GPIO] SENSOR_CCIR_2 I2C_2_SDA SENSOR_12BITS MIPI_LVDS_CLK1
pad 171 H_GPIO11 [GPIO] SENSOR_MCLK_2ND SENSOR_CCIR_2 SENSOR_12BITS MIPI_LVDS_CLK1
pad 192 A_GPIO0 [GPIO]
pad 193 A_GPIO1 [GPIO]
pad 194 A_GPIO2 [GPIO]
pad 224 DSI_GPIO0 [GPIO] LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_8BITS ETH_MDIO PWM0_5 UART3_1_TX
pad 225 DSI_GPIO1 [GPIO] LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_8BITS ETH_MDIO PWM1_5 UART3_1_RX
pad 226 DSI_GPIO2 [GPIO] LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_6BITS LCD_SERIAL_RGB_8BITS UART3_1_RTS ETH_RMII PWM2_5 SDIO2_D0
pad 227 DSI_GPIO3 [GPIO] LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_6BITS LCD_SERIAL_RGB_8BITS UART3_1_CTS ETH_RMII PWM3_5 SDIO2_D1
pad 228 DSI_GPIO4 [GPIO] LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_6BITS LCD_SERIAL_RGB_8BITS ETH_RMII PWM4_5 SDIO2_D2 SPI2_1_CS
pad 229 DSI_GPIO5 [GPIO] LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_6BITS LCD_SERIAL_RGB_8BITS ETH_RMII PWM5_5 SDIO2_D3 SPI2_1_CLK
pad 230 DSI_GPIO6 [GPIO] LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_6BITS LCD_SERIAL_RGB_8BITS PWM6_5 SDIO2_CMD SPI2_1_DO
pad 231 DSI_GPIO7 [GPIO] LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_6BITS LCD_SERIAL_RGB_8BITS SPI2_1_DI ETH_RMII PWM7_5 SDIO2_CLK
pad 232 DSI_GPIO8 [GPIO] DMDAT0_2 LCD_NO_HVSYNC ETH_RMII I2C3_3_SDA PWM8_5
pad 233 DSI_GPIO9 [GPIO] DMDAT1_2 LCD_NO_HVSYNC ETH_RMII ETH_MDIO I2C3_3_SCL PWM9_5
pad 234 DSI_GPIO10 [GPIO] LCD_TE_ENABLE DMCLK_2 LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_6BITS LCD_SERIAL_RGB_8BITS ETH_EXTPHYCLK ETH_MDIO PWM10_5
root@openipc-nt98566:~# lsmod
Module Size Used by Tainted: P
nvt_iq 286720 0
nvt_awb 114688 0
nvt_ae 159744 0
nvt_isp 90112 3 nvt_iq,nvt_awb,nvt_ae
kflow_audiodec 102400 0
kflow_audioenc 106496 0
nvt_audlib_g711 16384 0
nvt_audlib_aac 307200 0
kflow_audioout 45056 0
kflow_audiocap 106496 1 kflow_audioout
nvt_kdrv_audio 24576 6 kflow_audiodec,kflow_audioenc,nvt_audlib_g711,nvt_audlib_aac,kflow_audioout,kflow_audiocap
nvt_audio 69632 1 nvt_kdrv_audio
kflow_videoenc 278528 1 nvt_isp
nvt_vencrc 49152 0
kdrv_h26x 102400 1 kflow_videoenc
nvt_gfx 36864 0
kflow_videoprocess 348160 1 nvt_isp
kflow_videocapture 380928 1 nvt_isp
nvt_videosprite 69632 2 kflow_videoenc,kflow_videoprocess
kflow_common 221184 9 kflow_audiodec,kflow_audioenc,kflow_audioout,kflow_audiocap,kflow_videoenc,nvt_gfx,kflow_videoprocess,kflow_videocapture,nvt_videosprite
kdrv_videoprocess 376832 1 kflow_videoprocess
kdrv_videocapture 241664 1 kflow_videocapture
kdrv_gfx2d 118784 3 nvt_gfx,kflow_videoprocess,kflow_common
kdrv_comm 167936 14 nvt_iq,nvt_awb,nvt_ae,kflow_audioout,kflow_audiocap,kflow_videoenc,kdrv_h26x,nvt_gfx,kflow_videoprocess,kflow_videocapture,nvt_videosprite,kflow_common,kdrv_videoprocess,kdrv_gfx2d
kdrv_builtin 491520 17 nvt_isp,kflow_audiodec,kflow_audioenc,kflow_audioout,kflow_audiocap,nvt_kdrv_audio,nvt_audio,kflow_videoenc,nvt_vencrc,kdrv_h26x,nvt_gfx,kflow_videoprocess,kflow_videocapture,nvt_videosprite,kflow_common,kdrv_videoprocess,kdrv_videocapture
nvtmem 16384 0
kwrap 73728 22 nvt_iq,nvt_awb,nvt_ae,nvt_isp,kflow_audiodec,kflow_audioenc,kflow_audioout,kflow_audiocap,nvt_kdrv_audio,nvt_audio,kflow_videoenc,kdrv_h26x,nvt_gfx,kflow_videoprocess,kflow_videocapture,nvt_videosprite,kflow_common,kdrv_videoprocess,kdrv_videocapture,kdrv_gfx2d,kdrv_comm,kdrv_builtin
sansarus commentedon Nov 5, 2026
stock XM
./ipctool reginfo --pads
pad 0 C_GPIO0 [FSPI_DO] GPIO SDIO3_D0
pad 1 C_GPIO1 [FSPI_DI] GPIO SDIO3_D1
pad 2 C_GPIO2 [FSPI_WP] GPIO SDIO3_D2
pad 3 C_GPIO3 [FSPI_HOLD] GPIO SDIO3_D3
pad 4 C_GPIO4 [GPIO] SDIO3_D4 PWM0_4
pad 5 C_GPIO5 [GPIO] SDIO3_D5 PWM1_4
pad 6 C_GPIO6 [GPIO] SDIO3_D6 PWM2_4
pad 7 C_GPIO7 [GPIO] SDIO3_D7 PWM3_4
pad 8 C_GPIO8 [FSPI_CLK] GPIO SDIO3_CLK
pad 9 C_GPIO9 [GPIO] SDIO3_CMD SP_CLK2_2
pad 10 C_GPIO10 [FSPI_CS] GPIO
pad 11 C_GPIO11 [SDIO_CLK] GPIO DMCLK_3 I2C3_2_SCL I2S_MCLK_2 PWM4_2 SPI3_2_CLK
pad 12 C_GPIO12 [SDIO_CMD] GPIO DMDAT0_3 I2C3_2_SDA I2S_BCLK_2 PWM5_2 SPI3_2_DO
pad 13 C_GPIO13 [SDIO_D0] GPIO DMDAT1_3 UART2_2_CTS I2S_SYNC_2 PWM0_2 SPI3_2_CS
pad 14 C_GPIO14 [SDIO_D1] GPIO SPI3_2_DI UART2_2_RTS I2S_SDATAO_2 PWM1_2 REMOTE_IN_2
pad 15 C_GPIO15 [SDIO_D2] GPIO REMOTE_EXT SPI_CH3_RDY I2S_SDATAI_2 PWM2_2 UART2_2_TX
pad 16 C_GPIO16 [SDIO_D3] GPIO PWM3_2 UART2_2_RX
pad 17 C_GPIO17 [SDIO2_CLK] GPIO I2C2_2_SCL PWM6_2 SPI_1_CLK
pad 18 C_GPIO18 [SDIO2_CMD] GPIO I2C2_2_SDA PWM7_2 SPI_1_DO
pad 19 C_GPIO19 [SDIO2_D0] GPIO UART3_2_CTS PWM8_2 SPI_1_CS
pad 20 C_GPIO20 [SDIO2_D1] GPIO SPI_1_DI UART3_2_RTS PWM9_2
pad 21 C_GPIO21 [SDIO2_D2] GPIO PWM10_2 UART3_2_TX
pad 22 C_GPIO22 [SDIO2_D3] GPIO PWM11_2 UART3_2_RX
pad 32 P_GPIO0 [GPIO] ETH_RMII_2 PWM0_1 SENSOR_CCIR16BITS SPI2_2_CS UART2_3_TX SENSOR2_12BITS SENSOR2_CCIR8BITS SENSOR _12BITS_2ND
pad 33 P_GPIO1 [GPIO] ETH_RMII_2 PWM1_1 SENSOR_CCIR16BITS SPI2_2_CLK UART2_3_RX SENSOR2_12BITS SENSOR2_CCIR8BITS SENSO R_12BITS_2ND
pad 34 P_GPIO2 [GPIO] UART2_3_RTS ETH_RMII_2 PWM2_1 SENSOR_CCIR16BITS SPI2_2_DO SENSOR2_12BITS SENSOR2_CCIR8BITS SENSO R_12BITS_2ND
pad 35 P_GPIO3 [GPIO] SPI2_2_DI UART2_3_CTS ETH_RMII_2 PWM3_1 SENSOR_CCIR16BITS SENSOR2_12BITS SENSOR2_CCIR8BITS SENSO R_12BITS_2ND
pad 36 P_GPIO4 [GPIO] ETH_RMII_2 PWM4_1 SENSOR_CCIR16BITS SPI3_3_CS UART3_3_TX SENSOR2_12BITS SENSOR2_CCIR8BITS SENSOR _12BITS_2ND
pad 37 P_GPIO5 [GPIO] ETH_RMII_2 PWM5_1 SENSOR_CCIR16BITS SPI3_3_CLK UART3_3_RX SENSOR2_12BITS SENSOR2_CCIR8BITS SENSO R_12BITS_2ND
pad 38 P_GPIO6 [GPIO] UART3_3_RTS PWM6_1 SENSOR_CCIR16BITS SPI3_3_DO SENSOR2_12BITS SENSOR2_CCIR8BITS SENSOR_12BITS_2N D
pad 39 P_GPIO7 [GPIO] ETH_EXTPHYCLK SPI3_3_DI UART3_3_CTS PWM7_1 SB4_CS SENSOR_CCIR16BITS SENSOR2_12BITS SENSOR2_CCIR8 BITS SENSOR_12BITS_2ND
pad 40 P_GPIO8 [GPIO] SPI_CH3_RDY ETH_RMII_2 I2S_MCLK_1 PWM8_1 SB4_CK SENSOR2_CCIR8BITS SENSOR2_12BITS SENSOR_12BITS_2 ND
pad 41 P_GPIO9 [GPIO] ETH_MDIO_2 I2S_BCLK_1 PWM9_1 SB4_DAT SENSOR2_CCIR8BITS SENSOR2_12BITS SENSOR_12BITS_2ND
pad 42 P_GPIO10 [GPIO] ETH_MDIO_2 I2S_SYNC_1 PWM10_1 SB3_1_CS SENSOR2_CCIR8BITS SENSOR2_12BITS SENSOR_12BITS_2ND
pad 43 P_GPIO11 [GPIO] I2S_SDATAO_1 PWM11_1 SB3_1_CK SENSOR2_CCIR8BITS SENSOR2_12BITS SENSOR_12BITS_2ND
pad 44 P_GPIO12 [GPIO] SENSOR2_SN3_MCLK SPI_CH3_RDY I2S_SDATAI_1 PICNT_1 SB3_1_DAT SENSOR2_12BITS SENSOR_12BITS_2ND
pad 45 P_GPIO13 [GPIO]
pad 46 P_GPIO14 [GPIO]
pad 47 P_GPIO15 [GPIO]
pad 48 P_GPIO16 [GPIO]
pad 49 P_GPIO17 [GPIO] DMDAT0_1 PICNT3_1 REMOTE_IN_1 SB3_2_CS SPI3_1_CS UART2_1_TX
pad 50 P_GPIO18 [GPIO] DMDAT1_1 REMOTE_EXT PICNT_2 SB3_2_CK SPI3_1_CLK UART2_1_RX
pad 51 P_GPIO19 [GPIO] DMCLK_1 UART2_1_RTS PICNT2_2 RTC_CLK SB3_2_DAT SPI3_1_DO
pad 52 P_GPIO20 [GPIO] SPI3_1_DI UART2_1_CTS PICNT3_2 SP_CLK_1
pad 53 P_GPIO21 [GPIO] I2C3_1_SDA SP_CLK2_1
pad 54 P_GPIO22 [GPIO] I2C3_1_SCL
pad 55 P_GPIO23 [UART_TX] GPIO
pad 56 P_GPIO24 [UART_RX] GPIO
pad 57 P_GPIO25 [GPIO]
pad 64 S_GPIO0 [SENSOR_MCLK] GPIO SDIO2_CLK UART3_4_TX
pad 65 S_GPIO1 [GPIO] SENSOR_MCLK2 SENSOR_CCIR16BITS PWM0_3 SDIO2_CMD SENSOR_12BITS SENSOR_CCIR8BITS UART3_4_RX
pad 66 S_GPIO2 [GPIO] SENSOR_CCIR16BITS PWM1_3 SDIO2_D0 SENSOR_12BITS SENSOR_12BITS_2ND SENSOR_CCIR8BITS SENSOR_LVDS_V DHD
pad 67 S_GPIO3 [GPIO] SENSOR_CCIR16BITS PWM2_3 SB2_CS SDIO2_D1 SENSOR_12BITS SENSOR_12BITS_2ND SENSOR_CCIR8BITS SENSOR _LVDS_VDHD
pad 68 S_GPIO4 [GPIO] I2C2_1_SCL PWM3_3 SB2_CK SENSOR2_12BITS SENSOR2_LVDS_VDHD UART3_5_TX
pad 69 S_GPIO5 [GPIO] SPI_2_DI I2C2_1_SDA PWM4_3 SB2_DAT SENSOR2_12BITS SENSOR2_LVDS_VDHD UART3_5_RX
pad 70 S_GPIO6 [GPIO] PWM5_3 SB_CS SPI_2_CS
pad 71 S_GPIO7 [I2C_SCL_1] GPIO SENSOR_CCIR16BITS PWM6_3 SB_CK SDIO2_D2 SENSOR_CCIR8BITS SPI_2_CLK
pad 72 S_GPIO8 [I2C_SDA_1] GPIO PWM7_3 SB_DAT SDIO2_D3 SENSOR2_MCLK_2ND SPI_2_DO
pad 96 L_GPIO0 [GPIO] LCD_DE_ENABLE PWM11_5
pad 97 L_GPIO1 [GPIO] LCD_CCIR601_16BITS LCD_CCIR656_16BITS LCD_HVLD_VVLD LCD_PARALLE_RGB565 LCD_RGB_16BITS PICNT2_1
pad 98 L_GPIO2 [GPIO] LCD_CCIR601_16BITS LCD_CCIR656_16BITS LCD_HVLD_VVLD LCD_PARALLE_RGB565 LCD_RGB_16BITS SP_CLK_2
pad 99 L_GPIO3 [GPIO] LCD_CCIR601_16BITS LCD_CCIR656_16BITS LCD_FIELD LCD_PARALLE_RGB565 LCD_RGB_16BITS
pad 100 L_GPIO4 [GPIO] LCD_CCIR601_16BITS LCD_CCIR656_16BITS LCD_PARALLE_RGB565 LCD_RGB_16BITS
pad 101 L_GPIO5 [GPIO] LCD_CCIR601_16BITS LCD_CCIR656_16BITS LCD_PARALLE_RGB565 LCD_RGB_16BITS
pad 102 L_GPIO6 [GPIO] LCD_CCIR601_16BITS LCD_CCIR656_16BITS LCD_PARALLE_RGB565 LCD_RGB_16BITS
pad 103 L_GPIO7 [GPIO] LCD_CCIR601_16BITS LCD_CCIR656_16BITS LCD_PARALLE_RGB565 LCD_RGB_16BITS
pad 104 L_GPIO8 [GPIO] LCD_CCIR601_16BITS LCD_CCIR656_16BITS LCD_PARALLE_RGB565 LCD_RGB_16BITS
pad 105 L_GPIO9 [GPIO]
pad 128 D_GPIO0 [GPIO] ETH_LED1
pad 129 D_GPIO1 [GPIO] ETH_LED1
pad 130 D_GPIO2 [GPIO]
pad 131 D_GPIO3 [GPIO] PWM4_4 SB3_3_CS SP_CLK_3
pad 132 D_GPIO4 [GPIO] PWM5_4 SB3_3_CK SP_CLK2_3
pad 133 D_GPIO5 [GPIO] ETH_LED2 PWM6_4 SB3_3_DAT
pad 134 D_GPIO6 [GPIO] ETH_LED2 PWM7_4
pad 135 D_GPIO7 [GPIO] PWM11_4
pad 160 H_GPIO0 [MIPI_LVDS_DAT0] GPIO SENSOR_CCIR_2 SENSOR_12BITS
pad 161 H_GPIO1 [MIPI_LVDS_DAT0] GPIO SENSOR_CCIR_2 SENSOR_12BITS
pad 162 H_GPIO2 [MIPI_LVDS_DAT1] GPIO SENSOR_12BITS SENSOR_CCIR16BITS SENSOR_CCIR8BITS
pad 163 H_GPIO3 [MIPI_LVDS_DAT1] GPIO SENSOR_12BITS SENSOR_CCIR16BITS SENSOR_CCIR8BITS
pad 164 H_GPIO4 [MIPI_LVDS_CLK0] GPIO SENSOR_12BITS SENSOR_CCIR16BITS SENSOR_CCIR8BITS
pad 165 H_GPIO5 [MIPI_LVDS_CLK0] GPIO SENSOR_12BITS SENSOR_CCIR16BITS SENSOR_CCIR8BITS
pad 166 H_GPIO6 [MIPI_LVDS_DAT2] GPIO PWM8_3 SENSOR_12BITS SENSOR_CCIR16BITS SENSOR_CCIR8BITS
pad 167 H_GPIO7 [MIPI_LVDS_DAT2] GPIO PWM9_3 SENSOR_LVDS_VDHD2 SENSOR_12BITS SENSOR_CCIR16BITS SENSOR_CCIR8BITS
pad 168 H_GPIO8 [MIPI_LVDS_DAT3] GPIO PWM10_3 SENSOR_LVDS_VDHD2 SENSOR_12BITS SENSOR_CCIR16BITS SENSOR_CCIR8BITS
pad 169 H_GPIO9 [MIPI_LVDS_DAT3] GPIO I2C_2_SCL PWM11_3 SENSOR_12BITS SENSOR_CCIR16BITS SENSOR_CCIR8BITS
pad 170 H_GPIO10 [GPIO] SENSOR_CCIR_2 I2C_2_SDA SENSOR_12BITS MIPI_LVDS_CLK1
pad 171 H_GPIO11 [GPIO] SENSOR_MCLK_2ND SENSOR_CCIR_2 SENSOR_12BITS MIPI_LVDS_CLK1
pad 192 A_GPIO0 [GPIO]
pad 193 A_GPIO1 [GPIO]
pad 194 A_GPIO2 [GPIO]
pad 224 DSI_GPIO0 [GPIO] LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_8BIT S ETH_MDIO PWM0_5 UART3_1_TX
pad 225 DSI_GPIO1 [GPIO] LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_8BIT S ETH_MDIO PWM1_5 UART3_1_RX
pad 226 DSI_GPIO2 [GPIO] LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_6BIT S LCD_SERIAL_RGB_8BITS UART3_1_RTS ETH_RMII PWM2_5 SDIO2_D0
pad 227 DSI_GPIO3 [GPIO] LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_6BIT S LCD_SERIAL_RGB_8BITS UART3_1_CTS ETH_RMII PWM3_5 SDIO2_D1
pad 228 DSI_GPIO4 [GPIO] LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_6BIT S LCD_SERIAL_RGB_8BITS ETH_RMII PWM4_5 SDIO2_D2 SPI2_1_CS
pad 229 DSI_GPIO5 [GPIO] LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_6BIT S LCD_SERIAL_RGB_8BITS ETH_RMII PWM5_5 SDIO2_D3 SPI2_1_CLK
pad 230 DSI_GPIO6 [GPIO] LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_6BIT S LCD_SERIAL_RGB_8BITS PWM6_5 SDIO2_CMD SPI2_1_DO
pad 231 DSI_GPIO7 [GPIO] LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BITS LCD_SERIAL_RGB_6BIT S LCD_SERIAL_RGB_8BITS SPI2_1_DI ETH_RMII PWM7_5 SDIO2_CLK
pad 232 DSI_GPIO8 [GPIO] DMDAT0_2 LCD_NO_HVSYNC ETH_RMII I2C3_3_SDA PWM8_5
pad 233 DSI_GPIO9 [GPIO] DMDAT1_2 LCD_NO_HVSYNC ETH_RMII ETH_MDIO I2C3_3_SCL PWM9_5
pad 234 DSI_GPIO10 [GPIO] LCD_TE_ENABLE DMCLK_2 LCD_CCIR601 LCD_CCIR656 LCD_PARALLE_RGB565 LCD_PARALLE_RGB888 LCD_RGB_16BI TS LCD_SERIAL_RGB_6BITS LCD_SERIAL_RGB_8BITS ETH_EXTPHYCLK ETH_MDIO PWM10_5
./ipctool
chip:
vendor: Novatek
model: NT98566
board:
vendor: Xiongmai
param: IPC_NT98566_N8S
cloudId: 7544f9996c2d2c36xdjd
possible-IR-cut-GPIO: 134,225,226,231,232
ethernet:
mac: "########"
rom:
block: 64K
chip:
name: GD25Q128BFI, GD25Q127C
id: 0xc84018
partitions:
size: 0x10000
sha1: 7b45d248
size: 0x30000
sha1: bb9c93a3
contains:
offset: 0x20000
size: 0x540000
path: /,squashfs
sha1: 5c92e858
size: 0x740000
path: /usr,squashfs
sha1: 6285087b
size: 0x180000
path: /mnt/web,squashfs
sha1: d45b175b
size: 0x80000
path: /mnt/custom,squashfs
sha1: c965c522
size: 0x140000
path: /mnt/mtd,jffs2,rw
size: 16M
ram:
total: 128M
media: 80M
firmware:
u-boot: "2019.04 (Jan 14 2022 - 16:05:23 +0800)"
kernel: "4.19.91 (PREEMPT Wed Aug 6 00:30:25 CST 2025)"
toolchain: gcc version 8.4.0 (Buildroot 2020.02.9-10-g744f210)
libc: uClibc 1.0.32
main-app: /usr/bin/App
sensors:
model: IMX415
control:
bus: 0
type: i2c
addr: 0x34
openipc-ai commentedon Nov 5, 2026
Thanks for the pad dumps, they settled it: stock and OpenIPC match on everything except the Ethernet LEDs, so pinmux is not the problem.
Two things were stopping you. Images don't ship the IMX415 driver, and 4K needs more video memory than this board has (106.5 MiB against 96 MiB at most).
Here is a test build that ships the driver and streams 2560x1440 scaled from the full sensor: https://github.com/OpenIPC/firmware/releases/tag/test-1889-imx415-20261105
It has never run on an IMX415. We booted it on an NT98566 with an SC501AI, so please keep UART handy. Please read the install steps first: your log shows about 25 MB of RAM, and at that size
sysupgraderuns out of memory and hangs, so the 48M step has to come first.Then please paste
dmesg, the majestic log andcat /proc/hdal/vcap/info, plus a frame if you get one. It would also help to know whetheripcinfo -sstill comes back empty. Colour and exposure will be off without an IMX415 ISP profile; if you haveisp_imx415_0.cfgfrom your stock firmware, trying it on your own camera at/etc/sensors/profiles/would be useful, but please don't attach that file here.sansarus commentedon Nov 10, 2026
have stream.
dmesg
Booting Linux on physical CPU 0x0
Linux version 4.19.91 (ai@forge-hel1) (buildroot-gcc-13.3.0) #1 PREEMPT Thu Nov 5 14:20:14 UTC 2026
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: Novatek NA51089
Memory policy: Data cache writeback
On node 0 totalpages: 12288
Normal zone: 96 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 12288 pages, LIFO batch:1
CPU: All CPU(s) started in SVC mode.
random: get_random_bytes called from start_kernel+0x80/0x48c with crng_init=0
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists, mobility grouping on. Total pages: 12192
Kernel command line: mem=48M console=ttyS0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs init=/init mtdparts=spi_nor.0:256k(u-boot),64k(env),2048k(kernel),5120k(rootfs),7168k@0x50000(firmware),-(rootfs_data)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 40844K/49152K available (4096K kernel code, 273K rwdata, 932K rodata, 1024K init, 230K bss, 8308K reserved, 0K cma-reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0x83800000 - 0xff800000 (1984 MB)
lowmem : 0x80000000 - 0x83000000 ( 48 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.text : 0x80008000 - 0x80500000 (5088 kB)
.init : 0x80700000 - 0x80800000 (1024 kB)
.data : 0x80800000 - 0x808447e8 ( 274 kB)
.bss : 0x808447e8 - 0x8087e10c ( 231 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
rcu: Preemptible hierarchical RCU implementation.
Tasks RCU enabled.
NR_IRQS: 384
L2C-310 cache controller enabled, 8 ways, 128 kB
L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x72620000
APIs of flush/clean all cache are supported
novatek_clock_init
sched_clock: 64 bits at 120MHz, resolution 8ns, wraps every 4398046511102ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x3759f22983, max_idle_ns: 881590413697 ns
Switching to timer-based delay loop, resolution 8ns
Calibrating delay loop (skipped), value calculated using timer frequency.. 240.00 BogoMIPS (lpj=1200000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x100000 - 0x10003c
rcu: Hierarchical SRCU implementation.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
NVTBOOTTS: nvt_bootts_proc_init initial success
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: 0, 7168 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
*** nvt_poweroff_setup
nvt_otp_module_init
*** disable_cnn Get CNN2 Clock error
cryptd: max_cpu_qlen set to 1000
nvt_gpio f0070000.gpio: Register nvt_gpio_probe successfully
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
nvt_i2c f0220000.i2c: Register nvtim_i2c_probe successfully ver:1.00.013
nvt_i2c f0350000.i2c2: Register nvtim_i2c_probe successfully ver:1.00.013
nvt_i2c f03a0000.i2c3: Register nvtim_i2c_probe successfully ver:1.00.013
clocksource: Switched to clocksource arm_global_timer
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 6144 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 2, 20480 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 1, 12288 bytes)
UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Initialise system trusted keyrings
workingset: timestamp_bits=30 max_order=14 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
Key type asymmetric registered
Asymmetric key parser 'x509' registered
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
io scheduler mq-deadline registered (default)
io scheduler kyber registered
f0290000.uart: ttyS0 at MMIO 0xf0290000 (irq = 5, base_baud = 1500000) is a NVT
nvt_serial: console setup on port #0
console [ttyS0] enabled
f0300000.uart: ttyS1 at MMIO 0xf0300000 (irq = 6, base_baud = 3000000) is a NVT
f0310000.uart: ttyS2 at MMIO 0xf0310000 (irq = 7, base_baud = 3000000) is a NVT
nvt_serial: driver initialized
loop: module loaded
id = 0xa1 0x40 0x18 0xa1
spi_nor f0400000.nor: mtd .name=spi_nor.0 .size=1000000(16M) .erasesize = 0x10000(64K)
spi_nor f0400000.nor: 1-bit mode @ 48000000 Hz
6 cmdlinepart partitions found on MTD device spi_nor.0
Creating 6 MTD partitions on "spi_nor.0":
0x000000000000-0x000000040000 : "u-boot"
0x000000040000-0x000000050000 : "env"
0x000000050000-0x000000250000 : "kernel"
0x000000250000-0x000000750000 : "rootfs"
0x000000050000-0x000000750000 : "firmware"
0x000000750000-0x000001000000 : "rootfs_data"
libphy: Fixed MDIO Bus: probed
nvt_eth_env_probe: get IO MEM 0xfd2b0000
nvt_eth_env_probe: pinmux detect emb phy 0x22
DWC_ETH_QOS: Phy detected at ID/ADDR 0
libphy: dwc_phy: probed
nvt_resume: find node
nvt_resume: led-inv = 0
nvt_resume: pinmux 0x22
Supports TSO, SG and TX COE
Supports RX COE and GRO
nvt_rtc_chk_power: RTC power lost detected
nvt_rtc f0060000.rtc: rtc core: registered nvt_rtc as rtc0
i2c /dev entries driver
NET: Registered protocol family 10
Segment Routing with IPv6
NET: Registered protocol family 17
Loading compiled-in X.509 certificates
nvt_rtc f0060000.rtc: setting system clock to 1970-01-01 00:00:01 UTC (1)
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
devtmpfs: mounted
Freeing unused kernel memory: 1024K
Run /init as init process
random: fast init done
overlayfs: upper fs does not support tmpfile.
overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
random: crng init done
phydev exist: resume phy
nvt_resume: find node
nvt_resume: led-inv = 0
nvt_resume: pinmux 0x22
DWC_ETH_QOS_yinit: apb_clk 120000000 Hz
Queue0 Tx fifo size 2048, Rx fifo size 2048
Disabled JUMBO pkt
Enabled Rx watchdog timer
Enabled TSO
Disabled Rx Split header mode
phydev exist: start phy
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
DWC_ETH_QOS_adjust_link: start tx/rx
DWC_ETH_QOS f02b0000.eth eth0: Link is Up - 100Mbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
kwrap: loading out-of-tree module taints kernel.
nvt_vos: 1.00.003 (Jan 4 2022 12:09:47)
nvtmem: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
NVTMEM: 0.0.1
kdrv_builtin_init init module ==========
nvt_jpg version: 1.00.007
kdrv_builtin_init init module ==========
log.ko v1.4: Jan 4 2022 12:01:35 (mmap 0x81cc0000 size 0x21800)
LOG base 0x821a9800(ddr0) size 1K (start pointer 0x7f0e8eb4)
PAGE_OFFSET(0x80000000) VMALLOC START(0x83800000) HZ(100)
nvt_sif_init:
nvt_sif_probe:f0240000.sif
nvt_sif_probe:0. resource:0xf0240000 size:0x200
nvt_sif_probe:IRQ 0. ID44
nvt_sif_probe:DevID Major:249 minor:11
nvt_sif_drv_init:
nvt_csi_probe:not fast boot
nvtmpp_init_mmz: ddr1 pa = 0x3000000 va = 0x84000000 , size = 0x5000000
h26x kdrv version: 0.3.8, nvt codec version 0.3.9.0
nvt_audlib_aac_module_init:
nvt_audlib_g711_module_init:
hd_common_init
vprc init: stripe LV1 = cut w>1280, GDC = on, 2D_LUT off after cut (LL slow)
venc init: config tile cut if w>1280 (LL slow)
csi_platform_clk_enable....
csi_open:CSI HW reset!
ERR:_isf_vdocap_do_getportstruct() get sen[0] fps failed!(-11)
ERR:_isf_vdocap_do_getportstruct() VCAP NOT START
ERR:vos_file_open() open [/etc/sensors/profiles/isp_imx415_0.cfg] failed, ret -2
WRN:aet_api_set_config() load cfg fail
ERR:vos_file_open() open [/etc/sensors/profiles/isp_imx415_0.cfg] failed, ret -2
WRN:awbt_api_set_config() load cfg fail
ERR:vos_file_open() open [/etc/sensors/profiles/isp_imx415_0.cfg] failed, ret -2
WRN:iqt_api_set_config() load cfg fail
========== AE_CBMSG_PREVIEWSTABLE ==========
cat /proc/hdal/vcap/info
HDAL_VERSION: 00020000:00010002
------------------------- VIDEOCAP 0 PATH & BIND -----------------------------
in out state bind_src bind_dest
0 0 START (null) VIDEOPROC_0_IN_0
------------------------- VIDEOCAP 0 DRV CONFIG ------------------------------
driver_name if_type shdr_map
nvt_sen_imx415 5 0
sensor_pinmux serial_if_pinmux cmd_if_pinmux clk_lane_sel
0x00000220 0x00000301 0x00000001 0x00000000
sen_2_serial_pin_map[0:7]
0 1 -1 -1 -1 -1 -1 -1
ccir_msblsb_switch ccir_vd_hd_pin
0 0
vx1_tx241_cko_pin vx1_tx241_cfg_2lane_mode
0 0
vx1_en if_sel ctl_sel tx_type
0 0 0 0
tge_en swap vcap_vd_src vcap_sync_set
0 0 0 0
optin_en sen_map_if if_time_out
0x0 0 0
------------------------- VIDEOCAP 0 CTRL ------------------------------------
AE AWB AF WDR SHDR ETH
1 1 0 0 0 0
------------------------- VIDEOCAP 0 IN FRAME --------------------------------
in mode w h pxlfmt frc out_frame_num crop
0 3 3840 2160 RAW12 25/1 1 OFF
------------------------- VIDEOCAP 0 OUT FRAME -------------------------------
out w h pxlfmt dir ddr_id out_func depth
0 0 0 RAW12 .... 0 0x00000000 0
------------------------- VIDEOCAP 0 OUT WORK STATUS -------------------------
out NEW drop wrn err PROC drop wrn err PUSH drop wrn err
0 25 0 9 0 16 0 0 0 17 0 0 0
------------------------- VIDEOCAP 0 USER WORK STATUS ------------------------
out PULL drop wrn err REL
0 0 0 0 0 0
root@nt98566-imx415:~# ipcinfo -s
imx415
sansarus commentedon Nov 10, 2026
ffprobe -i 'rtsp://root:mypass@192.168.220.88/stream=0'
ffprobe version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2007-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Input #0, rtsp, from 'rtsp://root:mypass@192.168.220.88/stream=0':
Metadata:
title : Majestic
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: hevc (Main), yuv420p(tv), 2560x1440, 25 tbr, 90k tbn, 90k tbc
Stream #0:1: Data: none
Unsupported codec with id 0 for input stream 1
ffprobe -i 'rtsp://root:sbrf6221@192.168.220.88/stream=1' - log freeze, no any info
root@nt98566-imx415:~# majestic
08:53:18 < majestic> [ main] main@1391 Majestic Lite for Novatek (nt9856x), ver sion nt-stream-below-sensor+ca16d46e, built on 2026-11-05 14:06
08:53:18 < majestic> [ main] main@1424 Loading main configuration: /etc/majesti c.yaml
08:53:18 < majestic> [watchdog] watchdog_start@317 Watchdog device (/dev/watchdog) not foun d
08:53:18 < majestic> [ licence] licence_evaluate@166 no identity: no chip identity on this pl atform
08:53:18 < majestic> [ httpd] start_web_server@811 Set server path: /var/www
08:53:18 < majestic> [ httpd] new_http_server@777 HTTP server started on :::80
08:53:18 < majestic> [ httpd] new_http_server@549 HTTPS port :::443 configured without cer t/key; skipping TLS server
08:53:18 < majestic> [sensor_l] sensor_hint@67 SENSOR=imx415
08:53:18 < majestic> [sns_conf] read_sensor_config@51 Using /etc/sensors/imx415.yaml as sensor config
08:53:18 < majestic> [sns_conf] parse_sensor_config@177 VI: imx415 @ 0x60 [3840x2160]
HDAL: Version: v0.2000.0
08:53:18 < majestic> [ sdk] mem_init@294 Memory pool[0]: 0x00be2a00 x 2
08:53:18 < majestic> [ sdk] mem_init@294 Memory pool[1]: 0x00546200 x 3
08:53:18 < majestic> [ sdk] mem_init@294 Memory pool[2]: 0x00083600 x 1
08:53:18 < majestic> [ sdk] mem_init@294 Memory pool[3]: 0x00546200 x 1
08:53:18 < majestic> [ sdk] start_sdk@1471 sys_info.devid 0xFFFFE102, cur_fps[0]=25 00/100, vd_count=36884
08:53:18 < majestic> [ sdk] set_cap_param@552 set_cap_param CROP NONE=0
08:53:18 < majestic> [ sdk] set_cap_param@578 set_cap_param OUT=0
08:53:18 < majestic> [ sdk] open_jpeg@1218 JPEG 2560x1440 at 5 fps, quality 50
08:53:19 < majestic> [ network] mcast_follow@858 joined 239.255.255.250 on eth0 (192.168. 220.88)
08:53:19 < majestic> [discover] send_on@565 onvif discovery sent Hello via eth0 as 1 92.168.220.88
08:53:19 < majestic> [ mdns] init_owned_names@154 also answering for nt98566-imx415.local.
08:53:19 < majestic> [ network] mcast_follow@858 joined 224.0.0.251 on eth0 (192.168.220. 88)
08:53:19 < majestic> [ mdns] announce@705 announced openipc.local. and nt98566-imx 415.local. as 192.168.220.88 on eth0
08:53:19 < majestic> [ rtsp] rtsp_init@28 RTSP server started on port 554
08:53:19 < majestic> [ dtls] rtc_identity_new@257 DTLS identity: P-256, 289-byte certifica te
08:53:19 < majestic> [ rtc] start_rtc@104 WebRTC fingerprint sha-256 98:4E:B0:96:0 6:A7:62:B2:30:40:CB:85:A5:9F:8F:65:96:E1:98:50:AF:7E:72:3A:CF:36:1E:CE:9B:34:61:91
08:53:19 < majestic> [ gpio] set_gpio@63 set_gpio(225, 0)
08:53:19 < majestic> [ gpio] set_gpio@63 set_gpio(226, 1)
08:53:19 < majestic> [ night] exercise_arm@1194 ircut: exercising the filter once at sta rt
08:53:19 < majestic> [ peers] peers_seen@203 found OpenIPC at 192.168.220.25
08:53:19 < majestic> [ sdk] jpeg_thread@1126 First JPEG frame: 140496 bytes
08:53:19 < majestic> [ gpio] set_gpio@63 set_gpio(225, 0)
08:53:19 < majestic> [ gpio] set_gpio@63 set_gpio(226, 0)
08:53:19 < majestic> [ gpio] set_gpio@63 set_gpio(225, 1)
08:53:19 < majestic> [ gpio] set_gpio@63 set_gpio(226, 0)
08:53:20 < majestic> [ gpio] set_gpio@63 set_gpio(225, 0)
08:53:20 < majestic> [ gpio] set_gpio@63 set_gpio(226, 0)
08:53:20 < majestic> [ gpio] set_gpio@63 set_gpio(225, 0)
08:53:20 < majestic> [ gpio] set_gpio@63 set_gpio(226, 1)
08:53:20 < majestic> [ gpio] set_gpio@63 set_gpio(225, 0)
08:53:20 < majestic> [ gpio] set_gpio@63 set_gpio(226, 0)
08:53:20 < majestic> [ mdns] announce@710 announced again as 192.168.220.88 on eth 0
08:53:21 < majestic> [discover] send_on@559 onvif discovery sent Hello again via eth 0
08:53:21 < majestic> [discover] send_on@559 onvif discovery sent Probe via eth0
08:53:21 < majestic> [ peers] peers_seen@203 found don-video at 192.168.220.61
08:53:21 < majestic> [ peers] peers_seen@203 found WARNAX24h at 192.168.1.25
08:53:22 < majestic> [ client] RtspClient_before@1017 RTSP DESCRIBE rtsp://192.168.220.88:554/ stream=0 CSeq=1 from 192.168.220.1:50410
08:53:22 < majestic> [ nal] NalCodec_describe@262 RTSP chn 0 vps_len 28 sps_len 36 pps_len 11
08:53:22 < majestic> [ client] RtspClient_before@1017 RTSP SETUP rtsp://192.168.220.88:554/str eam=0/video CSeq=2 from 192.168.220.1:50410
08:53:22 < majestic> [ client] RtspClient_setup@830 UDP RTSP SETUP done, stream_id=0 from 19 2.168.220.1:50410
08:53:22 < majestic> [ client] RtspClient_before@1017 RTSP PLAY rtsp://192.168.220.88:554/stre am=0 CSeq=3 from 192.168.220.1:50410
08:53:22 < majestic> [ mdns] announce@710 announced again as 192.168.220.88 on eth 0
08:53:25 < majestic> [discover] send_on@559 onvif discovery sent Hello again via eth0
08:53:26 < majestic> [ mdns] announce@710 announced again as 192.168.220.88 on eth0
08:53:27 < majestic> [ client] RtspClient_before@1017 RTSP OPTIONS rtsp://192.168.220.88:554/stream=0 CSeq=1 from 192.168.221.22:45876
08:53:27 < majestic> [ client] RtspClient_before@1017 RTSP OPTIONS rtsp://192.168.220.88:554/stream=0 CSeq=2 from 192.168.221.22:45876
08:53:27 < majestic> [ client] RtspClient_before@1017 RTSP DESCRIBE rtsp://192.168.220.88:554/stream=0 CSeq=3 from 192.168.221.22:45876
08:53:27 < majestic> [ nal] NalCodec_describe@262 RTSP chn 0 vps_len 28 sps_len 36 pps_len 11
08:53:27 < majestic> [ client] RtspClient_before@1017 RTSP SETUP rtsp://192.168.220.88:554/stream=0/video CSeq=4 from 192.168.221.22:45876
08:53:27 < majestic> [ client] RtspClient_setup@830 UDP RTSP SETUP done, stream_id=0 from 192.168.221.22:45876
08:53:27 < majestic> [ client] RtspClient_before@1017 RTSP SETUP rtsp://192.168.220.88:554/stream=0/metadata CSeq=5 from 192.168.221.22:45876
08:53:27 < majestic> [ client] RtspClient_setup@830 UDP RTSP SETUP done, stream_id=0 from 192.168.221.22:45876
08:53:27 < majestic> [ client] RtspClient_before@1017 RTSP PLAY rtsp://192.168.220.88:554/stream=0 CSeq=6 from 192.168.221.22:45876
08:53:29 < majestic> [ client] RtspClient_before@1017 RTSP TEARDOWN rtsp://192.168.220.88:554/stream=0 CSeq=7 from 192.168.221.22:45876
08:53:29 < majestic> [ client] RtspClient_on_closed_con@1458 RTSP connection closed.
08:53:29 < majestic> [ backlog] settle_freeze@254 Live backlog budget: 8883 KiB of 41868 KiB RAM (headroom bound, memory available 22208 KiB); 1280 KiB per session, so about 6 concurrent live viewers across /ws/video, WebRTC, RTSP-over-TCP, /mjpeg and /video.mp4. Low-memory floor 5233 KiB. Lower system.buffer for more viewers.
08:53:29 < majestic> [ backlog] settle_freeze@265 Memory available fell from 22696 KiB to 22208 KiB as the pipeline committed its buffers; the budget was lowered from 9078 KiB
08:53:36 < majestic> [ client] RtspClient_before@1017 RTSP OPTIONS rtsp://192.168.220.88:554/stream=1 CSeq=1 from 192.168.221.22:37018
08:53:36 < majestic> [ client] RtspClient_before@1017 RTSP OPTIONS rtsp://192.168.220.88:554/stream=1 CSeq=2 from 192.168.221.22:37018
08:53:36 < majestic> [ client] RtspClient_before@1017 RTSP DESCRIBE rtsp://192.168.220.88:554/stream=1 CSeq=3 from 192.168.221.22:37018
08:53:36 < majestic> [ nal] NalCodec_describe@262 RTSP chn 1 vps_len 0 sps_len 0 pps_len 0
08:53:36 < majestic> [ client] RtspClient_before@1017 RTSP SETUP rtsp://192.168.220.88:554/stream=1/video CSeq=4 from 192.168.221.22:37018
08:53:36 < majestic> [ client] RtspClient_setup@830 UDP RTSP SETUP done, stream_id=1 from 192.168.221.22:37018
08:53:36 < majestic> [ client] RtspClient_before@1017 RTSP PLAY rtsp://192.168.220.88:554/stream=1 CSeq=5 from 192.168.221.22:37018
08:53:51 < majestic> [discover] send_on@559 onvif discovery sent Probe via eth0
08:53:52 < majestic> [ client] RtspClient_before@1017 RTSP GET_PARAMETER rtsp://192.168.220.88:554/stream=0 CSeq=4 from 192.168.220.1:50410
08:54:21 < majestic> [discover] send_on@559 onvif discovery sent Probe via eth0
08:54:22 < majestic> [ client] RtspClient_before@1017 RTSP GET_PARAMETER rtsp://192.168.220.88:554/stream=0 CSeq=5 from 192.168.220.1:50410
08:54:51 < majestic> [discover] send_on@559 onvif discovery sent Probe via eth0
08:54:52 < majestic> [ client] RtspClient_before@1017 RTSP GET_PARAMETER rtsp://192.168.220.88:554/stream=0 CSeq=6 from 192.168.220.1:50410
08:55:09 < majestic> [ client] RtspClient_before@1017 RTSP TEARDOWN rtsp://192.168.220.88:554/stream=0 CSeq=7 from 192.168.220.1:50410
08:55:09 < majestic> [ client] RtspClient_on_closed_con@1458 RTSP connection closed.
08:55:15 < majestic> [ client] RtspClient_on_closed_con@1458 RTSP connection closed.
08:55:17 < majestic> [ client] RtspClient_before@1017 RTSP OPTIONS rtsp://192.168.220.88:554/stream=0 CSeq=1 from 192.168.221.22:58786
08:55:17 < majestic> [ client] RtspClient_before@1017 RTSP OPTIONS rtsp://192.168.220.88:554/stream=0 CSeq=2 from 192.168.221.22:58786
08:55:17 < majestic> [ client] RtspClient_before@1017 RTSP DESCRIBE rtsp://192.168.220.88:554/stream=0 CSeq=3 from 192.168.221.22:58786
08:55:17 < majestic> [ nal] NalCodec_describe@262 RTSP chn 0 vps_len 28 sps_len 36 pps_len 11
08:55:17 < majestic> [ client] RtspClient_before@1017 RTSP SETUP rtsp://192.168.220.88:554/stream=0/video CSeq=4 from 192.168.221.22:58786
08:55:17 < majestic> [ client] RtspClient_setup@830 UDP RTSP SETUP done, stream_id=0 from 192.168.221.22:58786
08:55:17 < majestic> [ client] RtspClient_before@1017 RTSP SETUP rtsp://192.168.220.88:554/stream=0/metadata CSeq=5 from 192.168.221.22:58786
08:55:17 < majestic> [ client] RtspClient_setup@830 UDP RTSP SETUP done, stream_id=0 from 192.168.221.22:58786
08:55:17 < majestic> [ client] RtspClient_before@1017 RTSP PLAY rtsp://192.168.220.88:554/stream=0 CSeq=6 from 192.168.221.22:58786
08:55:19 < majestic> [ client] RtspClient_before@1017 RTSP TEARDOWN rtsp://192.168.220.88:554/stream=0 CSeq=7 from 192.168.221.22:58786
08:55:19 < majestic> [ client] RtspClient_on_closed_con@1458 RTSP connection closed.
08:55:21 < majestic> [discover] send_on@559 onvif discovery sent Probe via eth0
08:55:51 < majestic> [discover] send_on@559 onvif discovery sent Probe via eth0
openipc-ai commentedon Nov 10, 2026
Thanks for testing, and for the logs: that's IMX415 confirmed working on the N8S.
stream=1hanging was a gap on our side. On Novatek, majestic only encoded the main stream. Novatek now gets a real substream. It followsvideo1.size,fps,codec(H.264 or H.265) andbitrate, and with no size set it picks 800x448 on a 16:9 sensor. That's tested on our NT98566 lab camera, with main and sub streaming together and surviving config reloads.Both fixes will be in the nightly. IMX415 support itself (driver, sensor config and the 2560x1440 default) is in #2817, and lands in the nightly once that's merged. After that, upgrading to the nightly and keeping
fw_setenv sensor imx415is all it takes; no test image needed.One thing still open: there is no tuning profile for IMX415 yet (
isp_imx415_0.cfg), so colour and exposure run on the driver's defaults. Daylight and low-light snapshots fromhttp://<camera>/image.jpgwould show whether that's good enough.5 remaining items
openipc-ai commentedon Nov 15, 2026
Closing: IMX415 on the NT98566 (XM IVG-N8S) works in the nightly, confirmed on two cameras (sansarus and DrSamjames).
Cause. The images didn't ship IMX415 at all. There was no sensor module, no sensor config for this board, no majestic sensor file and no ISP profile, so the camera had nothing to load and majestic couldn't start video.
Fixes, all in the nightly since 2026-11-14:
stream=1) on Novatek;nightMode.lightMonitor: true.Hit Xprompt is wrong: the key is Ctrl-C.Still open:
fw_setenv sensor imx415and a reboot, as on the install page.If a fresh camera detects the sensor wrongly, or night mode misses or flaps, please open a new issue with the logs.
The one-off test build linked earlier has been removed; use the nightly.
openipc-ai commentedon Nov 15, 2026
Reopening: IMX415 should work out of the box, without
fw_setenv sensor imx415. Here's a fix that needs testing on a real camera.Why it isn't detected. At first boot, the startup script asks
ipcinfowhich sensor is there, before any sensor driver is loaded. A Sony sensor doesn't answer on I2C until its reset line is released and its clock is running. On Novatek, the sensor driver does both only when majestic opens the video pipeline, which is later. So the first check finds nothing and the camera boots asunknown. We've reproduced exactly that in our emulator, with an IMX415 modelled the way the vendor driver powers it.The fix (#2859): if the first check finds nothing, the startup script releases the reset pin named in each shipped sensor config (0x41 for the N8S's IMX415), turns the sensor clock on, asks again, and then puts everything back. In the emulator this finds
imx415, and cameras that are detected today are unaffected. It hasn't run on a real IMX415 yet.@DrSamjames, your second camera before you set
sensorwould be ideal; @sansarus, yours works too afterfw_setenv sensor && reboot. Two tests, on the nightly:1. By hand, changing nothing permanently, so we learn which part the sensor needs:
2. The fixed startup script:
After the reboot, please paste the output of
logread | grep novatekandfw_printenv sensor. Then check whether there's video without setting anything by hand. To undo it:cp /root/load_novatek.orig /usr/bin/load_novatek.Please paste the output of every command in test 1 as well.
novatek: an IMX415 that answers only while powered, as on the XM IVG-…
DrSamjames commentedon Nov 15, 2026
Board marking (camera 1):
BLK566-M515-38X38-A2 V1.01, sticker "JVG-N8S 12.12".Found a separate, non-sensor bug on this board (missing RTC crystal + NTP freezes the system): #2865
Camera 2 tests (detection, gpio65, #2859 load_novatek, night mode) still to come.
openipc-ai commentedon Nov 16, 2026
The detection fix is merged (#2859), so the separate script download from test 2 is gone. Use the nightly from 2026-11-17 onwards instead. Flash it, then run
fw_setenv sensorand reboot, so the camera has to detect the sensor itself. Please paste the output oflogread | grep novatekandfw_printenv sensor. If it works, the log showsimx415 answered with its reset (GPIO 65) released and its clock on, thenset SENSOR as imx415. Test 1 (by hand) is unchanged and still useful.sansarus commentedon Nov 16, 2026
ipcinfo --short-sensor
root@nt98566-imx415:
# lsmod# load_novatekModule Size Used by Tainted: P
nvt_iq 286720 0
nvt_awb 114688 0
nvt_ae 159744 0
nvt_isp 90112 3 nvt_iq,nvt_awb,nvt_ae
kflow_audiodec 102400 0
kflow_audioenc 106496 0
nvt_audlib_g711 16384 0
nvt_audlib_aac 307200 0
kflow_audioout 45056 0
kflow_audiocap 106496 1 kflow_audioout
nvt_kdrv_audio 24576 6 kflow_audiodec,kflow_audioenc,nvt_audlib_g711,nvt_audlib_aac,kflow_audioout,kflow_audiocap
nvt_audio 69632 1 nvt_kdrv_audio
kflow_videoenc 278528 1 nvt_isp
nvt_vencrc 49152 0
kdrv_h26x 102400 1 kflow_videoenc
nvt_gfx 36864 0
kflow_videoprocess 348160 1 nvt_isp
kflow_videocapture 380928 1 nvt_isp
nvt_videosprite 69632 2 kflow_videoenc,kflow_videoprocess
kflow_common 221184 9 kflow_audiodec,kflow_audioenc,kflow_audioout,kflow_audiocap,kflow_videoenc,nvt_gfx,kflow_videoprocess,kflow_videocapture,nvt_videosprite
kdrv_videoprocess 376832 1 kflow_videoprocess
kdrv_videocapture 241664 1 kflow_videocapture
kdrv_gfx2d 118784 3 nvt_gfx,kflow_videoprocess,kflow_common
kdrv_comm 167936 14 nvt_iq,nvt_awb,nvt_ae,kflow_audioout,kflow_audiocap,kflow_videoenc,kdrv_h26x,nvt_gfx,kflow_videoprocess,kflow_videocapture,nvt_videosprite,kflow_common,kdrv_videoprocess,kdrv_gfx2d
kdrv_builtin 491520 17 nvt_isp,kflow_audiodec,kflow_audioenc,kflow_audioout,kflow_audiocap,nvt_kdrv_audio,nvt_audio,kflow_videoenc,nvt_vencrc,kdrv_h26x,nvt_gfx,kflow_videoprocess,kflow_videocapture,nvt_videosprite,kflow_common,kdrv_videoprocess,kdrv_videocapture
nvtmem 16384 0
kwrap 73728 22 nvt_iq,nvt_awb,nvt_ae,nvt_isp,kflow_audiodec,kflow_audioenc,kflow_audioout,kflow_audiocap,nvt_kdrv_audio,nvt_audio,kflow_videoenc,kdrv_h26x,nvt_gfx,kflow_videoprocess,kflow_videocapture,nvt_videosprite,kflow_common,kdrv_videoprocess,kdrv_videocapture,kdrv_gfx2d,kdrv_comm,kdrv_builtin
root@nt98566-imx415:
insmod: can't insert 'hdal/kwrap.ko': File exists
insmod: can't insert 'hdal/comm/nvtmem/nvtmem.ko': File exists
insmod: can't insert 'hdal/kdrv_builtin/kdrv_builtin.ko': File exists
insmod: can't insert 'hdal/comm/kdrv_comm.ko': File exists
insmod: can't insert 'hdal/kdrv_gfx2d/kdrv_gfx2d.ko': File exists
insmod: can't insert 'hdal/kdrv_videocapture/kdrv_videocapture.ko': File exists
insmod: can't insert 'hdal/kdrv_videoprocess/kdrv_videoprocess.ko': File exists
insmod: can't insert 'hdal/kflow_common/kflow_common.ko': File exists
insmod: can't insert 'hdal/kflow_gfx/videosprite/nvt_videosprite.ko': File exists
insmod: can't insert 'hdal/kflow_videocapture/kflow_videocapture.ko': File exists
insmod: can't insert 'hdal/kflow_videoprocess/kflow_videoprocess.ko': File exists
insmod: can't insert 'hdal/kflow_gfx/nvt_gfx.ko': File exists
insmod: can't insert 'hdal/kdrv_videocodec/kdrv_h26x.ko': File exists
insmod: can't insert 'hdal/nvt_vencrc/nvt_vencrc.ko': File exists
insmod: can't insert 'hdal/kflow_videoenc/unit/kflow_videoenc.ko': File exists
insmod: can't insert 'hdal/kdrv_audioio/audio_common/nvt_audio.ko': File exists
insmod: can't insert 'hdal/kdrv_audioio/kdrv_audio/nvt_kdrv_audio.ko': File exists
insmod: can't insert 'hdal/kflow_audiocapture/unit/kflow_audiocap.ko': File exists
insmod: can't insert 'hdal/kflow_audioout/unit/kflow_audioout.ko': File exists
insmod: can't insert 'hdal/kdrv_audioio/audlib_aac/nvt_audlib_aac.ko': File exists
insmod: can't insert 'hdal/kdrv_audioio/audlib_g711/nvt_audlib_g711.ko': File exists
insmod: can't insert 'hdal/kflow_audioenc/unit/kflow_audioenc.ko': File exists
insmod: can't insert 'hdal/kflow_audiodec/unit/kflow_audiodec.ko': File exists
insmod: can't insert 'hdal/isp/nvt_isp.ko': File exists
insmod: can't insert 'hdal/ae/nvt_ae.ko': File exists
insmod: can't insert 'hdal/awb/nvt_awb.ko': File exists
insmod: can't insert 'hdal/iq/nvt_iq.ko': File exists
novatek: Get data from ipcinfo and set SENSOR as unknown
xxxx Invalid sensor type unknown xxxx
root@nt98566-imx415:
##root@nt98566-imx415:
root@nt98566-imx415:
## echo 65 > /sys/class/gpio/exportroot@nt98566-imx415:
sh: write error: Resource busy
root@nt98566-imx415:
# echo low > /sys/class/gpio/gpio65/direction# echo 1 > /sys/class/gpio/gpio65/valueroot@nt98566-imx415:
root@nt98566-imx415:~# ipcinfo -s # reset released only
070 32) | 4 ))
ipcinfo -s # reset released and clock on
echo 0 > /sys/class/gpio/gpio65/value$(( $ (devmem 0xf0020070 32) | 4 ))
echo in > /sys/class/gpio/gpio65/direction
echo 65 > /sys/class/gpio/unexport
root@nt98566-imx415:
## devmem 0xf0020070 32root@nt98566-imx415:
root@nt98566-imx415:
# ipcinfo -s # reset released and cl#ock on
root@nt98566-imx415:
root@nt98566-imx415:
# echo 0 > /sys/class/gpio/gpio65/value# echo in > /sys/class/gpio/gpio65/directionroot@nt98566-imx415:
root@nt98566-imx415:
# echo 65 > /sys/class/gpio/unexport# ipcinfo -s # reset released and clroot@nt98566-imx415:
ock on
^C^C^C^C
root@nt98566-imx415:~# ^C
root@nt98566-imx415:
# cp /usr/bin/load_novatek /root/load_novatek.orig# curl -fsSL -o /usr/bin/load_novatek https://raw.githubuseroot@nt98566-imx415:
rcontent.com/OpenIPC/firmware/fe33c3371bc745d0103ce5bd5060c501a719189d/general/p
ackage/novatek-osdrv-nt9856x/files/script/load_novatek
root@nt98566-imx415:~# load_novatek
insmod: can't insert 'hdal/kwrap.ko': File exists
insmod: can't insert 'hdal/comm/nvtmem/nvtmem.ko': File exists
insmod: can't insert 'hdal/kdrv_builtin/kdrv_builtin.ko': File exists
insmod: can't insert 'hdal/comm/kdrv_comm.ko': File exists
insmod: can't insert 'hdal/kdrv_gfx2d/kdrv_gfx2d.ko': File exists
insmod: can't insert 'hdal/kdrv_videocapture/kdrv_videocapture.ko': File exists
insmod: can't insert 'hdal/kdrv_videoprocess/kdrv_videoprocess.ko': File exists
insmod: can't insert 'hdal/kflow_common/kflow_common.ko': File exists
insmod: can't insert 'hdal/kflow_gfx/videosprite/nvt_videosprite.ko': File exists
insmod: can't insert 'hdal/kflow_videocapture/kflow_videocapture.ko': File exists
insmod: can't insert 'hdal/kflow_videoprocess/kflow_videoprocess.ko': File exists
insmod: can't insert 'hdal/kflow_gfx/nvt_gfx.ko': File exists
insmod: can't insert 'hdal/kdrv_videocodec/kdrv_h26x.ko': File exists
insmod: can't insert 'hdal/nvt_vencrc/nvt_vencrc.ko': File exists
insmod: can't insert 'hdal/kflow_videoenc/unit/kflow_videoenc.ko': File exists
insmod: can't insert 'hdal/kdrv_audioio/audio_common/nvt_audio.ko': File exists
insmod: can't insert 'hdal/kdrv_audioio/kdrv_audio/nvt_kdrv_audio.ko': File exists
insmod: can't insert 'hdal/kflow_audiocapture/unit/kflow_audiocap.ko': File exists
insmod: can't insert 'hdal/kflow_audioout/unit/kflow_audioout.ko': File exists
insmod: can't insert 'hdal/kdrv_audioio/audlib_aac/nvt_audlib_aac.ko': File exists
insmod: can't insert 'hdal/kdrv_audioio/audlib_g711/nvt_audlib_g711.ko': File exists
insmod: can't insert 'hdal/kflow_audioenc/unit/kflow_audioenc.ko': File exists
insmod: can't insert 'hdal/kflow_audiodec/unit/kflow_audiodec.ko': File exists
insmod: can't insert 'hdal/isp/nvt_isp.ko': File exists
insmod: can't insert 'hdal/ae/nvt_ae.ko': File exists
insmod: can't insert 'hdal/awb/nvt_awb.ko': File exists
insmod: can't insert 'hdal/iq/nvt_iq.ko': File exists
novatek: Get data from ipcinfo and set SENSOR as unknown
xxxx Invalid sensor type unknown xxxx
reboot
logread | grep novatek
Nov 16 15:04:00 nt98566-imx415 kern.info kernel: novatek_clock_init
Nov 16 15:06:52 nt98566-imx415 daemon.info novatek: Get data from ipcinfo and set SENSOR as unknown
root@nt98566-imx415:~# fw_printenv sensor
Error: "sensor" not defined
master+4cc6476, 2026-11-15
fw_setenv sensor imx415
reboot
logread | grep novatek
Nov 16 15:09:38 nt98566-imx415 kern.info kernel: novatek_clock_init
Nov 16 15:09:48 nt98566-imx415 daemon.info novatek: Manualy set SENSOR as imx415
root@nt98566-imx415:~# ipcinfo -s
imx415
so new script not detect sensor
openipc-ai commentedon Nov 16, 2026
Thanks, that's a clear result: the new fallback doesn't find your IMX415. Releasing reset and opening the clock gate isn't enough on your board. The vendor driver also picks the sensor clock's source and rate and switches its PLL on, and one of those is probably missing at boot. To see which, could you run these and paste the output? One helper first:
A. Now (
sensor=imx415, picture working):B. Sensor closed, then the same steps the script does:
If
ipcinfo -shangs, press Ctrl-C and say so.C. Boot state:
fw_setenv sensor, reboot, run thedumpline again (definedumpfirst), thenfw_setenv sensor imx415and reboot to get the picture back.If B finds
imx415, the difference between A/B and C tells us what to set up at boot. If B also finds nothing, it's something else, and we'll look there. Until then,fw_setenv sensor imx415stays the way to run this camera.DrSamjames commentedon Nov 17, 2026
Decoding XM's board configs, and what they say about the IVG-N8S
XM keeps the per-board config in
/usr/jsons/*.json. The files start with anXMFV1001header and look encrypted, but they're only obfuscated. (The scheme was described in a Subreption blog post on IPC reverse engineering; the site seems to be offline at the moment.)LibXmComm_Json_parseBuffer()in/lib/libXmComm.sochecks forXMFV1001/XMFV1002, then rotates each byte after the 8-byte header left by(i+1) mod 8bits (i = 0 for the first byte):Every file in my stock N8S image decodes to plain JSON. (Only
XMFV1001is used there.) I'm not attaching the vendor files, just the facts from them.Sensor detection (
SENSOR_TYPE.json). At boot,loadpublicrunsXmGetSensorType gpio=2,7,2,8. That reads the sensor ID over bit-banged I2C on S_GPIO7/S_GPIO8, afterecho sensor 0x220 > /proc/nvt_info/nvt_pinmux/pinmux_setand some direct register writes (LibXmComm_Mmap_writeReg). The table it uses:That might help with the detection fallback: the register writes in
XmGetSensorTypeare XM's own pre-detection clock setup.GPIO map from the config.⚠️ UNTESTED: these are what XM's config says, not verified on hardware.
"ProductName": "IPC_N8S". XM writes pins as[group, pin]. On NT98566 that's GPIO 32·group + pin, with banks C, P, S, L, D, H, A, DSI. Two cross-checks:gpio=2,7,2,8above is S_GPIO7/8 (the sensor I2C pads), and the Ethernet LEDs[4,5]/[4,6]are D_GPIO5/6 (133/134), the one pad difference between stock and OpenIPC.IRCutGpios→Default0/1 (bIrCutReverseLevel: 1)IRCtrlGpio(IR LEDs)OffPWMByGpioOut(LED PWM, PWM7)TestWlPwm/AudioPowerCtrlGpio1IRStatusGpio(input,bIRStatusReversed: 1)ResetGpio(button)AudioPowerCtrlGpio(speaker amp)On OpenIPC, pulsing 225/226 did not move the filter for me. The pads show
[GPIO]and debugfs shows them switching, but no click and no change in the picture. The IR-cut entry is nested underDefault, which suggests other hardware variants have other pin sets, so I suspect this board isn't using the default ones. Treat the whole table as a starting point.openipc-ai commentedon Nov 17, 2026
Thanks, that's the clue we were missing.
0x220in the SDK's pinmux tables isPIN_SENSOR_CFG_MIPI | PIN_SENSOR_CFG_MCLK: the second bit puts SN_MCLK on its pad (S_GPIO0). Our fallback opens the clock gate but never routes the clock to the pad, and I suspect your board boots without that routing until the sensor is started. On our NT98566 the running value is0x220too.Could either of you test it? With
sensorunset (fw_setenv sensor, reboot), and before anything else:Then
fw_setenv sensor imx415and reboot to get the picture back.@DrSamjames, could you also list the addresses and values
XmGetSensorTypewrites withLibXmComm_Mmap_writeReg, in order? Facts only, as you did here. If they set the clock source or divider, that's the other half of what we'd do at boot.On the IR-cut: thanks for the table and for trying 225/226. I'll come back to night mode once detection works.
DrSamjames commentedon Nov 17, 2026
Tested on the 2026-11-16 nightly (it does include #2859). Short version: the fallback works once the sensor clock and I2C pins are routed before the probe.
load_novateksensor,mipi_lvds,i2call 0 at that point)set SENSOR as unknown; "Loading vendor modules" slowecho sensor 0x220andecho i2c 0x1topinmux_setimx415 answered with its reset (GPIO 65) released and its clock on, written to env; "Loading vendor modules" noticeably faster(An earlier boot also detected it, because I had typed the same two pinmux lines over SSH before
load_novatekran.)Without
i2c 0x1the I2C pads aren't on the controller:i2cget -f -y 0 0x1a 0x30givesOperation timed out,ipcinfo --short-sensorblocks until killed, and after that the adapter staysResource busyfor the rest of the boot. I haven't testedsensor 0x220andi2c 0x1separately; both were set in the working boots.For comparison, I disassembled XM's stock
/bin/XmGetSensorType(ARM, from my dump of the original firmware). It's run once fromloadpublicasXmGetSensorType gpio=2,7,2,8, and before reading any ID it does, in order:system("echo sensor 0x220 > /proc/nvt_info/nvt_pinmux/pinmux_set");writeReg(0xf0020070, 0x04010006);writeReg(0xf0020030, 0x01010127)(plain stores, each after areadRegwhose result is unused). It then reads the ID over XM's GPIO-I2C (/dev/xm_gpioi2con S_GPIO7/8), so XM never needs thei2cpinmux for detection, which is probably why it's missing from the port.Separate open issue, cause not isolated yet: since this afternoon there are no frames at all.
/proc/hdal/vcap/infoshows the normal IMX415 config (0x220 / 0x301 / 0x1, 3840x2160 RAW12 25/1) butNEWstays 0, it printsforce reset and wait 1 secnod...,image.jpgreturns 503 and the live view shows "no signal". It happens on a boot withsensor=imx415already set (probe not run) too. The picture was fine this morning after a cold power-cycle; every boot since has been a soft reboot (which only works since the #2865 fix), so I suspect the sensor doesn't come back after a warm reset. I can't power-cycle it until I'm back at it; I'll confirm cold vs warm then.openipc-ai commentedon Nov 17, 2026
Thanks, that's conclusive. The fix is up as #2891: the fallback now sets
sensor 0x220andi2c 0x1(added to whatever is already set) before probing, and puts both back afterwards. It leaves the I2C channel-2 pads alone, because S_GPIO4 is also the SC501AI's reset pin. It still runs only when the normal detection finds nothing. If you can, a clean boot of a build with #2891 in it (no S69 script,sensorunset) would confirm it on the hardware.On the missing frames: when you're back at the camera, a cold power-cycle tells us most. If frames come back after the cold start and are gone again after one
reboot, that's a warm-reset problem with the sensor, newly visible because soft reboot now works. In that case please paste/proc/hdal/vcap/infoanddmesg | grep -i -E 'sen|vcap|mipi'from the bad boot.DrSamjames commentedon Nov 17, 2026
Thanks for #2891, I'll test it on a clean boot as soon as a build with it comes down.
On the missing frames: cold power-cycle brought them back (
NEW 25 / PROC 17 / PUSH 16). Then a warmreboot(seen on UART, uptime 90 s): frames still fine. So a soft reset on its own is fine;dmesg | grep -i -E 'sen|vcap|mipi'only shows the usualget sen[0] fps failed (-11)/VCAP NOT STARTon both boots.So the no-frames state came from something earlier in that session (sensor reset toggles, clock register pokes, timed-out I2C transfers), and it survived at least two soft reboots until power was cut. The IMX415 stays powered through a reboot, so my guess is the sensor itself was stuck and the normal start-up doesn't recover it. If I can reproduce it, I'll capture the bad state.
openipc-ai commentedon Nov 17, 2026
Thanks, that's good news on the reboot side, and a useful finding.
If the no-frames state comes back, before power-cycling please grab:
Then try one
reboot, and paste the same output from that boot. The driver pulses the sensor's reset (GPIO 65) at every start, so a sensor that stays stuck through that would be surprising, and these show whether the pulse, the clock or the I2C bus is what's different.