209 Commits

Author SHA1 Message Date
Low Tech
9ce67e89a1 perf: reclaim NanoKVM cvifb memory
* board: reclaim NanoKVM cvifb memory
2026-09-01 18:35:01 +08:00
watermeko
a8325c3070 feat: add minimal NanoKVM image target (#835)
* feat: add minimal NanoKVM image target

Add an SG2002 LicheeRV Nano SD board variant based on sg2002_licheervnano_sd, with its own Buildroot configuration and the matching kernel, U-Boot, device tree, memory map, partition, and board initialization files.

Compared with the standard image, replace the broad Buildroot package set with a NanoKVM runtime allowlist. Remove Python 3 and its Python module collection; FFmpeg, OpenCV, ALSA utilities, mpg123, Tcl, and Expect; games, editors, and interactive tools such as tmux, htop, nano, and vim; GDB, tracing, benchmark, stress, memory-test, and SPI-test utilities; IPMI, serial, U-Boot, LCD, and TPU demo tools; and nonessential archive, compression, and SquashFS utilities.

Also omit general-purpose network and administration tools including aircrack-ng, bind, dnsmasq, iperf3, mosh, mtr, netcat, nftables userspace, pppd, rsync, ser2net, socat, SSDP responder, tcpdump, tinc, traceroute, WireGuard tools, and the standalone watchdog package. Disable unneeded hostapd and wpa_supplicant options such as EAP, WPS, IBSS, Wi-Fi Display, mesh, D-Bus, debug logging, and shared client support.

Keep the NanoKVM essentials: Bash, OpenSSH server and key generation, Avahi mDNS, CA certificates and curl, NTP, Ethernet and Wi-Fi management, iproute2, iptables, filesystem resize and virtual-media tools, AIC8800 firmware, the CVITEK runtime, and SG2002 codec firmware.

Run a post-build cleanup that removes SDK sample and test binaries, static and libtool archives, headers, documentation, man and info pages, pkg-config files, and CMake metadata. Optimize the target for size and reduce the Buildroot ext4 filesystem from 1536M to 192M while leaving the SD partition layout unchanged.

Mark minimal root filesystems so the NanoKVM merge step does not bundle FRP, Tailscale, or tailscaled. Keep their existing installation behavior for standard images, install the SSH init script only when OpenSSH is present, validate required init scripts earlier, and remove incomplete output images after recoverable failures.

Isolate Buildroot output and overlays by project, support board-specific Buildroot defconfigs, clean the matching output directory during rebuilds, and document how to build and merge the minimal image.

* feat: shrink minimal NanoKVM image

- reduce the minimal ext4 rootfs image to 112 MiB
- disable udev hwdb and remove stale ISP tuning blobs
- keep only LT6911 sensor support and remove the unused 8733bs driver
- strip NanoKVM-Server debug sections during image merge without modifying the source app

Validated with the minimal build, complete NanoKVM APP merge, ext4 free-space checks, and boot-area integrity verification.
2026-08-26 09:30:00 +08:00
Guoguo
1559c57961 Merge pull request #834 from liangzhuohua/feat/nanokvm-data-initd
feat(kvm): add NanoKVM data and init scripts
2026-07-07 17:30:48 +08:00
liangziyue
4b6edb79a6 docs(kvm): add build guide and merge script 2026-07-07 17:16:01 +08:00
liangziyue
49d168aed3 build(buildroot): disable bluetooth packages 2026-07-06 19:21:07 +08:00
liangziyue
eccf81f117 build(buildroot): refresh SG200X defconfig 2026-07-06 19:15:50 +08:00
liangziyue
bd8019232f build(kvm): remove legacy image init files 2026-07-06 18:43:38 +08:00
liangziyue
4b479336b6 build(overlay): track init.d startup scripts 2026-07-03 17:52:42 +08:00
liangziyue
cf14081252 build(buildroot): disable bluetooth packages 2026-07-03 15:07:59 +08:00
liangziyue
217b2670fe fix: remove soph_saradc.ko while building image 2026-07-02 17:13:30 +08:00
liangziyue
9877373468 feat(kvm): add NanoKVM data and init scripts
Add NanoKVM data files and init.d startup scripts, and update NanoKVM_img.sh to package them.
2026-07-02 17:13:24 +08:00
lxowalle
d88d58feca Merge pull request #113 from 916BGAI/NanoKVM
enable aic8800 sdio bluetoot support
2025-12-29 17:45:36 +08:00
916BGAI
9af47b1bb2 enable aic8800 sdio bluetoot support 2025-12-26 11:18:36 +08:00
BuGu
2dbbd9e65b Merge pull request #109 from 916BGAI/NanoKVM
add ipmi server simulator support
2025-12-25 19:31:21 +08:00
BuGu
8a20f93b46 Merge pull request #102 from lowtech-guy/NanoKVM
Add Windows ISO Support
2025-12-25 19:30:29 +08:00
BuGu
dc518cddef Merge pull request #112 from 916BGAI/NanoKVM-aic8800d80
update aic8800 driver to aic8800d_linux_sdk_V4.0_2025_0926_91c9dae5
2025-12-25 19:28:03 +08:00
916BGAI
0cff6d9d49 increase rootfs.sd size 2025-12-23 15:02:25 +08:00
lxowalle
1e9369ccf5 * setting aic8800 sdio clock to 25Mhz 2025-12-23 14:08:57 +08:00
lxowalle
c5d9efaaad * update aic8800 driver to aic8800d_linux_sdk_V4.0_2025_0926_91c9dae5 2025-12-23 14:08:49 +08:00
916BGAI
e5a5c4df9b add ipmi server simulator support 2025-12-16 11:59:55 +08:00
Low Tech
1f3fa10d71 add: support windows iso on usb mass storage function 2025-09-13 20:42:38 +08:00
BuGu
98d17d2c04 Create NanoKVM_img.sh 2025-02-18 19:19:09 +08:00
BuGu
7e98af86e3 Add kvm Include content for image modifications 2025-02-18 19:18:59 +08:00
BuGu
3649fe90d1 Currently added components 2025-02-17 16:53:58 +08:00
BuGu
2ad0073a43 Remove all additional boot scripts
The NanoKVM boot scripts will be added/modified after compilation
2025-02-17 16:53:11 +08:00
BuGu
bf7570c8aa Expand the memory of the NanoKVM user space 2025-02-17 16:46:28 +08:00
BuGu
425f917ca5 Some modifications to the firmware generated for NanoKVM 2025-02-17 16:45:57 +08:00
BuGu
d4af3c62f7 Modify cif.c for NanoKVM
Notify kvm_mmf during resolution switching.
2025-02-17 16:44:47 +08:00
Neucrack
74169741e0 add compatibility with old mac addr config 20250114 2025-01-14 11:03:07 +08:00
Neucrack
48724b1a0d optimize uuid usage in init script 20250111 2025-01-11 15:35:19 +08:00
lxowalle
c4bd8d00cc * fix cvi_base deadlock2 2025-01-04 14:12:46 +08:00
lxowalle
d3b91ff1fd * fix cvi_base deadlock 2025-01-04 13:57:18 +08:00
lxowalle
80cd8fe0cf * optimize make_logo.sh 2024-12-25 13:46:24 +08:00
Neucrack
b8e61612e5 Merge pull request #71 from MK16kawai/main
[i2c@gpio5] Support for changing sda and scl at insmod time.
2024-12-20 19:04:06 +08:00
Mk16kawai
370d332f61 [i2c@gpio5] Support for changing sda and scl at insmod time. 2024-12-20 18:11:31 +08:00
taorye
1fcc2fd409 Merge branch 'feat_uvc_server_standalone_mode'
1. feat: UvcServer run in standalone mode without uvc-gadget-server.elf.
2. opt: provide 2560x1440.
20241220
2024-12-18 20:53:18 +08:00
taorye
b2af9afb7b fix: implement stop_server and restrict the server to run only in standalone mode. 2024-12-18 16:00:48 +08:00
taorye
6773bbd49c feat: up to 2560x1440 and all resulotions will be enabled default 2024-12-18 15:43:36 +08:00
taorye
3ce208ed4a Merge branch 'fix-uvc-gadget-cant-parse-config-file-with-first-empty-line'
1. provide source file of uvc-gadget-server
2. fix uvc_tool.sh to parse config file right
2024-12-16 19:22:39 +08:00
taorye
32fedadb95 fix: uvc_tool.sh cant provide empty line at first 2024-12-16 19:16:22 +08:00
taorye
71366bba6d chore: backup source code for the future 2024-12-16 18:58:08 +08:00
taorye
5394d82d36 Merge branch 'feat_uvc_gadget'
1. fix: ensure mjpg and yuyv formats both exist.
2. feat: add support for mjpeg streaming with mask 0x80.
3. feat: add support for auto config formats and set resolution limit.
2024-12-16 18:34:09 +08:00
taorye
3e15254fda feat: add support for auto config formats and set resolution limit 2024-12-16 18:33:50 +08:00
taorye
d687d7c89f feat: add support for streaming mjpg with 0x80 masked 2024-12-16 11:32:08 +08:00
taorye
e0857d878c fix: ensure mjpg and yuyv both exist 2024-12-16 11:31:08 +08:00
taorye
2506969b13 Merge branch 'feat_uvc_gadget'
1. feat: add uvc_tool.sh for uvc_gadget configfs mount and unmount.
2. feat: use uvc-gadget-server.elf to handle with uvc_gadget and provide shm to update framebuffer.
3. fix: expand img size to 1.5GB for additional files to be able to embedded in.
4. fix: high CPU usage for select unneeded dfds while !udev->is_streaming
2024-12-13 12:01:19 +08:00
taorye
71bcc30754 fix: high CPU usage for select unneeded dfds while !udev->is_streaming 2024-12-13 11:56:19 +08:00
taorye
c3b98df9aa fix: increase rootfs.sd's size from 1100M to 1536M 2024-12-12 18:16:53 +08:00
taorye
05cc1b41a9 feat: add support for uvc-gadget and provide a server default 2024-12-12 16:08:02 +08:00
Neucrack
c9179876b7 Merge pull request #68 from MK16kawai/main
[panel] support st7701_d310t9362v1
2024-12-10 16:53:22 +08:00