-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linux-stracciatella: update sources to RM1XX_5.4.70_v1.3.4 and add wireguard #742
Conversation
I just tested wg using #743 and the Demo Server available at https://www.wireguard.com/quickstart/#demo-server. Everything seems in order. |
No testing is currently needed for 3.x as toltec doesn't yet support it. Everything will be tested for 3.x as part of adding support for it. |
I've been trying to test this on my rM1, but I'm unable to due to the root partition not having enough space to extract the kernel. It looks like the kernelctl archive for this is 11MB while the stock one is 4MB. Upon inspecting the kernel package it appears that every single one of the .ko files are larger than the stock ones. Some of the worst offenders are:
I've already gone through the exercise of moving systemd-journald logs off of the root partition and into the home partition, so I'm not really sure what else would be reasonable to remove. |
Adding INSTALL_MOD_STRIP=1 to strip the debug symbols would probably reduce the size to something closer to what the stock one has. |
It does not seem to be happy about finding the correct strip executable. It might make more sense to just strip the ko files as a manual step before compressing them. |
On my machine I get a weird error: |
Correct, it's trying to use the x64 strip to strip an arm binary. I have a pending change that may fix it, but github is having issues atm. |
It is still failing on my laptop:
The path seems to be wrong |
Is it possible that |
Ah, yes. That is the case as documented here: https://github.com/toltec-dev/toltec/blob/stable/docs/package.md#package-function Since this is the case, I would recommend moving the make install to the |
I just realized that the config file they provided for rm1 has |
@Eeems Can you try now? |
Good catch! This does reduce it to near the same size as the stock kernel and allows it to be activated with kernelctl. I'm running it now with nothing obviously wrong. |
…reguard (#742) * linux-stracciatella: update sources to RM1XX_5.4.70_v1.3.4 * Bump build image to v3.1 * Add wireguard module to linux-stracciatella * Move wireguard config out of sources * Remove debug symbols for rM1 --------- Co-authored-by: Nathaniel van Diepen <[email protected]>
### New Packages - `webinterface-onboot` 1.2.2-2 - (#770 #721) - Allows the usb web interface to start without the USB cable being connected. - `webinterface-upload-button` - 1.0.1-1 (#771) - Adds an upload button to the usb web interface. - `signature-rm` - 1.0.2-1 (#772) - Removes the `Sent from my reMarkable` signature from emails sent by the device. ### Updated Packages - `linux-stracciatella` - 5.4.70-3 (#742) - Updated to RM1XX_5.4.70_v1.3.4 tag from upstream kernel. - Added wireguard module. - `wireguard` - 1.0.20210219-4 (#743 #784) - Removed wireguard-tools and wg-quick from wireguard package. These packages are provided by entware already. - `display` and `rm2fb-client` - 1:0.0.32-2 (#758 #721) - Add support for OS 3.3.2.1666 - `rmfm` - 1.5.1-1 (#766) - Fix issue where listing a directory with an invalid symlink would crash the application. - `neofetch` - 1.1.0-1 (#769) - `webinterface-wifi` - 2.0.0-2 (#768 #721) - `micro` - 2.0.13-1 (#738) - `koreader` - 2023.10-2 (#749 #721) - `ddvk-hacks` - 39.01-2 (#720 #778) - Fix issue where `ddvk-hacks` wouldn't be reapplied when using `toltecctl reenable`. - `draft` - 0.2.0-22 (#721) - `erode`, `fret`, `oxide`, `rot`, `tarnish`, `decay`, `corrupt`, `anxiety`, `oxide-utils`, `inject_evdev`, and `liboxide` - 2.6-3 (#721) - `reboot-guard` - 1.0.1-8 (#721) - `rmfakecloud-proxy` - 0.0.3-4 (#721) - `genie` - 0.1.6-3 (#721) - `remux` - 0.2.4-2 (#721) - `tailscale-systemd` - 0.0.0-2 (#721) - `toltec-base` - 1.2-3 (#721) - `xochitl` - 0.0.0-17 (#721) ### Tooling - New `provides=()` field added for packages. - Added `unit-exists` and `disable-unit` methods to install-lib **Note:** This doesn't change what OS version that toltec supports, as full support still requires various packages to be updated, removed, or replaced. Along with proper testing of all packages in the repository, as well as the upgrade process. https://github.com/toltec-dev/toltec/milestone/7 contains the current list of issues and pull requests required for 3.x support.
Synced upstream to tag RM1XX_5.4.70_v1.3.4.
Usb network is now usb1.
It seems to work on RM2 2.15.1.1189 without keyboard folio; it needs testing with 3.x and on RM1
EDIT: now we build also wireguard as a module