[U-Boot] [PATCH] mx53loco: Call PMIC related functions from board_late_init()

Stefano Babic
2012-12-28T08:38:47Z

On 27/12/2012 17:27, Albert ARIBAUD wrote:
> Hi Stefano,
>

Hi Albert,

>> I am playing a bit, I do not see your problem. I admit I have no idea
>> which dialog version is on my board.
>>
>> The only issue I can see is with MMC - I see with "fatls" any entry twice:
>>
>> MX53LOCO U-Boot > fatls mmc 0:2
>> 1 cmdline
>> 1 cmdline
>> 283472 u-boot.bin
>> 283472 u-boot.bin
>> 284496 u-boot.imx
>> 284496 u-boot.imx
>> 4093544 uimage
>> 4093544 uimage
>> 160291 uinitrd
>> 160291 uinitrd
>> 349 boot.txt
>> 349 boot.txt
>> 421 boot.scr
>> 421 boot.scr
>>
>> But this is surely another issue....
>
> Re the double entries, did you check if these could be short / DOS (8.3)
> names vs long names? IIRC, for compatibility, in a (V)FAT directory any
> entry with a name longer than 8.3 has a matching short entry; maybe on
> the device you're ls'ing, *any* entry has a short version?

That is the point. I tested with another SD-Card, putting also long
names, and I get:

614 loadbootscr.scr
614 loadbo~1.scr
2606096 swupdate-image-thb.ext3.gz.u-boot
2606096 swupda~1.u-b
3893896 uimage-thb.bin
3893896 uimage~1.bin

There is an entry for long name and one for short name. And with the
other SD, all entries has a short version. Simply I do not remember I
have already seen the double entries in the past..

Best regards,
Stefano