• Mario Six's avatar
    tools: kwbimage: Fix dest addr · 94084eea
    Mario Six authored
    To enable secure boot, we need to jump back into the BootROM to continue
    the SoC's boot process instead of letting the SPL load and run the main
    U-Boot image.
    
    But, since the u-boot-spl.img (including the 64 byte header) is loaded
    by the SoC as the main image, we need to compensate for the header
    length to get a correct entry point.
    
    Thus, we subtract the header size from the destination address, so that
    the execution address points at the actual entry point of the image.
    
    The current boards ignore both parameters anyway, so this change shouldn't
    concern them.
    Signed-off-by: default avatarMario Six <mario.six@gdsys.cc>
    Reviewed-by: default avatarStefan Roese <sr@denx.de>
    Signed-off-by: default avatarStefan Roese <sr@denx.de>
    94084eea
Name
Last commit
Last update
..
binman Loading commit data...
buildman Loading commit data...
dtoc Loading commit data...
easylogo Loading commit data...
env Loading commit data...
gdb Loading commit data...
kermit Loading commit data...
logos Loading commit data...
omap Loading commit data...
patman Loading commit data...
scripts Loading commit data...
tbot Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
aisimage.c Loading commit data...
aisimage.h Loading commit data...
atmel_pmecc_params.c Loading commit data...
atmelimage.c Loading commit data...
bin2header.c Loading commit data...
bmp_logo.c Loading commit data...
default_image.c Loading commit data...
dumpimage.c Loading commit data...
dumpimage.h Loading commit data...
envcrc.c Loading commit data...
fdt_host.h Loading commit data...
fdtgrep.c Loading commit data...
fit_check_sign.c Loading commit data...
fit_common.c Loading commit data...
fit_common.h Loading commit data...
fit_image.c Loading commit data...
fit_info.c Loading commit data...
gen_eth_addr.c Loading commit data...
genboardscfg.py Loading commit data...
getline.c Loading commit data...
getline.h Loading commit data...
gpheader.h Loading commit data...
gpimage-common.c Loading commit data...
gpimage.c Loading commit data...
ifdtool.c Loading commit data...
ifdtool.h Loading commit data...
image-host.c Loading commit data...
imagetool.c Loading commit data...
imagetool.h Loading commit data...
img2brec.sh Loading commit data...
img2srec.c Loading commit data...
imximage.c Loading commit data...
imximage.h Loading commit data...
jtagconsole Loading commit data...
kwbimage.c Loading commit data...
kwbimage.h Loading commit data...
kwboot.c Loading commit data...
lpc32xximage.c Loading commit data...
microcode-tool Loading commit data...
microcode-tool.py Loading commit data...
mingw_support.c Loading commit data...
mingw_support.h Loading commit data...
mkenvimage.c Loading commit data...
mkexynosspl.c Loading commit data...
mkimage.c Loading commit data...
mkimage.h Loading commit data...
mksunxiboot.c Loading commit data...
moveconfig.py Loading commit data...
mxsboot.c Loading commit data...
mxsimage.c Loading commit data...
mxsimage.h Loading commit data...
ncb.c Loading commit data...
netconsole Loading commit data...
omapimage.c Loading commit data...
omapimage.h Loading commit data...
os_support.c Loading commit data...
os_support.h Loading commit data...
pbl_crc32.c Loading commit data...
pbl_crc32.h Loading commit data...
pblimage.c Loading commit data...
pblimage.h Loading commit data...
proftool.c Loading commit data...
relocate-rela.c Loading commit data...
rkcommon.c Loading commit data...
rkcommon.h Loading commit data...
rkimage.c Loading commit data...
rkmux.py Loading commit data...
rksd.c Loading commit data...
rkspi.c Loading commit data...
socfpgaimage.c Loading commit data...
ublimage.c Loading commit data...
ublimage.h Loading commit data...
ubsha1.c Loading commit data...
vybridimage.c Loading commit data...
xway-swap-bytes.c Loading commit data...
zynqimage.c Loading commit data...
zynqmpimage.c Loading commit data...