* kernel.org's kernel: building and root file system
@ 2005-10-06 4:53 KokHow Teh
2005-10-06 5:57 ` Johannes Geissel
2005-10-06 7:26 ` Wolfgang Denk
0 siblings, 2 replies; 3+ messages in thread
From: KokHow Teh @ 2005-10-06 4:53 UTC (permalink / raw)
To: Vitaly Bordug <vbordug; +Cc: linuxppc-embedded list <linuxppc-embedded
Hi;
I am new to this and I have some questions of "what's next?" after
having downloaded the latest kernel from kernel.org:
(1) Since I am going to build the kernel for PPC platform and
architecture, running `make xconfig` won't bring up the right set of
configurations for your target but the default which is a generic X86
architecture and platform. What is the usual step so that I will have the
configuration set for my target? I think of 2:
(i) copy arch/ppc/configs/<foo>_defconfig to $SRC_BASE/.config; `make
xconfig`
(ii) `make xconfig`; and inside the X-window, open the
arch/ppc/configs/<foo>_defconfig and save it for your architecture.
I tried (ii) but after having opened the <foo>_defconfig, it is not
reflected at all in the X-window. It is still showing the default
configurations.
(2) Ok, you have the kernel running on your PPC target. How about the
root file system? Where and how can I have/build a generic root file system
that works with kernels running from kernel.org?
(3) Toolchain. What cross-toolchain is generally used to build the kernel
for your target? For PPC, I come across this
http://penguinppc.org/dev/crosstool.php... Is that popularly used to build
kernel from kernel.org for PPC architecture and platform?
Thanks for any comment and insight.
Regards,
TEH
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: kernel.org's kernel: building and root file system
2005-10-06 4:53 kernel.org's kernel: building and root file system KokHow Teh
@ 2005-10-06 5:57 ` Johannes Geissel
2005-10-06 7:26 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Johannes Geissel @ 2005-10-06 5:57 UTC (permalink / raw)
To: linuxppc-embedded
Am Donnerstag, 6. Oktober 2005 06:53 schrieb KokHow Teh:
> Hi;
> I am new to this and I have some questions of "what's next?" after
> having downloaded the latest kernel from kernel.org:
>
> (1) Since I am going to build the kernel for PPC platform and
> architecture, running `make xconfig` won't bring up the right set of
> configurations for your target but the default which is a generic X86
> architecture and platform. What is the usual step so that I will have the
> configuration set for my target? I think of 2:
>
> (i) copy arch/ppc/configs/<foo>_defconfig to $SRC_BASE/.config; `make
> xconfig`
Don't copy anything, just do a make <foo>_config. Before that you have
to do export CROSS_COMPILE=ppc_xxx-
> (ii) `make xconfig`; and inside the X-window, open the
> arch/ppc/configs/<foo>_defconfig and save it for your architecture.
>
> I tried (ii) but after having opened the <foo>_defconfig, it is not
> reflected at all in the X-window. It is still showing the default
> configurations.
>
> (2) Ok, you have the kernel running on your PPC target. How about the
> root file system? Where and how can I have/build a generic root file system
> that works with kernels running from kernel.org?
>
> (3) Toolchain. What cross-toolchain is generally used to build the kernel
> for your target? For PPC, I come across this
> http://penguinppc.org/dev/crosstool.php... Is that popularly used to build
> kernel from kernel.org for PPC architecture and platform?
I'm using ELDK from www.denx.de and also a linuxppc_2_4_devel kernel
from there.
>
> Thanks for any comment and insight.
>
> Regards,
> TEH
>
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel.org's kernel: building and root file system
2005-10-06 4:53 kernel.org's kernel: building and root file system KokHow Teh
2005-10-06 5:57 ` Johannes Geissel
@ 2005-10-06 7:26 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2005-10-06 7:26 UTC (permalink / raw)
To: KokHow Teh; +Cc: linuxppc-embedded list <linuxppc-embedded
In message <OFAF025B3B.4E7DEDE8-ON48257092.0018E543@uk.marconicomms.com> you wrote:
>
> I am new to this and I have some questions of "what's next?" after
> having downloaded the latest kernel from kernel.org:
Have a look at the DULG - http://www.denx.de/twiki/bin/view/DULG/Manual
It covers most of your questions.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Harrison's Postulate:
For every action, there is an equal and opposite criticism.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-10-06 7:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-06 4:53 kernel.org's kernel: building and root file system KokHow Teh
2005-10-06 5:57 ` Johannes Geissel
2005-10-06 7:26 ` 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).