This patch adds a header to the kernel image that allows bootloaders such as u-boot to properly load plain kernel images instead of requiring uImage-wrapped kernels. That also enables the use of syslinux-style boot menus in u-boot on riscv64.