[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

question regarding FIT image generation in imagebuilder



I was trying to generate a FIT image and could not understand why is
there this check, in the script.

if test "$FIT"
then
    memaddr=$(( $MEMORY_END - 2 * ( $memaddr + $offset ) ))
else
    memaddr=$(( $MEMORY_END - $memaddr - $offset ))
fi
if test $memaddr -lt 0
then
    echo Error, not enough memory to load all binaries
    cleanup_and_return_err
fi

What I do not understand is why there is a 2x for the FIT image?

Thanks and regards
Amneesh



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.