Logical partition on barebox
Sascha Hauer
s.hauer at pengutronix.de
Thu Dec 11 03:32:46 PST 2014
On Thu, Dec 11, 2014 at 10:05:10AM +0100, Victorien Vedrine wrote:
> Thanks for your answer.
> In a first time, I used a barebox version with the last update at the
> 10/16/2013. I Found the patch which you are talking about and I update
> barebox to the version of yesterday and I have the same problem.
> The partitions of my SD card are this one (with fdisk) :
>
> Périphérique Amorçage Début Fin Blocs Id. Système
> /dev/sdg1 2048 6143 2048 53 OnTrack DM6 Aux3
> /dev/sdg2 6144 10239 2048 10 OPUS
> /dev/sdg3 10240 43007 16384 6 FAT16
> /dev/sdg4 43008 15556607 7756800 5 Étendue
> /dev/sdg5 43040 567327 262144 83 Linux
> /dev/sdg6 567360 15556607 7494624 b W95 FAT32
>
> I use an iMX28 processor and I have this line on device_init fonction to
> add the SD card :
>
> add_generic_device("mxs_mci", 0, NULL, IMX_SSP0_BASE, 0x2000,
> IORESOURCE_MEM, &mci_pdata);
This is correct. If your card is shown then you made everything right
here.
>
> Is there any tests that I can do to find a solution or more informations
> for a bug ?
You could add a #define DEBUG on top of common/partitions/dos.c (above
the includes) and see if this gives more information. Otherwise you
can do some further debugging this file. Does dos_extended_partition()
get called?
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list