From: Corey Minyard <minyard@acm.org>
To: Alois Fertl <alois_fertl@muenchen.europe.mcd.mot.com>
Cc: VALETTE Eric <valette@crf.canon.fr>,
linuxppc-dev@lists.linuxppc.org, cort@cs.nmt.edu
Subject: Re: Linux-2.1.129 boot on MCP750
Date: 08 Dec 1998 19:55:48 -0600 [thread overview]
Message-ID: <m2af0ycc4b.fsf@wf-rch.cirr.com> (raw)
In-Reply-To: Alois Fertl's message of Mon, 23 Nov 1998 13:26:25 +0100 (W. Europe Standard Time)
I have posted patches to this group that fix all these problems.
You can search the lists for them.
Alois Fertl <alois_fertl@muenchen.europe.mcd.mot.com> writes:
> If you manage to put your zImage onto a prep partition
> of a hard drive or if you boot it from floppy it should
> work fine.
>
> There is a problem in boot/misc.c which manifests only
> if netboot is used. Current ppcbug netboots at 0x5000 and
> this forces decompress to overwrite its own source.
>
> You can fool netboot resp. boot/misc.c if you netboot
> zImage.initrd ( make zImage.initrd which requires ramdisk.image.gz
> in arch/ppc/boot; somewhere on the R4 CD ) and type
> noinitrd
> to the Linux/PPC load: prompt.
>
> I found some other improvement over the weekend which help using
> linuxppc with serial console only. Due to limited time I was not
> able to propagate them yet. I promise to do so over the next days.
>
> Regards
> Alois
>
>
>
> On Fri, 20 Nov 1998 18:25:08 +0100 (CET) VALETTE Eric
> <valette@crf.canon.fr> wrote:
>
> >
> >
> > I have sucessfully compiled the brand new linux-2.1.129 source tree
> > without any glich. I used the PREP configuration, made the zImage and tried
> > to boot it using motorola ppcbug firmware.
> >
> > I first discovered that I add to replace all putc, puts routine because
> > I use the serial line (not a big deal). Then I added a more general code
> > than puthex in order to print also decimal and fixed some output in
> > arch/ppc/boot to get inflate errors.
> >
> > Here is what I get now : It shows that inflate fails.
> >
> > -----------------------------------------------------------
> > Local Memory Found =02000000 (&33554432)
> >
> > MPU Clock Speed =233Mhz
> >
> > BUS Clock Speed =67Mhz
> >
> > WARNING: Keyboard Not Connected
> >
> > Reset Vector Location : ROM Bank B
> > Mezzanine Configuration: Single-MPU
> > Current 60X-Bus Master : MPU0
> > Idle MPU(s) : NONE
> >
> > System Memory: 32MB, ECC Enabled (ECC-Memory Detected)
> > L2Cache: 1024KB, 117Mhz
> >
> > PPC1-Bug>nbo
> > Network Booting from: DEC21140, Controller 0, Device 0
> > Device Name: /pci@80000000/pci1011,9@e,0:0,0
> > Loading: /zImage
> >
> > Client IP Address = 194.2.81.157
> > Server IP Address = 194.2.81.241
> > Gateway IP Address = 194.2.81.254
> > Subnet IP Address Mask = 255.255.255.0
> > Boot File Name = /zImage
> > Argument File Name =
> >
> > Network Boot File load in progress... To abort hit <BREAK>
> >
> > Bytes Received =&794942, Bytes Loaded =&794942
> > Bytes/Second =&397471, Elapsed Time =2 Second(s)
> >
> > Residual-Data Located at: $01F78000
> > loaded at: 5400 19FC0
> >
> > relocated to: 600000 614BC0
> >
> > board data at: 1F78000 1F7EA0C
> >
> > relocated to: 60E0B4 614AC0
> >
> > zimage at: E400 C539E
> >
> > avail ram: 400000 600000
> >
> >
> >
> > Linux/PPC load:
> >
> > Uncompressing Linux...descompressing to : 0 400000inflate returned-3 <============
> > exit
> >
> > ---------------------------------------------------------------------------
> >
> > Reading the Makefile and trying to figure out how the binary image was
> > done, I discovered that the compressed image is set in the file at the
> > same offset than the .bss and that there is in head.S a bzero of the
> > bss section As shown by the following header dump.
> >
> >
> > ----------------------------------------------------------------------------
> > objdump -h zvmlinux
> >
> > zvmlinux: file format elf32-powerpc
> >
> > Sections:
> > Idx Name Size VMA LMA File off Algn
> > 0 .text 00005950 00600000 00600000 00010000 2**2
> > CONTENTS, ALLOC, LOAD, READONLY, CODE
> > 1 .rodata 00001560 00605950 00605950 00015950 2**4
> > CONTENTS, ALLOC, LOAD, READONLY, DATA
> > 2 .data 00001b2c 00607000 00607000 00017000 2**2
> > CONTENTS, ALLOC, LOAD, DATA
> > 3 .bss 0000bbc0 00609000 00609000 00019000 2**2
> > ALLOC
> > 4 image 000b6f9f 00000000 00000000 00019000 2**0
> > CONTENTS, READONLY
> > ---------------------------------------------------------------------------
> >
> > So I propose the following :
> >
> > Make mkprep know a little bit more about ELF and make a different binary image
> > with bss already zeroed and image moved from bss size. Do you know if libelf
> > package works on Linux PPC as It does on Linux Intel?
> >
> > 1) Is the analysis correct?
> > 2) Do you want the small modif for printing decimal and the code that
> > prints correctly errors in gunzip routine?
> >
> >
> >
> >
> > --
> > __
> > / ` Eric Valette
> > /-- __ o _. Canon CRF
> > (___, / (_(_(__ Rue de la touche lambert
> > 35517 Cesson-Sevigne Cedex
> > FRANCE
> > Tel: +33 (0)2 99 87 68 91 Fax: +33 (0)2 99 84 11 30
> > E-mail: valette@crf.canon.fr
>
>
>
>
--
Corey Minyard Internet: minyard@acm.org
Work: minyard@nortel.ca UUCP: minyard@wf-rch.cirr.com
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
next parent reply other threads:[~1998-12-09 1:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <SIMEON.9811231325.A@g-mun-af.muenchen.europe.mcd.mot.com>
1998-12-09 1:55 ` Corey Minyard [this message]
[not found] <Pine.LNX.3.96.981123134306.1805A-100000@liberty.chnd1.az.home.com>
1998-12-09 9:05 ` Linux-2.1.129 boot on MCP750 Cort Dougan
1998-12-09 10:57 ` VALETTE Eric
[not found] <m0ziKex-0000WUC@tri-yann.crf.canon.fr>
1998-12-09 9:59 ` Cort Dougan
[not found] <m0ziEf0-0000WUC@tri-yann.crf.canon.fr>
1998-12-09 10:34 ` Gabriel Paubert
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=m2af0ycc4b.fsf@wf-rch.cirr.com \
--to=minyard@acm.org \
--cc=alois_fertl@muenchen.europe.mcd.mot.com \
--cc=cort@cs.nmt.edu \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=valette@crf.canon.fr \
/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 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).