incubator-nuttx/Documentation/platforms/arm
anjiahao 15fa55f234 mps3-an547:let ap build with pic,and use bootloader boot it
Implement PIC loading in armv8-m qemu,
for example: load address-independent AP ELF in the bootloader,
and the text segment in AP ELF is XIP,
no need to apply for memory and modify it.

Two config:

bootloader abbreviation bl:
  use romfs to load ap elf, use the boot command to parse and jump to ap

application abbreviation ap:
  run os test

We need to compile ap first, then compile bl.

compile step:
  ./tools/configure.sh mps3-an547:ap
  make -j20
  mkdir -p pic
  cp boot pic/.
  genromfs -a 128 -f ../romfs.img -d pic
  make distclean -j20
  ./tools/configure.sh mps3-an547:bl
  make -j20

run qemu:
  qemu-system-arm -M mps3-an547 -m 2G -nographic -kernel nuttx.bin \
    -gdb tcp::1127 -device loader,file=../romfs.img,addr=0x60000000

  nsh> boot /etc/boot
  ap> ostest

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2024-10-16 18:40:06 +08:00
..
a1x
am335x
at32
bcm2708
c5471
cxd56xx
dm320
efm32
eoss3
fvp-v8r-aarch32
gd32f4
goldfish timers: add goldfish timer support 2024-10-08 15:27:33 +08:00
imx1
imx6
imxrt
kinetis
kl
lc823450
lpc17xx
lpc31xx
lpc40xx
lpc43xx
lpc54xx
lpc214x
lpc2378
max326xx
moxart
mps mps3-an547:let ap build with pic,and use bootloader boot it 2024-10-16 18:40:06 +08:00
mx8mp/boards/verdin-mx8mp
nrf52
nrf53
nrf91 Documentation/nrf9160-dk: add comments about modem configuration 2024-07-26 23:46:48 +08:00
nuc1xx
phy62xx
qemu boards/arm/qemu: enable kernel build for armv7a 2024-10-12 09:28:45 +08:00
rp2040 docs: Update Raspberry Pi Pico and Pico W docs to include the new SDK version and `picotool` instructions. 2024-09-16 12:22:17 +08:00
s32k1xx
s32k3xx
sam34
sama5
samd2l2
samd5e5
samv7 chardriver upperCAN: support to independent set TX/RX FIFO size. 2024-10-01 20:38:31 +08:00
stm32f0 DOC: Add information on STM32F0 and STM32L4 flashing/debugging. 2024-10-15 03:13:11 +08:00
stm32f1 chardriver upperCAN: support to independent set TX/RX FIFO size. 2024-10-01 20:38:31 +08:00
stm32f2 chardriver upperCAN: support to independent set TX/RX FIFO size. 2024-10-01 20:38:31 +08:00
stm32f3 chardriver upperCAN: support to independent set TX/RX FIFO size. 2024-10-01 20:38:31 +08:00
stm32f4 chardriver upperCAN: support to independent set TX/RX FIFO size. 2024-10-01 20:38:31 +08:00
stm32f7 chardriver upperCAN: support to independent set TX/RX FIFO size. 2024-10-01 20:38:31 +08:00
stm32g0
stm32g4
stm32h7 doc: Add STM32H745I-DISCO RPTUN documentation 2024-09-17 16:44:29 -03:00
stm32l0
stm32l1
stm32l4 DOC: Add information on STM32F0 and STM32L4 flashing/debugging. 2024-10-15 03:13:11 +08:00
stm32l5
stm32u5
stm32wb
stm32wl5
str71x
tiva
tms570
xmc4
index.rst