You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/11/15 15:01:15 UTC

[GitHub] [incubator-nuttx] anjiahao1 opened a new issue #4832: i use raspberrypi-pico,make error

anjiahao1 opened a new issue #4832:
URL: https://github.com/apache/incubator-nuttx/issues/4832


   i use `./tools/configure.sh raspberrpy-pico:nsh` and `make -j16`,will make error
   `arm-none-eabi-ld: /home/ajh/nuttxwork/nuttx/nuttx section `.bss' will not fit in region `sram'`


-- 
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-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] anjiahao1 commented on issue #4832: i use raspberrypi-pico,make error

Posted by GitBox <gi...@apache.org>.
anjiahao1 commented on issue #4832:
URL: https://github.com/apache/incubator-nuttx/issues/4832#issuecomment-971587749


   > 1. Check the typo `./tools/configure.sh raspberrypi-pico:nsh`
   > 2. Run `make` (without -j16)
   
   also is 
   arm-none-eabi-ld: region `sram' overflowed by 1462540 bytes


-- 
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-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] anjiahao1 commented on issue #4832: i use raspberrypi-pico,make error

Posted by GitBox <gi...@apache.org>.
anjiahao1 commented on issue #4832:
URL: https://github.com/apache/incubator-nuttx/issues/4832#issuecomment-971615883


   > raspberrypi-pico:nsh
   
   ```
   $ echo $PICO_SDK_PATH 
   /home/ajh/pico-sdk/
   $ ls /home/ajh/pico-sdk/
   build  CMakeCache.txt  cmake_install.cmake  CONTRIBUTING.md  elf2uf2   generated  LICENSE.TXT  pico_sdk_init.cmake     README.md  test
   cmake  CMakeFiles      CMakeLists.txt       docs             external  lib        Makefile     pico_sdk_version.cmake  src        tools
   $ ./tools/configure.sh raspberrypi-pico:nsh
   $ make
   ....
   AR (create): libboard.a   rp2040_boardinitialize.o rp2040_appinit.o rp2040_bringup.o rp2040_reset.o 
   make[2]: “/home/ajh/nuttxwork/nuttx/boards/arm/rp2040/common”
   LD: nuttx
   arm-none-eabi-ld: /home/ajh/nuttxwork/nuttx/nuttx section `.bss' will not fit in region `sram'
   arm-none-eabi-ld: region `sram' overflowed by 1462612 bytes
   make[1]: *** [Makefile:156:nuttx] error 1
   make[1]: “/home/ajh/nuttxwork/nuttx/arch/arm/src”
   make: *** [tools/Makefile.unix:420:nuttx] error 2
   ```
   i follow you step,but it not good work


-- 
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-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] malek-luky edited a comment on issue #4832: i use raspberrypi-pico,make error

Posted by GitBox <gi...@apache.org>.
malek-luky edited a comment on issue #4832:
URL: https://github.com/apache/incubator-nuttx/issues/4832#issuecomment-972811304


   Try to restart your computer and redo the whole process from the beginning again. For two days, I struggled with a similar issue for `raspberypi-pico:nsh` config, and doing it from scratch solved some of the problems.


-- 
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-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] malek-luky commented on issue #4832: i use raspberrypi-pico,make error

Posted by GitBox <gi...@apache.org>.
malek-luky commented on issue #4832:
URL: https://github.com/apache/incubator-nuttx/issues/4832#issuecomment-972811304


   Try to restart your computer and redo the whole process from the beginning again. For two days, I struggled with a similar issue for `raspberypi-pico:nsh config`, and doing it from scratch solved some of the problems.


-- 
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-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] malek-luky commented on issue #4832: i use raspberrypi-pico,make error

Posted by GitBox <gi...@apache.org>.
malek-luky commented on issue #4832:
URL: https://github.com/apache/incubator-nuttx/issues/4832#issuecomment-970709107


   1) Check the typo `./tools/configure.sh raspberrypi-pico:nsh`
   2) Run `make` (without -j16)


-- 
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-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] acassis commented on issue #4832: i use raspberrypi-pico,make error

Posted by GitBox <gi...@apache.org>.
acassis commented on issue #4832:
URL: https://github.com/apache/incubator-nuttx/issues/4832#issuecomment-971599269


   It is working fine here:
   ```
   $ export PICO_SDK_PATH=/opt/rasp_pico/pico-sdk
   $ ./tools/configure.sh raspberrypi-pico:nsh
   $ make
   ...
   make[1]: Leaving directory '/home/alan/nuttxspace/nuttx/binfmt'
   IN: binfmt/libbinfmt.a -> staging/libbinfmt.a
   make[1]: Entering directory '/home/alan/nuttxspace/nuttx/arch/arm/src'
   AS:  rp2040_boot_stage2.S
   make[2]: Entering directory '/home/alan/nuttxspace/nuttx/boards/arm/rp2040/common'
   CC:  board/rp2040_boardinitialize.c
   CC:  board/rp2040_appinit.c
   CC:  board/rp2040_bringup.c
   CC:  board/rp2040_reset.c
   AR (create): libboard.a   rp2040_boardinitialize.o rp2040_appinit.o rp2040_bringup.o rp2040_reset.o 
   make[2]: Leaving directory '/home/alan/nuttxspace/nuttx/boards/arm/rp2040/common'
   LD: nuttx
   make[1]: Leaving directory '/home/alan/nuttxspace/nuttx/arch/arm/src'
   Generating: nuttx.uf2
   make[1]: Entering directory '/home/alan/nuttxspace/nuttx/tools/rp2040'
   make[1]: Nothing to be done for 'all'.
   make[1]: Leaving directory '/home/alan/nuttxspace/nuttx/tools/rp2040'
   tools/rp2040/elf2uf2 nuttx nuttx.uf2;
   Done.
   ```


-- 
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-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] malek-luky removed a comment on issue #4832: i use raspberrypi-pico,make error

Posted by GitBox <gi...@apache.org>.
malek-luky removed a comment on issue #4832:
URL: https://github.com/apache/incubator-nuttx/issues/4832#issuecomment-972368965


   I solved this error by running `sudo make` instead of make, but I am unsure if this is the correct approach.


-- 
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-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] malek-luky commented on issue #4832: i use raspberrypi-pico,make error

Posted by GitBox <gi...@apache.org>.
malek-luky commented on issue #4832:
URL: https://github.com/apache/incubator-nuttx/issues/4832#issuecomment-972368965


   I solved this error by running `sudo make` instead of make, but I am unsure if this is the correct approach.


-- 
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-unsubscribe@nuttx.apache.org

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