From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joachim Jaeger Date: Fri, 18 Nov 2005 17:26:58 +0100 Subject: [U-Boot-Users] [PATCH] FAT32 access on USB memory sticks In-Reply-To: <47F3F98010FF784EBEE6526EAAB078D1C05EA1@tq-mailsrv.tq-net.de> References: <47F3F98010FF784EBEE6526EAAB078D1C05EA1@tq-mailsrv.tq-net.de> Message-ID: <437E00D2.7000707@fsforth.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.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 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