incubator-nuttx/Documentation/platforms
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
..
arm mps3-an547:let ap build with pic,and use bootloader boot it 2024-10-16 18:40:06 +08:00
arm64 arm64: update knsh qemu doc 2024-10-09 20:47:43 +08:00
avr Documentation: update broken links 2024-04-10 15:17:53 -03:00
ceva
hc
mips Documentation: update broken links 2024-04-10 15:17:53 -03:00
misco
or1k
renesas Documentation: update broken links 2024-04-10 15:17:53 -03:00
risc-v Documentation: Document stack and backtrace dump for Espressif SoCs 2024-09-23 20:40:58 +08:00
sim docs: Migrate network documentation of sim to Documentations 2024-09-13 01:41:10 +08:00
sparc
tricore
x86 Documentation: update broken links 2024-04-10 15:17:53 -03:00
x86_64
xtensa doc(esp32-qemu): update chip revision and bootloader 2024-10-13 11:19:51 +08:00
z16 Documentation: update broken links 2024-04-10 15:17:53 -03:00
z80 Documentation: update broken links 2024-04-10 15:17:53 -03:00
index.rst