]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ae23b8295ccd4d9fa4a60139c5726a3d6e4fa79
tree5e88da40c8c0781e1dd6417123ead07ba47ceabd
parentb75e212e2fcf1b1b0fc6f8ed203d356997d2048a
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