[U-Boot] Booting from ext2/ext3

Wolfgang Denk wd at denx.de
Thu Apr 1 11:02:11 CEST 2010


Dear Matthias,

In message <569685F045B85741820D0265E0D2999D019CFE56 at tddhh01.hh.thales-naval.de> you wrote:
> 
> > Hm... this is U-Boot release v2009.11.1, correct?
> 
> Yes correct, but it happens in 2009.08, too.

Strange...

> The output of ppc_85xx-nm *.o in disk/ looks a little "weak":
> 
> part_dos.o:
> 
> part.o:
> 00000000 T get_dev
> 

Indeed. That's nothing.

> The only change I applied before is
> 
> 419a420
> > #define CONFIG_DOS_PARTITION
> 430a432,433
> > #define CONFIG_CMD_EXT2
> > #define CONFIG_CMD_FAT
> 
> to include/configs/MPC8568MDS.h

It seems you are missing the device driver support. If you check the
code in "disk/part.c" you will see this:

...
218 #if (defined(CONFIG_CMD_IDE) || \
219      defined(CONFIG_CMD_MG_DISK) || \
220      defined(CONFIG_CMD_SATA) || \
221      defined(CONFIG_CMD_SCSI) || \
222      defined(CONFIG_CMD_USB) || \
223      defined(CONFIG_MMC)                || \
224      defined(CONFIG_SYSTEMACE) )
225
226 #if defined(CONFIG_MAC_PARTITION) || \
227     defined(CONFIG_DOS_PARTITION) || \
228     defined(CONFIG_ISO_PARTITION) || \
229     defined(CONFIG_AMIGA_PARTITION) || \
230     defined(CONFIG_EFI_PARTITION)
...

You have CONFIG_DOS_PARTITION defined, which satisfies the second
block conditions; please check if you also have IDE, MG_DISK, SATA,
SCSI, USB, MMC or SYSTEMACE enabled in your configuration - and if
not, then please explain which device you actually intend to use?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It is clear that the individual who persecutes a  man,  his  brother,
because he is not of the same opinion, is a monster.       - Voltaire


More information about the U-Boot mailing list