Sections
MD

Sokil's Betaflight and ArduPilot builds

Forfield integrators

Sokil talks to the flight controller over plain MAVLink and plain CRSF, and most of what a kit does works on stock firmware. But some of it does not, and for those parts Sokil maintains its own Betaflight and ArduPilot builds. This page is what each build adds, which boards it is built for, what changed meaning compared to the stock release, and what you give up by staying stock.

It does not repeat the wiring or the per-link settings - those are on the Flight controller connection guide, which covers both Sokil and stock builds.

The short answer: use a Sokil build where there is one for your board. Outside navigation, nothing in a Sokil build is required to fly a Sokil kit, so this is a recommendation, not a prerequisite. Review the version-specific settings and limits below before changing firmware. One case is a requirement and two make it worth acting on:

  • Sokil navigation needs the Sokil ArduPilot 4.7.1 or later. On any other flight controller firmware navigation still runs, but will not work correctly; the OSD and Diagnostics warn when the flight controller runs anything else, stock ArduPilot 4.7.1 included.

  • For a WiFi aircraft running ArduPilot, use the Sokil ArduPilot build. Its sticks come over its own ELRS receiver, so the receiver's link quality, TX power and SNR reach your overlay only if the flight controller forwards them, and stock forwards none of the three - the corner reads a flat LQ 100 whatever the radio is actually doing.

  • For an Ethernet, fiber or Starlink aircraft running Betaflight, use the Sokil Betaflight build. It carries telemetry down and RC up over one UART, with all sixteen channels and link statistics. Stock Betaflight 2025.12+ can also use one UART when the build includes MAVLink Serial RX; a build without it needs a second cable into a Serial RX pad.

Everything below is the detail behind those three points, including what needs the Sokil build and what does not.

Why Sokil ships its own builds

Three reasons, in the order you are likely to meet them.

  • RC on the telemetry port. On an Ethernet, fiber or Starlink aircraft, one UART can carry telemetry from FC to ground station and the sticks back to FC. Stock Betaflight 2025.12+ supports this when the build includes MAVLink Serial RX and the UART has both Serial RX and MAVLink telemetry enabled. A telemetry-only port does not receive RC. Sokil additionally supports RC overrides over an existing receiver, described below; the fork is not required just to use MAVLink as the primary receiver. ArduPilot and INAV 8 also support RC over MAVLink.
  • What the overlay can show. The radio link's quality, transmitter power and signal-to-noise reach the ground station only if the flight controller forwards them, and no stock firmware forwards all three - stock Betaflight and INAV send none, while stock ArduPilot reports a fixed LQ 100 and unrelated counters in the SNR and TxP fields. RSSI travels separately. All sixteen RC channels are a smaller gap: stock Betaflight reports the first eight, and so does INAV with its telemetry set to MAVLink 1 - its default, MAVLink 2, carries them all.
  • Flying without satellites. Betaflight has none of it at all: the Sokil build carries a dead-reckoned ground speed and home direction so the overlay and GPS Rescue keep working when satellites are lost. On ArduPilot the navigation work lives on the camera, and it needs the Sokil ArduPilot 4.7.1 or later on the flight controller. The ArduPilot section below has that split in full.

Everything else in both forks is board support, bug fixes and small operational changes, listed below.

Betaflight

Base release: Betaflight 2026.6.0-alpha. The fork tracks upstream's own tip rather than a tagged release; the last upstream merge was on 2026-06-16. The firmware reports itself as 2026.6.0-alpha and speaks MSP API 1.48 - the same API version as the stock 2026.6 release - so set it up on FC setup's own tabs or with a Betaflight Configurator built for the 2026.6 generation, exactly as you would a stock 2026.6 flight controller.

The build does not print "Sokil" anywhere. status and version show the plain upstream strings, and the firmware file is named the same way an upstream build is. The one-command test is the CLI: type get tnav_k1. A Sokil build answers with a value; stock Betaflight reports the setting as unknown, because it has no such setting.

What the Sokil build adds

Feature What it does for you What to set
RC on the telemetry port One UART carries telemetry from FC to ground station and the sticks back to FC. Sokil can process RC on the telemetry port without a separate MAVLink Serial RX port. Stock 2025.12+ also supports one UART when configured as MAVLink Serial RX plus telemetry. Ports > UARTn: Serial RX ON and Telemetry Output MAVLink on the same UART, serialrx_provider = MAVLINK. For MAVLink as the primary receiver, enable both functions; Serial RX alone does not enable telemetry.
All sixteen RC channels The flight controller reports the full channel set instead of the first eight, so switch actions on channels 9 to 16 work. Stock sends eight, and a switch above channel 8 simply never arrives. Nothing.
Link quality, TX power and SNR The receiver's link statistics ride the telemetry stream, so the overlay's LQ / TxP / SNR corner has something to draw. Stock sends nothing there. Nothing, but the aircraft needs a CRSF or ELRS receiver of its own - the numbers come from it.
A stick override on top of any receiver A ground station sending RC over MAVLink can move the sticks on an aircraft that is also flying on its own CRSF or SBUS receiver. Each override lasts one second and works per channel, so a channel the station does not send keeps coming from the radio. Nothing on the flight controller.
Dead-reckoned speed and home (TNAV) With satellites lost, the flight controller keeps a ground speed and a direction home worked out from motor RPM and attitude, and the OSD's speed, home distance and home arrow keep working. It also keeps GPS Rescue available. Needs ESC telemetry (bidirectional DShot, or an ESC sensor). It is off until tnav_k1 is non-zero - the constants are per airframe.
A VTX frequency range up to 8500 MHz Video transmitters outside the 5.8 GHz band can be tuned from the flight controller. Stock stops at 5999 MHz. vtx_freq, on a board whose VTX supports frequency commands. The lower bound is 1020 MHz.
VTX control while armed Band, channel and pit mode can be changed in flight. Stock locks them once the aircraft is armed. Nothing.
Two CRSF receivers Two receivers on two UARTs, with an automatic switch to the other one after half a second without frames. A second UART set to Serial RX.
A configuration lock With it on, the CLI refuses serial, resource, timer, dmaopt, vtxtable, defaults and hardware-level set - so a built airframe cannot be reconfigured by accident. The CLI setting locked.
Eight PINIO outputs, inputs, and a when-armed gate More switched outputs than stock's four, an input mode, an option to hold an output off until the aircraft is armed, and an OSD element showing their state. Assign the pins with resource, as on stock.
A payload output (DETON, Detachment On) A dedicated output driven by two RC modes - DETON ARM, then DETON - with a settable arming delay and an OSD countdown. It can also be activated by crash detection. Assign a pin with resource, then the CLI settings deton_inversion, deton_od and deton_enable_time; the mode pair appears in the Configurator's Modes tab. Nothing happens until a pin is assigned.
Camera frame mask and alternative OSD font The area outside the camera frame is filled rather than left as noise, and the alternative character set ships with the build. Nothing.
A compass watchdog A QMC5883 compass that stalls is re-initialized instead of staying dead for the flight. Nothing.
Bounded I2C error recovery A wedged I2C bus can no longer spin the flight controller forever inside its error handler. Nothing.
Servo travel around the center Forwarded channels are scaled about the servo's own center point instead of straight across its travel, so a servo whose center is not the midpoint moves symmetrically. Reversed servos work too. Nothing. USE_SERVO_LEGACY restores the old behavior at build time.
An honest battery percentage The milliamp-hour percentage is used only when the pack was actually full when it was plugged in; otherwise the reading falls back to voltage. Nothing.

Settings that changed meaning

These are the ones that bite when a configuration is copied from a stock flight controller.

failsafe_delay is in SECONDS, not tenths of a second. Stock counts it in tenths and ships 15, which is 1.5 s. The Sokil build counts whole seconds and ships 2. A dump copied from a stock aircraft therefore asks for 15 seconds before failsafe stage 2. During stage 1, the flight controller holds the last channel values for 300 ms, then applies the configured channel failsafe values. Check it after every restore:

get failsafe_delay          # Sokil build: seconds. 2 = two seconds, range 1 - 255

The failsafe recovery time also moved - the build needs 100 ms of good frames to come back, where stock wants 500 ms.

Three more, from the June 2026 upstream merge:

Was Now
failsafe_off_delay Gone. Use failsafe_landing_time - the same idea under upstream's name.
alt_hold_pid_p / _i / _d, alt_hold_target_adjust_rate, alt_hold_throttle_min / _max Gone. Altitude hold is upstream's controller now; tune it through upstream's autopilot settings. The ALTHOLD mode itself is unchanged.
Flight modes numbered like ArduPilot (altitude hold 2, return 11) Betaflight's own numbering, and the mode list is also advertised by name. Sokil's overlay reads both generations, but a third-party ground station pinned to the old numbers has to be reconfigured.

Which boards have builds

The build set is 55 targets, all on STM32 and AT32 flight controllers. Betaflight 4.6 builds are no longer published: move a flight controller still on 4.6 to the 2026.6 build from this list (the two SkyPulse F405 V3 boards and the Spedix H743 never had a 4.6 build). Grouped by processor:

MCU Targets
STM32F405 AOCODAF405V2MPU6500, AOCODARCF405V3, CYCLONEF405_PRO, DAKEFPVF405, FLASHHOBBYF405, FLUATECHF405, FURYF4OSD, GEPRCF405, GETFUNF405V3, HAKRCF405V2, HGLRCF4058S, HGLRCF405V2, HGLRCF405V4, JHEF405PRO, KARMA405V1, MATEKF405TE, MODULE149V2, SKYPULSEF405V2, SKYPULSEF405V3, SKYPULSEF405V3_1, SKYSTARSF405, SPEDIXF405, SPEEDYBEEF405MINI, SPEEDYBEEF405V3, SPEEDYBEEF405V4, STELLARF4, STELLARF4V2, TANTOF405, VYRIYF4V4
STM32F7 AOCODARCF7DUAL, AXISFLYINGF7PRO, BLADE_F7, DAKEFPVF722, FLASHHOBBYF722, FOXEERF722V4, GEPRCF722, GEPRCF745_BT_HD, HOBBYWING_XROTORF7CONV, IFLIGHT_BLITZ_F722, IFLIGHT_BLITZ_F7_PRO, MAMBAF722_2022A, MAMBAF722_2022B, RRIOT_F722, SOLOGOODF722, SPEDIXF722, TMOTORF7V2, TMOTORVELOXF7V2, VRBF722
STM32H743 GEPRC_TAKER_H743, HGLRC_H743_LITE, JHEH743_HD, MAMBAH743_2022B, MATEKH743, SPEDIXH743
AT32F435 IFLIGHT_BLITZ_F435

Eleven of those boards are ones Sokil defines itself, because upstream Betaflight has no definition for them at all: the three SkyPulse boards, Module 149, Karma, Vyriy, Fluatech, Getfun, VRB and two of the HGLRC boards. A board that is not in the list has no Sokil build - ask before you build an airframe around one.

Known issue - SkyPulse F4 V3.1 (target SKYPULSEF405V3_1). These boards reported GYRO: None on every Betaflight build, the fork's and upstream's alike, while the board's own factory firmware read the gyro perfectly. The board definition named the wrong gyro chip - it is an LSM6DSV16X, not an IIM-42653. The fix reached built firmware on 2026-08-05, so a build made before 2026-08-05 still shows no gyro on a perfectly healthy board. Use a build made on or after 2026-08-05. If one still shows no gyro, it is a bench question, not a setting.

What to set on the flight controller

Use the Flight controller connection settings for MAVLink or CRSF. With MAVLink as the primary receiver, both stock Betaflight 2025.12+ builds that include MAVLink Serial RX and Sokil builds can carry RC and telemetry on the same UART. Select MAVLINK, enable Serial RX and MAVLink telemetry, and set matching baud rates. Older firmware or a build without MAVLink Serial RX needs the separate CRSF connection and a second UART for telemetry. On Betaflight 2026.6 the Ports and Receiver tabs of FC setup make these settings for you - see Setting up a Betaflight flight controller.

ArduPilot

The experimental 4.7.1-sokil branch is based on ArduPilot 4.7.1. Its builds use the stable 4.7.1 parameter names and units. Older Sokil builds report 4.7.0-dev and use the older names and units. FC setup supports both and selects the matching descriptions. Upgrade from the older fork with a full chip erase, then configure and calibrate the aircraft again; keep its old parameter backup for reference. On a computer, FC setup does both: it backs the parameters up before it flashes, and its Firmware tab flashes over DFU with Full chip erase, which erases the old parameters with everything else.

The fork retains its board support, telemetry, failsafe, estimator and landing changes. The 4.7.1-sokil build removes the flight controller's ThrustNav; navigation from the camera remains available.

Sokil navigation needs 4.7.1-sokil or later - a release, release candidate or beta, never a development build. The camera checks the flight controller's version and that it runs the Sokil build. On anything else - an older ArduPilot, the older Sokil builds included, stock ArduPilot 4.7.1 or later, or another firmware - navigation still runs but will not work correctly: the OSD says "Sokil nav: FC needs Sokil ArduPilot 4.7.1+" when the check is done, at every arming and when navigation is switched on, and Diagnostics says what the flight controller runs.

What the Sokil build adds

Read this table with the next section beside it: only the first four rows are things a Sokil kit uses today. The rest is board support, failsafe work, and estimator work that belongs to an older design or to aircraft Sokil does not fly.

Feature What it does for you What to set
Link quality, SNR and TX power in the link corner The receiver's link quality goes into the drop-rate field of the telemetry status message and its signal-to-noise and transmitter power into the two error-counter fields, which is what the overlay's LQ / TxP / SNR corner reads. Stock ArduPilot carries none of the three: it sends a drop rate of 0, which the overlay decodes as a flat LQ 100 rather than a blank, and the other two fields hold its own packet-error counters, so TxP and SNR read wrong. RSSI is not part of this corner and is unaffected - it rides RC_CHANNELS (the SRn_RC_CHAN stream) on stock and fork alike. The received-signal scale also runs to -130 dBm instead of -120. Nothing beyond a CRSF receiver and a non-zero SRn_EXT_STAT rate for the link quality. TxP and SNR need more: they are compiled in only where the board switches on ArduPilot's link-statistics extension, which is off by default, and the Sokil builds that do not - DAKEFPV H743 and H743 SLIM, Lastivka, Pixhawk 6C, Stellar H7 V2, Matek F405-Wing - send link quality but leave those two fields as counters.
A GPS-denied landing that finishes Near the ground the position controller may relax its horizontal target instead of leaning after a position it cannot measure, so the aircraft settles and disarms instead of standing there armed. In a small simulation-bench comparison, landings failed to finish with it off and finished with it on, and the time spent armed on the ground after touchdown fell from tens of seconds or a few minutes to about five seconds. LAND_XNAV_SOFT, on by default and self-scoping - it does nothing unless external navigation is the active horizontal source. Sokil's Landing soften row (parameter vtx_nav_soften) (VTX settings > Navigation > Fine-tune > Flight controller output) sets it for you when the flight controller has it, and runs the companion's own version when it does not.
Telemetry to the handset without a GPS fix The position and satellite-count frames sent back to the radio fall back to the estimator's own position when there is no fix, so the handset still shows where the aircraft is on a GPS-denied flight. Link quality and signal strength are zeroed when the receiver actually goes silent, instead of freezing at the last value they had. Nothing.
A plane takes off on companion navigation with a jammed GPS A plane whose GPS receiver is configured but has no fix arms ("Armed on companion navigation") and flies its AUTO takeoff while the flight controller takes its position from the camera, and keeps its home when the receiver gets its first fix in the air; with the camera's position missing or stale it still refuses with "GPS 1: Bad fix", and an AUTO takeoff that has neither waits on the runway and says why ("Takeoff waits: no GPS fix, no companion nav", builds from 2026-10-07; TAKEOFF too before 2026-11-06). From builds of 2026-10-10 a plane without a GPS fix, or with no GPS receiver at all, counts its altitude from where it arms, and a home set later in the air keeps that altitude; and the flight controller takes the camera's position back after it drops out, without a restart. Stock ArduPilot refuses both: take off yourself in MANUAL or FBWA. Flight controller sources (VTX settings > Navigation), for the No GNSS at all use.
TAKEOFF without a position A plane in TAKEOFF mode launches with no position at all - no GPS receiver, or one with no fix, the camera's navigation off, the Starlink terminal on Map only. It climbs to the takeoff altitude above the launch point on barometric height, wings level until the launch and then holding the heading it launched on, and circles there until you switch the mode; a plane launched without a position keeps climbing and circling, even if a position appears later. A GPS fix lost on the runway, or for more than 3 s in the air, switches TAKEOFF to the same climb and circle; in the air the plane goes back to loitering on its position once the fix has been back for 2 s. Watch a TAKEOFF without a position as you would FBWA: without an airspeed sensor the circle banks harder than it asks for and keeps sinking, down to the ground within minutes, so take over in time. An AUTO takeoff (a mission) still waits for a usable position. With a minimum launch ground speed set (TKOFF_THR_MINSPD above 0) it waits and says "Takeoff waits: TKOFF_THR_MINSPD needs GPS"; the takeoff timeout is not applied without a ground speed. Builds from 2026-06-26 up to 2026-11-05 held TAKEOFF on the runway without a position; stock ArduPilot does the same: take off yourself in MANUAL or FBWA, or launch by hand, and switch to an automatic mode in the air. TKOFF_THR_MINSPD = 0 and TKOFF_THR_MINACC for the launch acceleration, when there is no GPS.
A long failsafe on Copter Two-stage radio and ground-station failsafe, the way Plane has always had it: the first action fires as usual, and a second, stronger one fires if the failsafe is still going after a set time. FS_LONG_ACTN (0 disables it) and FS_LONG_TIMEOUT.
A "Loiter or AltHold" failsafe action A failsafe response that holds position if it can and holds altitude if it cannot, instead of committing to a return the aircraft may not be able to fly. Value 8 in FS_THR_ENABLE, FS_GCS_ENABLE or FS_LONG_ACTN.
A plane failsafe that switches to FBWB and leaves an automatic flight alone A radio or ground-station failsafe that never turns the aircraft for home: from MANUAL, FBWA and the other manual and stabilized modes, CIRCLE or TAKEOFF the plane switches to FBWB, holds its altitude with the wings level and keeps the last airspeed it had, and an AUTO, GUIDED or LOITER flight (and an RTL) goes on as it was - the FBWB twin of the stock "CIRCLE/no change" action. Stock ArduPilot has no such action. Value 20 in FS_SHORT_ACTN and in FS_LONG_ACTN (Plane).
The pilot's mode switch honored after a radio failsafe When the radio comes back, the aircraft goes to the mode the switch is actually in, rather than staying where the failsafe left it. Nothing.
A slow pilot descent near the ground Below a set height in AltHold and Loiter the stick cannot command more than a gentle descent rate, so an approach stays controlled. PILOT_LAND_ALT (the height, 0 disables it) and PILOT_LAND_SPD (the rate, in cm/s).
A VTX frequency range up to 8500 MHz The same ceiling as the Betaflight build, for both SmartAudio and Tramp transmitters. The normal ArduPilot video-transmitter parameters.
Board support The Lastivka board, which upstream does not know at all; precision landing compiled in on the OSA12 H743, where the size-reduced stock build leaves it out; and a camera mount kept in the build on the low-flash fleet boards, which is what lets a gimbal be driven through the flight controller. Nothing.
Precision landing that does not flood the links Landing-target messages are consumed on the board instead of being re-broadcast onto every other MAVLink link, which used to swamp the telemetry serials whenever precision landing was on. Nothing. Note that no Sokil feature drives precision landing today - this is hardware support.
Origin and home set at arming without GPS An aircraft with no satellites can be given a position to fly relative to at the moment it arms; with no position estimate at all the origin falls back to the geographic center of Ukraine (48.3794 N, 31.1656 E) rather than the zero point off Africa. That single number sets the compass declination for the whole flight, and the old fallback was about ten degrees out - roughly 178 m of cross-track error per kilometer flown, on exactly the aircraft the option exists for. ARMING_OPTIONS bit 3, off by default. No Sokil configuration turns it on; it is there for an airframe that needs it.
A return home with no position (Copter) RTL on a copter with no position at all - no GPS receiver, or one lost in flight with no navigation from the camera - turns towards home, flies there leaned forward at a set angle for a set time, then descends and lands where it is. The direction comes from the aircraft's own attitude: how it has leaned since it armed, or, when the position is lost in flight, since the loss and from where it was lost - so flying on without GPS is accounted for. Wind is not seen: this is a direction to fly, not a position, and it is off by more the stronger the wind and the longer the flight. In simulation in calm air the copter turned within about 10 degrees of home from roughly 200 m out and landed a few tens of meters from home; it has not been flown yet. Builds from 2026-11-22: earlier 4.7.1-sokil builds refused RTL on a copter that had never had a position, and after a loss in flight took the direction from the last known position, however far the copter had flown since. RTL_NOGPS_ANGLE (the lean, in hundredths of a degree; 20 degrees by default) and RTL_NOGPS_TIME (the time, in milliseconds; 120 s by default). A negative time is the same limit, and the return also ends earlier, once the copter has flown back as much as it flew out. A copter with no GPS receiver also needs ARMING_OPTIONS bit 3, which gives it a home.
ThrustNav on older flight controllers ThrustNav is absent from 4.7.1-sokil. Older Sokil ArduCopter builds still have it. On an older FC that reports TNAV_ENABLE, set it to 0 whenever the camera supplies navigation. The Flight controller sources card on VTX settings > Navigation does this automatically. On 4.7.1-sokil there is no ThrustNav setting to change.
Estimator work for the older raw optical-flow path Flow fused at its capture time (EK3_FLOW_USE_TS, EK3_FLOW_TS_HZN), a bridge through the blind zone where the camera sees nothing near the ground, and flow navigation on barometer height with no rangefinder. Sokil does not use them: flow reaches the flight controller as a finished pose from the camera, and the barometer question is solved on the companion instead (it reads the barometer height itself). Nothing. Leave them alone.
Fixed-wing estimator and arming work Limits on the estimator's wind state so a runaway wind cannot poison a dead-reckoned velocity (EK3_WIND_MAX, default 30 m/s; EK3_DRV_WIND_MAX, default 15 m/s), and an arming gate that can require an add-on service to report itself ready (ARMING_GEORECT, off by default; the Allow arming without GEORECT switch waives it). No Sokil feature uses either today. Nothing.

Which boards have builds

Copter, 20 boards: DAKEFPVH743, DAKEFPVH743_SLIM, GaluchunaV2, HGLRC F405 V2 / F405 V4 / F4058S, Lastivka, Matek F405-HDTE, Matek H743, OSA12SH743V1, Pixhawk 6C (two variants), SkyPulse F4 V3, SpeedyBee F4 V3 / F4 V4 / F405 WING / F405 WING 2, Stellar H7 V2, TBS Lucid H7, Vyriy F4 V4.

Plane, 6 boards: Lastivka, Matek F405-Wing, Matek H743, OSA12SH743V1, Pixhawk 6C, SpeedyBee F405 WING.

Lastivka is a board Sokil supports that upstream ArduPilot does not know at all - an STM32H743 controller with 13 PWM outputs, seven UARTs, an analog camera input with on-screen display and four protected 5 V relay outputs. Its bootloader ships with the firmware, so a first flash is the normal bootloader-then-firmware sequence rather than anything special.

Most boards are handed out as a .hex with the bootloader already in it; the Pixhawk 6C also comes as an .apj, which is what Mission Planner's own firmware page expects. FC setup's Firmware tab takes either.

What needs the Sokil build, and what does not

This is the question worth being exact about: Sokil navigation needs the Sokil ArduPilot 4.7.1 or later. The work lives on the camera, but on any other flight controller firmware it will not work correctly; navigation still runs there, and the pilot is warned.

  • Companion navigation uses standard ArduPilot inputs. The camera works out its own position from what it sees and sends the flight controller one finished position and velocity, the way any external navigation source does. Everything the Flight controller output card on the Navigation tab of VTX settings (on the station) asks you to set on the flight controller - the estimator source sets, the visual-odometry noise and delay, the estimator failsafe action - is a stock ArduPilot parameter. Older Sokil ArduCopter builds also require ThrustNav off (TNAV_ENABLE 0), if present; 4.7.1-sokil has none.
  • The camera reads the barometer itself. Companion navigation takes the flight controller's barometric height directly. On an aircraft without a rangefinder the camera also sends the flight controller a synthetic down-facing rangefinder that carries a height only while the barometer is faulty: then it is the last good barometric height. While the barometer is healthy the reading is out of range, so the flight controller's surface tracking and land detector see no rangefinder (the Baro rangefinder switch (parameter vtx_baro_rng_enabled) on the Height above ground card, VTX settings > Navigation > Fine-tune, on by default). On the flight controller that is three standard settings: the first rangefinder set to the MAVLink type, facing down, with the height source left on baro. Two more follow from the out-of-range reading. Anything flown in the terrain frame (a mission item or a Guided target) needs WP_RFND_USE 0, so that the terrain comes from the terrain database: at the default 1 the flight controller takes its terrain failsafe there, because its rangefinder reads out of range. And RNGFND1_MAX must cover the flight's height (its default is 7 m), or a fault height above it reads out of range as well. Two limits remain. The flight controller's own height is not protected: with no GNSS it keeps flying on the failing barometer, because making the frozen height its height source pinned its altitude estimate in the simulator instead of holding the altitude. And a barometer that drifts slowly is not detected at all.
  • The one lever inside the shipped path is the landing. LAND_XNAV_SOFT is the only fork parameter Sokil's own features reach for, and the Landing soften row handles both cases by itself - it sets the flight-controller parameter when the firmware has it, and runs the camera's own equivalent when it does not.
  • Taking off. The ground-arm bridge on the Camera flow card (VTX settings > Navigation > Fine-tune) says it on the row: it "enables ground ARM only - where taking off in position hold from the ground is not available, take off in altitude hold and switch to position hold once airborne."
  • Return home without GPS runs on companion navigation, so it needs the Sokil ArduPilot 4.7.1 or later like the rest. That page is about a camera-less aircraft dead-reckoning its way home, and every flight controller setting it asks you to change - waypoint speed, return hover time, low-altitude landing threshold and descent speed - is a standard ArduPilot setting. The guide lists both the older raw names and their 4.7 equivalents (WP_SPD, RTL_LOIT_TIME, LAND_ALT_LOW_M, LAND_SPD_MS).

Fly navigation on 4.7.1-sokil. Stock ArduPilot, the older Sokil builds and other firmware still run the camera's navigation, but not correctly. Flash the flight controller before the first flight with navigation.

INAV

Sokil also carries a one-change INAV patch, and it is the same change the Betaflight build makes: the receiver's link quality, transmitter power and signal-to-noise are put into the spare fields of the telemetry status message, so the overlay's LQ / TxP / SNR corner works on an INAV aircraft too. Everything else is stock INAV 9.1.

The patch itself, for a board Sokil has no build for: it is one hunk in mavlink.c of the telemetry code, against stock INAV 9.1, and it is shipped beside the Matek H743 build as a git patch file. Apply it to a stock INAV checkout with git am <the .patch file>, or make the three substitutions by hand in the function that sends the system status - the receiver's link statistics already exist in the firmware, the change only copies them into three fields the message never used. The overlay then reads link quality as (100 - LQ) * 100 in the drop-rate field, the transmitter power in milliwatts in the communication-errors field and the SNR in decibels in the third autopilot-specific error field. Without receiver link statistics, the patch cannot provide measured LQ, transmitter power or SNR.

--- a/src/main/telemetry/mavlink.c
+++ b/src/main/telemetry/mavlink.c
@@ -519,15 +519,18 @@ void mavlinkSendSystemStatus(void)
         // battery_remaining Remaining battery energy: (0%: 0, 100%: 100), -1: autopilot estimate the remaining battery
         feature(FEATURE_VBAT) ? calculateBatteryPercentage() : 100,
         // drop_rate_comm Communication drops in percent, (0%: 0, 100%: 10'000), (UART, I2C, SPI, CAN), dropped packets on all links (packets that were corrupted on reception on the MAV)
-        0,
+        // Used to report uplink link quality from the RX link statistics
+        (100 - rxLinkStatistics.uplinkLQ) * 100,
         // errors_comm Communication errors (UART, I2C, SPI, CAN), dropped packets on all links (packets that were corrupted on reception on the MAV)
-        0,
+        // Used to report uplink TX power in mW from the RX link statistics
+        rxLinkStatistics.uplinkTXPower,
         // errors_count1 Autopilot-specific errors
         0,
         // errors_count2 Autopilot-specific errors
         0,
         // errors_count3 Autopilot-specific errors
-        0,
+        // Used to report uplink SNR in dB from the RX link statistics
+        rxLinkStatistics.uplinkSNR,
         // errors_count4 Autopilot-specific errors
         0, 0, 0, 0);

The current INAV build set is a single Matek H743. INAV 8 or newer supports RC input over MAVLink without a Sokil fork. For telemetry back to Sokil, prefer MAVLink 2: INAV's MAVLink 1 output uses the eight-channel RC_CHANNELS_RAW message, while MAVLink 2 uses RC_CHANNELS and carries the higher channels too. Verify the preset and switching channels after configuration; upgrading INAV alone does not fix an output still set to MAVLink 1. If your board has no Sokil build, stock INAV remains usable, with the LQ / TxP / SNR limitation described below.

Getting the files and flashing them

The flight-controller firmware does not come through the ground station's own update. The station updates itself and its cameras; the flight controller is flashed over its own USB, from a computer. FC setup on that computer does it for both Sokil builds: for ArduPilot it fetches the build or takes a file you give it, and backs the parameters up first; for Betaflight it fetches the build for your board. The cases FC setup cannot reach use the vendor tools further down.

The files themselves are also in Help > Resources, section Flight controller firmware: two update-server cards, ArduPilot (Sokil build) and Betaflight (Sokil build). Each downloads one archive holding the firmware for every board that build supports, and its All builds link opens the page with the earlier releases. The server is on the internet, so a field station with no uplink cannot reach it - download the archive beforehand and keep it with the airframe's paperwork. Firmware missing from the archive for your board is a support request: Sokil builds it for you. The FC setup header shows the connected flight controller's firmware and, when its build matches the release list, its Sokil release name. The browser remembers that list for offline use; a build absent from it has no release name. With navigation on, the OSD and Diagnostics also warn when the FC is not running Sokil ArduPilot 4.7.1 or later.

Flash ArduPilot from FC setup

Where it works. Plug the flight controller into a USB port of the computer a Sokil station runs on - the pilot's laptop, or any station whose page you open on that computer itself, at http://127.0.0.1, in Chrome or Edge. When that station's own VTX MAVLink is off, its menu has FC setup, and there it talks to the flight controller on this computer's USB instead of a camera's: press Connect and pick the flight controller's port. Every FC setup tab then works as it does for a camera's flight controller, and one more tab appears: Firmware.

The station's serial ports are released while it is connected. The page asks first; while the flight controller is connected, RC and MAVLink over this station's own serial ports stop, and they come back on Disconnect, or when you close or reload the page. Flash on the bench, never with an aircraft flying through this station.

Firmware tab. A Firmware switch on top picks ArduPilot or Betaflight (Betaflight is below). For ArduPilot, two columns: the flash on the left, Parameters on the right. The flash is a route - The FC, Firmware, FC: bootloader or FC: DFU, Write, Back running - with who acts in each stage, and one card open at a time; a finished card folds to one line (press Show to open it again). The FC says where the flight controller is (running ArduPilot, in its bootloader, in DFU, or not connected) and holds the Board pick. The progress of a flash is in the Write card, a backup's or an erase's in Parameters.

Sokil port. After Back running one more card is optional, and it is also there for a flight controller that is simply connected: pick the UART the Sokil camera is wired to and the Baudrate (115200 unless the camera's was changed on VTX settings > Telemetry > MAVLink). The card shows what each port does now and marks the one already set to MAVLink at that Baudrate. Set up the port writes SERIALn_PROTOCOL = 2 (MAVLink2) and SERIALn_BAUD for it - a port already on MAVLink1 keeps its protocol, the camera reads both - and it takes effect after Restart the FC. A port that holds something else is taken only after you say yes.

Firmware card:

  • Source - Sokil release downloads the Sokil ArduPilot build from the update server: pick the Channel and the Release, and the page picks the builds for the flight controller's own board (when several boards share its board id, pick yours under Board). You pick the vehicle (Copter or Plane) and, for Copter, the build with bidirectional DShot. This needs the internet on that computer. Each release is downloaded with Download: after you pick another release, Flash firmware stays grayed until that release is downloaded too, and the Picked line and the flash question name the release that will be written. File takes a firmware file you already have: .apj, .hex or .bin.
  • Method (in the Write card, one is marked Recommended with the reason) - Over USB (ArduPilot bootloader) is the usual way, and the parameters are kept. It needs ArduPilot, or its bootloader, already on the board. DFU uses the processor's own bootloader instead, for a board with no ArduPilot yet (Betaflight, INAV, the factory firmware) or one that no longer starts: unplug the flight controller's USB cable, hold its BOOT button, plug the cable back in, then let go. A Betaflight or INAV flight controller the page has read (set the Firmware switch to Betaflight and it is read; then switch back to ArduPilot) needs no button: on Flash firmware the page saves what its CLI prints (diff all, offered as Save settings) and restarts it into DFU itself. A flight controller running ArduPilot goes the other way, to Betaflight, only with the BOOT button. Over DFU, use the .hex with the bootloader in it, the form the Sokil release ships; an .apj is refused there.
  • Full chip erase - over DFU it erases the bootloader, firmware and parameters before writing. Over USB it is offered on F7 and H7 boards only, and keeps the parameters; on other boards it says it needs DFU.
  • A DFU flash can erase the parameters even without a full chip erase: on most F4 boards and some H7 boards the parameter storage sits in the region a DFU flash rewrites. The card warns you before you press Flash firmware.

Before anything is erased, the page checks the file against the board it read from the flight controller (or the one you picked) and refuses firmware for another board. Over DFU it also compares the chip's flash size and layout with the board the file names, and refuses a mismatch; it cannot compare a file that names no board. In DFU, a board you picked holds only for the flight controller you picked it for: once that one is unplugged, or another one in DFU is chosen, the page asks for the board again and refuses every file until you pick it. It erases nothing while the flight controller is armed. Every flash and erase asks first and says what will be lost.

Parameters card:

  • Back up now saves the flight controller's parameters as a backup. The list under it holds the backups kept in this browser - one is also taken automatically before every flash or erase.
  • Each backup has Download (a .param file, which Mission Planner and QGroundControl read too), Restore and Delete. Restore goes through the same review as loading a parameter file, including the conversion of an older Sokil ArduPilot's parameters; nothing is written until you write it.
  • Erase parameters resets the parameters to defaults. On running firmware the flight controller resets itself and reboots; in DFU only the parameter area is erased and the firmware stays. A board that keeps its parameters in FRAM, such as the Pixhawk 6C, can only be reset from running firmware.

After a flash the page offers to restore the backup it took before it. The backups live in this browser on this computer only: another browser, another computer, or clearing the browser's site data does not have them - Download the ones you want to keep.

No Sokil build for your board. When the board has no Sokil ArduPilot build yet - or the flight controller does not answer in MAVLink because it runs Betaflight or INAV - the Firmware tab shows Request a Sokil ArduPilot build while ArduPilot is picked in its firmware switch (never in the Betaflight flow, and not for a Betaflight board that already has a Sokil ArduPilot build under its name). Describe the board (the name it is sold under, where you bought it, what is connected to it), leave Include the current firmware on unless you are in a hurry, and press Request firmware: the page reads what support needs from the flight controller - for ArduPilot the board's own hardware description, its defaults and parameters and its boot messages; for Betaflight or INAV what its CLI reports - and saves one zip file for you to send to Sokil support. Nothing on the flight controller is changed; including the firmware restarts it once (Betaflight and INAV restart into DFU, and you pick the DFU device in the browser).

Drivers. On Windows, DFU needs the WinUSB driver on the STM32 BOOTLOADER device, installed once with Zadig; without it the browser's device list stays empty. On Linux, a Sokil station updated on or after 2026-10-03 already lets you open the DFU device (USB ID 0483:df11); the serial port needs your user in the dialout group. Troubleshooting has both.

Flash Betaflight from FC setup

The same page, the same computer and the same Connect as for ArduPilot (above); on the Firmware tab, set the Firmware switch to Betaflight. A flight controller that does not answer in MAVLink gets Betaflight by itself. Without a flight controller connected, the same tools are under Connect, so you can also just download a file.

  • The FC - Read the FC asks the flight controller which firmware it runs and for which board; nothing on it changes. A flight controller already connected that does not answer in MAVLink is read by itself. One in DFU, or with no firmware, cannot be read: it is flashed on your pick of the board. Once it is read, the page shows the flight controller's own tabs: Summary (whether it would arm and what stops it, the accelerometer calibration), CLI (its command line; closing the terminal restarts the flight controller) and Firmware, where the steps below continue. A Betaflight 2026.6 flight controller also gets the setup tabs (ports, receiver, modes, failsafe, power, motors and more), described in Setting up a Betaflight flight controller.
  • Firmware - pick the Channel and the release, press Download (about 30 MB: every board's file in one archive; Cancel stops it), then pick your board in the list. The flight controller's own board is picked for you and marked This FC. Save .hex saves the picked board's file to this computer without flashing anything and without a flight controller - for Betaflight Configurator, or to keep for a field without internet. Choose a .hex file flashes a Betaflight build from your own disk instead: it gets the same checks as a release file, and the flight controller is matched by the board name written inside the image, never by the file name, so a renamed file for another board is refused before DFU. A file that names no board is refused. When the file name is not the stock betaflight_<version>_<chip>_<board>.hex, the page reads the version from the image and asks which chip the file is for (DFU checks the chip before erasing).
  • Write - Betaflight is written over DFU: a flight controller that was read restarts into DFU by itself; otherwise put it in DFU by hand (unplug, hold BOOT, plug in, let go) and pick it in the browser's list. The page writes the whole image and reads it back.
  • Back running - the flash is done only once the flight controller is found on USB again and reports the release on its board. When it does not show up, the card says the firmware was written and checked, and what to do: unplug it, plug it in and press Read the FC.

Settings. The flash puts Betaflight's settings back to defaults. When the flight controller was read, the page first reads the settings it prints (the CLI's diff all) and keeps them on the page until you close it; Save settings saves them as a text file. Once the flight controller is back running, the Settings card lists them by area - ports, features, receiver and failsafe, modes, profiles, pins - and Use a file takes a saved diff all instead. Untick an area to leave it out, and press Show to read its lines: a setting this release renamed is sent under its new name, one it no longer has is held back, and a line marked Check is worth a look after the write (a failsafe delay whose unit the file cannot tell, a mode switch whose number changed). Write to the FC sends the lines one at a time and then asks before it saves, naming every line the flight controller refused; Do not save restarts it as it was. Settings older than Betaflight 4.6 or from another board are not sent, pin assignments go only to the same board, a line that is a command and not a setting is never sent, and the receiver's binding UID is never kept - bind the receiver again.

Sokil port. The last card, optional, is also there for a flight controller that was only read. Pick the UART the Sokil camera is wired to and the Baudrate (115200 unless the camera's was changed on VTX settings > Telemetry > MAVLink); the card shows what each port does now and marks the one already set to MAVLink. Set up the port sets MAVLink telemetry on that port, saves, restarts the flight controller and reads the port back. Tick Sokil also carries the RC over this port only when no separate receiver is wired to the flight controller: the port then is the MAVLink receiver too. It needs Betaflight 2026.6 (Sokil or stock) and a disarmed flight controller. A soft serial port cannot be the Sokil port, and a port something else holds (an MSP air unit, a GPS) is taken only after you say yes.

No build for your board. When the release you downloaded has no build for the board a read flight controller names, the flow shows Request a Sokil Betaflight build on top. Describe the board, leave Include the current firmware on unless you are in a hurry, and press Request firmware: the page reads what the flight controller's CLI reports and saves one zip file for you to send to Sokil support. Nothing on the flight controller is changed; it restarts once on leaving its CLI.

What it refuses. A running Betaflight flight controller is compared with the board you picked: another board's build, a board this release has no build for (ask support for one), or another chip is refused before anything is written. The board is matched by the name the firmware reports, which for one board differs from its file: HGLRCF4058S reports itself as HGLRC4058S, and the list says so. To put another board's build on a flight controller on purpose, put it in DFU by hand: then only the chip's flash size and layout are compared (a mismatch is refused and nothing is erased), and the flash question says the board cannot be checked - check the name printed on the board.

Download only. Boards on Artery AT32 chips (IFLIGHT_BLITZ_F435) are marked Download only: save the .hex and flash it with Betaflight Configurator.

Betaflight, and when FC setup cannot reach the board

FC setup's Firmware tab works only on the station's own computer. Use the vendor tool from a tablet, from Firefox or Safari, from a station opened at its network address, or on a station whose VTX MAVLink is on (its FC setup is the camera's flight controller), and for a Betaflight board on an Artery AT32 chip:

  • Betaflight - Betaflight Configurator, Firmware Flasher tab, Load firmware [Local], pick the .hex, then Flash Firmware. Use a Configurator that supports the 2026.6 generation.
  • ArduPilot - use a board-matched .apj with Mission Planner's or QGroundControl's custom firmware option. A .hex is intended for a board-appropriate DFU, JTAG or SWD flashing procedure; it is not interchangeable with .apj in that menu. Follow the selected tool's instructions for the board and file format.

Read the file names carefully: one board family's firmware on another board bricks it until it is recovered over DFU - hold the board's boot button while you plug in USB, then flash the correct image: with FC setup's DFU method, with a DFU tool such as the Betaflight Configurator or dfu-util, or ask support. FC setup refuses a file for another board when the file says which board it is for and the board was read from the flight controller or picked; over DFU it also refuses a file whose board has another chip (another flash size or layout); the refusal says what the chip reported and what the firmware needs - send that text with a screenshot to support. When the file does not say which board it is for, the page says it cannot check, and the choice is yours.

Flash the flight controller before you run Setup, not after: the wizard's Hardware step checks the ports it plans against what the box reports, and a flight controller you are still reflashing answers nothing. Before you start has the rest of that list.

Staying stock

Outside navigation, nothing in a Sokil build is required to fly a Sokil kit. What you give up, in the order it matters:

On stock firmware What happens
RC over MAVLink on Betaflight Supported in 2025.12+ builds with MAVLink Serial RX: enable Serial RX and MAVLink telemetry on the same UART and match the baud. Older versions or builds without that receiver need CRSF into Serial RX and telemetry on a second UART; Setup's Link step configures that option. ArduPilot and INAV 8 also support RC over MAVLink.
Channels 9 to 16 Stock Betaflight exports only channels 1-8. INAV has the same limit when its telemetry is configured for MAVLink 1. On INAV, prefer MAVLink 2 and verify channels 9-16 reach Sokil. If only eight arrive, map the Sokil switches to channels 6-8 as described in Channels and switches. CRSF into the FC alone does not remove a telemetry-output limit.
The LQ / TxP / SNR corner Incomplete, and not the same way on each firmware. Stock Betaflight and INAV put nothing in those three status-message fields, so the corner stays empty - RSSI still arrives in RC_CHANNELS_RAW or RC_CHANNELS, depending on the firmware and MAVLink version, and is a separate readout. Stock ArduPilot sends a drop rate of 0, which the overlay decodes as a flat LQ 100 rather than a blank, and fills the other two fields with its own packet-error counters, so SNR and TxP read wrong there. On a Sokil ArduPilot build the link quality is real on every board; TxP and SNR only on the boards that compile the link-statistics extension in - see the ArduPilot section above.
Dead-reckoned speed and home on Betaflight Not available. With satellites lost the overlay's speed, home distance and home arrow go blank and GPS Rescue is unavailable.
Sokil navigation on ArduPilot Needs the Sokil ArduPilot 4.7.1 or later. On stock firmware it still runs but will not work correctly - flash the Sokil build first. Read the ArduPilot section above before commissioning the first such aircraft.
Everything else Works. Telemetry, the overlay, the map, missions, guided commands, payload release, gimbal control, the diagnostics and the whole video path do not care which build the flight controller runs.

A Sokil build extends the upstream firmware, but configuration compatibility still depends on the firmware family, source and target versions, and board target. Check those before importing a stock configuration, then review the restored settings and any migration changes described above. On the Sokil Betaflight build, re-check failsafe_delay in seconds after every restore; it is not the only setting that may need attention when moving between firmware versions.

On this page

Search the documentation

Start typing. The up and down arrows choose, Enter opens, Esc closes.