All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Zeffertt <ajz@cambridgebroadband.com>
To: "David Marqvar (DAM)" <DAM@tt.dk>
Cc: "Embedded Linux PPC List (E-mail)"
	<linuxppc-embedded@lists.linuxppc.org>,
	"Laurits Lassen Petersen (LLP)" <LLP@tt.dk>
Subject: Re: Kernel 2.4.4
Date: Mon, 11 Feb 2002 11:10:46 +0000	[thread overview]
Message-ID: <3C67A6B6.4050802@cambridgebroadband.com> (raw)
In-Reply-To: E8F83D6D2A6AD3118E0300902786A20502371417@NTEX


Try make pImage for the last step instead of make zImage.  The result should then be found in
arch/ppc/mbxboot/pImage.

Alex

PS pImage is bootable by PPCBoot.  So you'll need to get PPCBoot on your board before you can do
anything with pImage.

David Marqvar (DAM) wrote:

> I've downloaded the Linux kernel 2.4.4-2002-01-19 from ftp.denx.de.
> I want to compile it for a custom MPC823-based board.
>
> I'm a newbie with Linux. Maybe someone have a comment at my problems and
> fixes.... :)
>
> I'm using:
> gcc-3.0.3, cross-compiling for "powerpc-elf".
> binutils-2.11.2
> newlib-1.10.0
>
> make menuconfig
> make dep
> make clean
> make zImage
>
> During the compilation (last step) I've encountered the following problems:
>
> 1) error compiling coda.h (missing keywords)
> Fix: adding the switch -D__linux__ to the makefile.
>
> 2) error compiling ... (don't remember)
> Fix: changed sched.c:540 declaring time struct, to ..volatile..
>
> 3) error compiling embedded_config.c:
> Fix: changed include sys/types to linux/types.h
>
> 4) I had to stop enabling "Magic SysRq Key" in Kernel hacking in menuconfig.
> Error: m8xx_setup.c:851: structure has no member named  'kbd_sysrq_xlate'.
>
> Please give me any comments about my fixes? Anyone had the same problems?
>
> Where do I find the zImage file - it is compressed, right? I've located the
> vmlinux, but as far as I know this is the uncompressed kernel-image.
>
>
> I want to compile SASH for powerpc too. Does anyone know a place with
> powerpc-ready source for this? I've tried to compile it from the latest
> source, but I'm missing some kind of way to make i compile for powerpc - the
> Makefile keeps compiling for i386 (working fine by the way).
>
> My next step is to find a simple bootloader..
>
> Best regards,
> David Marqvar
>
>
>


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

  reply	other threads:[~2002-02-11 11:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-11 10:56 Kernel 2.4.4 David Marqvar (DAM)
2002-02-11 11:10 ` Alex Zeffertt [this message]
2002-02-11 15:18 ` Wolfgang Denk
2002-02-12 17:40 ` Magnus Damm
2002-02-12 18:21   ` Wolfgang Denk
2002-02-14 20:00     ` David Chen
  -- strict thread matches above, loose matches on Subject: below --
2002-02-11 18:09 Kerl, John
2002-02-11 18:13 Kerl, John

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=3C67A6B6.4050802@cambridgebroadband.com \
    --to=ajz@cambridgebroadband.com \
    --cc=DAM@tt.dk \
    --cc=LLP@tt.dk \
    --cc=linuxppc-embedded@lists.linuxppc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.