install kernel using docker. Only for CL025 users and RPI4

118 views
Skip to first unread message

pa3gsb

unread,
May 19, 2024, 3:26:19 PMMay 19
to Radioberry
Hi All

For installing the kernel i have made an alternative installation.

Please give it a try and please report if it is working or not?




install raspberrypi linux bookworm

more info about installing rpi linux operating system:

https://www.raspberrypi.com/documentation/computers/os.html

sudo docker run --privileged pa3gsb/radioberry_kernel:4.01


have fun

73 Johan

PA3GSB

Yado-san

unread,
May 22, 2024, 8:34:37 AMMay 22
to Radioberry
Hi Johan,

I tried and tested.
but It did not work with an error.  (Attached below)
-> insmod: ERROR: could not insert module /usr/src/radioberry/radioberry.ko: Operation not permitted

I think it's related to the 10th command in IMAGE LAYERS.
'RUN /bin/sh -c echo "#!/bin/bash\ninsmod /usr/src/radioberry/radioberry.ko\n" > /usr/local/bin/load_module.sh &&     chmod +x /usr/local/bin/load_module.sh # buildkit'

Do you have any idea what the problem is?

Tnx
Yado-san, jg1twp
----------

pi@raspi4:/etc $ cat os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

pi@raspi4:/etc $ uname -a
Linux raspi4 6.6.28+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64 GNU/Linux


pi@raspi4:~ $ docker -v
Docker version 26.1.3, build b72abbb

pi@raspi4:~ $ docker compose version
Docker Compose version v2.27.0

pi@raspi4:~ $ sudo docker run --privileged pa3gsb/radioberry_kernel:4.01
Unable to find image 'pa3gsb/radioberry_kernel:4.01' locally
4.01: Pulling from pa3gsb/radioberry_kernel
91e301773f03: Pull complete
c4d829fb1d29: Pull complete
235a5572537d: Pull complete
07c46fcc78a0: Pull complete
940641bf6e25: Pull complete
8ef0fe97ac2d: Pull complete
4f4fb700ef54: Pull complete
fcc051850d30: Pull complete
e3fc5281da1c: Pull complete
Digest: sha256:7393003963d7732d01176f69319756a4eceebe716740811f051974d05ca60491
Status: Downloaded newer image for pa3gsb/radioberry_kernel:4.01


pi@raspi4:~ $ docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
478afc919002: Pull complete
Digest: sha256:266b191e926f65542fa8daaec01a192c4d292bff79426f47300a046e1bc576fd
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.
:
:


pi@raspi4:~ $ docker images
REPOSITORY                 TAG       IMAGE ID       CREATED         SIZE
pa3gsb/radioberry_kernel   4.01      9af9fa823f68   2 days ago      792MB
hello-world                latest    ee301c921b8a   12 months ago   9.14kB

pi@raspi4:~ $ sudo docker run -it 9af9fa823f68
insmod: ERROR: could not insert module /usr/src/radioberry/radioberry.ko: Operation not permitted
//
2024年5月20日月曜日 4:26:19 UTC+9 pa3gsb:

pa3gsb

unread,
May 26, 2024, 1:47:55 PMMay 26
to Radioberry
Yado-san

I understand the problem.. will make a new image; will let you know.

73 Johan
PA3GSB

Op woensdag 22 mei 2024 om 14:34:37 UTC+2 schreef Yado-san:

Yado-san

unread,
May 27, 2024, 8:19:52 AMMay 27
to Radioberry
Hi Johan,

I am often troubled by errors when updating the OS or using different versions.
If using Docker, this will not happen and it is likely to be easier to setup Radioberry. :)

...But I can't replace GateWare(/lib/firmware/radioberry.rbf) for CL016 or firmware(/usr/local/bin/radioberry) myself, can I?

Tnx!
Yado-san, jg1twp

2024年5月27日月曜日 2:47:55 UTC+9 pa3gsb:

Samuel Lourenço

unread,
Jun 22, 2024, 3:37:32 PMJun 22
to Radioberry
Hi Johan,

Will the docker work on Bullseye?

Kind regards, Samuel Lourenço
Reply all
Reply to author
Forward
0 new messages