public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Joachim Jaeger <jjaeger@fsforth.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] FAT32 access on USB memory sticks
Date: Fri, 18 Nov 2005 17:26:58 +0100	[thread overview]
Message-ID: <437E00D2.7000707@fsforth.de> (raw)
In-Reply-To: <47F3F98010FF784EBEE6526EAAB078D1C05EA1@tq-mailsrv.tq-net.de>

Hi,

I have had following problem with ARM9 CPUs NS9360, NS9750, S3C2410 and
S3C2440:

Using fatload command with 2GB USB memory stick lead to data abort and
reset of CPU.

The reason herefor is, that the access to the variable fatbuf produces
an alignment error, if FAT32 is used.

Attached patch moves the variable fatbuf to top of the structure, where
it is defined, so that accesses to this variable are always aligned.

CHANGELOG:
  Fix access via fatload command on FAT32 formatted partitions
  Patch by Joachim Jaeger, 18 Nov 2005

Signed-off-by: Joachim Jaeger <joachim_jaeger@digi.com>


Best regards
Joachim Jaeger

-- 
FS FORTH-SYSTEME GmbH
A Digi International Company
Kueferstr. 8, D-79206 Breisach
Phone: +49 (7667) 908-0, FAX +49 (7667) 908-200
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fat32.patch
Url: http://lists.denx.de/pipermail/u-boot/attachments/20051118/9164f75c/attachment.txt 

  reply	other threads:[~2005-11-18 16:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-17 12:56 [U-Boot-Users] [PATCH] add-support-for-ps2-keyboard-on-tqm8540-board.patch Martin Krause
2005-11-18 16:26 ` Joachim Jaeger [this message]
2006-08-18  9:41   ` [U-Boot-Users] [PATCH] FAT32 access on USB memory sticks Wolfgang Denk
2006-06-19  0:24 ` [U-Boot-Users] [PATCH] add-support-for-ps2-keyboard-on-tqm8540-board.patch 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=437E00D2.7000707@fsforth.de \
    --to=jjaeger@fsforth.de \
    --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