public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: michael <trimarchi@gandalf.sssup.it>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] USB SUPPORT & get_vfatname
Date: Thu, 24 Apr 2008 19:01:07 +0200	[thread overview]
Message-ID: <4810BCD3.7000905@gandalf.sssup.it> (raw)
In-Reply-To: <AA28F077645B324881335614E4F7C428034CE2@win-ex01.bench.com>

Hi,
Ken.Fuchs at bench.com wrote:
> My include/fat.h is identical to the fat.h in both
> git repository u-boot and git repository u-boot-at91,
> except that I put the CHECKCLUST() macro in fat.c
> rather than fat.h.
>
> Ken
>   

Can you put in debug the fat.c file?
Try to align the temp buffer in fat.c to 32 bit and send to the list
a log file during the fatls command.

To do the align just put the attribute keyword.

fat/fat.c:              __u8 tmpbuf[FS_BLOCK_SIZE] 
__attribute__((aligned(4)));
fat/fat.c:__u8   get_vfatname_block[MAX_CLUSTSIZE] 
__attribute__((aligned(4)));
fat/fat.c:__u8 get_dentfromdir_block[MAX_CLUSTSIZE] 
__attribute__((aligned(4)));
fat/fat.c:__u8 do_fat_read_block[MAX_CLUSTSIZE] 
__attribute__((aligned(4))); 

Your test in my CF card works without problem.

Regards Michael

  reply	other threads:[~2008-04-24 17:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-21  4:29 [U-Boot-Users] USB SUPPORT Aneesh
2008-04-21 15:04 ` Markus Klotzbücher
2008-04-21 16:36 ` Ken.Fuchs at bench.com
2008-04-21 16:56   ` michael
2008-04-21 22:53     ` Ken.Fuchs at bench.com
2008-04-22  7:53       ` michael
2008-04-22 22:31         ` Ken.Fuchs at bench.com
2008-04-23  6:54           ` michael
2008-04-23  8:14             ` michael
2008-04-23 11:15               ` [U-Boot-Users] USB SUPPORT & get_vfatname michael
2008-04-23 18:01                 ` Ken.Fuchs at bench.com
2008-04-24  7:59                   ` michael
2008-04-24 16:13                     ` Ken.Fuchs at bench.com
2008-04-24 17:01                       ` michael [this message]
2008-04-24 21:30                         ` Ken.Fuchs at bench.com

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=4810BCD3.7000905@gandalf.sssup.it \
    --to=trimarchi@gandalf.sssup.it \
    --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