Comments (12)
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.
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.
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.
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.
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.
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.
hi, not 100% sure if this is related to the issue #87 - symlinks should now be correct.
from rpi23-gen-image.
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.
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.
/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.
Yes, that's what I thought, too. I have elaborated on this over at the PR thread #98
from rpi23-gen-image.
sadly does not work :(
from rpi23-gen-image.
Related Issues (20)
- Seg fault HOT 2
- Strange behaviour : kernel panic not at all boots : is #165 back ? + workaround HOT 1
- broken link on project page HOT 2
- resuming build from error HOT 3
- Does the RPI4 run with the 32bit buster image? HOT 5
- Permission problems with rpi23genimage HOT 3
- wlan0 issues with wpa_cli [rpi3b+] HOT 11
- feat: custom.d firstboot action HOT 4
- error msg: bcm2708-rng -- Failed to find module 'bcm2708_rng' HOT 3
- Crash compiling Pi3-Bullseye 32 missing script mkknlimg kernel 5.3 and up (solved PR #212) HOT 2
- Pi4 images compiles (32 & 64) and boot (after Pr #212 #213) solved ! (edited) HOT 4
- Rpi4 64 bit image not working HOT 6
- Bluetooth is uninstalled if ENABLE_SOUND is set to false
- All generated images freeze on the rainbow screen HOT 4
- Typo in 15-rpi-config.sh
- RPI4 eeprom updater
- 20-networking.sh
- Pi4 and Pi4-64 Buster ans Bullseye are back ! (after #226 and #227) HOT 5
- Kernel version issue : 5.10.44-v7 with wrong architecture of binaries in /usr/src/linux (SOLVED) HOT 2
- Why do the "hardening" sysctls basically kill off IPv6 SLAAC and public IPv6? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpi23-gen-image.