* Sequoia 440EPx patches not working
@ 2007-08-08 18:45 Jerone Young
2007-08-09 3:08 ` David Gibson
2007-08-09 12:56 ` Vitaly Bordug
0 siblings, 2 replies; 10+ messages in thread
From: Jerone Young @ 2007-08-08 18:45 UTC (permalink / raw)
To: linuxppc-dev; +Cc: vbarshark
Using the Sequoia (AMCC 440EPx) patches recently submitted to the list I
am unable to boot to fully boot a uImage built with these patches under
Uboot. It appears to hang in very early boot.
Here is the output:
=> tftp 400000 sequoia/uImage
ENET Speed is 100 Mbps - FULL duplex connection (EMAC0)
Using ppc_4xx_eth0 device
TFTP from server 9.53.41.24; our IP address is 9.53.41.38
Filename 'sequoia/uImage'.
Load address: 0x400000
Loading: #################################################################
#################################################################
#################################################################
#######################
done
Bytes transferred = 1112434 (10f972 hex)
=> bootm 400000
## Booting image at 00400000 ...
Image Name: Linux-2.6.23-rc2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1112370 Bytes = 1.1 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Sequoia 440EPx patches not working
2007-08-08 18:45 Sequoia 440EPx patches not working Jerone Young
@ 2007-08-09 3:08 ` David Gibson
2007-08-09 10:58 ` Valentine Barshak
2007-08-09 12:56 ` Vitaly Bordug
1 sibling, 1 reply; 10+ messages in thread
From: David Gibson @ 2007-08-09 3:08 UTC (permalink / raw)
To: Jerone Young; +Cc: linuxppc-dev, vbarshark
On Wed, Aug 08, 2007 at 01:45:10PM -0500, Jerone Young wrote:
> Using the Sequoia (AMCC 440EPx) patches recently submitted to the list I
> am unable to boot to fully boot a uImage built with these patches under
> Uboot. It appears to hang in very early boot.
I'm guessing this is an old version of u-boot, that's not device tree
aware. That would need a cuImage, not a uImage, and IIRC the posted
patches didn't yet have cuboot support for Sequoia.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Sequoia 440EPx patches not working
2007-08-09 3:08 ` David Gibson
@ 2007-08-09 10:58 ` Valentine Barshak
2007-08-09 13:34 ` Josh Boyer
0 siblings, 1 reply; 10+ messages in thread
From: Valentine Barshak @ 2007-08-09 10:58 UTC (permalink / raw)
To: Jerone Young, linuxppc-dev
David Gibson wrote:
> On Wed, Aug 08, 2007 at 01:45:10PM -0500, Jerone Young wrote:
>> Using the Sequoia (AMCC 440EPx) patches recently submitted to the list I
>> am unable to boot to fully boot a uImage built with these patches under
>> Uboot. It appears to hang in very early boot.
>
> I'm guessing this is an old version of u-boot, that's not device tree
> aware. That would need a cuImage, not a uImage, and IIRC the posted
> patches didn't yet have cuboot support for Sequoia.
>
The patches do have cuImage support.
I have a Sequoia board with uBoot 1.1.6 and it boots cuImage fine.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Sequoia 440EPx patches not working
2007-08-08 18:45 Sequoia 440EPx patches not working Jerone Young
2007-08-09 3:08 ` David Gibson
@ 2007-08-09 12:56 ` Vitaly Bordug
2007-08-09 13:42 ` Jerone Young
2007-08-09 14:37 ` Jerone Young
1 sibling, 2 replies; 10+ messages in thread
From: Vitaly Bordug @ 2007-08-09 12:56 UTC (permalink / raw)
To: jyoung5; +Cc: linuxppc-dev, vbarshark
On Wed, 08 Aug 2007 13:45:10 -0500
Jerone Young wrote:
> Using the Sequoia (AMCC 440EPx) patches recently submitted to the
> list I am unable to boot to fully boot a uImage built with these
> patches under Uboot. It appears to hang in very early boot.
>
>
> Here is the output:
> => tftp 400000
> sequoia/uImage ENET Speed is 100 Mbps - FULL duplex connection
> (EMAC0) Using ppc_4xx_eth0
> device TFTP from server 9.53.41.24; our IP address is
> 9.53.41.38 Filename
> 'sequoia/uImage'. Load address:
> 0x400000 Loading:
> #################################################################
> #################################################################
> #################################################################
> #######################
> done Bytes transferred = 1112434 (10f972
> hex) => bootm
> 400000 ## Booting image at
> 00400000 ... Image Name:
> Linux-2.6.23-rc2 Image Type: PowerPC Linux Kernel Image (gzip
> compressed) Data Size: 1112370 Bytes = 1.1
> MB Load Address:
> 00000000 Entry Point:
> 00000000 Verifying Checksum ...
> OK Uncompressing Kernel Image ... OK
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
This seems to be a wrong image..
Are you using "make zImage" ?
The proper uImage after that command would be smth like cuImage* then...
--
Sincerely, Vitaly
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Sequoia 440EPx patches not working
2007-08-09 10:58 ` Valentine Barshak
@ 2007-08-09 13:34 ` Josh Boyer
2007-08-09 16:21 ` Valentine Barshak
0 siblings, 1 reply; 10+ messages in thread
From: Josh Boyer @ 2007-08-09 13:34 UTC (permalink / raw)
To: Valentine Barshak; +Cc: linuxppc-dev
On Thu, 09 Aug 2007 14:58:55 +0400
Valentine Barshak <vbarshak@ru.mvista.com> wrote:
> David Gibson wrote:
> > On Wed, Aug 08, 2007 at 01:45:10PM -0500, Jerone Young wrote:
> >> Using the Sequoia (AMCC 440EPx) patches recently submitted to the
> >> list I am unable to boot to fully boot a uImage built with these
> >> patches under Uboot. It appears to hang in very early boot.
> >
> > I'm guessing this is an old version of u-boot, that's not device
> > tree aware. That would need a cuImage, not a uImage, and IIRC the
> > posted patches didn't yet have cuboot support for Sequoia.
> >
>
> The patches do have cuImage support.
> I have a Sequoia board with uBoot 1.1.6 and it boots cuImage fine.
Speaking of those patches, are you planning on rebasing them against
the latest 4xx series I sent out soon? That should have some cleanups
that make adding sequoia support a bit easier.
josh
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Sequoia 440EPx patches not working
2007-08-09 12:56 ` Vitaly Bordug
@ 2007-08-09 13:42 ` Jerone Young
2007-08-09 14:37 ` Jerone Young
1 sibling, 0 replies; 10+ messages in thread
From: Jerone Young @ 2007-08-09 13:42 UTC (permalink / raw)
To: Vitaly Bordug; +Cc: linuxppc-dev, vbarshark
Nope definitely using a uImage. I'll try a fresh source and try again ..
I did base it on kernel.org git tree so I'll try instead with 2.6.23-rc2
and see what happens.
n Thu, 2007-08-09 at 16:56 +0400, Vitaly Bordug wrote:
> On Wed, 08 Aug 2007 13:45:10 -0500
> Jerone Young wrote:
>
> > Using the Sequoia (AMCC 440EPx) patches recently submitted to the
> > list I am unable to boot to fully boot a uImage built with these
> > patches under Uboot. It appears to hang in very early boot.
> >
> >
> > Here is the output:
> > => tftp 400000
> > sequoia/uImage ENET Speed is 100 Mbps - FULL duplex connection
> > (EMAC0) Using ppc_4xx_eth0
> > device TFTP from server 9.53.41.24; our IP address is
> > 9.53.41.38 Filename
> > 'sequoia/uImage'. Load address:
> > 0x400000 Loading:
> > #################################################################
> > #################################################################
> > #################################################################
> > #######################
> > done Bytes transferred = 1112434 (10f972
> > hex) => bootm
> > 400000 ## Booting image at
> > 00400000 ... Image Name:
> > Linux-2.6.23-rc2 Image Type: PowerPC Linux Kernel Image (gzip
> > compressed) Data Size: 1112370 Bytes = 1.1
> > MB Load Address:
> > 00000000 Entry Point:
> > 00000000 Verifying Checksum ...
> > OK Uncompressing Kernel Image ... OK
> >
> > _______________________________________________
> > Linuxppc-dev mailing list
> > Linuxppc-dev@ozlabs.org
> > https://ozlabs.org/mailman/listinfo/linuxppc-dev
>
> This seems to be a wrong image..
>
> Are you using "make zImage" ?
>
> The proper uImage after that command would be smth like cuImage* then...
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Sequoia 440EPx patches not working
2007-08-09 12:56 ` Vitaly Bordug
2007-08-09 13:42 ` Jerone Young
@ 2007-08-09 14:37 ` Jerone Young
2007-08-09 16:33 ` Valentine Barshak
1 sibling, 1 reply; 10+ messages in thread
From: Jerone Young @ 2007-08-09 14:37 UTC (permalink / raw)
To: Vitaly Bordug; +Cc: linuxppc-dev, vbarshark
So did a rebase on kernel.org 2.6.23-rc2 patch (as opposed the latest
git). I am using Uboot version 1.2.0-gc0c292b2. This is the version
that came with the board. It still appears to hang during early boot on
my Sequoia.
Trying the cuImage.sequoia.bin.gz just result in Uboot giving "Bad Magic
Number" when trying to boot it. This is also the same for using
cuImage.sequoia.elf.
So when I use the uImage file it will load but just hang after it's
loaded. I'm building it using "make uImage CROSS_COMPILE=<cross prefix>
ARCH=powerpc" on an x86 box.
I'll see what else I could possibly be doing wrong (maybe something
happened to the patch when I grabbed it off of gmane and the web filters
did something to it, I did have to fix a problem where in the
sequoia.dts file the web filter replace "@" with " at ". This was simple
enough to fix. Maybe something else when wrong. I'll see what else I can
look at.
On Thu, 2007-08-09 at 16:56 +0400, Vitaly Bordug wrote:
> On Wed, 08 Aug 2007 13:45:10 -0500
> Jerone Young wrote:
>
> > Using the Sequoia (AMCC 440EPx) patches recently submitted to the
> > list I am unable to boot to fully boot a uImage built with these
> > patches under Uboot. It appears to hang in very early boot.
> >
> >
> > Here is the output:
> > => tftp 400000
> > sequoia/uImage ENET Speed is 100 Mbps - FULL duplex connection
> > (EMAC0) Using ppc_4xx_eth0
> > device TFTP from server 9.53.41.24; our IP address is
> > 9.53.41.38 Filename
> > 'sequoia/uImage'. Load address:
> > 0x400000 Loading:
> > #################################################################
> > #################################################################
> > #################################################################
> > #######################
> > done Bytes transferred = 1112434 (10f972
> > hex) => bootm
> > 400000 ## Booting image at
> > 00400000 ... Image Name:
> > Linux-2.6.23-rc2 Image Type: PowerPC Linux Kernel Image (gzip
> > compressed) Data Size: 1112370 Bytes = 1.1
> > MB Load Address:
> > 00000000 Entry Point:
> > 00000000 Verifying Checksum ...
> > OK Uncompressing Kernel Image ... OK
> >
> > _______________________________________________
> > Linuxppc-dev mailing list
> > Linuxppc-dev@ozlabs.org
> > https://ozlabs.org/mailman/listinfo/linuxppc-dev
>
> This seems to be a wrong image..
>
> Are you using "make zImage" ?
>
> The proper uImage after that command would be smth like cuImage* then...
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Sequoia 440EPx patches not working
2007-08-09 13:34 ` Josh Boyer
@ 2007-08-09 16:21 ` Valentine Barshak
0 siblings, 0 replies; 10+ messages in thread
From: Valentine Barshak @ 2007-08-09 16:21 UTC (permalink / raw)
To: Josh Boyer; +Cc: linuxppc-dev
Josh Boyer wrote:
> On Thu, 09 Aug 2007 14:58:55 +0400
> Valentine Barshak <vbarshak@ru.mvista.com> wrote:
>
>> David Gibson wrote:
>>> On Wed, Aug 08, 2007 at 01:45:10PM -0500, Jerone Young wrote:
>>>> Using the Sequoia (AMCC 440EPx) patches recently submitted to the
>>>> list I am unable to boot to fully boot a uImage built with these
>>>> patches under Uboot. It appears to hang in very early boot.
>>> I'm guessing this is an old version of u-boot, that's not device
>>> tree aware. That would need a cuImage, not a uImage, and IIRC the
>>> posted patches didn't yet have cuboot support for Sequoia.
>>>
>> The patches do have cuImage support.
>> I have a Sequoia board with uBoot 1.1.6 and it boots cuImage fine.
>
> Speaking of those patches, are you planning on rebasing them against
> the latest 4xx series I sent out soon? That should have some cleanups
> that make adding sequoia support a bit easier.
>
> josh
Yes, I do :)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Sequoia 440EPx patches not working
2007-08-09 14:37 ` Jerone Young
@ 2007-08-09 16:33 ` Valentine Barshak
2007-08-13 21:04 ` Jerone Young
0 siblings, 1 reply; 10+ messages in thread
From: Valentine Barshak @ 2007-08-09 16:33 UTC (permalink / raw)
To: jyoung5; +Cc: linuxppc-dev
Jerone Young wrote:
> So did a rebase on kernel.org 2.6.23-rc2 patch (as opposed the latest
> git). I am using Uboot version 1.2.0-gc0c292b2. This is the version
> that came with the board. It still appears to hang during early boot on
> my Sequoia.
>
> Trying the cuImage.sequoia.bin.gz just result in Uboot giving "Bad Magic
> Number" when trying to boot it. This is also the same for using
> cuImage.sequoia.elf.
>
> So when I use the uImage file it will load but just hang after it's
> loaded. I'm building it using "make uImage CROSS_COMPILE=<cross prefix>
> ARCH=powerpc" on an x86 box.
>
> I'll see what else I could possibly be doing wrong (maybe something
> happened to the patch when I grabbed it off of gmane and the web filters
> did something to it, I did have to fix a problem where in the
> sequoia.dts file the web filter replace "@" with " at ". This was simple
> enough to fix. Maybe something else when wrong. I'll see what else I can
> look at.
>
> On Thu, 2007-08-09 at 16:56 +0400, Vitaly Bordug wrote:
>> On Wed, 08 Aug 2007 13:45:10 -0500
>> Jerone Young wrote:
>>
>>> Using the Sequoia (AMCC 440EPx) patches recently submitted to the
>>> list I am unable to boot to fully boot a uImage built with these
>>> patches under Uboot. It appears to hang in very early boot.
>>>
>>>
>>> Here is the output:
>>> => tftp 400000
>>> sequoia/uImage ENET Speed is 100 Mbps - FULL duplex connection
>>> (EMAC0) Using ppc_4xx_eth0
>>> device TFTP from server 9.53.41.24; our IP address is
>>> 9.53.41.38 Filename
>>> 'sequoia/uImage'. Load address:
>>> 0x400000 Loading:
>>> #################################################################
>>> #################################################################
>>> #################################################################
>>> #######################
>>> done Bytes transferred = 1112434 (10f972
>>> hex) => bootm
>>> 400000 ## Booting image at
>>> 00400000 ... Image Name:
>>> Linux-2.6.23-rc2 Image Type: PowerPC Linux Kernel Image (gzip
>>> compressed) Data Size: 1112370 Bytes = 1.1
>>> MB Load Address:
>>> 00000000 Entry Point:
>>> 00000000 Verifying Checksum ...
>>> OK Uncompressing Kernel Image ... OK
>>>
>>> _______________________________________________
>>> Linuxppc-dev mailing list
>>> Linuxppc-dev@ozlabs.org
>>> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>> This seems to be a wrong image..
>>
>> Are you using "make zImage" ?
>>
>> The proper uImage after that command would be smth like cuImage* then...
>>
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
Please, apply clean patches (not filtered by web filters) and
try make ARCH=powerpc CROSS_COMPILE=<cross_prefix> zImage
The image should be at arch/powerpc/boot/cuImage.sequoia
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Sequoia 440EPx patches not working
2007-08-09 16:33 ` Valentine Barshak
@ 2007-08-13 21:04 ` Jerone Young
0 siblings, 0 replies; 10+ messages in thread
From: Jerone Young @ 2007-08-13 21:04 UTC (permalink / raw)
To: Valentine Barshak; +Cc: linuxppc-dev
I got it to load now cuImage.sequoia and loading at address 0x200000. I
had been trying to load at 0x400000...apparently this was not good. So
moving to 0x300000 it loads but stops after setting up the device tree.
So the image was clobbering something but now is not at 0x200000.
Thanks for the help.
Jerone
On Thu, 2007-08-09 at 20:33 +0400, Valentine Barshak wrote:
> Jerone Young wrote:
> > So did a rebase on kernel.org 2.6.23-rc2 patch (as opposed the latest
> > git). I am using Uboot version 1.2.0-gc0c292b2. This is the version
> > that came with the board. It still appears to hang during early boot on
> > my Sequoia.
> >
> > Trying the cuImage.sequoia.bin.gz just result in Uboot giving "Bad Magic
> > Number" when trying to boot it. This is also the same for using
> > cuImage.sequoia.elf.
> >
> > So when I use the uImage file it will load but just hang after it's
> > loaded. I'm building it using "make uImage CROSS_COMPILE=<cross prefix>
> > ARCH=powerpc" on an x86 box.
> >
> > I'll see what else I could possibly be doing wrong (maybe something
> > happened to the patch when I grabbed it off of gmane and the web filters
> > did something to it, I did have to fix a problem where in the
> > sequoia.dts file the web filter replace "@" with " at ". This was simple
> > enough to fix. Maybe something else when wrong. I'll see what else I can
> > look at.
> >
> > On Thu, 2007-08-09 at 16:56 +0400, Vitaly Bordug wrote:
> >> On Wed, 08 Aug 2007 13:45:10 -0500
> >> Jerone Young wrote:
> >>
> >>> Using the Sequoia (AMCC 440EPx) patches recently submitted to the
> >>> list I am unable to boot to fully boot a uImage built with these
> >>> patches under Uboot. It appears to hang in very early boot.
> >>>
> >>>
> >>> Here is the output:
> >>> => tftp 400000
> >>> sequoia/uImage ENET Speed is 100 Mbps - FULL duplex connection
> >>> (EMAC0) Using ppc_4xx_eth0
> >>> device TFTP from server 9.53.41.24; our IP address is
> >>> 9.53.41.38 Filename
> >>> 'sequoia/uImage'. Load address:
> >>> 0x400000 Loading:
> >>> #################################################################
> >>> #################################################################
> >>> #################################################################
> >>> #######################
> >>> done Bytes transferred = 1112434 (10f972
> >>> hex) => bootm
> >>> 400000 ## Booting image at
> >>> 00400000 ... Image Name:
> >>> Linux-2.6.23-rc2 Image Type: PowerPC Linux Kernel Image (gzip
> >>> compressed) Data Size: 1112370 Bytes = 1.1
> >>> MB Load Address:
> >>> 00000000 Entry Point:
> >>> 00000000 Verifying Checksum ...
> >>> OK Uncompressing Kernel Image ... OK
> >>>
> >>> _______________________________________________
> >>> Linuxppc-dev mailing list
> >>> Linuxppc-dev@ozlabs.org
> >>> https://ozlabs.org/mailman/listinfo/linuxppc-dev
> >> This seems to be a wrong image..
> >>
> >> Are you using "make zImage" ?
> >>
> >> The proper uImage after that command would be smth like cuImage* then...
> >>
> >
> > _______________________________________________
> > Linuxppc-dev mailing list
> > Linuxppc-dev@ozlabs.org
> > https://ozlabs.org/mailman/listinfo/linuxppc-dev
>
> Please, apply clean patches (not filtered by web filters) and
> try make ARCH=powerpc CROSS_COMPILE=<cross_prefix> zImage
> The image should be at arch/powerpc/boot/cuImage.sequoia
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-08-13 21:04 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-08 18:45 Sequoia 440EPx patches not working Jerone Young
2007-08-09 3:08 ` David Gibson
2007-08-09 10:58 ` Valentine Barshak
2007-08-09 13:34 ` Josh Boyer
2007-08-09 16:21 ` Valentine Barshak
2007-08-09 12:56 ` Vitaly Bordug
2007-08-09 13:42 ` Jerone Young
2007-08-09 14:37 ` Jerone Young
2007-08-09 16:33 ` Valentine Barshak
2007-08-13 21:04 ` Jerone Young
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).