Project

General

Profile

Actions

Bug #1074

closed

Did Megous github repos go away? If so, update configs/kernel-xeon.cfg

Added by Hammel about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Immediate
Assignee:
Target version:
Start date:
08 Nov 2023
Due date:
% Done:

100%

Estimated time:
Severity:
01 - Critical

Description

Looking up the kernel repo on github came up emptry:

https://github.com/megous/linux.git

His personal repo is still active:

https://megous.com/git/linux/about/?h=orange-pi-6.6

There are no orange-pi branches from kernel.org, so if it's hard to tell if it's been mainlined.

Actions #1

Updated by Hammel about 1 year ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

Doing test builds in xeon2 sandbox.

Actions #2

Updated by Hammel about 1 year ago

Megi's kernel can't be cloned (see message below if you try) but can be rebuilt from the upstream kernel.org source and some bundles from Megi's site.

remote: | Sorry, Linux GIT repository is too large for my puny little server. |
remote: |                                                                     |
remote: | For efficicency purposes I distribute content of my repository via  |
remote: | two GIT bundles available at https://xff.cz/kernels/git/            |
remote: |                                                                     |
remote: | - https://xff.cz/kernels/git/orange-pi-active.bundle                |
remote: |                                                                     |
remote: |   (Small ~10 MiB bundle containing actively supported branches)     |
remote: |                                                                     |
remote: | - https://xff.cz/kernels/git/orange-pi-history.bundle               |
remote: |                                                                     |
remote: |   (Large ~150 MiB bundle containing all my releases back to March   |
remote: |    2017, if you need to reference old code for whatever reason)     |
remote: |                                                                     |
remote: | To apply the bundle to your kernel repository, run:                 |
remote: |                                                                     |
remote: | curl -o .bundle https://xff.cz/kernels/git/orange-pi-active.bundle  |
remote: | git fetch .bundle '+refs/heads/*:refs/remotes/megi/*'               |
remote: |                                                                     |
remote: | The bundles depend on uptodate Linus Torvalds's GIT master branch.  |
remote: | If you don't have a Linux repository, yet, you can clone it from:   |
remote: |
remote: | git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
remote: |
remote: | Best of luck,                                               ~megi   |

Fortunately, the version of the github repo I was using is mirrored for Manjaro. So I'm creating a mirror of that on my Gogs server and am switching to using that for now. Alternatively, I could clone Linus' tree and apply the bundles as described by Megi.

Actions #3

Updated by Hammel about 1 year ago

  • % Done changed from 10 to 50

The manjaro mirror works (at least it builds - the build needs to be tested on hardware). I've mirrored the Manjaro repo on Gogs.

A completed build using the Manjaro repo is available in my xeon2 sandbox.

Actions #4

Updated by Hammel about 1 year ago

  • % Done changed from 50 to 60

The Manjaro mirror worked on the Xeon build. What I need to do now is provide a mechanism to produce Megi's kernel from his patches plus the upstream and make that a build option. I also need to point to my Gogs mirror of the Manjaro repo but keep a reference to the Manjaro repo in the build scripts.

In this way I have multiple locations to find a working kernel.

Actions #5

Updated by Hammel about 1 year ago

  • Status changed from In Progress to Closed
  • % Done changed from 60 to 100

I added references to the various bits in the configs/kernel-xeon.cfg file. There is no code to rebuild from Megous git bundles plus upstream kernel, but I can add that later.

Code committed and pushed.

Closing issue.

Actions

Also available in: Atom PDF