Skip to content
Commit 1f6f61fe authored by Daniel Kochmański's avatar Daniel Kochmański Committed by Hans de Goede
Browse files

sunxi/nand: change BLOCK_SIZE in mksunxiboot to match NAND block size



This change is necessary to calculate correct checksum for NAND
boot. Works both for MMC and NAND. Without it BROM rejects boot image
as invalid (bad checksum). (Changes block size from 0x200 to 0x2000).

Signed-off-by: default avatarDaniel Kochmański <dkochmanski@turtle-solutions.eu>
Signed-off-by: default avatarRoy Spliet <r.spliet@ultimaker.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 9d1111b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment