canboot: improve bootloader request method
Use a cross platform request signature to enter the bootloader. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
2 files changed
+22
-10
No files matched your search
@@ -57,13 +57,18 @@ SECTIONS
|
||||
_bss_end = .;
|
||||
} > ram
|
||||
|
||||
_stack_start = CONFIG_RAM_START + CONFIG_RAM_SIZE - CONFIG_STACK_SIZE ;
|
||||
_stack_start = CONFIG_RAM_START + CONFIG_RAM_SIZE - CONFIG_STACK_SIZE - 8;
|
||||
.stack _stack_start (NOLOAD) :
|
||||
{
|
||||
. = . + CONFIG_STACK_SIZE;
|
||||
_stack_end = .;
|
||||
} > ram
|
||||
|
||||
.reserved (NOLOAD) :
|
||||
{
|
||||
. = . + 8;
|
||||
} > ram
|
||||
|
||||
/DISCARD/ : {
|
||||
// The .init/.fini sections are used by __libc_init_array(), but
|
||||
// that isn't needed so no need to include them in the binary.
|
||||
|
||||
Reference in new issue
Block a user