public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* ext2ls zero-length directory entries?
@ 2020-08-25 20:08 Joe Buehler
  0 siblings, 0 replies; only message in thread
From: Joe Buehler @ 2020-08-25 20:08 UTC (permalink / raw)
  To: u-boot

(This is a vendor-modified version of uboot 2011.03.)

I am running into problems using ext2load, the command complains that
the file of interest is not found.  I know it's there though since it is
fine under LINUX.

Doing some poking around, I see that ext2ls is showing mostly zero
length on the subdirs I am interested in loading files from -- thus the
"not found" issues.  Some of the directories have enormous lengths and
crash uboot when attempting to list their content.

I am attempting to load from a large SATA disk partitioned into two
equal-size partitions that add up to the whole disk.  No problems with
the first partition, the second partition has the issue.

Does this ring a bell with anyone?  Perhaps it is a disk size issue and
an old uboot?  LINUX says the following about the disk:

ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
ata1.00: supports DRM functions and may not be fully accessable.
ata1.00: ATA-10: Micron_1100_MTFDDAK256TBN,  M0MU031, max UDMA/133
ata1.00: 500118192 sectors, multi 16: LBA48 NCQ (depth 31/32)
ata1.00: supports DRM functions and may not be fully accessable.
ata1.00: configured for UDMA/100
scsi 0:0:0:0: Direct-Access     ATA      Micron_1100_MTFD n/a  PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 500118192 512-byte logical blocks: (256 GB/238 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
 sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI disk

Joe Buehler

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-25 20:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-25 20:08 ext2ls zero-length directory entries? Joe Buehler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox