Up to [cvs.NetBSD.org] / src / usr.bin / mkubootimage
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: pgoyette-compat
Revision 1.12 / (download) - annotate - [select for diffs], Sun Feb 4 15:44:51 2018 UTC (6 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-base,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
netbsd-9-base,
netbsd-9-0-RC1
Branch point for: phil-wifi,
netbsd-9
Changes since 1.11: +20 -7
lines
Diff to previous 1.11 (colored)
Add support for writing "AArch64 Linux kernel image" format images. These images begin with a 64-byte header that includes a load offset, image size, some flags, and a small (2 word) area at the start for executable code. These images are compatible with U-Boot's "booti" command, and can be used to make U-Boot relocate our kernel to a 2MB aligned base address. After relocation, U-Boot will jump to the code at the beginning of the header, where we encode a relative branch forward instruction to branch to the beginning of the kernel at offset +0x40.