--- elwix/BUILD.txt 2012/02/16 23:27:30 1.1.2.3 +++ elwix/BUILD.txt 2012/05/29 14:24:05 1.1.2.10 @@ -1,10 +1,20 @@ -= How-to build ELWIX system project =- ========================================= -$Id: BUILD.txt,v 1.1.2.3 2012/02/16 23:27:30 misho Exp $ +$Id: BUILD.txt,v 1.1.2.10 2012/05/29 14:24:05 misho Exp $ ========================================= I. Intro + Before starting any work on ELWIX must we prepare environment. +What this means :: + - We must downloading freebsd sources from CVS/SVN repository and put on separate place from /usr/src. +Set in config/rc.elwix variable BSDSRC="..." with place where you get freebsd sources. + - We gather from ELWIX CVS repository kodicom_mux project. After this we need to patch our freebsd +sources like that "cd ; patch -p0 < " + - We must checkout from ELWIX CVS repository core libraries "libait*" , "embedtools", "embedaddons" +and GPLv2 "gpl/*" projects + - Optional download of 3th party software for ELWIX firmware. Project name is embedaddon from ELWIX CVS + II. Build process 1. Init build structures with clean directory tree ./build_init.sh @@ -12,6 +22,18 @@ $Id: BUILD.txt,v 1.1.2.3 2012/02/16 23:27:30 misho Exp ./build_world.sh 3. Cross compile ELWIX kernel ./build_kernel.sh + 4. Cross compile ELWIX tools + ./build_tools.sh + 5. Cross compile optional 3th party software + ./build_3thparty.sh + 6. Now moment comes to build big system binary and rootfs to embed into the kernel + ./build_rootfs.sh + 7. Make romfs image and build big fat second stage firmware image + ./build_romfs.sh + 8. Prepare fs image and populate /etc,/boot and others + ./build_fs.sh + + Ok, now we did ELWIX version and placed to build/release directory like tar.gz file III. Information Michael Pounov or