linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* problems with PPC860/ADS board/8xxrom-0.3.0/mpc8xx-2.2.13/patches (from Raphael Bossek)
@ 2000-03-15 16:35 Eisenzopf Thomas
  2000-03-17  4:39 ` problems with PPC860/ADS board/8xxrom-0.3.0/mpc8xx-2.2.13/patch es " duncanp
  2000-03-17  8:33 ` problems with PPC860/ADS board/8xxrom-0.3.0/mpc8xx-2.2.13/patches(from " Amre El-Hoiydi
  0 siblings, 2 replies; 3+ messages in thread
From: Eisenzopf Thomas @ 2000-03-15 16:35 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


Hello!

I´m trying to get embedded Linux running on an ADS board with a PowerPC 860.

For the beginning I used the informations from Raphael Bossek´s WWW-page
http://www.s4l.de/powerpc.html.

My main problem at this time is, that the patches (from Magnus Damm and
Raphael Bossek) from this internet page do not seem to fit to
mpc8xx-2.2.13.tgz; the dates of the files differ, and the patch program
delivers errors (e.g. Hunk #1 FAILED at 459....). But without these patches
I cannot build the system.

Does anyone have some advice for me? Is there somewhere a complete archive
of the needed files (including the patches)? Where can I get additional
information?

Thank you in advance,
Thomas.

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

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

* Re: problems with PPC860/ADS board/8xxrom-0.3.0/mpc8xx-2.2.13/patch es  (from Raphael Bossek)
  2000-03-15 16:35 problems with PPC860/ADS board/8xxrom-0.3.0/mpc8xx-2.2.13/patches (from Raphael Bossek) Eisenzopf Thomas
@ 2000-03-17  4:39 ` duncanp
  2000-03-17  8:33 ` problems with PPC860/ADS board/8xxrom-0.3.0/mpc8xx-2.2.13/patches(from " Amre El-Hoiydi
  1 sibling, 0 replies; 3+ messages in thread
From: duncanp @ 2000-03-17  4:39 UTC (permalink / raw)
  To: Eisenzopf Thomas; +Cc: 'linuxppc-embedded@lists.linuxppc.org'


On 15 Mar, Eisenzopf Thomas wrote:
>
> Hello!
>
> I´m trying to get embedded Linux running on an ADS board with a PowerPC 860.
>
> For the beginning I used the informations from Raphael Bossek´s WWW-page
> http://www.s4l.de/powerpc.html.
>
> My main problem at this time is, that the patches (from Magnus Damm and
> Raphael Bossek) from this internet page do not seem to fit to
> mpc8xx-2.2.13.tgz; the dates of the files differ, and the patch program
> delivers errors (e.g. Hunk #1 FAILED at 459....). But without these patches
> I cannot build the system.

Are you using the version of mpc8xx-2.2.13.tgz from Raphaels's web
page? I haven't used this kernel, but the kernels on ftp.ppc.kernel.org
are newer, and the patches on Raphaels page almost certainly won't apply
cleanly to them.

>
> Does anyone have some advice for me? Is there somewhere a complete archive
> of the needed files (including the patches)? Where can I get additional
> information?

Probably the easiest thing to do would be to grab the kernel source
tree from ftp.ppc.kernel.org/pub/linuxppc/embedded/ , which should just
work on your board (it has most of the stuff included in the patches on
Raphaels site plus more). There should be a more up to date kernel on
mail.netx4.com, but it appears to have dissapeared....

The kernel will need a couple of tweaks to allow you to build the 8xxrom
bootloader. I think the only file you'll need to modify is
include/asm-ppc/ads.h - have a look in the patchfile
patch-2.2.13-mpc8xx-damm.diff on Raphaels site to see what needs doing
in there.

To build 8xxrom, first configure and build the kernel tree, then make a
symlink called 'linux' in your 8xxrom directory to the kernel source,
and a symlink called 'romsys' in your 8xxrom directory which points to
the m8xx directory. Have a look at config.h and make sure things look
OK for your board, and then type 'make s19' and cross your fingers....

Having said all that, I've never actually done this, but I have just got
8xxrom working on an Embedded Planet cllf board, so hopefully my advice
is near to the mark.

Good luck,
Dunk


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

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

* Re: problems with PPC860/ADS board/8xxrom-0.3.0/mpc8xx-2.2.13/patches(from Raphael Bossek)
  2000-03-15 16:35 problems with PPC860/ADS board/8xxrom-0.3.0/mpc8xx-2.2.13/patches (from Raphael Bossek) Eisenzopf Thomas
  2000-03-17  4:39 ` problems with PPC860/ADS board/8xxrom-0.3.0/mpc8xx-2.2.13/patch es " duncanp
@ 2000-03-17  8:33 ` Amre El-Hoiydi
  1 sibling, 0 replies; 3+ messages in thread
From: Amre El-Hoiydi @ 2000-03-17  8:33 UTC (permalink / raw)
  To: Eisenzopf Thomas; +Cc: 'linuxppc-embedded@lists.linuxppc.org'


Hi,

I successfully applied the patches
http://master.debian.org/~bossekr/powerpc/patch-2.2.13-mpc8xx.diff.gz
http://master.debian.org/~bossekr/powerpc/patch-2.2.13-mpc8xx-damm.diff.gz
to the kernel
linux-2.2.13.tgz from www.ch.kernel.org/pub/linux/kernel/v2.2/
using the following procedure:

cd linux-2.2.13; patch -p1 [--dry-run] < patch-2.2.13-mpc8xx.diff.gz
cd linux-2.2.13; patch -p1 < patch-2.2.13-mpc8xx.diff.gz

cd linux-2.2.13; patch -p1 [--dry-run] < patch-2.2.13-mpc8xx-damm.diff
cd linux-2.2.13; patch -p1  < patch-2.2.13-mpc8xx-damm.diff
-modify the main Makefile: ARCH := ppc, CROSS_COMPILE = powerpc-linux-
-make config, make dep, make zImage

I could not run it on my FADS board because I have only 4 MBytes memory. I am
using this kernel on a custom board with 16 MBytes memory. I had to do a few
modifications for that.

Is there ? Where is the "low-memory patch" that make the kernel 2.2.13 runable
with only 4
Mbytes memory ?

Regs,

Amre



Eisenzopf Thomas wrote:
>
> Hello!
>
> I´m trying to get embedded Linux running on an ADS board with a PowerPC 860.
>
> For the beginning I used the informations from Raphael Bossek´s WWW-page
> http://www.s4l.de/powerpc.html.
>
> My main problem at this time is, that the patches (from Magnus Damm and
> Raphael Bossek) from this internet page do not seem to fit to
> mpc8xx-2.2.13.tgz; the dates of the files differ, and the patch program
> delivers errors (e.g. Hunk #1 FAILED at 459....). But without these patches
> I cannot build the system.
>
> Does anyone have some advice for me? Is there somewhere a complete archive
> of the needed files (including the patches)? Where can I get additional
> information?
>
> Thank you in advance,
> Thomas.
>

--
C       Amre El-Hoiydi, R&D Engineer,  amre.el-hoiydi@csem.ch
S       System Engineering, Real-Time Software and Networking
E       CSEM, Neuchatel, Switzerland   -   http://www.csem.ch
M       Phone: +41(032)720 5188     -   Fax: +41(032)720 5720

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

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

end of thread, other threads:[~2000-03-17  8:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-15 16:35 problems with PPC860/ADS board/8xxrom-0.3.0/mpc8xx-2.2.13/patches (from Raphael Bossek) Eisenzopf Thomas
2000-03-17  4:39 ` problems with PPC860/ADS board/8xxrom-0.3.0/mpc8xx-2.2.13/patch es " duncanp
2000-03-17  8:33 ` problems with PPC860/ADS board/8xxrom-0.3.0/mpc8xx-2.2.13/patches(from " Amre El-Hoiydi

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