[Buildroot] problem booting from ext2 µsd card

Johan Sagaert sagaert.johan at proximus.be
Sun Sep 20 23:59:49 UTC 2015


Brendan Heading schreef op 17/09/2015 om 13:20:
>> Then used cfdisk to create a single partition type 83 and maximum size as
>> suggested by cfdisk.
> What's the maximum size suggested by cfdisk ?
>
> Your script seems to be manually creating the ext2 filesystem and
> copying the files to it. buildroot can actually generate the ext2/3/4
> image for you, so you won't need the above script; you'd just need to
> copy the image directly to the sd (using dd).
>
>> The only thing i can think of is that my debian host is messing up the
>> partition.
>> and also tried  cfdisk /z
> Can you mount the partition on your debian host ? If it works there it
> should also work on your target.
>
> I see the output of mke2fs you sent. It appears to be creating a 2GB
> partition which is the maximum size of an ext2 filesystem, so that
> looks right.
>
> My best suggestion is to bring your Linux system up without mounting
> the SD card (ie use an initramfs or similar) and then see if you can
> mount it manually and dump out the partition tables from there.
>

Brendan ;
The problem was caused by an overloaded power controller on the boards,  
generating voltage dips on the 3V3 line
enough to corrupt sd-card communication but not enough to trigger a 
poweron reset ...
It's not always software causing trouble....

Regards , Johan




More information about the buildroot mailing list