Commit 9817ec81 authored by Alexander Egorenkov's avatar Alexander Egorenkov Committed by Simon Horman
Browse files

arm: do not copy magic 4 bytes of appended DTB in zImage



If the passed zImage happens to have a DTB appended, then the magic 4 bytes
of the DTB are copied together with the kernel image. This leads to
failed kexec boots because the decompressor finds the aforementioned
DTB magic and falsely tries to replace the DTB passed in the register r2
with the non-existent appended one.

Signed-off-by: default avatarAlexander Egorenkov <egorenar-dev@posteo.net>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent bb6f6f10
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment