Support for IBM CPU's ?
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/
Quoted 2 lines · On Wed, 13 Oct 1999 [email protected] 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.
Quoted 2 lines
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/
In message <[email protected]> you write:
Quoted 2 lines
Quoted 2 lines
I have a question regarding the IBM 403GCX, is this CPU supported by
...
Quoted 3 lines
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.
...
Quoted 2 lines
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
Signature · 7 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] ...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/
Quoted 6 lines · Wolfgang Denk
In message <[email protected]> you write:
Quoted 1 line
Quoted 1 line
I have a question regarding the IBM 403GCX, is this CPU supported by
...
Quoted 3 lines
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.
Quoted 7 lines
...
Quoted 2 lines
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/
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/
I found this on dejanews:
Quoted 15 lines
Quoted 2 lines
Quoted 2 lines
Forum: gnu.misc.discuss
Thread: Source code for TiVOSubject: Re: Source code for TiVO
Date: 1999/08/14
Author: TiVo Webmaster <[email protected]>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
Quoted 8 lines
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
[email protected]
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 12 lines · Adrian Cox
I found this on dejanews:
Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
Forum: gnu.misc.discuss
Thread: Source code for TiVOSubject: Re: Source code for TiVO
Date: 1999/08/14
Author: TiVo Webmaster <[email protected]>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/
I've recently aquired an IBM thin client (?) thatu ses the 403GCX, if I can be of any help in testing.
Cheers,
Jason Haas, [email protected]
LinuxPPC Inc, www.linuxppc.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Re: Support for IBM CPUs?
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 "[email protected]" 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/
TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)
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 setCONFIG_KERNELD=y
#
# General setup
#CONFIG_CONTIGMEM=yCONFIG_TCD_MEMLOG=yCONFIG_NET=y
# CONFIG_MATH_EMULATION is not setCONFIG_KERNEL_ELF=yCONFIG_NO_KEYBOARD=yCONFIG_XMON=y
# CONFIG_GUARDS is not setCONFIG_SYSVIPC=yCONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not setCONFIG_BINFMT_JAVA=m
#
# Floppy, IDE, and other block devices
#
# CONFIG_BLK_DEV_FD is not setCONFIG_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 setCONFIG_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 setCONFIG_NET_ALIAS=yCONFIG_INET=y
# CONFIG_IP_FORWARD is not set
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ACCT is not setCONFIG_IP_ALIAS=y
#
# (it is safe to leave these untouched)
#
# CONFIG_INET_PCTCP is not setCONFIG_INET_RARP=yCONFIG_PATH_MTU_DISCOVERY=yCONFIG_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=yCONFIG_NET_ETHERNET=yCONFIG_TCD8390=yCONFIG_PPP=y
#
# CCP compressors for PPP are only built as modules. #
#
# Filesystems
#
# CONFIG_QUOTA is not set
# CONFIG_MINIX_FS is not setCONFIG_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 setCONFIG_PROC_FS=yCONFIG_NFS_FS=yCONFIG_ROOT_NFS=yCONFIG_RNFS_BOOTP=yCONFIG_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 setCONFIG_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/
Re: TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)
In message <[email protected]>
Quoted 2 lines · Grant Erickson
I've made some progress since Wednesday with the TiVo source code. As I
...
Quoted 4 lines
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?
Quoted 1 line
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
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] Don't panic. ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
RE: TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)
Got it done yesterday!
enjoy,
Richard Bullwinkle
TiVo Webmaster
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Saturday, October 23, 1999 12:56 AM
To: Grant Erickson
Cc: [email protected]; Daniel Nilsson; Adrian Cox; Richard Bullwinkle
Subject: Re: TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)
In message <[email protected]>
Quoted 2 lines · Grant Erickson
I've made some progress since Wednesday with the TiVo source code. As I
...
Quoted 4 lines
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?
Quoted 1 line
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: [email protected] Don't panic.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
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?
Quoted 9 lines · TiVo Webmaster
Got it done yesterday!
enjoy,
Richard Bullwinkle
TiVo Webmaster
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
RE: TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)
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:[email protected]]
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?
Quoted 9 lines · TiVo Webmaster
Got it done yesterday!
enjoy,
Richard Bullwinkle
TiVo Webmaster
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Re: TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)
In reply to Grant EricksonHi,
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
Quoted 30 lines · Grant Erickson
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/ppcare 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) andarch/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...
Quoted 8 lines
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/
Re: TiVo Kernel for 403GCX Update (was Re: Support for IBM CPUs?)
Quoted 9 lines · Wang Yong
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.
Quoted 3 lines
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
Signature · 6 lines
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan/
Royal Institute of Technology | Phone: +46 707 295404
Stockholm, Sweden | E-Mail: [email protected]
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/Quoted 4 lines · Daniel Nilsson
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/