BEBOX_BLOCK_SIZE
flength = roundup(endoff, BEBOX_BLOCK_SIZE);
memset(header_img, 0, BEBOX_BLOCK_SIZE * 2);