version 1.5, 2014/09/15 19:06:41
|
version 1.5.2.2, 2016/11/21 17:40:43
|
Line 15 sources like that "cd <where you put freebsd sources>;
|
Line 15 sources like that "cd <where you put freebsd sources>;
|
and GPLv2 "gpl/*" projects |
and GPLv2 "gpl/*" projects |
- Optional download of 3th party software for ELWIX firmware. Project name is embedaddon from ELWIX CVS |
- Optional download of 3th party software for ELWIX firmware. Project name is embedaddon from ELWIX CVS |
|
|
II. Build process | II. Build system process |
1. Init build structures with clean directory tree |
1. Init build structures with clean directory tree |
./build_init.sh <filename of project config> |
./build_init.sh <filename of project config> |
2. Cross compile entire userland software |
2. Cross compile entire userland software |
Line 26 and GPLv2 "gpl/*" projects
|
Line 26 and GPLv2 "gpl/*" projects
|
./build_tools.sh |
./build_tools.sh |
5. Cross compile optional 3th party software |
5. Cross compile optional 3th party software |
./build_3thparty.sh |
./build_3thparty.sh |
6. Now is moment for build base elwix system | --------------------------------------------------------------------------------- |
| 6. Now is moment for build BaseFS ELWIX system |
./build_base.sh |
./build_base.sh |
7. Now moment comes to build big system binary and rootfs to embed into the kernel | --------------------------------------------------------------------------------- |
| 7. Moment comes for build big system binary and inject rootfs image into kernel |
./build_rootfs.sh |
./build_rootfs.sh |
8. Make romfs image and build big fat second stage firmware image |
8. Make romfs image and build big fat second stage firmware image |
./build_romfs.sh |
./build_romfs.sh |
9. Prepare fs image and populate /etc,/boot and others | 9. Now is moment for build RootFS ELWIX system |
./build_fs.sh |
./build_fs.sh |
|
--------------------------------------------------------------------------------- |
|
|
Ok, now we did ELWIX version and placed to build/release directory like tar.gz file |
Ok, now we did ELWIX version and placed to build/release directory like tar.gz file |
|
|
III. Information | Example of produced tar balls:: |
| ELWIX_X.X_target_{base|rootfs|rootfsext}_size_arch_date.tar.gz |
| |
| III. Build storage image |
| 1. Build ELWIX system into binary fs image file |
| ./install2img <ELWIX_X.X_target_.....tar.gz> [image_size_in_KB] |
| 2. Build ELWIX system into direct device |
| ./install2dev </dev/daX> <ELWIX_X.X_target_.....tar.gz> |
| 3. Build ELWIX system into separate compressed binary images for u-boot embedded devices |
| ./install2uboot <kernel|kernel_rootfs|rootfs|bin|vendor> |
| |
| IV. Information |
| For more information |
Michael Pounov <misho@elwix.org> or <support@elwix.org> |
Michael Pounov <misho@elwix.org> or <support@elwix.org> |
|
|
Best regards |
Best regards |