[U-Boot-Users] [PATCH] Fix do_bootm_linux() so that multi-file images with FDT blob boot.

Bartlomiej Sieka tur at semihalf.com
Fri Aug 31 18:33:17 CEST 2007


Timur Tabi wrote:
> Bartlomiej Sieka wrote:
>> Fix the following issues in do_bootm_linux() that prevent booting the 
>> kernel
>> from a mulit-file image (kernel + initrd + blob):
>> - incorrect initrd address and length calculation
> 
> I thought this bug has already been fixed.  Are the initrd address and 
> length calculations broken again?

I don't know - I have tested today's U-Boot (60174746) and multi-file 
image booting didn't work:

## Booting image at ff180000 ...
    Image Name:   Kernel + initial ram disk + FDT
    Created:      2007-08-31  12:24:07 UTC
    Image Type:   PowerPC Linux Multi-File Image (gzip compressed)
    Data Size:    2894640 Bytes =  2.8 MB
    Load Address: 00000000
    Entry Point:  00000000
    Contents:
    Image 0:  1351205 Bytes =  1.3 MB
    Image 1:  1531127 Bytes =  1.5 MB
    Image 2:    12288 Bytes = 12 kB
    Verifying Checksum ... OK
    Uncompressing Multi-File Image ... OK
ERROR: image is not a fdt - must RESET the board to recover.

I might have missed a patch, though - could you provide a pointer to the 
fix that you have in mind?

Regards,
Bartlomiej




More information about the U-Boot mailing list