RISC-V: Build flat and compressed kernel images
authorAnup Patel <anup@brainfault.org>
Mon, 12 Nov 2018 05:55:15 +0000 (11:25 +0530)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 20 Nov 2018 13:19:09 +0000 (05:19 -0800)
commitc0fbcd9918607e85c9598bfa3dd0a84ed77ea210
tree5e88da40c8c0781e1dd6417123ead07ba47ceabd
parent21f70d4abf9e17c2e3d7e64b7bfa3424e017f176
RISC-V: Build flat and compressed kernel images

This patch extends Linux RISC-V build system to build and install:
Image - Flat uncompressed kernel image
Image.gz - Flat and GZip compressed kernel image

Quiet a few bootloaders (such as Uboot, UEFI, etc) are capable of
booting flat and compressed kernel images. In case of Uboot, booting
Image or Image.gz is achieved using bootm command.

The flat and uncompressed kernel image (i.e. Image) is very useful
in pre-silicon developent and testing because we can create back-door
HEX files for RAM on FPGAs from Image.

Signed-off-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/Makefile
arch/riscv/boot/.gitignore [new file with mode: 0644]
arch/riscv/boot/Makefile [new file with mode: 0644]
arch/riscv/boot/install.sh [new file with mode: 0644]
arch/riscv/kernel/head.S
arch/riscv/kernel/vmlinux.lds.S