Giter Site home page Giter Site logo

Comments (12)

drtyhlpr avatar drtyhlpr commented on June 11, 2024 1

hi 459below - great work !1 - i will investigate and fix the kernel headers issue (they are installed by the script but the install location is not detected correctly due to chroot - if i remember right)

from rpi23-gen-image.

jetbalsa avatar jetbalsa commented on June 11, 2024

I was going to provide publicly downloadable images with a few different configs (one with and without a GUI for rpi2/3)

I am also looking into make new kernel compiles for rpi, Ill update this PR with my results

https://jrwr.io/doku.php?id=projects:debianpi is the details on my weekly builds

from rpi23-gen-image.

459below avatar 459below commented on June 11, 2024

Just to be clear on this. My suggestion is to extend the functionality of rpi23-gen-image with a switch to generate .deb packages in addition to the image itself.

I got this idea from this project https://github.com/scus1/dns320l
This can generate .deb kernel and kernel module packages for the SOC used by D-Link's NAS 320L.

from rpi23-gen-image.

jetbalsa avatar jetbalsa commented on June 11, 2024

thats what I was going to do anyway, using the built in scripts already to build the chroot and spit out some debs

from rpi23-gen-image.

459below avatar 459below commented on June 11, 2024

Appending "deb-pkg" to https://github.com/drtyhlpr/rpi23-gen-image/blob/master/bootstrap.d/13-kernel.sh#L96 spits out several .deb kernel packages. Most interestingly linux-image-4.9.38-v7+_4.9.38-v7+-1_armhf.deb and linux-headers-4.9.38-v7+_4.9.38-v7+-1_armhf.deb. I will look into as if they are complete.

Furthermore as they weigh in with 11 MB and 16 MB my first guess would be, that it would be reasonable to enable this by default.

from rpi23-gen-image.

459below avatar 459below commented on June 11, 2024

The image package seems to contain everything it should. However one would need to copy the kernel to /boot/firmware and rename it or modify config.txt respectively.

Unfortunately the headers don't seem to work as they should. Though they are put in the right spot for DKMS to pick up, it will fail on the actual compilation with:

/bin/sh: 1: scripts/basic/fixdep: Exec format error

from rpi23-gen-image.

drtyhlpr avatar drtyhlpr commented on June 11, 2024

hi, not 100% sure if this is related to the issue #87 - symlinks should now be correct.

from rpi23-gen-image.

459below avatar 459below commented on June 11, 2024

Hello drtyhlpr, I'm building the image right now. I'm going to take a look at how the kernel-header .deb package comes out.

Regarding this issue itself I cared about a convenient way to build and install kernel images on a already installed Debian HF. Adding "deb-pkg" to the make command is such that. I will open a PR in which the fitness of this change can be discussed more explicitly.

from rpi23-gen-image.

drtyhlpr avatar drtyhlpr commented on June 11, 2024

i agree having .deb kernel files that could "simply" be generated and installed would be great. I am still a bit bussy with other stuff but I wanted to add a "generate qemu kernel" option (like https://github.com/dhruvvyas90/qemu-rpi-kernel/blob/master/tools/build-kernel-qemu) in some days

ps. hehe this patch looks simple (so far) :)

from rpi23-gen-image.

drtyhlpr avatar drtyhlpr commented on June 11, 2024

/bin/sh: 1: scripts/basic/fixdep: Exec format error

this error is a bit strange and sounds like wrong arch exec. (so script, fixdep wrong arch = not arm, or a arm exec called from build system arch (amd64 fe)

ps. hmmmm file command on /usr/src/linux/scripts/basic/fixdep is showing x86-64 arch ......
pps. https://github.com/voidlinux/void-packages/issues/5723

from rpi23-gen-image.

459below avatar 459below commented on June 11, 2024

Yes, that's what I thought, too. I have elaborated on this over at the PR thread #98

from rpi23-gen-image.

drtyhlpr avatar drtyhlpr commented on June 11, 2024

sadly does not work :(

from rpi23-gen-image.

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.