By now, the whole build system is automated. This is just for historical documentary.
- SSH into the router
# this is my own script but you can get the installed packages with some hacking
# this is good if you want your own firmware
# that builds all packages you now have
opkg list-installed > opkg-list-installed.txt
By now, it is using faster with the helpers above, but below you can do it by hand to change everything easy.
You start with:
./build-docker
Make sure you know there are already build docker images, so you don't really need it.
The same, if you have a server instead cdn.corifeus.com
, you can change it at wish.
There is a newer mwlwifi
faster, newer package, they are in openwrt-insomnia/patches
, you can copy them safely into the /build/source
.
-
Target System
- Marvell Armada EBU Armada => Linksys WRT Multiple
- D-Link DIR-860l B1 => MediaTek Ralink MIPS
- Broadcom BCM27xx => RPI 3
-
Subtarget
- Marvell Armada 37x/38x/XP => Linksys WRT Multiple
- D-Link DIR-860l B1 => MT7621
- BCM2710 64bit based boards => RPI 3
-
Target Profile
- Multiple devices => Linksys WRT Multiple
- D-Link DIR-860l B1 => MT7621
- Raspberrry Pi 3B => RPI 3
-
Target Devices (for now is only Linksys WRT Multiple)
- Enable all profiles by default
- THIS IS PROBABLY IMPORTANT -> Use a per-device root filesystem that add profile packages
-
Global build settings
- Select all target specific packages by default
- THIS MIGHT NOT NEEDED -> Select all kernel module packages by default
- Select all userspace packages by default
- EXPERIMENTAL, not using it anymore -> Set build defaults for automatic builds
- EXPERIMENTAL, not using it anymore -> UNCHECK Collect kernel debug information
- Kernel build options
- Compile the kernel with MIPS FPU Emulator
- ONLY For D-Link DIR860L B1
- Compile the kernel with MIPS FPU Emulator
-
Advanced configuration options
- Enable log files during build process
-
Build the OpenWrt Image Build
- Include package repositories
-
Image configuration - ENTER
- Version configuration options - ENTER
- Release version code
- insomnia
- Release version code
- Seperate feed repositories
- select
- Version configuration options - ENTER
-
Languages
- Node.js
- node
- Configuration
- Version Selection
- 12.x
- Version Selection
- Configuration
- SELECT ALL
- node
- Node.js
-
Libraries
- libavahi-compat-libdnssd (*)
- ONLY FOR R-PI3
- libavahi-compat-libdnssd (*)
-
Network
- Web Servers/Proxies
- apache
- Configuration
- Enable HTTP2
- Configuration
- nginx
- select all CONFIGURATION
- check all
- select all CONFIGURATION
- apache
- Web Servers/Proxies
-
Utililties
- mc --->
- Configuration
- enable internal editor UNCHECK
- Configuration
- mc --->
-
Exit
-
YES
Copy the .config file to {router-name}/source/.config
# for me using multiple cores the main build I always get errors, so I always use just 1 core
# I do this instead
# find out the PID
watch 'ps -aux | grep "make\|m4\|cc1"'
# end just to do this
sudo renice -20 -u 1000
# for docker I also added renice, I checked out the dockerd pid and I added in
ps -aux | grep dockerd
# you get the PID
sudo renice -20 10728 # this was the dockerd PID
If you appreciate our work, consider starring this repository or making a donation to support server maintenance and ongoing development. Your support means the world to us—thank you!
Our server may occasionally be down, but please be patient. Typically, it will be back online within 15-30 minutes. We appreciate your understanding.
All my domains, including patrikx3.com and corifeus.com, are developed in my spare time. While you may encounter minor errors, the sites are generally stable and fully functional.
Version Structure: We follow a Major.Minor.Patch versioning scheme:
- Major: Corresponds to the current year.
- Minor: Set as 4 for releases from January to June, and 10 for July to December.
- Patch: Incremental, updated with each build.
Important Changes: Any breaking changes are prominently noted in the readme to keep you informed.
P3X-OPENWRT-INSOMNIA Build v2024.10.101