linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* dynamically linked Init hanging
@ 2001-10-16 17:55 Borracini Evandro-R45188
  2001-10-16 18:58 ` Wolfgang Denk
  0 siblings, 1 reply; 7+ messages in thread
From: Borracini Evandro-R45188 @ 2001-10-16 17:55 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


Hello,

I have been booting my FADS860T board using Denx 2.4.4 kernel and Monta Vista CDK as NFS root file system. It works ok.

Now, I would like to use a PowerPC based machine running LinuxPPC as host in order to use the native gcc, libs, and the application binaries instead of cross-compiling those.

I created a /opt/target directory to be exported as NFS and then I copied the libs and applications from the /lib, /bin and /sbin directories of the host to the /opt/target/lib,bin,sbin directories.

The Kernel is booting ok but the boot process is hanging on Init process.
I gess the problem is on glibc, because I tried using a statically linked Init and I got some progress (actually, the problems was postponed to the moment when the init scripts tries to run any application).

Does any one know if glibc-2.1.3 from Linux/PPC 2000 Q4 can be used on a MPC860 target?
If yes. Does any ones have any clue?

Thanks in advance and regards

Evandro


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: dynamically linked Init hanging
  2001-10-16 17:55 dynamically linked Init hanging Borracini Evandro-R45188
@ 2001-10-16 18:58 ` Wolfgang Denk
  0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2001-10-16 18:58 UTC (permalink / raw)
  To: Borracini Evandro-R45188; +Cc: 'linuxppc-embedded@lists.linuxppc.org'


In message <69AB2E42243FD511920200805FE64EAD0E3611@ZBR01EXM01> you wrote:
>
> Does any one know if glibc-2.1.3 from Linux/PPC 2000 Q4 can be used on a MPC860 target?

No, it cannot.

The MPC8xx has no FPU, and a smaller cache line size.

You need special libraries (with software floating point and  patches
for the cache line size) for the MPC8xx.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
A supercomputer is a machine that runs an endless loop in 2 seconds.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: dynamically linked Init hanging
@ 2001-10-16 19:59 Borracini Evandro-R45188
  2001-10-16 21:12 ` Wolfgang Denk
  0 siblings, 1 reply; 7+ messages in thread
From: Borracini Evandro-R45188 @ 2001-10-16 19:59 UTC (permalink / raw)
  To: 'Wolfgang Denk'; +Cc: linuxppc-embedded


Wolfgang wrote:
>No, it cannot.
>
>The MPC8xx has no FPU, and a smaller cache line size.
>
>You need special libraries (with software floating point and  patches
>for the cache line size) for the MPC8xx.

That means that I need to rebuild all my glibc and gcc for the MPC8xx, right ?

And if I rebuild only the libraries of my /opt/target/lib directory and keep my hosts gcc/glibc configured for FPU and 32 cache line size. Do you think that I would be able to compile applications on host and run on target? I am asking that because I would like to have only one gcc/libc tools set on my host.

Thanks for you usual help and best regards

Evandro

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: dynamically linked Init hanging
  2001-10-16 19:59 dynamically linked Init hanging Borracini Evandro-R45188
@ 2001-10-16 21:12 ` Wolfgang Denk
  2001-10-16 21:18   ` Adam Wozniak
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Denk @ 2001-10-16 21:12 UTC (permalink / raw)
  To: Borracini Evandro-R45188; +Cc: linuxppc-embedded


In message <69AB2E42243FD511920200805FE64EAD0E3616@ZBR01EXM01> you wrote:
>
> That means that I need to rebuild all my glibc and gcc for the MPC8xx, right ?

You need to rebuild all libraries and target applications for the 8xx
(patching glibc for the cache line size, forcing soft-float  for  all
libs  and  apps);  there is no need to rebuild a native PowerPC GCC -
but make sure you use the correct options when compiling 8xx files.

> And if I rebuild only the libraries of my /opt/target/lib directory
> and keep my hosts gcc/glibc configured for FPU and 32 cache line
> size. Do you think that I would be able to compile applications on
> host and run on target? I am asking that because I would like to have
> only one gcc/libc tools set on my host.

You will need a target version of the C library.

BTW: see also the Embedded PPC HOWTO.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
The use of Microsoft crippleware systems is a sin that  carries  with
it its own punishment.
         -- Tom Christiansen in <6bo3fr$pj8$5@csnews.cs.colorado.edu>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: dynamically linked Init hanging
  2001-10-16 21:12 ` Wolfgang Denk
@ 2001-10-16 21:18   ` Adam Wozniak
  2001-10-16 21:29     ` Wolfgang Denk
  0 siblings, 1 reply; 7+ messages in thread
From: Adam Wozniak @ 2001-10-16 21:18 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: Borracini Evandro-R45188, linuxppc-embedded


Wolfgang Denk wrote:
>
> (patching glibc for the cache line size

I've never heard of this one before.  Is it in the FAQ?

--Adam
--
Adam Wozniak (KG6GZR)   COM DEV Wireless - Digital and Software Systems
awozniak@comdev.cc      3450 Broad St. 107, San Luis Obispo, CA 93401
                        http://www.comdev.cc
                        Voice: (805) 544-1089       Fax: (805) 544-2055

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: dynamically linked Init hanging
  2001-10-16 21:18   ` Adam Wozniak
@ 2001-10-16 21:29     ` Wolfgang Denk
       [not found]       ` <3BCCABA6.3ECB3BF4@comdev.cc>
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Denk @ 2001-10-16 21:29 UTC (permalink / raw)
  To: Adam Wozniak; +Cc: Borracini Evandro-R45188, linuxppc-embedded


In message <3BCCA40D.40AB5016@comdev.cc> you wrote:
>
> > (patching glibc for the cache line size
>
> I've never heard of this one before.  Is it in the FAQ?

Of course. Didn't you find it? Just search for "cache" ;-)

See http://penguinppc.org/embedded/howto/library.html#GLIBC,
section 12.1. glibc:

    ...
    Some modifications are required to the official glibc-2.1.x
    releases to make them work in the embedded PowerPC environment,
    such as cache line size modifications. See
    http://lists.linuxppc.org/listarcs/linuxppc-embedded/199909/msg00000.html

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
The easiest way to figure the cost of living is to take  your  income
and add ten percent.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* IBM Walnut and Epson SDU1356B0C
       [not found]       ` <3BCCABA6.3ECB3BF4@comdev.cc>
@ 2001-11-14 10:08         ` Phil
  0 siblings, 0 replies; 7+ messages in thread
From: Phil @ 2001-11-14 10:08 UTC (permalink / raw)
  To: linuxppc-embedded


\x7f

Hi,

Does anyone try to connect an Epson SDU1356B0C PCI eval card into a
Walnut board ?
Is the "epson1356fb" driver available in the 2.4.2 kernel source tree
supposed to
work with such a board ?
Thanks.

Phil,

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-11-14 10:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-16 19:59 dynamically linked Init hanging Borracini Evandro-R45188
2001-10-16 21:12 ` Wolfgang Denk
2001-10-16 21:18   ` Adam Wozniak
2001-10-16 21:29     ` Wolfgang Denk
     [not found]       ` <3BCCABA6.3ECB3BF4@comdev.cc>
2001-11-14 10:08         ` IBM Walnut and Epson SDU1356B0C Phil
  -- strict thread matches above, loose matches on Subject: below --
2001-10-16 17:55 dynamically linked Init hanging Borracini Evandro-R45188
2001-10-16 18:58 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).