Haitham Al-Saif | 1 Jun 2009 11:13
Picon

building busybox with ELDK

Hi I want to build a root file system for embedded Linux running on the
powerpc440 of Virtex-5 FX30T using busybox. I'm using ELDK 4.1 with Colinux
fedora core 5. can anyone please tell me how I can build busybox with ELDK.
I have successfully  cross compiled a Linux kernel for the powerpc440 and
used the root file system of ELDK ppc_4xx. It worked fine, now I'm trying to
make a customized root file system from busybox.  I would appreciate any
help.. thanks in advance

Wolfgang Denk | 1 Jun 2009 20:36
Picon
Picon
Favicon

building busybox with ELDK

Dear Haitham Al-Saif,

In message <e1dfadff0906010213p16b88b1ar65347101e309b771 at mail.gmail.com> you wrote:
>
> Hi I want to build a root file system for embedded Linux running on the
> powerpc440 of Virtex-5 FX30T using busybox. I'm using ELDK 4.1 with Colinux
> fedora core 5. can anyone please tell me how I can build busybox with ELDK.

You may want to read the documentation - see for example
http://www.denx.de/wiki/view/DULG/ELDKRebuildingComponents#Section_3.8.2.

> I have successfully  cross compiled a Linux kernel for the powerpc440 and
> used the root file system of ELDK ppc_4xx. It worked fine, now I'm trying to
> make a customized root file system from busybox.  I would appreciate any
> help.. thanks in advance

You may want to read the documentation - see for example
http://www.denx.de/wiki/view/DULG/RootFileSystemDesignAndBuilding
and
http://www.denx.de/wiki/view/DULG/HowToAddFiles

Best regards,

Wolfgang Denk

--

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I'm what passes for a Unix guru in my office. This is  a  frightening
(Continue reading)

Wolfgang Denk | 1 Jun 2009 23:54
Picon
Picon
Favicon

Problems in kernel init while using busybox on ELDK 4.2

Dear Diptopal Basu,

In message <bd97640b0905300619w377c8eacs43cfc16cc2cb65e1 at mail.gmail.com> you wrote:
>
> 1. A simple root-fs like that does not work with ELDK 4.2
> init is just an infinite loop :
> #include <stdio.h>
> #include <stdlib.h>
> #include <unistd.h>
> int main (int ac, char **av)
> {
>        while (1) {
>                printf ("coucou coucou coucou\n");
>                sleep (1);
>        }
>        return (0);
> }
> CPIO file is attached.

OK.

> Works fine if init program is compiled with 4.1:
> 
> input: AT Raw Set 2 keyboard as /class/input/input0
> input: ImExPS/2 Generic Explorer Mouse as /class/input/input1
> coucou coucou coucou
> coucou coucou coucou
> ..
> Crash if init is compiled with 4.2:
> 
(Continue reading)

Markus Klotzbuecher | 2 Jun 2009 09:45
Picon
Picon
Favicon

Questions wrt embedded web server

On Fri, May 29, 2009 at 01:47:25AM +0200, Frank Mayer wrote:

> was about 1.2 MB. Still I wouldn't recommend making extensive usage of perl on 
> an embedded platform for various reasons, especially the performance overhead 
> that comes with an interpreted language.

That depends on what you are doing. There are good reasons for making
extensive use of interpreted languages on embedded platforms. For
instance robustness and reliability, only to name two.

Best regards
Markus

--

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de")

Jeff Hane | 4 Jun 2009 21:06
Favicon

ELDK 4.2, fedora 10, libdw fails w/redefinition error

Has anybody else see this problem?  This happens when using gcc 4.3 but
does not happen with gcc 4.2

thanks,
jeff

make[4]: Leaving directory
`/export/home/jhane/project/eldk/build/ppc-2009-06-04/cross_rpms/rpm/BUILD/rpm-4.4.2/elfutils/libdwfl'
Making all in libdw
.
.
.
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DIS_LIBDW -I. -I.. -I. -I.
-I./../libelf -I.. -I./../lib   -fpic -Wall  -Wshadow -Wunused
-Wformat=2 -Wextra -std=gnu99 -O2 -g -march=i386 -mcpu=i686 -fexceptions
-MT dwarf_hasform.o -M
D -MP -MF .deps/dwarf_hasform.Tpo -c -o dwarf_hasform.o dwarf_hasform.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
mv -f .deps/dwarf_hasform.Tpo .deps/dwarf_hasform.Po
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DIS_LIBDW -I. -I.. -I. -I.
-I./../libelf -I.. -I./../lib   -fpic -Wall  -Wshadow -Wunused
-Wformat=2 -Wextra -std=gnu99 -O2 -g -march=i386 -mcpu=i686 -fexceptions
-MT dwarf_whatform.o -
MD -MP -MF .deps/dwarf_whatform.Tpo -c -o dwarf_whatform.o
dwarf_whatform.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
dwarf_whatform.c:60: error: redefinition of 'dwarf_whatform'
./libdw.h:636: error: previous definition of 'dwarf_whatform' was here
make[4]: *** [dwarf_whatform.o] Error 1
make[4]: Leaving directory
(Continue reading)

Wolfgang Denk | 4 Jun 2009 22:53
Picon
Picon
Favicon

ELDK 4.2, fedora 10, libdw fails w/redefinition error

Dear Jeff Hane,

In message <1244142404.15646.54.camel at qu102.quarc.com> you wrote:
> Has anybody else see this problem?  This happens when using gcc 4.3 but
> does not happen with gcc 4.2

What exactly are you trying to do? Rebuilding the ELDk from scratch?
Running in a recent Linux distribution (i. e. not using the "official"
RH-7.3 based build environment) ?

Best regards,

Wolfgang Denk

--

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There are bugs and then there are bugs.  And then there are bugs.
                                                    - Karl Lehenbauer

Jeff Hane | 6 Jun 2009 01:44
Favicon

ELDK 4.2, fedora 10, libdw fails w/redefinition error

Hello,

 Yes, I am trying to build the ELDK from scratch on a new fedora 10
install.  However, after doing some more searching I found a patch for
version 128 of elfutils which fixes this gcc problem. I've now made it
to target 32(module-init-tools) before failing again.  Just wanted to
see how well things worked on fc10 but we are going to try to RH vm
also.

thanks,
jeff

On Thu, 2009-06-04 at 13:53 -0700, Wolfgang Denk wrote:
> Dear Jeff Hane,
> 
> In message <1244142404.15646.54.camel at qu102.quarc.com> you wrote:
> > Has anybody else see this problem?  This happens when using gcc 4.3 but
> > does not happen with gcc 4.2
> 
> What exactly are you trying to do? Rebuilding the ELDk from scratch?
> Running in a recent Linux distribution (i. e. not using the "official"
> RH-7.3 based build environment) ?
> 
> Best regards,
> 
> Wolfgang Denk
> 

Wolfgang Denk | 6 Jun 2009 14:37
Picon
Picon
Favicon

ELDK 4.2, fedora 10, libdw fails w/redefinition error

Dear Jeff,

In message <1244245461.18212.10.camel at qu102.quarc.com> you wrote:
> 
>  Yes, I am trying to build the ELDK from scratch on a new fedora 10
> install.  However, after doing some more searching I found a patch for
> version 128 of elfutils which fixes this gcc problem. I've now made it
> to target 32(module-init-tools) before failing again.  Just wanted to
> see how well things worked on fc10 but we are going to try to RH vm
> also.

If you have any such patches, please post them here (or send them
directly to me) so we can add them to the repository.

Thanks in advance.

Best regards,

Wolfgang Denk

--

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If I don't document something, it's usually either for a good reason,
or a bad reason.  In this case it's a good reason.  :-)
                 - Larry Wall in <1992Jan17.005405.16806 at netlabs.com>

Jeff Hane | 8 Jun 2009 22:35
Favicon

patch for elfutils when using gcc 4.3

This patch fixes the problem when trying to compile elfutils with gcc
4.3.  I added it as patch55 in cross_rpms/rpm/SPECS/rpm.spec

cheers,
jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: elfutils-inline.patch
Type: text/x-patch
Size: 3747 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/eldk/attachments/20090608/a5c3a112/attachment.bin 

Muehlebach Stefan | 10 Jun 2009 17:53

errors installing ELDK4.2 on Ubuntu 6.06 dapper drake

Hello,

when installing ELDK for ppc_6xx on Ubuntu 6.06 dapper drake I get the
following error messages....

# mount -o loop -t iso9660 ppc-2008-04-01_freescale.iso /mnt/eldk

# ./install -d /opt/eldk/4.2/ ppc_6xx

.........

Installing ppc_6xx target RPMs

Preparing...                ###########################################
[100%]

   1:kernel-headers-ppc-ppc_###########################################
[100%]

Preparing...                ###########################################
[100%]

   1:kernel-source-ppc_6xx  ###########################################
[100%]

Configuring kernel...

scripts/basic/fixdep.c:107:23: error: sys/types.h: No such file or
directory

(Continue reading)


Gmane