The officially official Devuan Forum!

You are not logged in.

#1 2019-08-14 03:54:00

alupoj
Member
Registered: 2019-01-25
Posts: 78  

Please suggest how to get BBB running Devuan

Dear Friends,

There are a lot of manuals with a lot of undesirable time waste information how to flash Beaglebone Black, e.g.:
https://beagleboard.org/getting-started

The first what I have read of course is:
https://files.devuan.org/devuan_jessie/ … README.txt

It is clear I have to dd image to SD, it is easy.

How can I replace uboot and kernel?

I do NOT see an uboot bin for the BBB:
https://devuan.4isp.it/devuan_ascii/embedded/u-boot/

May I build my own kernel in Gentoo in cross compiling mode and place it to BBB?

Will grsec minipli kernel work fine on this board with Devuan?

Does there exist an RT grsec kernel source? Can RT and grsec be mixed at all?
Can grsec+deblobbed+RT kernel be run on BBB? Is RT kernel less secure than non RT or it does not matter?

Can I use XFS as a root FS for the installation? Or is it too much memory hungry for a 512Mb board? and may be even not compatible with grsec?

Thank you for your help, it is very valuable.

Last edited by alupoj (2019-08-14 14:04:52)

Offline

#2 2019-08-14 04:29:09

alupoj
Member
Registered: 2019-01-25
Posts: 78  

Re: Please suggest how to get BBB running Devuan

I mounted the image:

/dev/loop0p1 on /mnt/d1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0p2 on /mnt/d2 type ext4 (rw,relatime)

First one is a boot loader and second is root fs.

I was suggested uboot is flashed into beginning sectors of the media from which BBB boots from its BROM.

Last edited by alupoj (2019-08-14 14:06:23)

Offline

#3 2019-08-15 01:47:20

alupoj
Member
Registered: 2019-01-25
Posts: 78  

Re: Please suggest how to get BBB running Devuan

I have found there is SDK to build ARM images for different supported boards:
https://git.devuan.org/sdk/arm-sdk

After reading corresponding script:
https://git.devuan.org/sdk/arm-sdk/blob … ack.sh#L63

I am still not sure, what is rebuilt from source in it except kernel? Uboot?
All userspace is debootstrapped in a precompiled binary form from corresponding Devuan repository?

How to rebuild the whole installation from source like Gentoo?
Preferably by cross compiling on a X86 host or at least via distcc helper.

Can you please include those options for a full rebuild from source into the SDK?

Last edited by alupoj (2019-08-15 01:57:23)

Offline

Board footer