Closed thezim closed 1 year ago
The kernel sources were provided to me by Ubiquiti. You have to send a request to opensource-requests@ui.com to obtain the GPL archives for UniFi firmware.
Since the GPL archives do not contain the Linux Git tree, I have rebased the changes onto Linux 4.19.152 (which is the base for the UDM kernel). You can see the changesets for the stock kernel here: https://github.com/fabianishere/udm-kernel/commits/flavour/stock-v4.19
I requested v2.4.9 for the UDM SE and receive the archive and have push it here. This is the source code with build artifacts. Is this how you normally receive it? My though was to do a make mrproper
to clean up up some, then rebase into the baseline kernel eventually.
Hmm, interesting, I received only the sources (without build artifacts) thus far. If you clean the build artifacts and rebase onto Linux 4.19.152, it should yield the same results as this repository.
The configs are definitely different though. The .config artifact included in the archive was the exact same as my UDM SE via zcat /proc/config.gz
. Diff against your stock config was significantly different. Will rebase to see if they are any diff otherwise.
Also .git folder was include in the archive, here is some basic info it revealed.
greg@RESCUE2 /Volumes/Linux/linux-arm64-dream-4.19.152-ui-alpine $ git remote -v
origin git@github.com:ubiquiti/debbox-kernel.git (fetch)
origin git@github.com:ubiquiti/debbox-kernel.git (push)
greg@RESCUE2 /Volumes/Linux/linux-arm64-dream-4.19.152-ui-alpine $ git log
commit b2ae5fb39f6c2ea35447ab7e27d0473c9e866d17 (grafted, HEAD)
Author: Ken Lu <ken19881@users.noreply.github.com>
Date: Mon Mar 7 14:16:13 2022 +0800
[UOF-611] disable wdt when shuting down to avoid being reset by watchdog (#77)
Would be nice if the made that repo public.
I expect some differences in the config, but I don’t believe there are much changes between the UDM (Pro) kernel and the UDM SE kernel.
Let’s see what the rebase tells us!
sorry to but in as per say but i read ubiquity uses this https://buildroot.org/ to make their os then they customize it i hope it helps.
Just a general question. Where did this kernel source code come from? It does not line up with mainstream 4.19 Linux source. Is there an official kernel source provided by Ubiquiti?