• topjohnwu's avatar
    Preserve fdt paddings · 5c988510
    topjohnwu authored
    Some Motorola devices (Qualcomm kernel with CONFIG_MMI_DEVICE_DTBS
    configuration enabled) need 1k of padding to the DTBs to allow for
    environment variables to be runtime added by the bootloader.
    Those extra paddings will be removed during the process of dtb patch,
    devices won’t be able to boot-up and return to fastboot mode immediately
    after flashed the flawed boot.img.
    
    Credits to @shakalaca, close #2273
    5c988510
dtb.cpp 10.3 KB