linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Ken Sakurai" <sakurken@gmail.com>
To: linuxppc-embedded@ozlabs.org
Subject: Re: AVNET 440GX board
Date: Fri, 23 Mar 2007 13:45:50 -0500	[thread overview]
Message-ID: <393e3a4b0703231145qc16b305x58389e3ba08c867b@mail.gmail.com> (raw)
In-Reply-To: <200703230722.25498.sr@denx.de>

[-- Attachment #1: Type: text/plain, Size: 3951 bytes --]

Stephen,

> I don't know the AVNET 440GX eval board. Is it _identical_ to the IBM/AMCC
> Ocotea? If not you will most likely have no luck with this image. You will
> have to port Linux to this special board.

yeah, sounds like. I was so optimistic that Linux is kind of primary OS for
any ppc board  when I choosed this board :-)

I was just using the elf image, instead of uimage.
'6501A8C0.img' is refereing zImage.img which is Linux elf image.
It looks to me that the bootelf command interprets ELF format corrently.

As you sugested, I also made uImage and used bootm to boot it.
But no luck. Here is the log.

=> setenv bootargs "console=ttyS0,19200 console=/dev/ttyS0"
=> tftp 0x100000 uImage
Waiting for PHY auto negotiation to complete.. done
ENET Speed is 100 Mbps - FULL duplex connection
Using ppc_440x_eth2 device
TFTP from server 192.168.1.1; our IP address is 192.168.1.101
Filename 'uImage'.
Load address: 0x100000
Loading: #################################################################
         #################################################################
         ######
done
Bytes transferred = 695605 (a9d35 hex)
=> bootm
## Booting image at 00100000 ...
   Image Name:   Linux-2.6.21-rc4
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    695541 Bytes = 679.2 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
(freeze at this point)

- Ken

On 3/23/07, Stefan Roese <sr@denx.de> wrote:
>
> Ken,
>
> On Thursday 22 March 2007 20:34, Ken Sakurai wrote:
> > I'm trying to boot Linux on  AVNET 440gx eval board but no luck so far.
> > What I did are that I downloaded a plain 2.6.20 kernel from kernel.org,
> > configured with 440GX, OCOTEA target (I'm not sure OCOTEA is correct
> > target),
>
> I don't know the AVNET 440GX eval board. Is it _identical_ to the IBM/AMCC
> Ocotea? If not you will most likely have no luck with this image. You will
> have to port Linux to this special board.
>
> > then loaded the kernel image via tftp  and tried to boot with bootelf
> > command.
> > But I had no output message from Linux.
> >
> > I suspected setting of Linux serial console. So I changed the kernel
> > parameter to
> > "ttyS0,19200" which I suppose correct becuase this is the minicom
> setting.
> > But still didn't work.
> >
> > The board comes with u-boot 1.0.2 with some fixes.  I'm checking the
> u-boot
> > source code (might be some hint in there) and the serial device
> > initialization code in Linux.
> >
> > Has anyone had experiece with Linux on AVNET 440GX board?
> > Any advise would be appreciated !
>
> See below.
>
> > -
> > Ken
> >
> > ------
> >
> > => tftp
> > Waiting for PHY auto negotiation to complete.. done
> > ENET Speed is 100 Mbps - FULL duplex connection
> > *** Warning: no boot file name; using '6501A8C0.img'
>
> Hmmmm. That's a strange image name. Normally you should boot the uImage
> file
> from U-Boot.
>
> > Using ppc_440x_eth2 device
> > TFTP from server 192.168.1.1; our IP address is 192.168.1.101
> > Filename '6501A8C0.img'.
> > Load address: 0x100000
> > Loading:
> #################################################################
>
> >          #################################################################
> >          #################################
> > done
> > Bytes transferred = 832121 (cb279 hex)
> > => bootelf
> > Loading .text @ 0x01000000 (15316 bytes)
> > Loading .data @ 0x01004000 (700416 bytes)
> > Clearing .bss @ 0x010af000 (8500 bytes)
> > ## Starting application at 0x01000000 ...
>
> And use the "bootm" command to boot the uImage.
>
> Best regards,
> Stefan
>
> =====================================================================
> DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
> Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
> =====================================================================
>

[-- Attachment #2: Type: text/html, Size: 5252 bytes --]

  parent reply	other threads:[~2007-03-23 18:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-22 19:34 AVNET 440GX board Ken Sakurai
2007-03-23  6:22 ` Stefan Roese
2007-03-23 10:40   ` Josh Boyer
2007-03-23 18:45   ` Ken Sakurai [this message]
2007-03-23 21:30     ` Ken Sakurai
2007-03-25 19:39       ` Wolfgang Denk
2007-03-24  6:12     ` Stefan Roese
2007-03-25 19:38     ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=393e3a4b0703231145qc16b305x58389e3ba08c867b@mail.gmail.com \
    --to=sakurken@gmail.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).