anchao opened a new pull request, #15775:
URL: https://github.com/apache/nuttx/pull/15775

   ## Summary
   
   1. cmake/pic: sync pic related compiler flags from makefile
   
   PIC(Position-Independent-Code) board could work on cmake:
   
   cmake -B ap -DBOARD_CONFIG=mps3-an547:ap -GNinja
   
   2. mps/mps3-an547: correct command line of genromfs
   
   genromfs -a 128 -f ../romfs.img -d pic
   
   f: -f output
   a: -a alignment
   
   Signed-off-by: chao an <anchao.arc...@bytedance.com>
   
   
   ## Impact
   
   N/A
   
   ## Testing
   
   cmake -B ap -DBOARD_CONFIG=mps3-an547:ap -GNinja
   cmake -B ap -DBOARD_CONFIG=mps3-an547:bl -GNinja
   
   ```
   $ qemu-system-arm -M mps3-an547 -m 2G -nographic      -kernel bl/nuttx.bin 
-gdb tcp::1127      -device loader,file=romfs.img,addr=0x60000000
   NuttShell (NSH) NuttX-10.4.0
   bl> boot /pic/boot
   modlib_init...
   modlib_load...
   modlib_bind...
   add-symbol-file ap.elf -s .text 0x60001080 -s .data 0x21000000
   
   NuttShell (NSH) NuttX-10.4.0
   ap> 
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to