[U-Boot] [U-Boot, RFC] ext4fs: le32_to_cpu() used on a 16-bit field

Andreas Bießmann andreas.devel at googlemail.com
Sun Jul 21 10:24:19 CEST 2013


Hi all,

On 21.07.2013 06:32, Simon Glass wrote:
> +Tom
>
> On Fri, Jul 19, 2013 at 1:03 AM, Lukasz Majewski <l.majewski at samsung.com>wrote:
>
>> On Tue, 16 Jul 2013 08:14:35 +0000 (UTC) Rommel Custodio
>> sessyargc+uboot at gmail.com wrote,
>>
>> Hi Rommel,
>>
>>> Hi All,
>>>
>>> U-Boot 2013.07-rc3 [ELDK 5.2.1 / ELDK 5.3]
>>>
>>> Now I've started to use the new ext4 code. I need the "ext4write"
>>> command. Though there seems to be several problems with the ext2/ext4
>>> code.
>>>
>>> I am testing on an ml507 (PPC440, Big Endian).
>>> There are some cases where the a field is 16-bit but le32_to_cpu() is
>>> used. Some checks (ie eh_magic) fails to match even if I use a
>>> correctly ext4 formatted MMC/SD card.
>>>
>>> Does these seem right? Or am I mistaken?
>>
>> What kind of mailer program have you used to sent this e-mail?
>> I receive following errors:
>>
>> fatal: corrupt patch at line 111
>>
>> I cannot apply this patch with either git am -3 or git apply.
>>
>> Were you using git send-email?
>>
>
> It seems like we should try to fix this before the release?

+1

I can confirm that reading ext4 extended header on BE machine (avr32) is 
broken. I'm currently on it to get it working by using Rommel's patch.

Regards

Andreas Bießmann


More information about the U-Boot mailing list