commit | 88e9aa5eb551f11330be5e4054e2b40f6457fb79 | [log] [tgz] |
---|---|---|
author | Andrei Homescu <ah@immunant.com> | Fri Nov 06 20:18:14 2020 -0800 |
committer | Andrei Homescu <ahomescu@google.com> | Tue Jan 11 01:49:14 2022 +0000 |
tree | 857916883b8ad265cd344aaa6ec55cb8976567b6 | |
parent | 64b5c1ffef07884581496e2e7471f83333b4edc4 [diff] |
[make] Build kernel as a PIE binary Build the kernel as a PIE binary. This requires the following: * Compile the kernel with -fPIE and link with -pie * Link with --pack-dyn-relocs so that dynamic relocations, mainly R_*_RELATIVE relocations, are pre-applied and stored in a compact format in the binary Bug: 80147716 Test: build.py qemu-generic-arm64-test-debug Change-Id: I771a5af9aa2e8a9314bf1a1ac57063052911e3c4
The LK embedded kernel. An SMP-aware kernel designed for small systems.
See https://github.com/littlekernel/lk for the latest version.
See https://github.com/littlekernel/lk/wiki for documentation.
This will get you a interactive prompt into LK which is running in qemu arm machine ‘virt’ emulation. type ‘help’ for commands.
note 1: for ubuntu: sudo apt-get install gcc-arm-none-eabi or fetch a prebuilt toolchain from http://newos.org/toolchains/arm-eabi-5.3.0-Linux-x86_64.tar.xz