Skip to content
 
 

Latest commit

 

History

3,681 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openipc-raptor

A fork of OpenIPC/firmware that builds camera images running Raptor as the streamer instead of Majestic.

Differences from OpenIPC

  • Raptor replaces Majestic as the streamer: a set of small daemons sharing frames through shared memory, all GPL-3.0 and rebuildable, where the stock image runs one closed binary.
  • Retuned ISP calibration on most of the sensors this fork has had on a bench -- the sensor table below marks which.
  • Sensor driver fixes. SC450AI reports its model ID, so the ISP loads its IQ tuning instead of none; and mirror/flip is applied on nine SigmaStar drivers that staged the register and then dropped it.
  • Wi-Fi setup portal. A camera with no network configured raises its own access point and serves a setup page instead of sitting unreachable.
  • A MAC address per camera, derived from the flash unique ID or the SoC die ID, so two cameras on one network do not arrive sharing one.
  • A hostname per camera, derived from the SoC and the sensor.

The Raptor configuration console

Boards

Sizes are the squashfs from the latest nightly, so they move with every build. Free is the headroom a Wi-Fi driver or an IQ tuning has to fit into -- a driver is often 1.5 MB, which is why the column is here and why hi3516cv608_os04d10_raptorwifi, at 28 KB, already carries one.

Board SoC · family Flash Rootfs Free Download
ssc377qe_raptor SSC377QE · infinity6c 16 MB NOR 4580 of 8192 KB 3612 KB sysupgrade · whole-flash
ssc377d_raptor SSC377D · infinity6c 16 MB NOR 4264 of 8192 KB 3928 KB sysupgrade · whole-flash
ssc30kq_raptor SSC30KQ · infinity6e 16 MB NOR 5068 of 8192 KB 3124 KB sysupgrade · whole-flash
ssc333_sc3336_raptor SSC333 · infinity6b0 8 MB NOR 4796 of 5120 KB 324 KB sysupgrade
t31_raptor T31X · ingenic 16 MB NOR 4608 of 8192 KB 3584 KB sysupgrade · whole-flash
hi3516ev300_raptor Hi3516EV300 · hi3516ev200 16 MB NOR 4684 of 10240 KB 5556 KB sysupgrade
hi3516ev200_raptor Hi3516EV200 · hi3516ev200 8 MB NOR 4588 of 5120 KB 532 KB sysupgrade
hi3516cv608_os04d10_raptor Hi3516CV608 · hi3516cv6xx 8 MB NOR 3996 of 5184 KB 1188 KB sysupgrade
hi3516cv608_os04d10_raptorwifi Hi3516CV608 · hi3516cv6xx 8 MB NOR 5156 of 5184 KB 28 KB sysupgrade

Sensors

Every image carries drivers for more sensors than have ever been in front of one. Bold is tested on a camera here and carries a tuning made for this fork; italic is tested on a camera but renders with the stock tuning; the rest ship a driver nobody here has run.

Family Images Sensors on the image
infinity6c ssc377qe_raptor, ssc377d_raptor imx335, sc450ai, gc4653, imx415, os04a10, sc401ai, sc4336p, sc501ai, sc830ai, sc850sl
infinity6e ssc30kq_raptor gc4653, gc2053, gc2093, imx307, imx335, imx347, imx415, os04a10, os04c10, sc501ai, sc8235
infinity6b0 ssc333_sc3336_raptor sc3336
hi3516ev200 hi3516ev200_raptor, hi3516ev300_raptor imx307, imx335, gc2053, gc4653, jxf22, jxf23, jxf37, sc2231, sc2232h, sc2239, sc2315e, sc3235, sc3335, sc4236, sp2305, sp2308
hi3516cv6xx both hi3516cv608_os04d10 variants os04d10
ingenic t31 t31_raptor gc2053

Before you flash

These are experimental builds. Have a recovery path before you write one to a camera.

A recovery path means a way to get the camera booting again when the image you just wrote does not: soldered UART leads you have already used once, or a SPI flash clip and a programmer. Not a plan to acquire one afterwards. Nothing in this fork is widely deployed, several targets have run on exactly one unit, and a rootfs is only discovered to be bad after it has been written to flash.

Read the wiki on flashing and serial/UART first if you have not done this before.

Installing

These images are ordinary OpenIPC sysupgrade archives. Upgrading an existing OpenIPC camera may or may not work depending on which variant it runs (lite, ultimate) and the partition layout it was flashed with.

ssh root@<board> 'sysupgrade --url=<link from the table>'

Configuring a running camera

The configuration console is at http://<camera>/.

A new camera ships unclaimed: root has no password, so nothing can be configured and anyone who can reach the camera can take it. Claiming it means setting that password, and it is what protects the console afterwards. Three doors do it, and any one is enough:

  • the console at http://<camera>/, which draws a claim card instead of its settings while the camera has no password;
  • the setup page on the camera's own access point, if it has no network yet;
  • SSH -- log in as root with an empty password and it prompts for one.

They all write the same file and read it live, so whichever you use, the other two see it immediately. sysupgrade -n wipes the overlay and returns the camera to unclaimed, which is also the way back from a forgotten password.

Licence and credit

This build tree is MIT, inherited from upstream OpenIPC. Raptor itself is GPL-3.0 -- all four of its repositories are -- so an image built here mixes the two, and the Raptor daemons carry GPLv3 obligations that the rest of the tree does not.

OpenIPC is the reason any of this boots at all: kernel, bootloader, vendor packaging and the Buildroot tree are theirs. See the project, the website and the wiki, and consider supporting them at Open Collective.

About

A fork of OpenIPC/firmware that builds camera images running Raptor as the streamer

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages