public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: dpdonny <ddonahue@gridcosystems.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-Boot: Checksum error when booting kernel from jffs2 partition
Date: Thu, 27 Dec 2012 08:24:04 -0800 (PST)	[thread overview]
Message-ID: <1356625444515-143640.post@n7.nabble.com> (raw)

Greetings,

I am using U-Boot version 2011.09-00096 and Kernel 3.1.0 on a proprietary
board booting out of NOR flash. The only mods to the sources are my BSP
files.

All is well as long as the kernel image and ram filesystem archive image are
created with the mkfs.jffs2 command and copied into flash (in directory
'foo' for this case) from U-Boot using the 'cp' command.   The U-boot
environment file is updated to point to foo and the board successfully boots
the kernel. No padding is used when creating the jffs2 image.

Once the kernel is booted I create directory foo2 in the same partition as
foo (again from the kernel). My update untars an archive containing the
kernel image and ram filesystem into foo2, updates the U-Boot environment
file to point to foo2, and reboots. U-Boot comes up, fsloads the images from
foo2, and the Checksum error is seen.

Note, If I create a jffs2 image containing both foo and foo2 the checksum
error is not seen.

Is there a jffs2 compatibility issue between my kernel and U-Boot?



--
View this message in context: http://u-boot.10912.n7.nabble.com/U-Boot-Checksum-error-when-booting-kernel-from-jffs2-partition-tp143640.html
Sent from the U-Boot mailing list archive at Nabble.com.

             reply	other threads:[~2012-12-27 16:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-27 16:24 dpdonny [this message]
2012-12-27 18:58 ` [U-Boot] U-Boot: Checksum error when booting kernel from jffs2 partition dpdonny
2012-12-27 22:04 ` Dan Donahue

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=1356625444515-143640.post@n7.nabble.com \
    --to=ddonahue@gridcosystems.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox