* DENX ELDK Kernel
@ 2003-07-15 13:06 Brian Padalino
2003-07-15 13:21 ` Wolfgang Denk
2003-07-15 13:41 ` Jeff Kowing
0 siblings, 2 replies; 7+ messages in thread
From: Brian Padalino @ 2003-07-15 13:06 UTC (permalink / raw)
To: linuxppc-embedded
I am just getting into some embedded linux systems and thought I would go
with the DENX ELDK since it seemed like the best package out there.
Unfortunately, one of the requirements of the project is that kernel
upgradability should be easy.
I understand that DENX ELDK is always being worked on, and I have seen that
Wolfgang Denk is amazingly active in this community, so I guess my question
is -- can I use the linux-ppc kernel patches for the latest 2.4 kernels
instead of DENX's? Should this requirement of the kernel needing to be
easily upgradable to any kernel reevaluated?
BTW, the platform is very simple and will just be a PPC440GP with a gigabit
ethernet controller.
Any information or insight is very much appreciated.
Thanks a bunch.
Brian Padalino
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: DENX ELDK Kernel
2003-07-15 13:06 DENX ELDK Kernel Brian Padalino
@ 2003-07-15 13:21 ` Wolfgang Denk
2003-07-15 13:41 ` Jeff Kowing
1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2003-07-15 13:21 UTC (permalink / raw)
To: Brian Padalino; +Cc: linuxppc-embedded
Deasr Brian,
in message <DGEEIPOFGGPOACEFBGGCOEGKCAAA.bpadalino@perigee.com> you wrote:
>
> I am just getting into some embedded linux systems and thought I would
> go with the DENX ELDK since it seemed like the best package out there.
> Unfortunately, one of the requirements of the project is that kernel
> upgradability should be easy.
>
> I understand that DENX ELDK is always being worked on, and I have
> seen that Wolfgang Denk is amazingly active in this community, so I
> guess my question is -- can I use the linux-ppc kernel patches for the
> latest 2.4 kernels instead of DENX's? Should this requirement of the
> kernel needing to be easily upgradable to any kernel reevaluated?
Short answer: yes, you can. There is no problem.
The development tools and the kernel are more or less independend of
each other (*).
For you that means: you don't have to use the Linux kernel version
that comes included with the ELDK, but you can use any other kernel
tree instead.
> BTW, the platform is very simple and will just be a PPC440GP with a
> gigabit ethernet controller.
Actually, the kernel included with the current release of the ELDK
(kernel version 2.4.4) is pretty old and _not_ suitable for a 4xx
processor at all - for such a CPU you should use the "official"
linuxppc_2_4_devel tree instead (**).
(*) There may be problems if the kernel headers have changed thus
causing incompatibility with those headers used to build the
standard libraries included with the ELDK. But such incompatible
changes happen only very infrequently, and we are not aware of
any such problems with combinations of the current ELDK and the
"official" Linux source trees.
(**) You can also use the copy of the linuxppc_2_4_devel tree on our
CVS server (at the moment this is kernel version 2.4.20) which
will be the base for our next release of the ELDK.
> Any information or insight is very much appreciated.
Hope this helps.
Best regards,
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 existence of god implies a violation of causality.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread* DENX ELDK Kernel
2003-07-15 13:06 DENX ELDK Kernel Brian Padalino
2003-07-15 13:21 ` Wolfgang Denk
@ 2003-07-15 13:41 ` Jeff Kowing
2003-07-15 13:51 ` Wolfgang Denk
1 sibling, 1 reply; 7+ messages in thread
From: Jeff Kowing @ 2003-07-15 13:41 UTC (permalink / raw)
To: Brian Padalino; +Cc: linuxppc-embedded
Brian Padalino writes:
> I understand that DENX ELDK is always being worked on, and I have seen that
> Wolfgang Denk is amazingly active in this community, so I guess my question
He's a mythological figure! I think he is really secretly several
people working as one incredible unit of productivity.
> is -- can I use the linux-ppc kernel patches for the latest 2.4 kernels
> instead of DENX's? Should this requirement of the kernel needing to be
> easily upgradable to any kernel reevaluated?
Others are more qualified to answer this than me, but, heck, that
never stopped me before! Basically, the answer is yes - at least I
have been using the ELDK with a linux-2.4.20 kernel (from kernel.org).
The key point to remember is that you should always compile user
applications against the Linux include files that glibc (and all the
rest of the target ELDK apps) are built against - Do NOT compile your
user applications against the newer Linux kernel.
Regards,
Jeff
--
Jeff Kowing <jeffrey.d.kowing@nasa.gov>
All opinions expressed are my own and not of my employer.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: DENX ELDK Kernel
2003-07-15 13:41 ` Jeff Kowing
@ 2003-07-15 13:51 ` Wolfgang Denk
2003-07-15 14:01 ` Steven Scholz
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Denk @ 2003-07-15 13:51 UTC (permalink / raw)
To: jeffrey.d.kowing; +Cc: Brian Padalino, linuxppc-embedded
Dear Jeff,
in message <16148.1141.101138.214108@igor.jsc.nasa.gov> you wrote:
>
> He's a mythological figure! I think he is really secretly several
> people working as one incredible unit of productivity.
No, really, it's just me. And I'm still trying to figure out how the
clone() system call could be used for real-life applications :-)
> never stopped me before! Basically, the answer is yes - at least I
> have been using the ELDK with a linux-2.4.20 kernel (from kernel.org).
> The key point to remember is that you should always compile user
> applications against the Linux include files that glibc (and all the
> rest of the target ELDK apps) are built against - Do NOT compile your
> user applications against the newer Linux kernel.
10 of 10 points :-)
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
"Where shall I begin, please your Majesty?" he asked. "Begin at the
beginning," the King said, gravely, "and go on till you come to the
end: then stop." - Alice's Adventures in Wonderland, Lewis Carroll
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: DENX ELDK Kernel
2003-07-15 13:51 ` Wolfgang Denk
@ 2003-07-15 14:01 ` Steven Scholz
2003-07-15 14:16 ` Wolfgang Denk
2003-07-15 15:08 ` Jeff Kowing
0 siblings, 2 replies; 7+ messages in thread
From: Steven Scholz @ 2003-07-15 14:01 UTC (permalink / raw)
To: linuxppc-embedded
Wolfgang Denk wrote:
>>never stopped me before! Basically, the answer is yes - at least I
>>have been using the ELDK with a linux-2.4.20 kernel (from kernel.org).
>>The key point to remember is that you should always compile user
>>applications against the Linux include files that glibc (and all the
>>rest of the target ELDK apps) are built against - Do NOT compile your
>>user applications against the newer Linux kernel.
>
>
> 10 of 10 points :-)
Stupid question (TM):
If I'd built the ELDK from scratch and used Linux-2.4.20 include files
to build "glibc (and all the rest of the target ELDK apps)" I should
build my "applications against the newer Linux kernel"! Shouldn't I?
And in general: shouldn't I used a glibc that "matches" the kernel
version?
Thanks,
Steven
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: DENX ELDK Kernel
2003-07-15 14:01 ` Steven Scholz
@ 2003-07-15 14:16 ` Wolfgang Denk
2003-07-15 15:08 ` Jeff Kowing
1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2003-07-15 14:16 UTC (permalink / raw)
To: Steven Scholz; +Cc: linuxppc-embedded
In message <3F140928.60403@imc-berlin.de> you wrote:
>
> If I'd built the ELDK from scratch and used Linux-2.4.20 include files
> to build "glibc (and all the rest of the target ELDK apps)" I should
> build my "applications against the newer Linux kernel"! Shouldn't I?
Yes.
> And in general: shouldn't I used a glibc that "matches" the kernel
> version?
If you want to be absolutely safe, yes. But so far we have not seen
any real problems when - for example - running the 2.4.4 built libs
and tools on a 2.4.20+ kernel.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
God may be subtle, but He isn't plain mean. - Albert Einstein
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: DENX ELDK Kernel
2003-07-15 14:01 ` Steven Scholz
2003-07-15 14:16 ` Wolfgang Denk
@ 2003-07-15 15:08 ` Jeff Kowing
1 sibling, 0 replies; 7+ messages in thread
From: Jeff Kowing @ 2003-07-15 15:08 UTC (permalink / raw)
To: Steven Scholz; +Cc: linuxppc-embedded
> 10 of 10 points :-)
I'm on a role, so I'll try again against my better judgement.
Steven Scholz writes:
> If I'd built the ELDK from scratch and used Linux-2.4.20 include files
> to build "glibc (and all the rest of the target ELDK apps)" I should
> build my "applications against the newer Linux kernel"! Shouldn't I?
Yes, you are correct. The rule is to always build user space
applications against the same Linux include files that were used to
build glibc.
If, on the other hand, you are compiling a kernel module, then you
need to build it against the actual Linux kernel version you are
running.
>
> And in general: shouldn't I used a glibc that "matches" the kernel
> version?
I think that is the "safest" way of doing things, but apparently not
usually necessary. People upgrade their kernels all the time on their
native platforms without rebuilding their glibc. I believe some effort
is made to maintain binary compatiblity between glibc and the kernel -
but I'm sure it is not guaranteed.
Regards,
Jeff
--
Jeff Kowing <jeffrey.d.kowing@nasa.gov>
All opinions expressed are my own and not of my employer.
** 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:[~2003-07-15 15:08 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-15 13:06 DENX ELDK Kernel Brian Padalino
2003-07-15 13:21 ` Wolfgang Denk
2003-07-15 13:41 ` Jeff Kowing
2003-07-15 13:51 ` Wolfgang Denk
2003-07-15 14:01 ` Steven Scholz
2003-07-15 14:16 ` Wolfgang Denk
2003-07-15 15:08 ` Jeff Kowing
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).