FreeCalypso > hg > freecalypso-tools
view target-utils/flash-boot-test/ld.script @ 992:c4c400c1b10c
fc-loadtool flash: no flash2 ppb-erase-all
All PPBs from across the entire flash chip can only be erased together
as a unit, spanning across both banks on 16 MiB chips - therefore,
we shall disallow 'flash2 ppb-erase-all', and accept 'flash ppb-erase-all'
only.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 03 Dec 2023 04:47:31 +0000 |
parents | dbb54db721d1 |
children |
line wrap: on
line source
ENTRY(_entry) SECTIONS { /* flash boot */ .vectors 0 : { *(.vectors) } .magic 0x2000 : { *(.magic) } /* main code */ .text 0x4000 : { /* regular code */ *(.text*) /* gcc voodoo */ *(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx) . = ALIGN(4); } /* read-only data */ . = ALIGN(4); .rodata : { *(.rodata*) } /* cannot have any initialized data */ /DISCARD/ : { *(.data) } /* uninitialized data */ .bss 0x83C000 (NOLOAD) : { . = ALIGN(4); __bss_start = .; *(.bss) } . = ALIGN(4); __bss_end = .; /* end of image */ _end = .; PROVIDE(end = .); } stack_bottom = 0x83FFFC;