commit | 0c37a43527f0ee2b9584e7fb2fdc805e902635ac | [log] [tgz] |
---|---|---|
author | Havard Skinnemoen <hskinnemoen@google.com> | Wed Jun 24 23:40:24 2020 -0700 |
committer | GitHub <noreply@github.com> | Wed Jun 24 23:40:24 2020 -0700 |
tree | 7504884b7213eb5bce14518fbdc44f76a84e9ab2 | |
parent | eb9a1c8a4602386193e003d113af919f7d2514ae [diff] | |
parent | 888a61bd085d8b031c1b05b22eae51fae1004aba [diff] |
Merge pull request #1 from google/disable-build-id Fix build with gcc-9 arm-linux-gnueabi toolchain
This is not an officially supported Google product.
This is a super simple Boot ROM that is intended to be used as a -bios
image for QEMU when emulating an NPCM7xx-based machine.
If you have a 32-bit ARM compiler installed as arm-none-eabi-gcc
, simply run make
.
If your ARM compiler has a different name, you'll need to override the CROSS_COMPILE
prefix, e.g. like this:
make CROSS_COMPILE=arm-linux-gnueabi-
If either case is successful, a npcm7xx_bootrom.bin
file will be produced.
The Boot ROM image may be passed to a QEMU system emulator using the -bios
option. For example like this:
qemu-system-arm -machine quanta-gsj -nographic \ -bios "${IMAGES}/npcm7xx_bootrom.bin" -drive file="${IMAGES}/image-bmc,if=mtd,bus=0,unit=0,format=raw,snapshot=on"