Skip to content

Instantly share code, notes, and snippets.

@ma5ter
Last active February 22, 2026 16:58
Show Gist options
  • Select an option

  • Save ma5ter/4691fcabe37027e7eb90523a00abab8c to your computer and use it in GitHub Desktop.

Select an option

Save ma5ter/4691fcabe37027e7eb90523a00abab8c to your computer and use it in GitHub Desktop.
Installing Far Manager on Creality K1C 2025
  1. Get Far2Linux sources
git clone --depth 1 https://github.com/elfmz/far2l
  1. Prepare build directory
cd far2l && mkdir _build && cd _build
  1. Create toolchain file
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR mipsel)

set(CMAKE_C_COMPILER mipsel-creak1c-linux-gnu-gcc)
set(CMAKE_CXX_COMPILER mipsel-creak1c-linux-gnu-g++)

set(CMAKE_SYSROOT /usr/mipsel-creak1c-linux-gnu)
set(CMAKE_FIND_ROOT_PATH /usr/mipsel-creak1c-linux-gnu)

set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_SYSTEM_PACKAGE ONLY)
  1. Configure
cmake -DCMAKE_TOOLCHAIN_FILE=./toolchain.cmake -DCMAKE_INSTALL_PREFIX=/usr/apps/overlay/ -DNETROCKS=NO -DIMAGEVIEWER=NO -DUSEWX=NO -DTTYX=NO -DCMAKE_BUILD_TYPE=Release ..
  1. Build
make -j16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment