]> Chaos Git - corbenik/corbenik.git/commit
Put corbenik at 0x24F00000 and use a loader to get it there from non-elf-based a9lh.
authorJon Feldman <chaos.kagami@gmail.com>
Wed, 8 Feb 2017 18:14:51 +0000 (13:14 -0500)
committerJon Feldman <chaos.kagami@gmail.com>
Wed, 8 Feb 2017 18:41:02 +0000 (13:41 -0500)
commit31dc21fdc592d8eed5d99f706ecb856073f2b8f7
tree83221e5c16d4b4f2a3ca341adf622fcddf527d6a
parent02763c7d6e22e2f155148c076d8fc48b205e4143
Put corbenik at 0x24F00000 and use a loader to get it there from non-elf-based a9lh.

This is a pre-requisite for using a reentrant payload.

This brings an important note; chain.bin is now required even on non-chainloader builds, and unless you are booting via the elf, arm9loaderhax.bin is a stub responsible for loading PREFIX/libexec/corbenik.bin

Update chainloader to directly launch payload (chain.bin is a thing of the past now that we're further up in memory)
12 files changed:
Makefile.am
boot/chainloader.c
boot/linker.ld
boot/menu.c
boot/std/fs.c
bootstub/Makefile.am [new file with mode: 0644]
bootstub/chainloader.c [new file with mode: 0644]
bootstub/fs.c [new symlink]
bootstub/linker.ld [new file with mode: 0644]
bootstub/memory.c [new symlink]
bootstub/start.s [new symlink]
configure.ac