linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Support for IBM CPU's ?
@ 1999-10-13 11:44 daniel.n.nilsson
  1999-10-13 14:59 ` Grant Erickson
  0 siblings, 1 reply; 19+ messages in thread
From: daniel.n.nilsson @ 1999-10-13 11:44 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 420 bytes --]


Hi

I have a question regarding the IBM 403GCX, is this
CPU supported by linuxppc ? If not, what is an estimate
for the porting effort ? Any suggestions on other 
operting systems for this CPU ?

Regards
Daniel Nilsson






_________________________________________________________
En adress för livet registrerar du på http://www.home.se/


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Support for IBM CPU's ?
  1999-10-13 11:44 Support for IBM CPU's ? daniel.n.nilsson
@ 1999-10-13 14:59 ` Grant Erickson
  1999-10-13 21:13   ` Wolfgang Denk
  0 siblings, 1 reply; 19+ messages in thread
From: Grant Erickson @ 1999-10-13 14:59 UTC (permalink / raw)
  To: daniel.n.nilsson; +Cc: linuxppc-embedded


On Wed, 13 Oct 1999 daniel.n.nilsson@home.se wrote:
> I have a question regarding the IBM 403GCX, is this CPU supported by
> linuxppc?

At present, no. However, with ever so halting and slow progress (not due
to difficulty, just general lack of time and resources), I'm trying to add
in support for the 403GCX.

> If not, what is an estimate for the porting effort? Any suggestions
> on other operting systems for this CPU?

The major issues with the port are:

1) There's no FPU on the 403GCX; however, this should prove no more
   troublesome than the MPC8XXs and, in fact, this port should be able
   to leverage the FPU work from that port.

2) The interrupt / exception structure is slightly* different in that
   they are further subdivided into critical and non-critical interrupts \
   exceptions with a different register set and return mechanism from each
   (fairly trivial stuff).

3) The virtual memory and cache interface is entirely different, meaning
   that NONE of the 6xx, 7xx, or 8xx work can be leveraged here.

4) On-processor serial-port driver. The interface for this is really
   simple, so this should* be a non-issue.

I've submitted some VERY seminal patches to Cort; hopefully, these will be
showing up in the vger tree sometime in the near future (?). In a week or
two, hopefully, I'll have some more substantial patches to submit to Cort.

Regards,

Grant Erickson


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Support for IBM CPU's ?
  1999-10-13 14:59 ` Grant Erickson
@ 1999-10-13 21:13   ` Wolfgang Denk
  1999-10-13 21:54     ` Grant Erickson
  1999-10-14  5:13     ` Grant Erickson
  0 siblings, 2 replies; 19+ messages in thread
From: Wolfgang Denk @ 1999-10-13 21:13 UTC (permalink / raw)
  To: Grant Erickson; +Cc: linuxppc-embedded


In message <Pine.SGI.4.10.9910130949280.12784-100000@brule.lcse.umn.edu> you write:
> 
> > I have a question regarding the IBM 403GCX, is this CPU supported by
...
> At present, no. However, with ever so halting and slow progress (not due
> to difficulty, just general lack of time and resources), I'm trying to add
> in support for the 403GCX.
...
> 3) The virtual memory and cache interface is entirely different, meaning
>    that NONE of the 6xx, 7xx, or 8xx work can be leveraged here.

But Linux has already been ported to the 403; it's  even  running  in
commercial  products  like  TiVo  on  a  403.  How much difference is
between the 403xx models?


Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
...the increased productivity fostered by a friendly environment  and
quality  tools  is  essential  to  meet  ever  increasing demands for
software.               - M. D. McIlroy, E. N. Pinson and B. A. Tague

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Support for IBM CPU's ?
  1999-10-13 21:13   ` Wolfgang Denk
@ 1999-10-13 21:54     ` Grant Erickson
  1999-10-14  5:13     ` Grant Erickson
  1 sibling, 0 replies; 19+ messages in thread
From: Grant Erickson @ 1999-10-13 21:54 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: linuxppc-embedded


On Wed, 13 Oct 1999, Wolfgang Denk wrote:
> In message <Pine.SGI.4.10.9910130949280.12784-100000@brule.lcse.umn.edu> you write:
> > > I have a question regarding the IBM 403GCX, is this CPU supported by
> ...
> > At present, no. However, with ever so halting and slow progress (not due
> > to difficulty, just general lack of time and resources), I'm trying to add
> > in support for the 403GCX.
> ...
> > 3) The virtual memory and cache interface is entirely different, meaning
> >    that NONE of the 6xx, 7xx, or 8xx work can be leveraged here.
> 
> But Linux has already been ported to the 403; it's  even  running  in
> commercial  products  like  TiVo  on  a  403.  How much difference is
> between the 403xx models?

I knew that TiVo ran Linux, but I was under the impression that Tivo was
an x86 platform. If it is indeed a 403xx, I stand corrected. Where does
the kernel support lie for it? It's not in the 2.3.21 tree or the vger
tree.

The difference between the 403A, B, C, GC, and GCX variants are the
quantity of I- and D-cache, the presence or lack of an MMU, the presence
or lack of an on-chip serial port, and the number of DMA channels.

Regards,

Grant


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Support for IBM CPU's ?
  1999-10-13 21:13   ` Wolfgang Denk
  1999-10-13 21:54     ` Grant Erickson
@ 1999-10-14  5:13     ` Grant Erickson
  1999-10-14 14:40       ` Adrian Cox
  1 sibling, 1 reply; 19+ messages in thread
From: Grant Erickson @ 1999-10-14  5:13 UTC (permalink / raw)
  To: Wolfgang Denk, Cort Dougan; +Cc: linuxppc-embedded


I've now verified through both the web and a friend who just bought a TiVo
box, that it does indeed use the PowerPC 403GCX.

You can see the PowerPC 403GCX pretty clearly in both the first photo and
in one of the close-up shots further down the page at:
        
        http://www.dsidsi.com/tivo2.htm

So, clearly TiVo is operating in the mode I suspect a lot of companies are
doing right now: port Linux to a new board/platform but don't tell anyone
about it or release the code back to the developer community for
competitive reasons.

A few phone calls to their technical support people didn't get me very far
on getting access to the Linux kernel source code. Anyway else aside from
Wolfgang had any luck?

Cobalt has released the code for their Qube, right? I recall seeing it in
the 2.3.x tree.

So, am I then not wasting my effort on a 403GCX porting effort when TiVo
is already there?


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Support for IBM CPU's ?
  1999-10-14  5:13     ` Grant Erickson
@ 1999-10-14 14:40       ` Adrian Cox
  1999-10-18 21:38         ` Daniel Nilsson
  0 siblings, 1 reply; 19+ messages in thread
From: Adrian Cox @ 1999-10-14 14:40 UTC (permalink / raw)
  To: Grant Erickson; +Cc: linuxppc-embedded


I found this on dejanews:

> >> Forum: gnu.misc.discuss 
> >> Thread: Source code for TiVO 
> Subject: Re: Source code for TiVO
> Date: 1999/08/14
> Author: TiVo Webmaster <webmaster@tivo.com>
> 
> Yes, we use Linux on a PPC.
>                    
> All our source modifications are available on CD.  You may acquire a CD by sending $24.95 to:
>                    
> TiVo, Inc.
> Attn: Richard Bullwinkle
> 894 Ross Drive
> Sunnyvale, CA  94089
>                    
> We state so in our manual, as required by the GNU Public License. 
>                    
> Please feel to address any questions to me.
>                    
> Regards,
> Richard Bullwinkle
> TiVo Webmaster
> webmaster@tivo.com

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Support for IBM CPU's ?
  1999-10-14 14:40       ` Adrian Cox
@ 1999-10-18 21:38         ` Daniel Nilsson
  1999-10-18 23:24           ` Jason Haas
  1999-10-18 23:38           ` Support for IBM CPU's ? Grant Erickson
  0 siblings, 2 replies; 19+ messages in thread
From: Daniel Nilsson @ 1999-10-18 21:38 UTC (permalink / raw)
  To: Adrian Cox; +Cc: Grant Erickson, linuxppc-embedded


Adrian Cox wrote:
> 
> I found this on dejanews:
> 
> > >> Forum: gnu.misc.discuss
> > >> Thread: Source code for TiVO
> > Subject: Re: Source code for TiVO
> > Date: 1999/08/14
> > Author: TiVo Webmaster <webmaster@tivo.com>
> >
> > Yes, we use Linux on a PPC.
> >
> > All our source modifications are available on CD.  You may acquire a CD by sending $24.95 to:

So is the recommendation then to buy this CS and so what comes out of it
?

Or should I help to do the IBM port instead ?

Regards
Daniel Nilsson

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Support for IBM CPU's ?
  1999-10-18 21:38         ` Daniel Nilsson
@ 1999-10-18 23:24           ` Jason Haas
  1999-10-20 20:03             ` Support for IBM CPUs? Grant Erickson
  1999-10-18 23:38           ` Support for IBM CPU's ? Grant Erickson
  1 sibling, 1 reply; 19+ messages in thread
From: Jason Haas @ 1999-10-18 23:24 UTC (permalink / raw)
  To: Daniel Nilsson; +Cc: Adrian Cox, Grant Erickson, linuxppc-embedded


I've recently aquired an IBM thin client (?) thatu ses the 403GCX, if I
can be of any help in testing.

Cheers,

Jason Haas,  jhaas@linuxppc.com
LinuxPPC Inc,  www.linuxppc.com


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Support for IBM CPU's ?
  1999-10-18 21:38         ` Daniel Nilsson
  1999-10-18 23:24           ` Jason Haas
@ 1999-10-18 23:38           ` Grant Erickson
  1 sibling, 0 replies; 19+ messages in thread
From: Grant Erickson @ 1999-10-18 23:38 UTC (permalink / raw)
  To: Daniel Nilsson; +Cc: Adrian Cox, linuxppc-embedded


On Mon, 18 Oct 1999, Daniel Nilsson wrote:
> So is the recommendation then to buy this [TiVo] CD and so [sic] what
> comes out of it?
> 
> Or should I help to do the IBM port instead ?

Daniel,

I've spoken to some people at TiVo and I should hopefully have a copy of
the CD within the end of the week.

I asked point blank if they planned on releasing their code back to the
PowerPC developer community in a manner beyond releasing this CD and they
said "no". To further clarify that response I asked if they planned to
integrate their sources with the rest of Linux/PPC source tree and they
said "no".

They are shipping a stable product, so I'm going to assume that their port
is pretty solid and will serve as a useful base to jump start 4XX efforts
(they commented that they've based their sources on a fairly old kernel
revision but didn't comment on which one).

That said, I think our collective efforts are best focused on integrating
the TiVo changes, updating it to the 2.3 kernel tree and then working on
testing and evaluating it (and making more board specific ports such as
the IBM "Oak" evaluation board).

Regards,

Grant


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Support for IBM CPUs?
  1999-10-18 23:24           ` Jason Haas
@ 1999-10-20 20:03             ` Grant Erickson
  1999-10-23  1:32               ` TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?) Grant Erickson
  0 siblings, 1 reply; 19+ messages in thread
From: Grant Erickson @ 1999-10-20 20:03 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: Daniel Nilsson, Adrian Cox, Wolfgang Denk


I just got the TiVo Linux source code.

I haven't had a chance to do much other than kick off the 'tar zxvf'
extraction process for the three sizable distributions. Nonetheless,
here's the included README file for more information until I can get
another status update out once I've had a look at things and diff'd their
2.1.24 kernel against a stock 2.1.24 and a 2.3.22 kernel.

-----

This directory contains three different archives - "commands",
"kernels", and "toolchain".  The archives are in GNU "tar" format, and
have been compressed using GNU Zip (.gz suffix) and BZIP2 (.bz2
suffix).  The .gz and .bz2 versions of each archive are identical
except for the compression format - you need only one version of each.

If you're reading this README from our FTP site, and don't want to
spend the time to download these archives via your Internet
connection, you can receive a copy of the software on CD-ROM if you
wish.  A nominal copying-and-distribution charge applies if you order
the CD-ROM. Please contact "webmaster@tivo.com" for information
if you're interested in order a CD-ROM copy of this software.

Please refer to the COPYING file in each directory for detailed
information on the license and distribution terms which apply to each
specific tool, utility, compiler, kernel, or whatever.  Most of this
software is under the GPL, while some of it (e.g. libraries) are under
the LGPL.

The "commands" archive contains the source code for all of the
GPL-licensed programs which are included in the TiVo Personal
Television System software.  These versions are current as of the
1.2.0 and 1.2.1 versions of the TiVo software.  

total 17
dr-xr-xr-x  10 dplatt   root         3072 Oct 14 10:56 bash-2.02/
dr-xr-xr-x   2 dplatt   root         2048 Oct 14 10:56 cpio-2.4.2/
dr-xr-xr-x  12 dplatt   root         1024 Oct 14 10:56 e2fsprogs-1.06/
dr-xr-xr-x   9 dplatt   root         1024 Oct 14 10:56 fileutils-3.16/
dr-xr-xr-x   8 dplatt   root         1024 Oct 14 10:57 grep/
dr-xr-xr-x  10 dplatt   root         1024 Oct 14 10:57 gzip-1.2.4/
dr-xr-xr-x  10 dplatt   root         1024 Oct 14 11:00 modutils-2.1.85/
dr-xr-xr-x   6 dplatt   root         1024 Oct 14 11:00 net-tools-1.432/
dr-xr-xr-x   5 dplatt   root         1024 Oct 14 11:00 procps-1.2.9/
dr-xr-xr-x   5 dplatt   root         1024 Oct 14 11:00 ps/
dr-xr-xr-x  11 dplatt   root         1024 Oct 14 11:01 sh-utils-1.16/
dr-xr-xr-x   3 dplatt   root         1024 Oct 14 11:01 sysklogd-1.3.26/
dr-xr-xr-x  10 dplatt   root         1024 Oct 14 11:01 textutils/
dr-xr-xr-x   2 dplatt   root         1024 Oct 14 11:01 tnlited/

The "kernels" archive contains the source code for the Linux kernel in
the TiVo Personal Television System software.  The "linuxdist-2.1.24"
source tree is configured for use on an Intel X86 development
platform.  The "linux-2.1" source tree is configured for use on the
PowerPC-based hardware system on which the TiVo software actually runs.

total 2
dr-xr-xr-x  15 dplatt   root         1024 Oct 14 10:58 linux-2.1/
dr-xr-xr-x  15 dplatt   root         1024 Oct 14 11:00 linuxdist-2.1.24/

The "toolchains" archive contains the source code for various GNU
software development tools and libraries used in the development of
the PowerPC-based TiVo software releases.  Although the compilers and
development utilities are not shipped with the TiVo-based receivers,
they are provided here as a courtesy to developers and other curious
individuals.

total 14
dr-xr-xr-x   3 dplatt   root         1024 Oct 14 11:01 binutils/
dr-xr-xr-x   3 dplatt   root         1024 Oct 14 11:03 gcc/
dr-xr-xr-x   5 dplatt   root         1024 Oct 14 11:09 gdb/
dr-xr-xr-x  59 dplatt   root         8192 Oct 14 11:13 libc/
dr-xr-xr-x   2 dplatt   root         1024 Oct 14 11:13 libc-ppc/
dr-xr-xr-x   2 dplatt   root         1024 Oct 14 11:13 tcdmem/
dr-xr-xr-x   2 dplatt   root         1024 Oct 14 11:13 xppcbt/


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)
  1999-10-20 20:03             ` Support for IBM CPUs? Grant Erickson
@ 1999-10-23  1:32               ` Grant Erickson
  1999-10-23  7:55                 ` Wolfgang Denk
  1999-10-24 10:57                 ` Wang Yong
  0 siblings, 2 replies; 19+ messages in thread
From: Grant Erickson @ 1999-10-23  1:32 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: Daniel Nilsson, Adrian Cox, Wolfgang Denk


I've made some progress since Wednesday with the TiVo source code. As I
mentioned previously, the TiVo Linux kernel is based on the 2.1.24 PowerPC
sources. However, after comparing the tree against both stock 2.1.24 and
2.2.12 trees, it appears they've borrowed code from more recent trees and
HEAVILY modified the 2.1.24 code in others.

They have configurations for both the TeleWorld Consumer Device (TCD) and
the TeleWorld Consumer Device Eval Board (TCD_EVAL). The latter of these
is presumed to be the IBM PowerPC 403GCX "Oak" evaluation board.

Included in arch/ppc are two configuration files, devconf and prodconf,
one presumably for development/manufacturing configurations and the other
for released product in the field (I've included devconf below).

Compiling this with the LATEST released set of GNU tools and the GCC
2.95.1 compiler was pretty straightforward using the 'devconf'
configuration as a base and then adding "CONFIG_TCD_EVAL=y" for my IBM
evaluation board.

The only major changes required were to drivers/char/serial.c (which is
changed dramatically from stock) and arch/ppc/tcd/qdma.c (a DMA engine for
their Audio, Video, and disk controllers).

Anyway, I was able to successfully load the kernel to the IBM evaluation
board using the tftpboot functionality in the IBM-supplied PROM; however,
the system froze after a few instructions.

Time to hook up the ICE and figure out where things are stopping...

Getting most of the changes into the 2.3.x development tree shouldn't be
too difficult. I've got some preliminary stuff done. What is the best
protocol to follow, submit the patches to the list for general evaluation
and dissemination or send them to Cort and then everyone call grab them
from vger?

Anyone else out there call up TiVo and get their source code yet?

---

#
# Automatically generated make config: don't edit
#

#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not set

#
# Platform support: you must select the Teleworld Customer Device
#
CONFIG_TCD=y
# CONFIG_TCD_EVAL is not set

#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
CONFIG_KERNELD=y

#
# General setup
#
CONFIG_CONTIGMEM=y
CONFIG_TCD_MEMLOG=y
CONFIG_NET=y
# CONFIG_MATH_EMULATION is not set
CONFIG_KERNEL_ELF=y
CONFIG_NO_KEYBOARD=y
CONFIG_XMON=y
# CONFIG_GUARDS is not set
CONFIG_SYSVIPC=y
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_JAVA=m

#
# Floppy, IDE, and other block devices
#
# CONFIG_BLK_DEV_FD is not set
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_BLK_DEV_IDECD is not set
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_BLK_DEV_CMD640 is not set
CONFIG_IDE_CHIPSETS=y

#
# Note: most of these also require special kernel boot parameters
#
CONFIG_TCD_IDE_DMA=y
# CONFIG_BLK_DEV_ALI14XX is not set
# CONFIG_BLK_DEV_DTC2278 is not set
# CONFIG_BLK_DEV_HT6560B is not set
# CONFIG_BLK_DEV_QD6580 is not set
# CONFIG_BLK_DEV_UMC8672 is not set

#
# Additional Block Devices
#
CONFIG_BLK_DEV_LOOP=m
# CONFIG_BLK_DEV_MD is not set
CONFIG_BLK_DEV_RAM=m
# CONFIG_BLK_DEV_XD is not set
# CONFIG_BLK_DEV_EZ is not set
# CONFIG_BLK_DEV_HD is not set

#
# Networking options
#
# CONFIG_NETLINK is not set
# CONFIG_FIREWALL is not set
CONFIG_NET_ALIAS=y
CONFIG_INET=y
# CONFIG_IP_FORWARD is not set
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ACCT is not set
CONFIG_IP_ALIAS=y

#
# (it is safe to leave these untouched)
#
# CONFIG_INET_PCTCP is not set
CONFIG_INET_RARP=y
CONFIG_PATH_MTU_DISCOVERY=y
CONFIG_IP_NOSR=y
# CONFIG_SKB_LARGE is not set

#
#  
#
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_AX25 is not set

#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_NET_ETHERNET=y
CONFIG_TCD8390=y
CONFIG_PPP=y

#
# CCP compressors for PPP are only built as modules.
#

#
# Filesystems
#
# CONFIG_QUOTA is not set
# CONFIG_MINIX_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_BEXT2_FS is not set
# CONFIG_FAT_FS is not set
# CONFIG_MSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_UMSDOS_FS is not set
CONFIG_PROC_FS=y
CONFIG_NFS_FS=y
CONFIG_ROOT_NFS=y
CONFIG_RNFS_BOOTP=y
CONFIG_RNFS_RARP=y
# CONFIG_SMB_FS is not set
# CONFIG_ISO9660_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_UFS_FS is not set
CONFIG_MAC_PARTITION=y
# CONFIG_HFS_FS is not set

#
# Character devices
#
CONFIG_SERIAL=y
# CONFIG_DIGI is not set
# CONFIG_CYCLADES is not set
# CONFIG_STALDRV is not set
# CONFIG_RISCOM8 is not set
# CONFIG_ESPSERIAL is not set
# CONFIG_PRINTER is not set
# CONFIG_MOUSE is not set
# CONFIG_UMISC is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_FTAPE is not set
# CONFIG_APM is not set
# CONFIG_WATCHDOG is not set
# CONFIG_RTC is not set

#
# Kernel hacking
#
# CONFIG_PROFILE is not set


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)
  1999-10-23  1:32               ` TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?) Grant Erickson
@ 1999-10-23  7:55                 ` Wolfgang Denk
  1999-10-23 16:37                   ` TiVo Webmaster
  1999-10-24 10:57                 ` Wang Yong
  1 sibling, 1 reply; 19+ messages in thread
From: Wolfgang Denk @ 1999-10-23  7:55 UTC (permalink / raw)
  To: Grant Erickson
  Cc: linuxppc-embedded, Daniel Nilsson, Adrian Cox, Richard Bullwinkle


In message <Pine.SGI.4.10.9910222012050.46619-100000@brule.lcse.umn.edu>
Grant Erickson wrote:
>
> I've made some progress since Wednesday with the TiVo source code. As I
...
> too difficult. I've got some preliminary stuff done. What is the best
> protocol to follow, submit the patches to the list for general evaluation
> and dissemination or send them to Cort and then everyone call grab them
> from vger?

What are the exact conditions for the sources?  It  would  be  really
nice  to  have  them  on a FTP server for public access.

Because it's technically difficult and expensive to send a check from
Germany to the USA I asked Richard Bullwinkle (the guy at TiVo who is
distributing the CDs) about putting the sources on a FTP server,  and
he  said  he  would  try to, but it "will take a few weeks". This was
more than a month ago.

Maybe we can solve this  problem  by  putting  them  somewhere  else?
Richard, any objections about this?

> Anyone else out there call up TiVo and get their source code yet?

Yes, me. But it seems the check got lost in the mail. I've resent it,
but snail mail between Germany and USA takes some time :-(

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Don't panic.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* RE: TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)
  1999-10-23  7:55                 ` Wolfgang Denk
@ 1999-10-23 16:37                   ` TiVo Webmaster
  1999-11-12  3:12                     ` Wang Yong
  0 siblings, 1 reply; 19+ messages in thread
From: TiVo Webmaster @ 1999-10-23 16:37 UTC (permalink / raw)
  To: wd, Grant Erickson
  Cc: linuxppc-embedded, Daniel Nilsson, Adrian Cox, Richard Bullwinkle


Got it done yesterday!

http://www.tivo.com/linux

enjoy,
Richard Bullwinkle
TiVo Webmaster


-----Original Message-----
From: wd@denx.de [mailto:wd@denx.de]
Sent: Saturday, October 23, 1999 12:56 AM
To: Grant Erickson
Cc: linuxppc-embedded@lists.linuxppc.org; Daniel Nilsson; Adrian Cox; Richard Bullwinkle
Subject: Re: TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?) 

In message <Pine.SGI.4.10.9910222012050.46619-100000@brule.lcse.umn.edu>
Grant Erickson wrote:
>
> I've made some progress since Wednesday with the TiVo source code. As I
...
> too difficult. I've got some preliminary stuff done. What is the best
> protocol to follow, submit the patches to the list for general evaluation
> and dissemination or send them to Cort and then everyone call grab them
> from vger?

What are the exact conditions for the sources?  It  would  be  really
nice  to  have  them  on a FTP server for public access.

Because it's technically difficult and expensive to send a check from
Germany to the USA I asked Richard Bullwinkle (the guy at TiVo who is
distributing the CDs) about putting the sources on a FTP server,  and
he  said  he  would  try to, but it "will take a few weeks". This was
more than a month ago.

Maybe we can solve this  problem  by  putting  them  somewhere  else?
Richard, any objections about this?

> Anyone else out there call up TiVo and get their source code yet?

Yes, me. But it seems the check got lost in the mail. I've resent it,
but snail mail between Germany and USA takes some time :-(

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Don't panic. 


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)
  1999-10-23  1:32               ` TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?) Grant Erickson
  1999-10-23  7:55                 ` Wolfgang Denk
@ 1999-10-24 10:57                 ` Wang Yong
  1999-10-25 14:33                   ` Marcus Sundberg
  1 sibling, 1 reply; 19+ messages in thread
From: Wang Yong @ 1999-10-24 10:57 UTC (permalink / raw)
  To: Grant Erickson; +Cc: linuxppc embedded mail list


Hi,
  It appears you compiled this kernel with GCC, so i am wondering if
GCC could work correctly with some architecture specified instructions
of
PPC embedded controller? Do you know if GCC could compile the kernel
written
for 401D2, another embedded controller from IBM? this is very important
for
us because we're starting to port linux to this platform(RedWood3) but
we still don't know which compiler should be ok.

Regards,
Wang


Grant Erickson wrote:
> 
> I've made some progress since Wednesday with the TiVo source code. As I
> mentioned previously, the TiVo Linux kernel is based on the 2.1.24 PowerPC
> sources. However, after comparing the tree against both stock 2.1.24 and
> 2.2.12 trees, it appears they've borrowed code from more recent trees and
> HEAVILY modified the 2.1.24 code in others.
> 
> They have configurations for both the TeleWorld Consumer Device (TCD) and
> the TeleWorld Consumer Device Eval Board (TCD_EVAL). The latter of these
> is presumed to be the IBM PowerPC 403GCX "Oak" evaluation board.
> 
> Included in arch/ppc are two configuration files, devconf and prodconf,
> one presumably for development/manufacturing configurations and the other
> for released product in the field (I've included devconf below).
> 
> Compiling this with the LATEST released set of GNU tools and the GCC
> 2.95.1 compiler was pretty straightforward using the 'devconf'
> configuration as a base and then adding "CONFIG_TCD_EVAL=y" for my IBM
> evaluation board.
> 
> The only major changes required were to drivers/char/serial.c (which is
> changed dramatically from stock) and arch/ppc/tcd/qdma.c (a DMA engine for
> their Audio, Video, and disk controllers).
> 
> Anyway, I was able to successfully load the kernel to the IBM evaluation
> board using the tftpboot functionality in the IBM-supplied PROM; however,
> the system froze after a few instructions.
> 
> Time to hook up the ICE and figure out where things are stopping...
> 
> Getting most of the changes into the 2.3.x development tree shouldn't be
> too difficult. I've got some preliminary stuff done. What is the best
> protocol to follow, submit the patches to the list for general evaluation
> and dissemination or send them to Cort and then everyone call grab them
> from vger?
> 
> Anyone else out there call up TiVo and get their source code yet?
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)
  1999-10-24 10:57                 ` Wang Yong
@ 1999-10-25 14:33                   ` Marcus Sundberg
  0 siblings, 0 replies; 19+ messages in thread
From: Marcus Sundberg @ 1999-10-25 14:33 UTC (permalink / raw)
  To: wung_y; +Cc: linuxppc embedded mail list


Wang Yong <wung_y@263.net> writes:

> Hi,
>   It appears you compiled this kernel with GCC, so i am wondering if
> GCC could work correctly with some architecture specified instructions
> of
> PPC embedded controller? Do you know if GCC could compile the kernel
> written
> for 401D2, another embedded controller from IBM?

>From a quick look at the source GCC and binutils seems to know about
401 CPUs, so there shouldn't be any problem compiling/assembling code
for this CPU.

> this is very important for
> us because we're starting to port linux to this platform(RedWood3) but
> we still don't know which compiler should be ok.

If GCC hadn't supported this particular PowerPC CPU it would probably
have been easier to add support for it to GCC and binutils than to
port Linux to a non-GCC compiler...

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)
       [not found] <B43E0634.1BD%mfryar@gcctech.com>
@ 1999-10-28 18:04 ` Grant Erickson
  0 siblings, 0 replies; 19+ messages in thread
From: Grant Erickson @ 1999-10-28 18:04 UTC (permalink / raw)
  To: Michael Fryar; +Cc: linuxppc embedded mail list


On Thu, 28 Oct 1999, Michael Fryar wrote:
> I have in my possession (hasn't been unpacked yet) a IBM PowerPC 405GP
> evaluation board kit. My goal is to get embedded Linux (w/ethernet
> networking) up a running on it. Unfortunately a few thing count against
> me:
> 
> 1) My use of Linux is from the user's perspective, not a kernel developer's.
> 2) My initiative is a "black" project (i.e. no support from my engineers).
> 3) I haven't coded seriously in years.

Please note that if your IBM PowerPC 405GP evaluation board uses Pass 1
silicon (PVR = 0x40110000), the MMU does not work in any way shape or
form. This will result in an effort to get stock Linux/PPC running on the
chip to end quickly. I think you'll have to wait until the 405GP has
release silicon.

> I hope your efforts (vis-a-vis the TiVo port) will find its way back into
> public distribution. This could provide the bedrock to get a 405 port
> started -- which in turn would be returned to public distribution.

My intentions are:

1. Get the TiVo Linux 2.1.24 code running and stable on IBM 403GCX
   evaluation board "Oak".

2. Port these changes forward to 2.3.x and stabilize.

3. Submit patches to Cort for inclusion into the Linux/PPC tree.

4. Port to IBM 405GP evaluation board "Walnut" when it's available.

5. Stabilize

6. Submit patches to Cort for inclusion into the Linux/PPC tree.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)
       [not found] <Pine.SGI.4.10.9910281200550.695157-100000@sapphire.lcse.umn.edu>
@ 1999-10-28 18:13 ` Jason Haas
  0 siblings, 0 replies; 19+ messages in thread
From: Jason Haas @ 1999-10-28 18:13 UTC (permalink / raw)
  To: Grant Erickson; +Cc: linuxppc-embedded


On Thu, 28 Oct 1999, Grant Erickson wrote:

> Great news! Linux fully boots on the IBM 403GCX evaluation board! It's
> time to load up a root file system via NFS and see what happens...

Great! I'll have time next week to work on the IBM thin client I have, if
you're interested. Fair warning: I may need a bit of hand-holding at first, but get my sea legs quickly. Should I compile a kernel with NFS for my PMac hardware?

Cheers,
Jason


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)
  1999-10-23 16:37                   ` TiVo Webmaster
@ 1999-11-12  3:12                     ` Wang Yong
  1999-11-18  1:33                       ` TiVo Webmaster
  0 siblings, 1 reply; 19+ messages in thread
From: Wang Yong @ 1999-11-12  3:12 UTC (permalink / raw)
  To: TiVo Webmaster; +Cc: linuxppc embedded mail list


i downloaded the toolchain from tivo/linux but failed to build it on my
i386 box. i have installed cross gcc for ppc-2.95.2 under 
    /usr/local/gcc-ppc.

below is what i did to build:
1. uncompress toolchain.tar.gz to my work directory
2. run libc-ppc/doConfig
3. create libc-ppc/configparms contains these lines:
   	  CC=/usr/local/gcc-ppc/bin/gcc
	  AR=/usr/local/gcc-ppc/bin/ar
	  RANLIB=/usr/local/gcc-ppc/bin/ranlib
	  AS=/usr/local/gcc-ppc/bin/as
	  LD=/usr/local/gcc-ppc/bin/ld
	  BUILD_CC=/usr/bin/gcc
4. run "make all" under directory "libc-ppc"
after a while, i was told something wrong:
mv -f /root/toolchain/libc-ppc/csu/crtn.s-new
/root/toolchain/libc-ppc/csu/crtn.s
/usr/local/gcc-ppc/bin/gcc -c  /root/toolchain/libc-ppc/csu/crti.s -o
/root/toolchain/libc-ppc/csu/crti.o
/usr/local/gcc-ppc/bin/gcc -c  /root/toolchain/libc-ppc/csu/crtn.s -o
/root/toolchain/libc-ppc/csu/crtn.o
/usr/local/gcc-ppc/bin/gcc ../sysdeps/powerpc/elf/crtbegin.S -c -I. -I..
-I../libio  -I/root/toolchain/libc-ppc -I../sysdeps/powerpo
/usr/local/gcc-ppc/bin/gcc ../sysdeps/powerpc/elf/crtend.S -c -I. -I..
-I../libio  -I/root/toolchain/libc-ppc -I../sysdeps/powerpc/o
make[2]: *** No rule to make target
`/root/toolchain/libc-ppc/csu/crtbeginS.o', needed by `others'.  Stop.
make[2]: Leaving directory `/root/toolchain/libc/csu'
make[1]: *** [csu/others] Error 2
make[1]: Leaving directory `/root/toolchain/libc'
make: *** [all] Error 2

i check the csu/Makefile and found the error may be caused by makefile.
so 
i build crtbegin.so by myself and copy to the right place and after
that i can go on. but another error appeared when build library of nss
and
nis. it seems it's also makefile's problem. 

is there something wrong in these steps? i think the makefile should
be correct and i must do something wrong. has anyone already build
libc-ppc 
successfully?





TiVo Webmaster wrote:
> 
> Got it done yesterday!
> 
> http://www.tivo.com/linux
> 
> enjoy,
> Richard Bullwinkle
> TiVo Webmaster
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

* RE: TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)
  1999-11-12  3:12                     ` Wang Yong
@ 1999-11-18  1:33                       ` TiVo Webmaster
  0 siblings, 0 replies; 19+ messages in thread
From: TiVo Webmaster @ 1999-11-18  1:33 UTC (permalink / raw)
  To: wung_y, TiVo Webmaster; +Cc: linuxppc embedded mail list


Dear Wang,

I am sorry that I am not a Linux person, and the only engineer who might
help with such a thing, as he created the tar balls, is on vacation.  I will
ask him to take a look when he returns, though I am certain he will say
something like "it is unsupported."

Still, I try to get him to contact you.

Sorry,
-Richard Bullwinkle
TiVo Webmaster


-----Original Message-----
From: Wang Yong [mailto:wung_y@263.net]
Sent: Thursday, November 11, 1999 7:12 PM
To: TiVo Webmaster
Cc: linuxppc embedded mail list
Subject: Re: TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)

i downloaded the toolchain from tivo/linux but failed to build it on my
i386 box. i have installed cross gcc for ppc-2.95.2 under
    /usr/local/gcc-ppc.

below is what i did to build:
1. uncompress toolchain.tar.gz to my work directory
2. run libc-ppc/doConfig
3. create libc-ppc/configparms contains these lines:
          CC=/usr/local/gcc-ppc/bin/gcc
          AR=/usr/local/gcc-ppc/bin/ar
          RANLIB=/usr/local/gcc-ppc/bin/ranlib
          AS=/usr/local/gcc-ppc/bin/as
          LD=/usr/local/gcc-ppc/bin/ld
          BUILD_CC=/usr/bin/gcc
4. run "make all" under directory "libc-ppc"
after a while, i was told something wrong:
mv -f /root/toolchain/libc-ppc/csu/crtn.s-new
/root/toolchain/libc-ppc/csu/crtn.s
/usr/local/gcc-ppc/bin/gcc -c  /root/toolchain/libc-ppc/csu/crti.s -o
/root/toolchain/libc-ppc/csu/crti.o
/usr/local/gcc-ppc/bin/gcc -c  /root/toolchain/libc-ppc/csu/crtn.s -o
/root/toolchain/libc-ppc/csu/crtn.o
/usr/local/gcc-ppc/bin/gcc ../sysdeps/powerpc/elf/crtbegin.S -c -I. -I..
-I../libio  -I/root/toolchain/libc-ppc -I../sysdeps/powerpo
/usr/local/gcc-ppc/bin/gcc ../sysdeps/powerpc/elf/crtend.S -c -I. -I..
-I../libio  -I/root/toolchain/libc-ppc -I../sysdeps/powerpc/o
make[2]: *** No rule to make target
`/root/toolchain/libc-ppc/csu/crtbeginS.o', needed by `others'.  Stop.
make[2]: Leaving directory `/root/toolchain/libc/csu'
make[1]: *** [csu/others] Error 2
make[1]: Leaving directory `/root/toolchain/libc'
make: *** [all] Error 2

i check the csu/Makefile and found the error may be caused by makefile.
so
i build crtbegin.so by myself and copy to the right place and after
that i can go on. but another error appeared when build library of nss
and
nis. it seems it's also makefile's problem.

is there something wrong in these steps? i think the makefile should
be correct and i must do something wrong. has anyone already build
libc-ppc
successfully?





TiVo Webmaster wrote:
>
> Got it done yesterday!
>
> http://www.tivo.com/linux
>
> enjoy,
> Richard Bullwinkle
> TiVo Webmaster
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~1999-11-18  1:33 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-13 11:44 Support for IBM CPU's ? daniel.n.nilsson
1999-10-13 14:59 ` Grant Erickson
1999-10-13 21:13   ` Wolfgang Denk
1999-10-13 21:54     ` Grant Erickson
1999-10-14  5:13     ` Grant Erickson
1999-10-14 14:40       ` Adrian Cox
1999-10-18 21:38         ` Daniel Nilsson
1999-10-18 23:24           ` Jason Haas
1999-10-20 20:03             ` Support for IBM CPUs? Grant Erickson
1999-10-23  1:32               ` TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?) Grant Erickson
1999-10-23  7:55                 ` Wolfgang Denk
1999-10-23 16:37                   ` TiVo Webmaster
1999-11-12  3:12                     ` Wang Yong
1999-11-18  1:33                       ` TiVo Webmaster
1999-10-24 10:57                 ` Wang Yong
1999-10-25 14:33                   ` Marcus Sundberg
1999-10-18 23:38           ` Support for IBM CPU's ? Grant Erickson
     [not found] <B43E0634.1BD%mfryar@gcctech.com>
1999-10-28 18:04 ` TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?) Grant Erickson
     [not found] <Pine.SGI.4.10.9910281200550.695157-100000@sapphire.lcse.umn.edu>
1999-10-28 18:13 ` Jason Haas

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).