| 1 |
This is the OpenEmbedded filesystem builder for the Zipit |
|---|
| 2 |
Z2. |
|---|
| 3 |
|
|---|
| 4 |
!!!IMPORTANT!!! |
|---|
| 5 |
|
|---|
| 6 |
Look for READMEs that are in the build dir for more |
|---|
| 7 |
info before you proceed reading this file. |
|---|
| 8 |
|
|---|
| 9 |
Okay?. |
|---|
| 10 |
|
|---|
| 11 |
===================================================== |
|---|
| 12 |
|
|---|
| 13 |
The Makefile should help you get a working OE system |
|---|
| 14 |
installed into your dev directory. I make a directory |
|---|
| 15 |
in my ${HOME}, such as OE-projects, then copy the Makefile |
|---|
| 16 |
into that and run 'make'. After it finishes, I have a |
|---|
| 17 |
basic OE set of tools installed. |
|---|
| 18 |
|
|---|
| 19 |
To install the Zipit Z2 specific stuff, I would then: |
|---|
| 20 |
svn co http://linux.zipitwireless.com/svn/zipitforge/openembedded ~/OE-projects |
|---|
| 21 |
That would then load the build and zipitBBfiles dirs. |
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
===================================================== |
|---|
| 25 |
|
|---|
| 26 |
Basically, once you get the basic OE system installed, |
|---|
| 27 |
you will want to know a few things: |
|---|
| 28 |
|
|---|
| 29 |
1) To build the OE distro for the Z2, just enter the command: |
|---|
| 30 |
'bitbake base-image'. When it finishes, look in the |
|---|
| 31 |
${TMPDIR}/deploy/images for your bootstrap-XXXX.tar file. |
|---|
| 32 |
That is the filesystem that you would copy onto the ext3 |
|---|
| 33 |
partition (filesystem space). |
|---|
| 34 |
|
|---|
| 35 |
2) If you add or remove packages from within the build/*.conf |
|---|
| 36 |
files, run a 'bitbake -c rebuild task-boot'. You must |
|---|
| 37 |
rebuild the list of packages that MACHINE_TASK_PROVIDER |
|---|
| 38 |
(task-boot) knows it has to install into the filesystem image. |
|---|
| 39 |
|
|---|
| 40 |
3) to build OPIE, run 'bitbake opie-image'. |
|---|
| 41 |
|
|---|
| 42 |
===================================================== |
|---|
| 43 |
|
|---|
| 44 |
Installing the images can be eased by the prepSDcard.pl script |
|---|
| 45 |
found within the zipitZ2BBfiles/fatroot/ directory. Carefully |
|---|
| 46 |
read the README-sdcard for details on how to use the script |
|---|
| 47 |
and to identify where your SD card media reader is located. |
|---|
| 48 |
|
|---|