Homepage Wiki Forum Buy

Gnublin Installer

From GNUBLIN

GNUBLIN completely boots from a commercially SD card. It brings the advantage, that you don't need any special programmer and you can easily transfer an application, you want to the SD card. If you want spontaneously test a new application on GNUBLIN, you only have to get a SD card and create a new system on it, which will be described here.


Contents

Graphical application to install the SD card

Quick start guide:

With

sudo gnublin-installer

you can call the build process for SD card

Gnublin-Installer 1.4.0.1.png

Download

You can download the gnublin-installer as source code, binary or package.

The newest version of sourcecode you can find on [1].

Debian package

   Version 1.4.0.2: amd64, i386

Binaries

   Version 1.4.0.2: amd64, i386

Source Code

   Version 1.4.0.2

Installation on Ubuntu or Debian based distributions

For Debian based distributions there is a precompiled .deb package, which you can download. After that, you are able to install the package with the package manager on Debian or Ubuntu.

Installation on openSuse

With following steps, the gnublin-installer can be compiled from its sources(tested on openSuse 12.1 x86_64 ).

Following additional packages have to be installed first:

sudo zypper install libcurl-devel parted-devel libarchiv-devel wxWidgets-devel libssl-devel

The newer version of Curl has deleted the file types.h. The new created types.h should include the file curl.h

sudo sh -c "echo '#include <curl/curl.h>' >> /usr/include/curl/types.h"

In the Makefile you have to add the following flags:

 in line CXXFLAGS: -I/usr/lib64/wx-2.8-stl/wx/include/gtk2-unicode-release-2.8/
 in line LDFLAGS: -L/usr/lib64/wx-2.8-stl/

Before you can execute the application, you have to load the libraries

sudo /sbin/ldconfig /usr/lib64/wx-2.8-stl/

After that you can start the application

kdesu ~/Downloads/gnublin-installer-1.1-beta-src/gnublin-installer

Console application to install SD card

Atention: This version has not been tested for long. If in doubt use the graphical installer Gnublin

wget http://www.gnublin.org/downloads/gnublin-card.py
  • Insert the SD card to the PC
  • Check with dmesg which device name is used
dmesg
  • Start building the SD card
sudo python gnublin-card.py --all --device=/dev/sd<?>

Now all required packages will be downloaded and written to the SD card:

bene@meinpc:/tmp$ sudo python gnublin-card.py --all --device=/dev/sdd [sudo] password for sauter: device = /dev/sdd SD card is device '/dev/sdd' Please say YES Please type YES: YES creating temporary directory gnublin-tmp entering gnublin-tmp Downloading: apex.bin Bytes: 55512 55512 [100.00%] Downloading: rootfs.tar.gz Bytes: 205438733 7553024 [3.68%] ...

compile Gnublin Installer from the sources

To compile the sources, the following libraries are necessary:

  • libparted0debian1
  • libcurl3-dev
  • libwxgtk2.8-dev
  • libarchive-dev
  • libssl-dev
  • gawk


With the following instruction you can download and install it:

sudo apt-get install libparted0debian1 libcurl3-dev libwxgtk2.8-dev libarchive-dev

Then create the binaries with:

make

If you want to create a .deb package:

make release

Howto Videos

At this link Videos it is shown, how to use the gnublin-installer


Changelog

1.4.0.2:

fix: wrong bootloader partition on /dev/mmc* devices

1.4.0.1:

removed: cmdinstaller from makefile 
removed: libarchive
add: Depends to makefile
minor changes and bugfixes

1.4

add: possibility to choose the board type(downloadfiles 8/32MB Board)
add: support for md5 check the files and not reload them if available in the files/ path
add: change partition ID of bootloader partition to 'df'(=bootit) after creating partitions for faster boot up
minor bug fixes

Archive

Downloads of old versions:


Debian package

Version 1.4.0.1: amd64, i386

Version 1.3.1.1 (nach Ubuntu 12.04)

Version 1.3.0.1 (vor Ubuntu 12.04)

Version 1.3.1

Version 1.3.0

Version 1.2.0

Version 1.1.0

Binaries

Version 1.4.0.1: amd64, i386

Version 1.3.1

Version 1.3.0

Version 1.2.0

Version 1.1.0

Source Code

Version 1.4.0.1

Version 1.3.1.1 (für Ubuntu ab 12.04 kompatibel zur Gnublin Distribution)

Version 1.3.0.1 (für Ubuntu vor 12.04 kompatibel zur Gnublin Distribution)

Version 1.3.0

Version 1.1.0

In other languages