[U-Boot] Booting from ext2/ext3

Dunda, Matthias Matthias.Dunda at de.thalesgroup.com
Thu Apr 1 08:55:53 CEST 2010


Good Morning Wolfgang,

> 
> 
> Dear Matthias,
> 
> In message 
> <569685F045B85741820D0265E0D2999D019CFE55 at tddhh01.hh.thales-na
> val.de> you wrote:
> > 
> > `get_partition_info'
> ...
> > What's the issue here?
> 
> Hm... this is U-Boot release v2009.11.1, correct?
> 

Yes correct, but it happens in 2009.08, too.



> 
> In your log you can see that the relevant source file, 
> disk/part.c, gets compiled:
> 
> Try running "nm" on the object file; you should see something 
> like this:
> 
The output of ppc_85xx-nm *.o in disk/ looks a little "weak":


part_dos.o:

part.o:
00000000 T get_dev

These are the sizes:

total 108
-rw-r--r-- 1 dunda users  5428 2010-03-31 15:56 libdisk.a
-rw-r--r-- 1 dunda users  1585 2010-02-02 15:59 Makefile
-rw-r--r-- 1 dunda users  9756 2010-02-02 15:59 part_amiga.c
-rw-r--r-- 1 dunda users  3524 2010-02-02 15:59 part_amiga.h
-rw-r--r-- 1 dunda users  9470 2010-02-02 15:59 part.c
-rw-r--r-- 1 dunda users  7369 2010-02-02 15:59 part_dos.c
-rw-r--r-- 1 dunda users  1908 2010-02-02 15:59 part_dos.h
-rw-r--r-- 1 dunda users  1632 2010-03-31 15:56 part_dos.o
-rw-r--r-- 1 dunda users 11910 2010-02-02 15:59 part_efi.c
-rw-r--r-- 1 dunda users  4650 2010-02-02 15:59 part_efi.h
-rw-r--r-- 1 dunda users  8056 2010-02-02 15:59 part_iso.c
-rw-r--r-- 1 dunda users  7771 2010-02-02 15:59 part_iso.h
-rw-r--r-- 1 dunda users  6278 2010-02-02 15:59 part_mac.c
-rw-r--r-- 1 dunda users  3517 2010-02-02 15:59 part_mac.h
-rw-r--r-- 1 dunda users  3592 2010-03-31 15:56 part.o

I did a fresh build after extracting the 2009.08 archive with

make CROSS_COMPILE=ppc_85xx- MPC8568MDS_config
make CROSS_COMPILE=ppc_85xx- all

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

Cheers
Matthias Dunda

-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-output.txt.gz
Type: application/octet-stream
Size: 5472 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100401/ead2ca97/attachment.obj 


More information about the U-Boot mailing list