Annotation of elwix/BUILD.txt, revision 1.1.2.10
1.1.2.2 misho 1: -= How-to build ELWIX system project =-
2: =========================================
1.1.2.10! misho 3: $Id: BUILD.txt,v 1.1.2.9 2012/02/22 22:46:51 misho Exp $
1.1.2.2 misho 4: =========================================
1.1.2.1 misho 5:
1.1.2.2 misho 6: I. Intro
1.1.2.4 misho 7: Before starting any work on ELWIX must we prepare environment.
8:
9: What this means ::
10: - We must downloading freebsd sources from CVS/SVN repository and put on separate place from /usr/src.
11: Set in config/rc.elwix variable BSDSRC="..." with place where you get freebsd sources.
12: - We gather from ELWIX CVS repository kodicom_mux project. After this we need to patch our freebsd
13: sources like that "cd <where you put freebsd sources>; patch -p0 < <kodicom_mux/contrib/kodicom.patch>"
1.1.2.5 misho 14: - We must checkout from ELWIX CVS repository core libraries "libait*" , "embedtools", "embedaddons"
15: and GPLv2 "gpl/*" projects
1.1.2.6 misho 16: - Optional download of 3th party software for ELWIX firmware. Project name is embedaddon from ELWIX CVS
1.1.2.2 misho 17:
18: II. Build process
1.1.2.3 misho 19: 1. Init build structures with clean directory tree
20: ./build_init.sh
21: 2. Cross compile entire userland software
22: ./build_world.sh
23: 3. Cross compile ELWIX kernel
24: ./build_kernel.sh
1.1.2.5 misho 25: 4. Cross compile ELWIX tools
26: ./build_tools.sh
1.1.2.6 misho 27: 5. Cross compile optional 3th party software
28: ./build_3thparty.sh
1.1.2.7 misho 29: 6. Now moment comes to build big system binary and rootfs to embed into the kernel
30: ./build_rootfs.sh
1.1.2.10! misho 31: 7. Make romfs image and build big fat second stage firmware image
! 32: ./build_romfs.sh
! 33: 8. Prepare fs image and populate /etc,/boot and others
1.1.2.8 misho 34: ./build_fs.sh
1.1.2.2 misho 35:
1.1.2.9 misho 36: Ok, now we did ELWIX version and placed to build/release directory like tar.gz file
37:
1.1.2.2 misho 38: III. Information
39: Michael Pounov <misho@elwix.org> or <support@elwix.org>
40:
41: Best regards
42: Michael Pounov
43: -----
44: ELWIX - Embedded LightWeight unIX -
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>