* Downloading Image
@ 2002-08-26 20:22 Aman
2002-08-26 20:57 ` Matt Porter
0 siblings, 1 reply; 10+ messages in thread
From: Aman @ 2002-08-26 20:22 UTC (permalink / raw)
To: linuxppc embedded
Hi
I have build a linux image for IBM PPC 440 using the
src-linuxppc_2_4_devel.tar.bz2 [Powerpc Kernel Source] taken from the
website http://www.ppckernel.org/tree.php?id=5. Now I want to download the
image to the IBM PPC 440 evalkit for which I used elf2ppceval utilility by
Grant Erickson. I copied the script and named as mkevimg.shar. When I
executed the command "unshar mkevimg.shar ". I got the following error
[root@hardhat aman]# unshar mkevimg.shar
/home/aman/mkevimg.shar:
'h: line 22: syntax error near unexpected token `do
'h: line 22: `do
Broken pipe
Can anyone help me in solving this issue or please suggest the way of
downloading a the 440 image to the IBM PPC 440 evalkit. Also can you suggest
me the cross-compiler for PPC 440.
Thanking you in advance.
Regards
Aman
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Downloading Image
2002-08-26 20:22 Downloading Image Aman
@ 2002-08-26 20:57 ` Matt Porter
2002-09-06 17:05 ` ELDK Compiler Aman
0 siblings, 1 reply; 10+ messages in thread
From: Matt Porter @ 2002-08-26 20:57 UTC (permalink / raw)
To: Aman; +Cc: linuxppc embedded
On Tue, Aug 27, 2002 at 01:52:34AM +0530, Aman wrote:
>
> Hi
>
> I have build a linux image for IBM PPC 440 using the
> src-linuxppc_2_4_devel.tar.bz2 [Powerpc Kernel Source] taken from the
> website http://www.ppckernel.org/tree.php?id=5. Now I want to download the
> image to the IBM PPC 440 evalkit for which I used elf2ppceval utilility by
> Grant Erickson. I copied the script and named as mkevimg.shar. When I
> executed the command "unshar mkevimg.shar ". I got the following error
This step is unnecessary. The kernel build process generates a
'zImage.ebony' which is directly bootable on the IBM 440GP reference
board.
> Can anyone help me in solving this issue or please suggest the way of
> downloading a the 440 image to the IBM PPC 440 evalkit. Also can you suggest
> me the cross-compiler for PPC 440.
The ppc4xx toolchain from the free ELDK is what you are looking for.
Regards,
--
Matt Porter
porter@cox.net
This is Linux Country. On a quiet night, you can hear Windows reboot.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Downloading Image
@ 2002-08-27 17:38 Jin Cheng
2002-08-27 17:52 ` Aman
2002-08-27 18:07 ` Matt Porter
0 siblings, 2 replies; 10+ messages in thread
From: Jin Cheng @ 2002-08-27 17:38 UTC (permalink / raw)
To: Matt Porter; +Cc: Aman, linuxppc embedded
Hi,
I am wondering whether can use the OpenBIOS coming with the 440GP Ebony
board
to load the linux kernel or there is a ppcboot for Ebony which can do
that? Thanks.
Sincerely,
Jin
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Downloading Image
2002-08-27 17:38 Downloading Image Jin Cheng
@ 2002-08-27 17:52 ` Aman
2002-08-28 1:29 ` Jin Cheng
2002-08-27 18:07 ` Matt Porter
1 sibling, 1 reply; 10+ messages in thread
From: Aman @ 2002-08-27 17:52 UTC (permalink / raw)
To: Jin Cheng, Matt Porter; +Cc: linuxppc embedded
Hi Jin
The eval kit for IBM PPC 440 has OpenBios as the rom monitor code. I
compiled the PPC kernel with Mvista 405 compiler. As Matt Porter suggested,
I download the zImage.ebony using the TFTP. The Image is downloaded to 440
board, however finally it says PPC unknown. I trying some sample application
on the ebony board now.
Regards
Aman
----- Original Message -----
From: "Jin Cheng" <jcheng@redswitch.com>
To: "Matt Porter" <porter@cox.net>
Cc: "Aman" <aman@mistralsoftware.com>; "linuxppc embedded"
<linuxppc-embedded@lists.linuxppc.org>
Sent: Tuesday, August 27, 2002 11:08 PM
Subject: Re: Downloading Image
> Hi,
>
> I am wondering whether can use the OpenBIOS coming with the 440GP Ebony
> board
> to load the linux kernel or there is a ppcboot for Ebony which can do
> that? Thanks.
>
> Sincerely,
>
> Jin
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Downloading Image
2002-08-27 17:38 Downloading Image Jin Cheng
2002-08-27 17:52 ` Aman
@ 2002-08-27 18:07 ` Matt Porter
2002-08-27 18:58 ` Roland Dreier
1 sibling, 1 reply; 10+ messages in thread
From: Matt Porter @ 2002-08-27 18:07 UTC (permalink / raw)
To: Jin Cheng; +Cc: Matt Porter, Aman, linuxppc embedded
On Tue, Aug 27, 2002 at 10:38:21AM -0700, Jin Cheng wrote:
> Hi,
>
> I am wondering whether can use the OpenBIOS coming with the 440GP Ebony
> board
> to load the linux kernel or there is a ppcboot for Ebony which can do
> that? Thanks.
zImage.ebony boots from OpenBIOS. Check the ppcboot-users list for
information on ppcboot for the Ebony board. Somebody has contributed
some code for a custom 440GP board and several people seemed to be
working on an Ebony port.
Regards,
--
Matt Porter
porter@cox.net
This is Linux Country. On a quiet night, you can hear Windows reboot.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Downloading Image
2002-08-27 18:07 ` Matt Porter
@ 2002-08-27 18:58 ` Roland Dreier
0 siblings, 0 replies; 10+ messages in thread
From: Roland Dreier @ 2002-08-27 18:58 UTC (permalink / raw)
To: Matt Porter; +Cc: Jin Cheng, Aman, linuxppc embedded
>>>>> "Matt" == Matt Porter <porter@cox.net> writes:
Matt> zImage.ebony boots from OpenBIOS. Check the ppcboot-users
Matt> list for information on ppcboot for the Ebony board.
Matt> Somebody has contributed some code for a custom 440GP board
Matt> and several people seemed to be working on an Ebony port.
We have Ebony boards booting via ethernet/TFTP using PPCBoot, and I
believe our code has been checked into the PPCBoot CVS.
Best,
Roland
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Downloading Image
2002-08-27 17:52 ` Aman
@ 2002-08-28 1:29 ` Jin Cheng
0 siblings, 0 replies; 10+ messages in thread
From: Jin Cheng @ 2002-08-28 1:29 UTC (permalink / raw)
To: Aman; +Cc: Matt Porter, linuxppc embedded
Hi,
I used ELDK ppc_4xx toolchain to compile a kernel from the same source as Aman.
I followed the arch/ppc/configs/ebony_defconfig and get a kernel.
Then I used the OpenBIOS to load that kernel. it is loaded fine, but the kernel
always
times out on "Sending BOOTP request..."
I used other machine to test my nfs server, it works fine.
Following is the screen out, Could you give me advice on the problem? Thanks.
Regards,
Jin Cheng
Loading file "C:\osop4m_vm/440gp/samples\zImage.ebony" ...
Sending tftp boot request ...
Transfer Complete ...
Loaded successfully ...
Entry point at 0x1000000 ...
loaded at: 01000000 010981BC
zimage at: 010054E0 010944FB
avail ram: 00400000 00800000
Linux/PPC load: root=/dev/nfs nfsroot=192.168.5.58:/EbonyNFS ip=192.168.5.249:19
2.168.5.58:::::::
Uncompressing Linux...done.
Now booting the kernel
Linux version 2.4.20-pre4 (jcheng@hyperion) (gcc version 2.95.3 20010111 (prerel
ease/franzo/20010111)) #12 Tue Aug 27 17:57:05 PDT 2002
IBM Ebony port (C) 2002 MontaVista Software, Inc. (source@mvista.com)
On node 0 totalpages: 32768
zone(0): 4096 pages.
zone(1): 28672 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs nfsroot=192.168.5.58:/EbonyNFS ip=192.168.5.2
49:192.168.5.58:::::::
Calibrating delay loop... 599.65 BogoMIPS
Memory: 127752k available (944k kernel code, 348k data, 212k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI en
abled
ttyS00 at 0xfdfe9200 (irq = 0) is a 16550A
ttyS01 at 0xfdfe8300 (irq = 1) is a 16550A
Zmii bridge in RMII mode
eth0: Phy @ 0x8, type Am79c875A (0x00225541)
Reset ethernet interfaces
Zmii bridge in RMII mode
eth1: Phy @ 0x9, type Am79c875A (0x00225541)
Reset ethernet interfaces
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
eth0: IBM EMAC: link up, 100 Mbps Half Duplex, auto-negotiation complete.
eth0: IBM EMAC: MAC 00:04:ac:e3:1b:8d.
eth0: IBM EMAC: open completed
eth1: IBM EMAC: link up, 10 Mbps Half Duplex.
eth1: IBM EMAC: MAC 00:04:ac:e3:1b:8c.
eth1: IBM EMAC: open completed
Sending BOOTP requests ...... timed out!
Trying to free free IRQ61
Trying to free free IRQ32
Trying to free free IRQ33
Trying to free free IRQ34
Trying to free free IRQ10
Trying to free free IRQ11
IP-Config: Retrying forever (NFS root)...
eth0: IBM EMAC: link up, 100 Mbps Half Duplex, auto-negotiation complete.
eth0: IBM EMAC: MAC 00:04:ac:e3:1b:8d.
eth0: IBM EMAC: open completed
eth1: IBM EMAC: link up, 10 Mbps Half Duplex.
eth1: IBM EMAC: MAC 00:04:ac:e3:1b:8c.
eth1: IBM EMAC: open completed
Sending BOOTP requests ....
===End of screen
Aman wrote:
> Hi Jin
>
> The eval kit for IBM PPC 440 has OpenBios as the rom monitor code. I
> compiled the PPC kernel with Mvista 405 compiler. As Matt Porter suggested,
> I download the zImage.ebony using the TFTP. The Image is downloaded to 440
> board, however finally it says PPC unknown. I trying some sample application
> on the ebony board now.
>
> Regards
> Aman
>
> ----- Original Message -----
> From: "Jin Cheng" <jcheng@redswitch.com>
> To: "Matt Porter" <porter@cox.net>
> Cc: "Aman" <aman@mistralsoftware.com>; "linuxppc embedded"
> <linuxppc-embedded@lists.linuxppc.org>
> Sent: Tuesday, August 27, 2002 11:08 PM
> Subject: Re: Downloading Image
>
> > Hi,
> >
> > I am wondering whether can use the OpenBIOS coming with the 440GP Ebony
> > board
> > to load the linux kernel or there is a ppcboot for Ebony which can do
> > that? Thanks.
> >
> > Sincerely,
> >
> > Jin
> >
> >
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* ELDK Compiler
2002-08-26 20:57 ` Matt Porter
@ 2002-09-06 17:05 ` Aman
2002-09-06 17:39 ` Matt Porter
0 siblings, 1 reply; 10+ messages in thread
From: Aman @ 2002-09-06 17:05 UTC (permalink / raw)
To: Matt Porter; +Cc: linuxppc embedded
Hi Matt
I have downloaded ELDK compiler for PPC 440 evalkit. In the ELDK html file
, it says the the predefined compiler flag as "mcpu=403". Will this ELDK
compiler work very well with PPC 440 processor?. Or are there any other
compilers which works well with PPC 440 processor.
Thanking you in advance
Regards
Aman
----- Original Message -----
From: "Matt Porter" <porter@cox.net>
To: "Aman" <aman@mistralsoftware.com>
Cc: "linuxppc embedded" <linuxppc-embedded@lists.linuxppc.org>
Sent: Tuesday, August 27, 2002 2:27 AM
Subject: Re: Downloading Image
>
> On Tue, Aug 27, 2002 at 01:52:34AM +0530, Aman wrote:
> >
> > Hi
> >
> > I have build a linux image for IBM PPC 440 using the
> > src-linuxppc_2_4_devel.tar.bz2 [Powerpc Kernel Source] taken from the
> > website http://www.ppckernel.org/tree.php?id=5. Now I want to download
the
> > image to the IBM PPC 440 evalkit for which I used elf2ppceval utilility
by
> > Grant Erickson. I copied the script and named as mkevimg.shar. When I
> > executed the command "unshar mkevimg.shar ". I got the following error
>
> This step is unnecessary. The kernel build process generates a
> 'zImage.ebony' which is directly bootable on the IBM 440GP reference
> board.
>
> > Can anyone help me in solving this issue or please suggest the way of
> > downloading a the 440 image to the IBM PPC 440 evalkit. Also can you
suggest
> > me the cross-compiler for PPC 440.
>
> The ppc4xx toolchain from the free ELDK is what you are looking for.
>
> Regards,
> --
> Matt Porter
> porter@cox.net
> This is Linux Country. On a quiet night, you can hear Windows reboot.
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ELDK Compiler
2002-09-06 17:05 ` ELDK Compiler Aman
@ 2002-09-06 17:39 ` Matt Porter
2002-09-07 18:45 ` Kumar Gala
0 siblings, 1 reply; 10+ messages in thread
From: Matt Porter @ 2002-09-06 17:39 UTC (permalink / raw)
To: Aman; +Cc: Matt Porter, linuxppc embedded
On Fri, Sep 06, 2002 at 10:35:42PM +0530, Aman wrote:
> I have downloaded ELDK compiler for PPC 440 evalkit. In the ELDK html file
> , it says the the predefined compiler flag as "mcpu=403". Will this ELDK
> compiler work very well with PPC 440 processor?. Or are there any other
> compilers which works well with PPC 440 processor.
Nobody has provided PPC440-specific support for binutils. Right now,
everybody is using mcpu=[403|405] since they define an identical
set of instructions. The -mbooke support in current binutils will
not work on 440 since it is e500 specific.
The ELDK toolchain works fine.
Regards,
--
Matt Porter
porter@cox.net
This is Linux Country. On a quiet night, you can hear Windows reboot.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ELDK Compiler
2002-09-06 17:39 ` Matt Porter
@ 2002-09-07 18:45 ` Kumar Gala
0 siblings, 0 replies; 10+ messages in thread
From: Kumar Gala @ 2002-09-07 18:45 UTC (permalink / raw)
To: Matt Porter; +Cc: Aman, linuxppc embedded
> Nobody has provided PPC440-specific support for binutils. Right now,
> everybody is using mcpu=[403|405] since they define an identical
> set of instructions. The -mbooke support in current binutils will
> not work on 440 since it is e500 specific.
>
This is not exactly true, the -mbooke option does NOT produce an e500
specific set of instructions that the assembler knows about but as
close to a generic booke set. Unfortunately, Book-E leaves remove for
a few instructions to have implementation specific operands (for
example tlbwe/tlbre). The e500 & 440 differ in the number of operands
these instructions require (e500 - 0, 440 - 3). The currently binutils
treats these instructions as having no operands.
I am not aware of any other cases in which the current binutils would
not work for 440 code (possibly use of simplified mtspr/mfspr
instructions would not work with the -mbooke flag).
- kumar
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2002-09-07 18:45 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-26 20:22 Downloading Image Aman
2002-08-26 20:57 ` Matt Porter
2002-09-06 17:05 ` ELDK Compiler Aman
2002-09-06 17:39 ` Matt Porter
2002-09-07 18:45 ` Kumar Gala
-- strict thread matches above, loose matches on Subject: below --
2002-08-27 17:38 Downloading Image Jin Cheng
2002-08-27 17:52 ` Aman
2002-08-28 1:29 ` Jin Cheng
2002-08-27 18:07 ` Matt Porter
2002-08-27 18:58 ` Roland Dreier
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).