From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.228]) by ozlabs.org (Postfix) with ESMTP id 474CCDDEB6 for ; Wed, 20 Feb 2008 01:42:18 +1100 (EST) Received: by wx-out-0506.google.com with SMTP id h27so2268480wxd.15 for ; Tue, 19 Feb 2008 06:42:16 -0800 (PST) Message-ID: Date: Tue, 19 Feb 2008 14:42:16 +0000 From: "maxime louvel" To: "Jon Loeliger" Subject: Re: 2.6.24 for mpc8458amc In-Reply-To: <47BAE6B3.7090000@freescale.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9486_24828131.1203432136184" References: <47BAE6B3.7090000@freescale.com> Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_9486_24828131.1203432136184 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks for your answer, I am going to check this ppc / powerpc things. I should use the architecture powerpc, don't I? I'm not really sure I have understand what do you want to do with a BDI-2000. I access the cards through a serial line directly. cheers, Maxime On Feb 19, 2008 2:24 PM, Jon Loeliger wrote: > maxime louvel wrote: > > Hi, > > > > I am trying to make a 2.6.24 vanilla kernel boot (an work fine in a > > second time) on a mpc8548amc board. > > I have add the platform specific stuff from the sources of the current > > kernel running on the cards. > > What I have basically add is: > > - a folder mpc8548amc, in the config/platform directory, which allow to > > select the mpc8548amc as the supported platform > > - add the following files: > > - arch/ppc/configs/mpc8548amc_defconfig > > - arch/ppc/configs/platforms/85xx/mpc_8548_amc.h and .c > > - I have used the dts of an another platform (mpc8548cds) which seems > > quite the same, but I haven't got any confirmation of that yet. > > Uh, let's clear up minor confusion here. Are you using > ARCH=ppc or ARCH=powerpc? I'm surprised to see that there > is mention of arch/ppc/... above. Are you sure this is an > ARCH=ppc build? You won't need a DTS file at all then. > > But if you are using a DTS file, and I suspect you should, > then this is ARCH=powerpc. > > > When I am booting the kernel image I get: > > > > AMC=> dhcp 0x1000000 uImage.amc.2.6.24 > > Speed: 1000, full duplex > > BOOTP broadcast 1 > > DHCP client bound to address 10.255.255.2 > > Using eTSEC0 device > > TFTP from server 0.0.0.0 ; our IP address is > > 10.255.255.2 ; sending through gateway 10.1.1.1 > > > > Filename 'uImage.amc.2.6.24'. > > Load address: 0x1000000 > > Loading: ############################## > > ################################### > > > ################################################################# > > > ################################################################# > > > ################################################################# > > > ################################################################# > > ########################### > > done > > Bytes transferred = 1802102 (1b7f76 hex) > > AMC=> bootm 0x1000000 > > ## Booting image at 01000000 ... > > Image Name: Linux-2.6.24 > > Image Type: PowerPC Linux Kernel Image (gzip compressed) > > Data Size: 1802038 Bytes = 1.7 MB > > Load Address: 00000000 > > Entry Point: 00000000 > > Verifying Checksum ... OK > > Uncompressing Kernel Image ... OK > > > > No further messages... > > > > Does someone has an idea ? > > > > thanks, > > Maxime > > > > Did you download a DTB file and use it on the bootm > command? Nope. > > This is really a FAQ failure mode. Are you sure > you have the console set up properly? Any chance > you can get to the __log_buf with a BDI-2000? > > Thanks, > jdl > -- Maxime Louvel 0044 7964 5555 80 43 Allen road Whitemore reans WV60AW Wolverhampton United Kingdom ------=_Part_9486_24828131.1203432136184 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks for your answer,

I am going to check this ppc / powerpc things.
I should use the architecture powerpc, don't I?

I'm not really sure I have understand what do you want to do with a BDI-2000.
I access the cards through a serial line directly.

cheers,
Maxime

On Feb 19, 2008 2:24 PM, Jon Loeliger <jdl@freescale.com> wrote:
maxime louvel wrote:
> Hi,
>
> I am trying to make a 2.6.24 vanilla kernel boot (an work fine in a
> second time) on a mpc8548amc board.
> I have add the platform specific stuff from the sources of the current
> kernel running on the cards.
> What I have basically add is:
> - a folder mpc8548amc, in the config/platform directory, which allow to
> select the mpc8548amc as the supported platform
> - add the following files:
>   - arch/ppc/configs/mpc8548amc_defconfig
>   - arch/ppc/configs/platforms/85xx/mpc_8548_amc.h and .c
> - I have used the dts of an another platform (mpc8548cds) which seems
> quite the same, but I haven't got any confirmation of that yet.

Uh, let's clear up minor confusion here.  Are you using
ARCH=ppc or ARCH=powerpc?  I'm surprised to see that there
is mention of arch/ppc/... above.  Are you sure this is an
ARCH=ppc build?  You won't need a DTS file at all then.

But if you are using a DTS file, and I suspect you should,
then this is ARCH=powerpc.

> When I am booting the kernel image I get:
>
> AMC=> dhcp 0x1000000 uImage.amc.2.6.24
> Speed: 1000, full duplex
> BOOTP broadcast 1
> DHCP client bound to address 10.255.255.2 <http://10.255.255.2/>
> Using eTSEC0 device
> TFTP from server 0.0.0.0 <http://0.0.0.0/>; our IP address is
> 10.255.255.2 <http://10.255.255.2/>; sending through gateway 10.1.1.1
> <http://10.1.1.1/>
> Filename 'uImage.amc.2.6.24'.
> Load address: 0x1000000
> Loading: ##############################
> ###################################
>         #################################################################
>         #################################################################
>         #################################################################
>         #################################################################
>         ###########################
> done
> Bytes transferred = 1802102 (1b7f76 hex)
> AMC=> bootm 0x1000000
> ## Booting image at 01000000 ...
>   Image Name:   Linux-2.6.24
>   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>   Data Size:    1802038 Bytes =  1.7 MB
>   Load Address: 00000000
>   Entry Point:  00000000
>   Verifying Checksum ... OK
>   Uncompressing Kernel Image ... OK
>
> No further messages...
>
> Does someone has an idea ?
>
> thanks,
> Maxime
>

Did you download a DTB file and use it on the bootm
command?  Nope.

This is really a FAQ failure mode.  Are you sure
you have the console set up properly?  Any chance
you can get to the __log_buf with a BDI-2000?

Thanks,
jdl



--
Maxime Louvel
0044 7964 5555 80
43 Allen road
Whitemore reans
WV60AW Wolverhampton
United Kingdom ------=_Part_9486_24828131.1203432136184--