Core 3 Diskspace

Topics about the Software of Revolution Pi
benjaminrp
Posts: 1
Joined: 14 May 2019, 14:06
Answers: 0

Re: Core 3 Diskspace

Post by benjaminrp »

dirk wrote: 01 Apr 2019, 15:27 Within Q3 2019 there will be new RevPi versions available with up to 32Gb of eMMC flash.
Only Connect+ or there will be also up to 32Gb version of Core?
User avatar
dirk
KUNBUS
Posts: 1942
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: Core 3 Diskspace

Post by dirk »

Yes, there will be also RevPi Core 3 devices available with up to 32Gb. But the first batch will be the Connect devices.
jackybek
Posts: 9
Joined: 23 Jul 2020, 02:41
Answers: 0

Re: Core 3 Diskspace

Post by jackybek »

correction::
since the intent is to use azure IoTEdge, should the product used be RevPi connect+ ?
jcolley
Posts: 3
Joined: 11 Jun 2020, 17:39
Answers: 0

Re: Core 3 Diskspace

Post by jcolley »

dirk wrote: 21 Aug 2018, 14:33 Hi, you may use the imagebakery GitHub repository to create a minimal image that contains all the KUNBUS drivers as well.
Here is a step-by-step guide for you. I have used a Ubuntu 18.04 virtual machine to create the image.
Download RASPBIAN STRETCH LITE https://www.raspberrypi.org/downloads/raspbian/
http://media.kunbus.de/media/images/2018-10-09-raspbian-stretch.zip
http://downloads.raspberrypi.org/raspbian/images/raspbian-2018-03-14/2018-03-13-raspbian-stretch.zip
You have to be root and have access to the internet to create the image.

Code: Select all

git clone https://github.com/RevolutionPi/imagebakery.git
cd imagebakery
unzip ../Download/2018-10-09-raspbian-stretch.zip 
apt-get install qemu-user-static binfmt-support
./shrink-image.sh 2018-10-09-raspbian-stretch-lite.img `date +%F`-raspian-shrunk.img
# on Ubuntu change #!/bin/sh => #!/bin/bash in customize_image.sh
./customize_image.sh `date +%F`-raspbian-shrunk.img
When you write the image you have about 2.3GB free space:

Code: Select all

pi@RevPi:~$ df -h /
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       3.5G  1.1G  2.3G  33% /
Bump to a really old thread, but it seems the shrink-image.sh is no longer in the imagebakery git. Has in been included into the customize-image.sh somehow? I'm trying to get Ignition Edge running on a Core 3 and need every MB of flash I can free, was really hoping this was the answer, but can't get the image ready to flash.
User avatar
nicolaiB
KUNBUS
Posts: 871
Joined: 21 Jun 2018, 10:33
Answers: 7
Location: Berlin
Contact:

Re: Core 3 Diskspace

Post by nicolaiB »

Hi jcolley,

shrink_image is included in the customize_image script and therefore no longer needed.

Nicolai
Post Reply