All of lore.kernel.org
 help / color / mirror / Atom feed
From: hendrik <hendrik.vastech@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] CRAMFS byte oder question
Date: Fri, 06 Feb 2009 17:44:53 +0200	[thread overview]
Message-ID: <498C5AF5.1010401@gmail.com> (raw)

Hi All

The MPC8548 board i inherited used to boot a CRAMFS that was made by 
mkcramfs in ELDK4.1 using the "-r" option to reverse endian-ness of 
filesystem I have switched over ti ELDK4.2 and noted that there is no 
longer a "-r" for mkcramfs. I compile linux 2.6.27 using ppc_85xx cross 
compiler and powerpc architecture.   Mu cramfs boot fails when U-Boot 
checks the magic no for the cramfs. In my dubuging eforts i came across 
the following while U-Boot checks the magic no:

 cramfs magic= 0x453dcd28 != CRAMFS32 = 0x28cd3d45       

The value read by uboot is a byte swoped version of what it exspects.

how to I go about correcting my cramfs image?

thanks Hendik

             reply	other threads:[~2009-02-06 15:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-06 15:44 hendrik [this message]
2009-02-06 16:16 ` [U-Boot] CRAMFS byte oder question Wolfgang Denk

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=498C5AF5.1010401@gmail.com \
    --to=hendrik.vastech@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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.