Giter VIP home page Giter VIP logo

Comments (7)

pyavitz avatar pyavitz commented on August 30, 2024

Interesting. It seems as though the patch has already been applied and no longer needed in 5.6.y. Although it doesn't seem like running make scripts actually works? So something isn't right.

I know on mainline compiling against the headers is also broken at the moment.

from rpi-img-builder.

n0toose avatar n0toose commented on August 30, 2024

Interesting. It seems as though the patch has already been applied and no longer needed in 5.6.y. Although it doesn't seem like running make scripts actually works? So something isn't right.

I know on mainline compiling against the headers is also broken at the moment.

Yup, I discovered this after dealing with difficulties with the wireguard-dkms package.

from rpi-img-builder.

pyavitz avatar pyavitz commented on August 30, 2024

I'm assuming ur using a Pi4? Try this kernel. It isn't cross-compiled, it's native.

About to run dkms install steps...

Creating symlink /var/lib/dkms/rtl8812au/5.6.4.2/source ->
                 /usr/src/rtl8812au-5.6.4.2

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' -j4 KVER=5.6.2-v8 KSRC=/lib/modules/5.6.2-v8/build....................................................
cleaning build area...

DKMS: build completed.

88XXau.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.6.2-v8/updates/dkms/

depmod...

DKMS: install completed.
Finished running dkms install steps.

Make sure you purge the old kernel, before installing.

from rpi-img-builder.

n0toose avatar n0toose commented on August 30, 2024

I'm assuming ur using a Pi4? Try this kernel. It isn't cross-compiled, it's native.

Should a script be provided additionally for the time being?

from rpi-img-builder.

pyavitz avatar pyavitz commented on August 30, 2024

A script to compile native? You can already do that with the current kernel script. Would just need to compile it on the Pi4 or another SBC running aarch64.

You can actually run the whole build script from the Pi4 if you like. Grab the aarch64 IMG from the hub, git clone and ur off to the races.

Cons: Compiling the kernel on the Pi4 will take about 52 minutes or longer.
Pros: The rest of the process (rootfs and image) is actually quicker.

Unless ur using a beast of an X86_64 machine of course. ;-)

from rpi-img-builder.

pyavitz avatar pyavitz commented on August 30, 2024

Seems like 5.4.32 is also having problems on this front. Patching and compiling make scripts works as it should, but compiling against the headers results in a exec error.

Only fool proof way of getting around this, as far as I can tell, is native compiling.

update:
Before going to bed last night I decided to run make allv7 using the rpi-4.19.y branch and check it over in the morning.

This kernel seems to be playing as it should.

  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/patrick/rtl8812au/88XXau.mod.o
  LD [M]  /home/patrick/rtl8812au/88XXau.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.19.115-v7l'

Whatever bug is present in the 5.4.y and 5.6.y branch, hopefully gets sorted out soon.

from rpi-img-builder.

pyavitz avatar pyavitz commented on August 30, 2024

Fixed in edge branch

  MODPOST 1 modules
  CC [M]  /home/patrick/rtl8812au/88XXau.mod.o
  LD [M]  /home/patrick/rtl8812au/88XXau.ko
make[1]: Leaving directory '/usr/src/linux-headers-5.6.7-v8'

from rpi-img-builder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.