Support for the EsspressoBin

Suggestions for features and software you would like to see in DietPi, goes here.
eschaton
Posts: 7
Joined: Tue Jan 30, 2018 4:52 pm

Support for the EsspressoBin

Post by eschaton » Tue Feb 06, 2018 9:02 pm

How hard would it be for me or someone else to compile DietPi for the EspressoBin: http://espressobin.net/tech-spec/?

It looks like they already have Armbian supported, which I understand this is based off? I much prefer DietPi...

User avatar
WarHawk
Posts: 253
Joined: Thu Jul 20, 2017 7:55 am

Re: Support for the EsspressoBin

Post by WarHawk » Wed Feb 07, 2018 12:13 am

It looks like it's using a similar processor as the RPi3

Marvell Armada 3700LP (88F3720) dual core ARM Cortex A53 processor up to 1.2GHz

Some info on the processor
https://www.cnx-software.com/2016/09/23 ... wdfunding/

More info
https://www.kernel.org/doc/readme/Docum ... ell-README

It appears they have several SD images here
http://espressobin.net/tech-spec/
How to flash u-boot
http://espressobin.net/forums/topic/how ... sh-u-boot/
Last edited by WarHawk on Wed Feb 07, 2018 12:21 am, edited 1 time in total.

User avatar
MichaIng
Legend
Posts: 175
Joined: Sat Nov 18, 2017 5:21 pm

Re: Support for the EsspressoBin

Post by MichaIng » Wed Feb 07, 2018 12:20 am

Armbian is still working on it: https://www.armbian.com/work-in-progress/

We are not based on Armbian only, Odroids are based on another one-man (Meveric) minimal image, RPi on Raspbian Lite, x86 on Debian mini/netboot and for the others, I don't know.

Generally: It is arm64, bootloader, kernel, firmware is offered: http://espressobin.net/tech-spec/, should somehow work.
But to be honest, I never made any other image than for VM (most simple), so no idea, how to start exactly and what surprises one may face :P. I guess at least the Debian arm64 mini.iso will not work out of the box: http://ftp.nl.debian.org/debian/dists/s ... s/netboot/ :lol:
Although they seem to offer the EspressoBins CPU: http://ftp.nl.debian.org/debian/dists/s ... e/marvell/ :o

If some Debian based system is running on it, then go with our preparation script, that will turn it into DietPi, most likely after some necessary adjustments/fixes: https://github.com/Fourdee/DietPi/blob/ ... _DIETPI.sh

€: @WarHawk
Ah that's true@CPU.
Sadly non of their images yet is Debian based, right? No idea what Yocto is :roll:.

eschaton
Posts: 7
Joined: Tue Jan 30, 2018 4:52 pm

Re: Support for the EsspressoBin

Post by eschaton » Wed Feb 07, 2018 6:08 am

Well, Armbian is based off Debian, as is (remotely) their Ubuntu image :P

I think when I get around to it I will try to turn an Armbian image for the board into a DietPi install using the script you supplied; thanks much!

User avatar
WarHawk
Posts: 253
Joined: Thu Jul 20, 2017 7:55 am

Re: Support for the EsspressoBin

Post by WarHawk » Wed Feb 07, 2018 9:51 am

This gets a non gui ubuntu 17.10.1 "server" type base/minimal install
by using this method
http://wiki.espressobin.net/tiki-index. ... 6.04.3_LTS

Then as mentioned above...

Code: Select all

#touch PREP_SYSTEM_FOR_DIETPI.sh
Copy and paste the entire script of text into that file using nano

make it executable

Code: Select all

# chmod 700 PREP_SYSTEM_FOR_DIETPI.sh
then

Code: Select all

# ./PREP_SYSTEM_FOR_DIETPI.sh
and the script should do the rest

Once it has done it's dietpi thingy...you should be able to then

Code: Select all

# dietpi-launcher 
and install software/desktop like normal

as I said..it looks like the already did it
This tar containing the Ubuntu root file system (with kernel binary and dtb file included) can also be downloaded from our Tech Spec page, Software table under Ubuntu 16.04.3 LTS.
http://wiki.espressobin.net/tiki-index. ... ro_SD_card

Alot of work I guess...but once it's built and running
Burn an image of the card and save it in case something happens and you have to re-image without having to do all the above all over again

https://sourceforge.net/projects/win32diskimager/ does a good job of making an image on a windows system

eschaton
Posts: 7
Joined: Tue Jan 30, 2018 4:52 pm

Re: Support for the EsspressoBin

Post by eschaton » Wed Feb 07, 2018 3:30 pm

Thanks so much for that WarHawk, that's amazing help.

I don't need to worry about GUI stuff; I don't use DietPi with a GUI typically and AFAIK the EspressoBin actually doesn't have any video out methods, seeing as it's designed to be used for networking appliances, not as a desktop/workstation system. That's what's so nice about DietPi - the menus and dietpi configuration scripts that one can run allow headless users to very, very easily and quickly set up well-configured systems with minimal hassle, all without using a desktop. Phenomenal.

Also great idea to do a backup of the image once I'm done... luckily the board has plenty of USB, SATA, and eMMC I/O, so I can do that easily. I personally am a big fan of doing imaging work with https://etcher.io/

User avatar
MichaIng
Legend
Posts: 175
Joined: Sat Nov 18, 2017 5:21 pm

Re: Support for the EsspressoBin

Post by MichaIng » Fri Feb 09, 2018 12:25 am

Hmm, an Ubuntu image should not work. The script checks /etc/os-release for supported Debian release names (wheezy until buster): https://github.com/Fourdee/DietPi/blob/ ... #L125-L150

You would need to hardcode e.g. G_DISTRO=4 and G_DISTRO_NAME='stretch' into the code and hope for the best.

I know Ubuntu is a Debian derivative, but I have no idea how deep the differences in it's core. The script purges all down until totally headless, adds default Debian APT sources and then installs the necessary core packages needed for DietPi. Would be an interesting experiment if this works (without too much fixes) on Ubuntu images :D.

eschaton
Posts: 7
Joined: Tue Jan 30, 2018 4:52 pm

Re: Support for the EsspressoBin

Post by eschaton » Fri Feb 09, 2018 5:13 pm

MichaIng wrote:Hmm, an Ubuntu image should not work.
Isn't Armbian based off Debian, not Ubuntu?

User avatar
MichaIng
Legend
Posts: 175
Joined: Sat Nov 18, 2017 5:21 pm

Re: Support for the EsspressoBin

Post by MichaIng » Mon Feb 12, 2018 5:55 pm

Jep, ARMbian should work, but officially they so far just offer Ubuntu: http://espressobin.net/tech-spec/

eschaton
Posts: 7
Joined: Tue Jan 30, 2018 4:52 pm

Re: Support for the EsspressoBin

Post by eschaton » Mon Feb 12, 2018 7:36 pm

MichaIng wrote:Jep, ARMbian should work, but officially they so far just offer Ubuntu: http://espressobin.net/tech-spec/
They have this started, which is what I will try when I get around to it: https://www.armbian.com/espressobin/

I'll report back here with my failures! :D

Post Reply