From: Jerone Young <hidden> Date: 2007-08-08 18:45:14
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
From: David Gibson <hidden> Date: 2007-08-09 03:09:03
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
On Wed, Aug 08, 2007 at 01:45:10PM -0500, Jerone Young wrote:
quoted
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.
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
On Thu, 09 Aug 2007 14:58:55 +0400
Valentine Barshak [off-list ref] wrote:
David Gibson wrote:
quoted
On Wed, Aug 08, 2007 at 01:45:10PM -0500, Jerone Young wrote:
quoted
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
From: Jerone Young <hidden> Date: 2007-08-09 13:42:16
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:
quoted
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...
From: Jerone Young <hidden> Date: 2007-08-09 14:37:23
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:
quoted
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...
On Thu, 09 Aug 2007 14:58:55 +0400
Valentine Barshak [off-list ref] wrote:
quoted
David Gibson wrote:
quoted
On Wed, Aug 08, 2007 at 01:45:10PM -0500, Jerone Young wrote:
quoted
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
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:
quoted
On Wed, 08 Aug 2007 13:45:10 -0500
Jerone Young wrote:
quoted
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...
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
From: Jerone Young <hidden> Date: 2007-08-13 21:04:39
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:
quoted
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:
quoted
On Wed, 08 Aug 2007 13:45:10 -0500
Jerone Young wrote:
quoted
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...
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