cederom commented on PR #17340:
URL: https://github.com/apache/nuttx/pull/17340#issuecomment-3583522712

   * This is the nuttx master branch test run just to make sure things work 
here and learn how things work.
   * I know this fix is for `same70-qmtech` while I have `samv71-xult` with a 
bit different MCU and there is external RAM and Flash onboard. Will try to set 
it to qmtech like setup when I know how things work on this board.
   
   ```
   % ./tools/configure.sh -B samv71-xult:mcuboot-loader
     Copy files
     Select CONFIG_HOST_BSD=y
     Refreshing...
   CP: arch/dummy/Kconfig to /tmp/nuttx/nuttx/arch/dummy/dummy_kconfig
   CP: boards/dummy/Kconfig to /tmp/nuttx/nuttx/boards/dummy/dummy_kconfig
   LN: platform/board to /tmp/nuttx/nuttx-apps/platform/dummy
   LN: include/arch to arch/arm/include
   LN: include/arch/board to 
/tmp/nuttx/nuttx/boards/arm/samv7/samv71-xult/include
   LN: drivers/platform to /tmp/nuttx/nuttx/drivers/dummy
   LN: include/arch/chip to /tmp/nuttx/nuttx/arch/arm/include/samv7
   LN: arch/arm/src/chip to /tmp/nuttx/nuttx/arch/arm/src/samv7
   LN: arch/arm/src/board to 
/tmp/nuttx/nuttx/boards/arm/samv7/samv71-xult/../common
   LN: arch/arm/src/board/board to 
/tmp/nuttx/nuttx/boards/arm/samv7/samv71-xult/src
   mkkconfig in /tmp/nuttx/nuttx-apps/audioutils
   mkkconfig in /tmp/nuttx/nuttx-apps/benchmarks
   mkkconfig in /tmp/nuttx/nuttx-apps/boot
   mkkconfig in /tmp/nuttx/nuttx-apps/canutils
   mkkconfig in /tmp/nuttx/nuttx-apps/crypto
   mkkconfig in /tmp/nuttx/nuttx-apps/database
   mkkconfig in /tmp/nuttx/nuttx-apps/examples/mcuboot
   mkkconfig in /tmp/nuttx/nuttx-apps/examples/module
   mkkconfig in /tmp/nuttx/nuttx-apps/examples/rust
   mkkconfig in /tmp/nuttx/nuttx-apps/examples/sotest
   mkkconfig in /tmp/nuttx/nuttx-apps/examples
   mkkconfig in /tmp/nuttx/nuttx-apps/fsutils
   mkkconfig in /tmp/nuttx/nuttx-apps/games
   mkkconfig in /tmp/nuttx/nuttx-apps/graphics
   mkkconfig in /tmp/nuttx/nuttx-apps/industry
   mkkconfig in /tmp/nuttx/nuttx-apps/inertial
   mkkconfig in /tmp/nuttx/nuttx-apps/interpreters/luamodules
   mkkconfig in /tmp/nuttx/nuttx-apps/interpreters
   mkkconfig in /tmp/nuttx/nuttx-apps/logging
   mkkconfig in /tmp/nuttx/nuttx-apps/lte
   mkkconfig in /tmp/nuttx/nuttx-apps/math
   mkkconfig in /tmp/nuttx/nuttx-apps/mlearning
   mkkconfig in /tmp/nuttx/nuttx-apps/netutils
   mkkconfig in /tmp/nuttx/nuttx-apps/sdr
   mkkconfig in /tmp/nuttx/nuttx-apps/system
   mkkconfig in /tmp/nuttx/nuttx-apps/tee
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/arch
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/cxx
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/drivers
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/fs
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/libc
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/mm
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/sched
   mkkconfig in /tmp/nuttx/nuttx-apps/testing
   mkkconfig in /tmp/nuttx/nuttx-apps/videoutils
   mkkconfig in /tmp/nuttx/nuttx-apps/wireless/bluetooth
   mkkconfig in /tmp/nuttx/nuttx-apps/wireless/ieee802154
   mkkconfig in /tmp/nuttx/nuttx-apps/wireless
   mkkconfig in /tmp/nuttx/nuttx-apps
   #
   # configuration written to .config
   #
   
   % /usr/bin/time -h gmake -j24
   Create version.h
   LN: platform/board to /tmp/nuttx/nuttx-apps/platform/dummy
   Downloading MCUboot-fefc398cc13ebbc527e297fe9df78cd98a359d75 from 
github.com/mcu-tools/mcuboot
     % Total    % Received % Xferd  Average Speed   Time    Time     Time  
Current
                                    Dload  Upload   Total   Spent    Left  Speed
     0     0   0     0   0     0     0     0  --:--:-- --:--:-- --:--:--     0
   100  1669k   0  1669k   0     0  1969k     0  --:--:-- --:--:-- --:--:--  
9093k
   Unpacking: fefc398cc13ebbc527e297fe9df78cd98a359d75.tar.gz -> mcuboot
   Register: mcuboot_loader
   Register: ramtest
   Register: dd
   Register: nsh
   Register: sh
   chip/sam_clockconfig.c: In function 'sam_enabledefaultmaster':
   chip/sam_clockconfig.c:303:2: warning: #warning REVISIT [-Wcpp]
     303 | #warning REVISIT
         |  ^~~~~~~
   CC:  chip/sam_timerisr.c chip/sam_start.c: In function 'sam_tcmenable':
   chip/sam_start.c:109:2: warning: #warning Missing logic [-Wcpp]
     109 | #warning Missing logic
         |  ^~~~~~~
   chip/sam_xdmac.c: In function 'sam_physramaddr':
   CC:  net/lib_addrconfig.c chip/sam_xdmac.c:444:2: warning: #warning REVISIT 
-- Do DCTM address need to be remapped for DMA? [-Wcpp]
     444 | #warning REVISIT -- Do DCTM address need to be remapped for DMA?
         |  ^~~~~~~
   CC:  common/arm_initialize.c chip/sam_xdmac.c: In function 'sam_virtramaddr':
   chip/sam_xdmac.c:450:2: warning: #warning REVISIT -- Do DCTM address need to 
be remapped for DMA? [-Wcpp]
     450 | #warning REVISIT -- Do DCTM address need to be remapped for DMA?
         |  ^~~~~~~
   LD: nuttx
   Memory region         Used Size  Region Size  %age Used
              flash:      103736 B       128 KB     79.14%
               sram:       23708 B       384 KB      6.03%
   CP: nuttx.bin
           6,49s real              33,42s user             13,41s sys
   
   % grep CONFIG_BOARD_LATE_INITIALIZE=y .config
   CONFIG_BOARD_LATE_INITIALIZE=y
   % grep CONFIG_BOOT_MCUBOOT=y .config
   CONFIG_BOOT_MCUBOOT=y
   % grep CONFIG_MCUBOOT_BOOTLOADER=y .config
   CONFIG_MCUBOOT_BOOTLOADER=y
   % grep CONFIG_SAMV7_FORMAT_MCUBOOT=y .config
   CONFIG_SAMV7_FORMAT_MCUBOOT=y
   % grep CONFIG_INIT_ENTRYPOINT="mcuboot_loader_main" .config
   % grep RAM_SIZE .config
   CONFIG_RAM_SIZE=393216
   
   % openocd -f interface/cmsis-dap.cfg \
           -c 'transport select swd' \
           -c 'set CHIPNAME atsamv71q21' \
           -f target/atsamv.cfg \
           -c 'reset_config srst_only' \
           -c init -c targets \
           -c 'reset halt' \
           -c 'program nuttx.bin 0x400000' \
           -c 'reset halt' \
           -c 'atsamv gpnvm set 1' \
           -c 'reset run' -c shutdown
   Open On-Chip Debugger 0.12.0
   Licensed under GNU GPL v2
   For bug reports, read
           http://openocd.org/doc/doxygen/bugs.html
   swd
   atsamv71q21
   Info : flash bank command
   srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst
   
   Info : CMSIS-DAP: SWD supported
   Info : CMSIS-DAP: FW Version = 03.25.01B6
   Info : CMSIS-DAP: Serial# = ATML2407121800000086
   Info : CMSIS-DAP: Interface Initialised (SWD)
   Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1
   Info : CMSIS-DAP: Interface ready
   Info : clock speed 1800 kHz
   Info : SWD DPIDR 0x0bd11477
   Info : [atsamv71q21.cpu] Cortex-M7 r1p1 processor detected
   Info : [atsamv71q21.cpu] target has 8 breakpoints, 4 watchpoints
   Info : starting gdb server for atsamv71q21.cpu on 3333
   Info : Listening on port 3333 for gdb connections
       TargetName         Type       Endian TapName            State
   --  ------------------ ---------- ------ ------------------ ------------
    0* atsamv71q21.cpu    cortex_m   little atsamv71q21.cpu    running
   
   [atsamv71q21.cpu] halted due to debug-request, current mode: Thread
   xPSR: 0x01000000 pc: 0x0040097e msp: 0x20402d40
   [atsamv71q21.cpu] halted due to debug-request, current mode: Thread
   xPSR: 0x01000000 pc: 0x0040097e msp: 0x20402d40
   ** Programming Started **
   Info : device id = 0xa1220e01
   Info : erasing lock regions 0-6...
   Info : erasing lock region 0
   Info : erasing lock region 1
   Info : erasing lock region 2
   Info : erasing lock region 3
   Info : erasing lock region 4
   Info : erasing lock region 5
   Info : erasing lock region 6
   ** Programming Finished **
   [atsamv71q21.cpu] halted due to debug-request, current mode: Thread
   xPSR: 0x01000000 pc: 0x0040097c msp: 0x2040609c
   shutdown command invoked
   
   % cu -l /dev/cuaU0 -s 115200
   Connected
   <-- NO NSH HERE.
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to