Git Product home page Git Product logo

glued's Introduction

Introduction

GLUED (GNU/Linux Uniform Environment Distribution) is a minimal Linux distribution targeted at embedded systems.

Configuration

The first step to build GLUED for a particular system is to create a configuration file. This configuration file contains details about the system's architecture, packages that will be part of the distribution, network configuration, etc.

To list all available systems issue the following command on a terminal:

./mkconfig.bash list

Once you have identified the name of the system you want to build, issue the following command, replacing <system_name> with the name of that system:

./mkconfig.bash <system_name>

Building

After creating a configuration file, you are ready to compile all the necessary packages.

To start the compilation process, issue the following command:

./mksystem.bash <config_file>

Archives

After the system is compiled you can create archives for distributing, developing or upgrading existing installations.

Toolchain Archive

To create a package containing all the necessary tools to cross-compile C/C++ programs for you target system, issue the following command:

./pktoolchain.bash <config_file>

Root Filesystem Archive

The root filesystem archive contains all files necessary to run a GLUED system. It allows you to upgrade existing GLUED systems and initialize storage devices. To create a root filesystem archive, issue the following command:

./pkrootfs.bash <config_file>

Initializing Storage Devices

Initializing storage devices for GLUED involves:

* Partitioning the storage device
* Creating filesystems
* Populating filesystems
* Installing a bootloader if applicable

To perform all of the previous steps, you must first identify the target block device file and then issue the following command (as root):

./mkdisk.bash <config_file> <block_device>

Example

Building GLUED for the system LAUV Seacon 1 and initializing a compact flash card with the block device file /dev/sdd:

./mkconfig.bash lauv-seacon-1 && ./mksystem.bash lctr-a6xx/lauv-seacon-1.bash && ./pktoolchain.bash lctr-a6xx/lauv-seacon-1.bash && ./pkrootfs.bash lctr-a6xx/lauv-seacon-1.bash && sudo ./mkdisk.bash lctr-a6xx/lauv-seacon-1.bash /dev/sdd

glued's People

Contributors

jffortuna avatar joaoteixiera avatar josebraga avatar kcisek avatar kjetilhs avatar krisgry avatar krisklau avatar mariacosta avatar maribeiro avatar paulosousadias avatar pmfg avatar rasmartins avatar rmsc avatar tsmarques avatar zepinto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glued's Issues

Error creating lauv-xplore-1-aux image in release 1.12.0

While compiling eglic, I get the following error:

zp@zp-laptop:~/workspace/glued$ ./mksystem.bash lctr-b2xx/lauv-xplore-1-aux.bash 
[2015-04-20 10:43:01] * eglibc / cross
[2015-04-20 10:43:01] ** refresh
[2015-04-20 10:43:01] ** host_install
[2015-04-20 10:43:52] ERROR: failed to execute rule host_install of eglibc / cross
  mv -f /home/zp/workspace/glued/lctr-b2xx/toolchain/armv7-lsts-linux-gnueabi/sysroot/usr/libexec/getconf/$spec.new /home/zp/workspace/glued/lctr-b2xx/toolchain/armv7-lsts-linux-gnueabi/sysroot/usr/libexec/getconf/$spec; \
done < /home/zp/workspace/glued/lctr-b2xx/builds/eglibc/cross/posix/getconf.speclist
ln: target 'XBS5_ILP32_OFFBIG.new' is not a directory
/usr/bin/install: target 'XBS5_ILP32_OFFBIG.new' is not a directory
mv: target 'XBS5_ILP32_OFFBIG' is not a directory
make[2]: *** [/home/zp/workspace/glued/lctr-b2xx/toolchain/armv7-lsts-linux-gnueabi/sysroot/usr/libexec/getconf] Error 1
make[2]: Leaving directory `/home/zp/workspace/glued/lctr-b2xx/builds/eglibc/eglibc-2.15.17955/libc/posix'
make[1]: *** [posix/subdir_install] Error 2
make[1]: Leaving directory `/home/zp/workspace/glued/lctr-b2xx/builds/eglibc/eglibc-2.15.17955/libc'
make: *** [install] Error 2
[2015-04-20 10:43:52] ERROR: failed to build dependency for package gcc / cross
[2015-04-20 10:43:52] ERROR: failed to build dependency for package base / cross
[2015-04-20 10:43:52] ERROR: failed to build dependency for package base / default

Is this a known issue?

glued building question

Hi,
I have trying to Building the Glued linux system for beaglebone black industrial board under Ubuntu 18.04, but many errors occurs like alloca or other issue. Since the glued project has existed for a long time. Which gcc or laptop system version is more suitable? Thanks.

Update docker's debian version

As discussed in the toolchain meeting: update to debian 9.

This will require testing for all the major architectures and check that nothing break along the way;

Package utils-linux fails to compile under Ubuntu 14.10

Using release 1.12.0, I am unable to compile under Ubuntu 14.10. The compilation stops while building utils-linux/host:

 [2015-04-16 17:33:04] * util-linux / host
 [2015-04-16 17:33:04] ** download
 [2015-04-16 17:33:04] ** unpack
 [2015-04-16 17:33:05] ** post_unpack
 [2015-04-16 17:33:05] ** refresh
 [2015-04-16 17:33:05] ** configure
 [2015-04-16 17:33:19] ** build
 [2015-04-16 17:33:29] ERROR: failed to execute rule build of util-linux / host
  CC     strutils.o
  CC     logger.o
  CC     look.o
 make[2]: *** [cal.o] Error 1 
 make[2]: *** Waiting for unfinished jobs....
 make[2]: Leaving directory `/home/zp/workspace/glued/lctr-b2xx/builds/util-linux/host/misc-utils'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/zp/workspace/glued/lctr-b2xx/builds/util-linux/host'
 make: *** [all] Error 2
 make: Leaving directory `/home/zp/workspace/glued/lctr-b2xx/builds/util-linux/host'
 [2015-04-16 17:33:29] ERROR: failed to build dependency for package base / host
 [2015-04-16 17:33:29] ERROR: failed to build dependency for package base / default

A workaround is to install package libncurses5-dev as the build seems to be missing termcap headers:

 CC     cal.o
 ../../util-linux-2.21.2/misc-utils/cal.c:105:21: fatal error: termcap.h: No such file or directory
 #include <termcap.h>
                     ^
 compilation terminated.

Linux 3.14 EOL

Hi,

As 3.14 reached end-of-life, is an upgrade to 4.4 (or 4.9, recently announced LTS) in the plans?

Best regards,
Kristian

Run dropbear (SSH) with higher priority.

To make sure that the system is accessible even in the event of a process using the entire CPU, the dropbear SSH process should have a higher priority (-20?).

CMake: Build failed with ncurses/ncurses.h not found

Hi,

I have found a build error on cmake/host compilation. The problem is in the CMakeCache.txt created with ./configure that defines NCURSES_INCLUDE_PATH ended with ".../include/ncurses". It was supposed to end just with .../include

I added a sed expression to the rule file in order to supress the final 'ncurses' reference and everything runs well.

I don't know why but when I do this, in my build machine, the CMAKE_PREFIX_INSTALL is setted to /usr/local what originates an error. I forced, in the 'host_install' rule, the DESTDIR to point to toolchain root.

I do not know if I am doing something wrong or this is a error common to other users.

Here is my patch if you want: https://gist.github.com/posilva/8bf36087984cde36b52b

Best,

Glued does not start

Hi,

I have compiled the Raspberry Pi and Noptilus-3 versions without problems, but when I try to run them from the sd memory, nothing happens, the screen remains black. ¿How could I solve this problem?

Best

In branch new master it seams that you need to run 2 times because the first gives error on linux/rpi4

[2021-11-17 14:20:42] ** completed in 3s
[2021-11-17 14:20:42] * linux / rpi4
[2021-11-17 14:20:42] ** download
[2021-11-17 14:20:42] ** unpack
[2021-11-17 14:20:51] ** post_unpack
[2021-11-17 14:20:51] ** refresh
[2021-11-17 14:20:51] ** configure
[2021-11-17 14:20:54] ** build
[2021-11-17 14:20:56] ERROR: failed to execute rule build of linux / rpi4
HOSTLD scripts/genksyms/genksyms
CC kernel/bounds.s
UPD include/generated/timeconst.h
HOSTLD scripts/dtc/dtc
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
UPD include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
UPD include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.