* [U-Boot-Users] error while loading image with fatload.
@ 2005-02-10 16:56 Sharad P. Katti
2005-02-10 19:17 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Sharad P. Katti @ 2005-02-10 16:56 UTC (permalink / raw)
To: u-boot
Hi,
We are using u-boot-1.1.1, and trying to load the uImage from the FAT partition,
The board has a 20GB harddisk, and we have created 3 partitions in
that, using fdisk,
and the 3rd partition is of type FAT, we have copied the uImage and
the Ramdisk image
on the FAT partition, and while trying to load the uImage from the same,
we are getting the following error, the fat partition type is showing
as c (win95 FAT(LBA))
$ fatload ide 0:3 0xa0100000 uimage
reading uimage
FAT32, fatlength: 8568
Rootdir begins at sector: 17168, offset: 862000, size: 32
Data begins at: 17104
Cluster size: 32
Rootvfatname: |bcm |
RootMismatch: |au|bcm |
Rootvfatname: |uimage|
RootName: uimage~1, start: 0x3, size: 0xc4d60
Filesize: 806240 bytes
Reading: 806240 bytes
gc - clustnum: 3, startsect: 17200
curclust: 0xfff0004
Invalid FAT entry
Size: 806240, got: 16384
We are able to list the contents using the fatls command,
what could be the reason for the above error..?
regards,
--
Sharad P.Katti
"GOD is real, unless declared as an int"
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] error while loading image with fatload.
2005-02-10 16:56 [U-Boot-Users] error while loading image with fatload Sharad P. Katti
@ 2005-02-10 19:17 ` Wolfgang Denk
2005-02-11 10:35 ` Sharad P. Katti
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2005-02-10 19:17 UTC (permalink / raw)
To: u-boot
In message <eae046ff05021008561c64efed@mail.gmail.com> you wrote:
>
> We are using u-boot-1.1.1, and trying to load the uImage from the FAT partition,
Did you try a more recent version of U-Boot?
...
> curclust: 0xfff0004
> Invalid FAT entry
> Size: 806240, got: 16384
>
> We are able to list the contents using the fatls command,
> what could be the reason for the above error..?
Ummm - maybe an invalid FAT entry?
Are you absolutely sure your FAT filesytem does not contain any
inconsistencies? Can you read the file under an OS?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If you're not part of the solution, then you're part of the precipi-
tate.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] error while loading image with fatload.
2005-02-10 19:17 ` Wolfgang Denk
@ 2005-02-11 10:35 ` Sharad P. Katti
0 siblings, 0 replies; 3+ messages in thread
From: Sharad P. Katti @ 2005-02-11 10:35 UTC (permalink / raw)
To: u-boot
Hi,
>
> Did you try a more recent version of U-Boot?
>
We have tried the source for the fat from recent version of U-Boot,
but then the same thing is happenning,
>
> Are you absolutely sure your FAT filesytem does not contain any
> inconsistencies? Can you read the file under an OS?
>
We are able to read & write to the FAT partition under linux and QNX,
as earlier, we are getting the same error message indicating for
an Invalid FAT entry, after executing the fatload command.
We first formatted the harddisk in windows, and tried to load, after failure,
then formatted the harddisk in linux (using mkdosfs, in the host machine)
Should we use the e2fsprogs utilities compiled for ARM, instead of
host machine's
utilities...?
Any hints so as to avoid this error..
regards,
--
Sharad P.Katti
"GOD is real, unless declared as an int"
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-02-11 10:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-10 16:56 [U-Boot-Users] error while loading image with fatload Sharad P. Katti
2005-02-10 19:17 ` Wolfgang Denk
2005-02-11 10:35 ` Sharad P. Katti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox