[split] Real Time Kernels discussion
#41
(28-Dec-2023, 04:44 PM)Snoopy8 Wrote: Can't upload tar file to Wiki. Have sent you link to access Google Docs.
Don't think I see this anywhere yet, will double check later.
 
(28-Dec-2023, 04:44 PM)Snoopy8 Wrote: I suspect that you may be able to use /boot/firmware/config.txt to reference the new kernel but I was not able to find the right fields.
https://www.raspberrypi.com/documentatio...g_txt.html
Yes, it's the kernel parameter. However the boot image is actually in /boot/firmware, and it's kernel_v8.img etc for bookworm and vmlinuz for Ubuntu. The kernel is compressed too meaning I have to decompress the image to find the version string. Kind of PITA because on PC systems the kernel version is right in the kernel image filename making it easy.
Snakeoil Operating System - Music, your way!
Reply

#42
(29-Dec-2023, 09:56 AM)agent_kith Wrote: Don't think I see this anywhere yet, will double check later.
Please check your messages here
[-] The following 1 user Likes Snoopy8's post:
  • agent_kith
Reply

#43
Following on from the previous posts with AK, this official Raspberry documentation gives some guidance on how to replace an existing kernel
https://www.raspberrypi.com/documentatio...ernel.html

Rather than overwrite the existing kernel, used the following:
PHP Code:
sudo mkdir /boot/firmware/so
sudo mkdir 
/boot/firmware/so/overlays-so
*
the following files from a make
*
sudo cp arch/arm64/boot/dts/broadcom/*.dtb /boot/firmware/so/
sudo cp arch/arm64/boot/dts/overlays/*.dtb* /boot/firmware/so/overlays-so/
sudo cp arch/arm64/boot/dts/overlays/README /boot/firmware/so/overlays-so/
sudo cp arch/arm64/boot/Image.gz /boot/firmware/kernel-so.img
sudo nano /boot/firmware/config.txt  * to add the following
os_prefix=so/
overlay_prefix=overlays-so/
kernel=/kernel-so.img 

To copy the real time kernel to another instance, will need to tar the above make folders and files, and the folder
/usr/lib/modules/6.6.35-rt34-so+.  Replace "6.6.35-rt34-so+" with the name of the RT kernel.
[-] The following 1 user Likes Snoopy8's post:
  • uglymusic
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Install Snakeoil OS on a USB stick cpcat 4 1,451 21-Jan-2023, 02:11 PM
Last Post: cpcat
  Interesting discussion developing over at DIY-Audio re cpu-isolation/jitter/noise etc Bromf 1 806 27-Sep-2022, 02:05 AM
Last Post: mkysimes
  More upsampling antics......This time with SqueezeLite mkysimes 6 3,396 05-May-2020, 07:35 PM
Last Post: mkysimes



Users browsing this thread:
3 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
SOXR resampler and DSD
Last Post: agent_kith
Today 01:10 PM
» Replies: 3
» Views: 45
A ripping project ideae/help
Last Post: agent_kith
Today 01:09 PM
» Replies: 7
» Views: 82
Glibc 2.36 missing
Last Post: jetski
04-Mar-2025 03:23 AM
» Replies: 5
» Views: 121
Snakeoil 1.4.0 (High End)
Last Post: knottydreadbr
03-Mar-2025 11:42 PM
» Replies: 63
» Views: 4637
Using Ubuntu low latency & real time ker...
Last Post: hkphantomgtr
26-Feb-2025 12:13 AM
» Replies: 12
» Views: 576
My Snakeoil-powered system
Last Post: petemac110
24-Feb-2025 04:30 AM
» Replies: 7
» Views: 592
Snakeoil 1.4 and Squeezelite R2 - not re...
Last Post: petemac110
23-Feb-2025 07:47 PM
» Replies: 4
» Views: 127
Can't get Roon bridge or UPNP renderer t...
Last Post: agent_kith
21-Feb-2025 04:38 PM
» Replies: 9
» Views: 319
Progress update on High End U1
Last Post: agent_kith
21-Feb-2025 10:43 AM
» Replies: 8
» Views: 636
Snakeoil OS 1.4 problem with Squeezelite...
Last Post: mloutfie
14-Feb-2025 07:00 AM
» Replies: 14
» Views: 733

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2025. Theme © Melroy van den Berg.