:: Re: [DNG] Beowulf images for RPi3+?
Top Pagina
Delete this message
Reply to this message
Auteur: Dimitris
Datum:  
Aan: Ozi Traveller
CC: dng
Onderwerp: Re: [DNG] Beowulf images for RPi3+?
On 8/23/19 12:39 AM, Ozi Traveller wrote:
> What changes would be necessary to get the arm-sdk to build for beowulf?


you need all dependencies + libssl-dev package, iirc. git clone repo
below and make the following changes, before "Initial setup" from
README. (https://git.devuan.org/sdk/arm-sdk) :


1) had issues with rpi-5.0.y linux branch, so went for 4.20. can pick
any kernel to test...

diff --git a/boards/raspberry-pi3.sh b/boards/raspberry-pi3.sh
index 95af74a..69eb3e3 100644
--- a/boards/raspberry-pi3.sh
+++ b/boards/raspberry-pi3.sh
@@ -38,7 +38,7 @@ extra_packages+=()
custmodules=(snd_bcm2835)

gitkernel="https://github.com/raspberrypi/linux"
-gitbranch="rpi-4.16.y"
+gitbranch="rpi-4.20.y"
rpifirmware="https://github.com/raspberrypi/firmware.git"



2) under lib/libdevuansdk/ (https://git.devuan.org/sdk/libdevuansdk) :

diff --git a/config b/config
index 43ccb4b..0a449df 100644
--- a/config
+++ b/config
@@ -34,9 +34,9 @@ aptcachedir="$LIBPATH/apt-cache"
aptcachegpg="0xdeadbeefdeadbeef"

os="devuan"
-release="ascii"
-version="2.0.0"
-mirror="http://pkgmaster.devuan.org/merged"
+release="beowulf"
+version="3.0.0"
+mirror="http://deb.devuan.org/merged"
section="main contrib non-free"

image_name="${os}_${release}_${version}_${arch}"

diff --git a/zlibs/sysconf b/zlibs/sysconf
index 131690a..10359c0 100644
--- a/zlibs/sysconf
+++ b/zlibs/sysconf
@@ -99,9 +99,9 @@ conf_print_resolvconf() {
        fn conf_print_resolvconf


        cat <<EOF
-## google's nameservers
-nameserver 8.8.8.8
-nameserver 8.8.4.4
+## opennic nameservers
+nameserver 193.183.98.66
+nameserver 94.247.43.254
 EOF
 }



building an image might take a long time, depending on network speed,
hardware.. be prepared.
also i used these a few months ago, so they might not apply exactly as
above. check output messages for errors.

d.

p.s. last nameservers change is just personal "taste", feel free to
ignore...