[ELDK] ELDK Linux 2.6.29, MPC885ADS and early console
Wolfgang Denk
wd at denx.de
Thu Apr 16 12:36:22 CEST 2009
Dear Sylvain ANDRE,
please do not top post;
please do not full quote;
please do not post HTML - post plain text only.
Please read http://www.netmeister.org/news/learn2quote.html
In message <49E6E298.7040404 at assystem.com> you wrote:
>
> * *Maybe you forgot to power on?*
>
> ok I tought Linux ELDK was a community not a way to laugh about people ?
I don't laugh about you. I gave you one possible explanation for the
effect you described - one that was as likely as any other one given
the fact that you did not provide any useful information.
You might want to read http://catb.org/esr/faqs/smart-questions.html
> * *Sorry, but you did not give any details, like which exact
> software versions (U-Boot and Linux, whiche xact git commit ID)
> you are using,*
>
> I already put some information but here they are again :
> - U-Boot 1.3.4
> - Linux 2.6.29 rc7 fec6c6fec3e20637bee5d276fb61dd8b49a3f9cc
You did not mention this before.
> To configure the kernel :
> make ARCH=powerpc xconfig
You enable a lot of stuff in your config that is either not necessary
or even dangerous. For example, to get a system running I would not
play wiuth things like CONFIG_ADVANCED_OPTIONS, CONFIG_PIN_TLB and
things like that.
I recommend you start with a known to be working configuration, i.e.
please run:
make ARCH=powerpc mrproper
make ARCH=powerpc mpc885_ads_defconfig
> To compile :
> PATH=$PATH:/opt/eldk/usr/bin:/opt/eldk/bin
> export CROSS_COMPILE=ppc_8xx-
> make ARCH=powerpc uImage
OK.
> ****how you build the device tree blob****
>
> Compile FDT (see below pls) with DTC v1.2.0:
> ./dtc -b 0 -V17 -p 0x1000 -I dts -O dtb ./mpc885ads.dts >
> /tftpboot/mpc885.dtb
Your device tree contains a number of differences compared to what is
in the current kernel tree:
--- arch/powerpc/boot/dts/mpc885ads.dts 2009-04-11 22:45:36.657750803 +0200
+++ /tmp/mpc885.dts 2009-04-16 12:26:22.742552047 +0200
@@ -29,9 +29,9 @@
i-cache-line-size = <16>;
d-cache-size = <8192>;
i-cache-size = <8192>;
- timebase-frequency = <0>;
- bus-frequency = <0>;
- clock-frequency = <0>;
+ timebase-frequency = <80000000>;
+ bus-frequency = <40000000>;
+ clock-frequency = <80000000>;
interrupts = <15 2>; // decrementer interrupt
interrupt-parent = <&PIC>;
};
@@ -39,7 +39,7 @@
memory {
device_type = "memory";
- reg = <0x0 0x0>;
+ reg = <0x00000000 0x2800000>;
};
localbus at ff000100 {
@@ -75,7 +75,8 @@
ranges = <0x0 0xff000000 0x4000>;
bus-frequency = <0>;
- // Temporary -- will go away once kernel uses ranges for get_immrbase().
+ // Temporary -- will go away once kernel uses ranges for
+get_immrbase().
reg = <0xff000000 0x4000>;
mdio at e00 {
I recommend to use the device tree as included with the Linux kernel
tree. To compile it, it is sufficient to run:
make ARCH=powerpc mpc885ads.dtb
> bootargs=root=/dev/rd/0 console=ttyCPM0 init=/linuxrc rw mem=40M
For testing I recommend not to interfere with the default settings,
i. e. omit the "mem=" argument.
> * ********which root file system you are using, etc. etc. ********
>
> I tried to boot with a ramdisk and busybox but the result is the same.********
Busybox is not a root file system, so your statement makes actually
little sense.
Are you sure you have the needed device nodes included in your root
file system?
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
Don't you know anything? I should have thought anyone knows that who
knows anything about anything... - Terry Pratchett, _Soul Music_
More information about the eldk
mailing list