Commit graph

22 commits

Author SHA1 Message Date
Chris Blake
54f083a1b0 feat: bump to 4.0.18 base and add fuse support
* Update to unifi's latest alpha FW 4.0.18
* Add fuse/cuse fs support for https://github.com/riptidewave93/UNVR-NAS/issues/16
2024-08-16 14:26:11 -05:00
Chris Blake
d1aaa4bccd fix: move firmware extraction to docker
This should fix https://github.com/riptidewave93/UNVR-NAS/issues/13 and make building easier across different systems.
2024-06-19 15:12:13 -05:00
Chris Blake
6f01afd72b fix: migrate UNVR init logic
Let's keep ulcmd for the pro only, and move LED stuff elsewhere.
2024-06-18 19:26:12 -05:00
Chris Blake
24d98456e6 fix: bring back ulcmd for startup
This is also used for LED config on the UNVR, which is dumb and should be moved later but for now it is what it is.
2024-06-18 19:20:02 -05:00
Chris Blake
58ce1fb99f fix: additional fixups for UNVR/UNVRPro
* Fixup fan control so it works on UNVR
* Add LED integration work for UNVR
* Rename our mtd-ro kernel module dir
* Fixup shortnames in ubnteeprom
2024-06-18 19:13:31 -05:00
Chris Blake
5962f1ea30 fix: update to 4.0.6 and improved unvr support
* We should hopefully have working fans for the UNVR4 now
* Update to latest pre-release unifi firmware 4.0.6
* Improve hwmon logic in our scripts
2024-06-18 08:45:27 -05:00
Chris Blake
76c17952a7 fix: ensure unvrpro services don't exist on unvr
This is for https://github.com/riptidewave93/UNVR-NAS/issues/12, but we want to make sure UNVRPRO only services do not exist on the normal UNVR.
2024-06-16 14:49:16 -05:00
Chris Blake
7c35890137 fix: ubnthal cleaning
Removing these fully now as we do not need to rely on them anymore.
2024-06-16 14:11:19 -05:00
Chris Blake
116b6591a9 fix: improvements across the board
* Update README.md, make sure the disclaimer is seen before install instructions.
* update ustorage to have temp readings on some samsung ssds (stupid samsung)
* Patch and support ulcmd relying on output from ubnteeprom
* Move away from ubnthal FINALLY now that we patched ulcmd (hacky but works!)
* added README.md to ubnteeprom, since I expect at somepoint folks will fork/use it for other projects.
* Added our own kernel module to force mtd's RO, which does a better job than ubnthal did :)
2024-06-16 13:50:44 -05:00
Chris Blake
7858593f11 fix: set debootstrap docker hostname
Used because it's pulled during debootstrap for ssl/cert generation, so set it to what it will be by default on the UNVR/UNVR Pro.
2024-06-15 19:21:54 -05:00
Chris Blake
3f90bd2357
feat: Add UNVR support (#11)
* Move partition mounts to PARTLABEL instead of paths
* Add dual firmware building support, specify the build type using the BOARD env var when using make
* Update to Unifi 4.0.5 pre-release firmware
* Move ulcmd init to be our "user interface" setup script, will handle LEDs on the UNVR4 in the future
* Update README with updated instructions
* Add udev rules to support /dev/boot which is what Unifi uses for some stupid reason for their emmc. This is required for systemd to mount correctly after chroot.
* Fixup small bugs found along the way
2024-06-15 18:53:44 -05:00
Chris Blake
9ef1a72228
feat: initial bluetooth support (#9)
* Enable Bluetooth LE radio support
* Build our own bccmd which we need to setup/enable this BT chipset sadly
* Use our own tool we build to interface with the ubnt eeprom, so we can not rely on their custom kernel module
* Also fix HDDs not spinning down on shutdown, doing something similar to how unifi does it but a tad more generic.
2024-06-12 20:38:37 -05:00
Chris Blake
36ff26758e fix: small python fixups
* Error handling in our ustorage, to prevent crashes
* Small change to ubnt-fw-parse so it works better on older python versions
2024-05-30 18:06:33 -05:00
Chris Blake
696f7955b0 fix: cleanup post build
No need to keep the mess around
2024-05-30 17:44:27 -05:00
Chris Blake
f399e13958
fix: add btrfs support using magic (#5)
* Use old GPL release from https://github.com/fabianishere/udm-kernel/tree/master to build and steal it's btrfs kernel module + depends.
* Can't use full kernel, NIC issues everywhere, so we will just use it for btrfs for OMV. Will move to our own kernel fully if I can get an updated GPL release from Ui.
* BONUS: Fixup issue where system would reboot when shutdown from touch screen
2024-05-30 17:42:12 -05:00
Chris Blake
27713ab79e fix: tune reboot timeout on panic, improve shutdown ulcmd support
* Ensure we have all the right targets for ulcmd-shutdown-hook to show the shutdown message
* Move to an init script that we can use for setup commands, like adjusting our kernel panic timeout.
2024-05-27 13:07:51 -05:00
Chris Blake
c259d223bf fix: fan curve, lcd firmware, NICs, and README.md
* Make improvements to README.md
* Do some fan curve adjustments to try and reduce fan noise
* add dfu-util so ulcmd can flash the touch screen if there's a firmware version mismatch
* Move NIC management away from cloud-init to OMV
* Ensure OMV has hostname set correctly
2024-05-27 12:30:17 -05:00
Chris Blake
9c08f287fc feat: add hdds/temps/version to display
* Write a mock ustorage tool to parse disk info for ulcmd
* Pass system temp info from unvr-fan-daemon to mock-ubnt-api via tmp file
* add mock ubnt-tools to make ulcmd happy and report our SN
* code cleanup and documentation update
2024-05-26 14:58:01 -05:00
Chris Blake
a4f7f862c2 fix: improvements all around
* add our own fan controller, will need more tuning with time, but it's a great start
* add restart/shutdown hooks for ulcmd, so the display shows the state of the system
* change how we expose unifi's libs to binaries
* Fixup systemd hang at boot due to networking
* move ubnthal to systemd task, since we don't load modules due to the unifi initramfs in the prebuilt kernel
2024-05-22 11:42:34 -05:00
Chris Blake
459d0a4758 fix: network improvements
Move to networkd since OMV uses it, also means first boot is a bit faster.
Also improve readme.
2024-05-21 21:26:22 -05:00
Chris Blake
b37bdd27d4 fix: get sfp working, allow debian to ssh, and fixup lcd 2024-05-19 15:15:09 -05:00
Chris Blake
85a5bd66e0 feat: initial upload
Initial public release
2024-05-19 14:04:59 -05:00