OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Create New Image For Zaurus
BerndS
post May 12 2009, 09:46 AM
Post #1





Group: Members
Posts: 66
Joined: 26-September 04
Member No.: 4,770



Hi,

I've successfully installed the OpenEmbedded development environment and compiled an image using "bitbake opie-image"

Now I want to create my own image with some more packages -- can anybody point me to a documentation about how to do that?

Thanks

Bernd
Go to the top of the page
 
+Quote Post
utx
post May 12 2009, 01:36 PM
Post #2





Group: Members
Posts: 135
Joined: 27-June 05
From: Prague, Czech Republic, Europe
Member No.: 7,468



QUOTE(BerndS @ May 12 2009, 07:46 PM) *
Now I want to create my own image with some more packages -- can anybody point me to a documentation about how to do that?


Look at recipes/images. Most images consists from chain of tasks from recipes/tasks, ant these task recipes may contain another tasks or package recipes.

Why you need a special image? Isn't installation of a standard and installation of needed packages from feeds sufficient for you? Using standard image makes possible problems simpler to reproduce.
Go to the top of the page
 
+Quote Post
BerndS
post May 13 2009, 10:47 AM
Post #3





Group: Members
Posts: 66
Joined: 26-September 04
Member No.: 4,770



Hi,

QUOTE(utx @ May 12 2009, 09:36 PM) *
Look at recipes/images. Most images consists from chain of tasks from recipes/tasks, ant these task recipes may contain another tasks or package recipes.


Hmm, what I did until now is:

create a new description in the image directory

cp packages/images/opie-image.bb packages/images/my-opie-image.bb

In my-opie-image.bb I added "task-my-opie" to the IMAGE_INSTALL variable:

IMAGE_INSTALL = "task-base-extended task-opie-base task-opie-base-applets \
task-opie-base-inputmethods task-opie-base-apps \
task-opie-base-settings task-opie-base-decorations \
task-opie-base-styles task-opie-base-pim \
task-opie-extra-settings \
task-opie-bluetooth task-opie-irda \
task-my-opie"

Then I created the task file task-my-opie.task:

$ cat packages/tasks/task-my-opie.bb
DESCRIPTION = "My Tasks for OPIE"
SECTION = "opie/base"
LICENSE = "MIT"

PR = "r12"

inherit task

PROVIDES = "task-my-opie"

PACKAGES = "opie-tetrix opie-solitaire opie-sheet opie-rdesktop \
opie-notes opie-notesapplet opie-keypebble opie-ftp \
opie-embeddedkonsole opie-calculator opie-write opie-zsafe \
qpdf2 opie-wellenreiter zuc \
screen \
ldd \
apache2 \
cvs \
e2fsprogs \
dosfstools \
bzip2 \
gzip \
grep \
kexec-tools \
less \
lsof \
mc \
nfs-utils \
procps \
nmap \
qpe-nmap \
rsync \
tar \
tcpdump \
glibc-localedata-de-de+euro \
tzdata-europe \
glibc-binary-localedata-de-de \
file \
util-linux-swaponoff"


RDEPENDS_task-opie-everything := "${PACKAGES}"

PACKAGES += "task-my-opie"

#
# Dependencies
#

# Recommend both landscape and portrait backgrounds
#RRECOMMENDS_task-my-opie = ""


And did a

bitbake my-opie-iamge

The result was a working image --but without my added apps ...

QUOTE
Why you need a special image? Isn't installation of a standard and installation of needed packages from feeds sufficient for you? Using standard image makes possible problems simpler to reproduce.


In principle that would be enough : I've some scripts to customize my OPIE environment after the installation (e.g. change config files & and add packages).

But unfortunately kexec-boot does not find the image on the internal ram anymore if I install all packages in one go . It does find the image on the internal ram if I install a small number of packages (about 5); reboot the Zaurus, install the next 5 packages , etc.

I don't know the reason for this behaviour (I already asked on the openembbeded mailing list but did not get a solution for the problem).

That's why I want to have a image that already contains my customizations.

regards

Bernd

Go to the top of the page
 
+Quote Post
utx
post May 13 2009, 12:27 PM
Post #4





Group: Members
Posts: 135
Joined: 27-June 05
From: Prague, Czech Republic, Europe
Member No.: 7,468



QUOTE(BerndS @ May 13 2009, 08:47 PM) *
In my-opie-image.bb I added "task-my-opie" to the IMAGE_INSTALL variable:

The result was a working image --but without my added apps ...

I guess that you need to to add task-my-opie to DEPENDS section as well. But I never customized the image.

QUOTE(BerndS @ May 13 2009, 08:47 PM) *
QUOTE
Why you need a special image? Isn't installation of a standard and installation of needed packages from feeds sufficient for you? Using standard image makes possible problems simpler to reproduce.

But unfortunately kexec-boot does not find the image on the internal ram anymore if I install all packages in one go . It does find the image on the internal ram if I install a small number of packages (about 5); reboot the Zaurus, install the next 5 packages , etc.

I don't know the reason for this behaviour (I already asked on the openembbeded mailing list but did not get a solution for the problem).

It sounds like a problem either with JFFS2 filesystem or with kexecboot. But I know nothing about these two.
Go to the top of the page
 
+Quote Post
agosine
post Jun 11 2009, 07:11 PM
Post #5





Group: Members
Posts: 123
Joined: 4-March 04
From: Toronto, Canada
Member No.: 2,156



Hello Bernd. Are you still working on compiling Opie? I am trying to find a copy of 2008.1 and it seems compiling my own is the only way. Any advice?
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jun 13 2009, 04:00 AM
Post #6





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



Build your own here (without OpenEmbedded):

http://amethyst.openembedded.net/~koen/narcissus/
Go to the top of the page
 
+Quote Post
BerndS
post Jun 13 2009, 04:31 AM
Post #7





Group: Members
Posts: 66
Joined: 26-September 04
Member No.: 4,770



Hi,

QUOTE(agosine @ Jun 12 2009, 03:11 AM) *
Hello Bernd. Are you still working on compiling Opie? I am trying to find a copy of 2008.1 and it seems compiling my own is the only way. Any advice?


yes, more or less ... Unfortunately I always get an error if I try to create a new image for 2007.12 or 2008.1. So from time to time I refresh my development tree and do a bitbake opie-image to see if it now works . Until now it did not work

But at this time I do not have the time to investigate why it does not work.

regards

Bernd
Go to the top of the page
 
+Quote Post
agosine
post Jun 15 2009, 01:09 PM
Post #8





Group: Members
Posts: 123
Joined: 4-March 04
From: Toronto, Canada
Member No.: 2,156



QUOTE(Capn_Fish @ Jun 13 2009, 04:00 AM) *
Build your own here (without OpenEmbedded):

http://amethyst.openembedded.net/~koen/narcissus/


I have tried it, but for some reason my Opie images always error out. Have not spent enough time trying to figure out what I am missing.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th December 2014 - 08:24 AM