Your ROOT_URL in app.ini is https://src.whiteboxsystems.nl/ but you are visiting http://src.whiteboxsystems.nl/Whitebox/u-boot/commit/3500e9aed6e13a988f4a5ef6503112fda1c4a7fc You should set ROOT_URL correctly, otherwise the web may not work correctly.

kwbimage: Fix check variable of checksum

calc_hdrcsum two times are checked. checksumi of exthdr is not checked.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
CC: Prafulla Wadaskar <prafulla@marvell.com>
master
Nobuhiro Iwamatsu 14 years ago committed by Wolfgang Denk
parent 201a017c2f
commit 3500e9aed6
  1. 2
      tools/kwbimage.c

@ -356,7 +356,7 @@ static int kwbimage_verify_header (unsigned char *ptr, int image_size,
calc_exthdrcsum = kwbimage_checksum8 ((void *)exthdr,
sizeof(extbhr_t) - sizeof(uint8_t), 0);
if (calc_hdrcsum != mhdr->checkSum)
if (calc_exthdrcsum != exthdr->checkSum)
return -FDT_ERR_BADSTRUCTURE; /* exthdr csum not matched */
return 0;

Loading…
Cancel
Save