bashrc2 / libreserver-maker Goto Github PK
View Code? Open in Web Editor NEWBuild system for libreserver
License: GNU General Public License v3.0
Build system for libreserver
License: GNU General Public License v3.0
Hi,
I failed to install Libreserver on a Raspberry, twice.
First I tried on a Raspberry Pi 4 based on https://libreserver.org/installation.html
However when writing the pi image to SD card, the Pi did not boot.
I then tried writing the imgage to a USB file and boot from USB, however this also failed:
the Pi4 bootloader starts but then timeout on rootfs.
For some reason the rootfs partition does not get mounted (tried rewriting the usb twice).
(Oddly the usb is not recognizable nor mountable in a standard Ubuntu install, whilst I could mount the 2 partitions written to the SD card. Same image file.)
Then I found this project: libreserver-maker.
I tried to build libreserver for raspberry Pi 3 B+ (there is no specific Pi 4 option).
However the image build process fails:
"qemu: Unsupported syscall: 403\nE: Unable to find a source package for raspi-firmware\n"
I think this is due to the line
'apt-get source {firmware_package}' where {firmware_package} = raspi-firmware in the file raspberry_pi_with_uboot.py.
a) some digging makes me suspect there is no source for raspi-firmware as it's closed source
(cfr.https://wiki.debian.org/RaspberryPi)
b) there exists a binary package for raspi-firmware: https://packages.debian.org/bullseye/raspi-firmware
However this is not available in sources.list.
I've added below lines to the raspberry_pi_with_uboot.py file
echo "deb http://ftp.de.debian.org/debian bullseye main non-free" | tee -a /etc/apt/sources.list
apt-get update
and changed
"apt-get source {firmware_package}" -> "apt-get download {firmware_package}"
The raspi-firmware package is now downloaded however the layout in this deb package does not correspond to what is expected in the remainder of the script. So it still fails.
I'm stuck and I don't know enough about boot partitions, firmware loaders, debian, pi specifics, ....
Any suggestions on how to continue?
Thx.
br,
Ruben
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.