From: Simone Piccardi <Simone.Piccardi@fi.infn.it>
To: Christian Zankel <chris@mvista.com>
Cc: Matt Porter <mporter@eng.mcd.mot.com>, linuxppc-dev@lists.linuxppc.org
Subject: Re: BUGboot 0.2 Patch
Date: Tue, 02 Nov 1999 10:45:56 +0100 [thread overview]
Message-ID: <381EB2D4.A5C5DEEF@fi.infn.it> (raw)
In-Reply-To: 3819E280.43C05759@mvista.com
Hi again,
now it works!! I can boot from flash!
It was just the problem of endianess; for some reason when I compiled
mkbugboot.c on the board it take it as little-endian; it was sufficient
to force the code putting:
bbh->entry_offset =header_size;
bbh->routine_length= MAX_BOOT_SIZE+boot_size+2;
instead of:
bbh->entry_offset = cpu_to_be32(header_size); /* Entry address */
bbh->routine_length = cpu_to_be32(MAX_BOOT_SIZE+boot_size+2);
and everything went fine. I'll look to understand why it take it as
LITTLE_ENDIAN on a big endian computer, but now I'm very happy!
Thank you again for the good work.
--
Simone Piccardi
Microsoft is NOT the answer. Microsoft is the Question.
The answer is: "NO!"
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~1999-11-02 9:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-30 20:45 BUGboot 0.2 - Boot Linux from flash on Moto boards Matt Porter
1999-10-11 22:37 ` Simone Piccardi
1999-10-14 16:40 ` Matt Porter
1999-10-29 18:08 ` BUGboot 0.2 Patch Christian Zankel
1999-11-02 9:24 ` Simone Piccardi
1999-11-02 9:45 ` Simone Piccardi [this message]
1999-11-12 23:45 ` BUGboot 0.3 - Boot Linux from flash on Moto boards Matt Porter
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=381EB2D4.A5C5DEEF@fi.infn.it \
--to=simone.piccardi@fi.infn.it \
--cc=chris@mvista.com \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=mporter@eng.mcd.mot.com \
/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).