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/07/31 20:27:09 UTC

[GitHub] [incubator-nuttx] Ouss4 commented on a change in pull request #4264: boards: added a basic support for chipKIT Wi-FIRE board

Ouss4 commented on a change in pull request #4264:
URL: https://github.com/apache/incubator-nuttx/pull/4264#discussion_r680405593



##########
File path: boards/mips/pic32mz/chipkit-wifire/README.txt
##########
@@ -0,0 +1,60 @@
+README
+======
+
+  chipKIT Wi-FIRE board
+  (https://chipkit.net/wiki/index.php?title=ChipKIT_Wi-Fire) features
+  the Microchip PIC32MZ2048EFG100 MCU, Microchip MRF24WG0MA Wi-Fi module,
+  USB 2.0 Full-Speed / Hi-Speed OTG controller, Micro SD card connector etc.
+  The PIC32MZ2048EFG100 is a 200 MHz 32-bit MIPS M5150 operation with 2MB Flash
+  memory and 512KB RAM.
+
+Contents
+========
+
+  - GCC toolchain installation
+  - Building NuttX for the chipKIT Wi-FIRE board
+  - Programming Flash
+  - Serial console
+
+GCC toolchain installation
+==========================
+
+  $ wget https://sourcery.mentor.com/GNUToolchain/package12725/public/mips-sde-elf/mips-2014.05-24-mips-sde-elf-i686-pc-linux-gnu.tar.bz2
+  $ sudo tar xvjf mips-2014.05-24-mips-sde-elf-i686-pc-linux-gnu.tar.bz2 -C /usr/local
+
+Building NuttX for the chipKIT Wi-FIRE board
+============================================
+
+  $ cd nuttx
+  $ make apps_distclean
+  $ make distclean
+  $ ./tools/configure.sh -l chipkit-wifire:nsh
+  $ make CROSSDEV=mips-sde-elf-

Review comment:
       Why don't we add this toolchain to arch/mips/src/mips32/Toolchain.defs?

##########
File path: boards/mips/pic32mz/chipkit-wifire/README.txt
##########
@@ -0,0 +1,60 @@
+README
+======
+
+  chipKIT Wi-FIRE board
+  (https://chipkit.net/wiki/index.php?title=ChipKIT_Wi-Fire) features
+  the Microchip PIC32MZ2048EFG100 MCU, Microchip MRF24WG0MA Wi-Fi module,
+  USB 2.0 Full-Speed / Hi-Speed OTG controller, Micro SD card connector etc.
+  The PIC32MZ2048EFG100 is a 200 MHz 32-bit MIPS M5150 operation with 2MB Flash
+  memory and 512KB RAM.
+
+Contents
+========
+
+  - GCC toolchain installation
+  - Building NuttX for the chipKIT Wi-FIRE board
+  - Programming Flash
+  - Serial console
+
+GCC toolchain installation
+==========================
+
+  $ wget https://sourcery.mentor.com/GNUToolchain/package12725/public/mips-sde-elf/mips-2014.05-24-mips-sde-elf-i686-pc-linux-gnu.tar.bz2
+  $ sudo tar xvjf mips-2014.05-24-mips-sde-elf-i686-pc-linux-gnu.tar.bz2 -C /usr/local
+
+Building NuttX for the chipKIT Wi-FIRE board
+============================================
+
+  $ cd nuttx
+  $ make apps_distclean
+  $ make distclean
+  $ ./tools/configure.sh -l chipkit-wifire:nsh
+  $ make CROSSDEV=mips-sde-elf-
+
+Programming Flash
+=================
+
+  CAUTION:
+
+  Currently the pre-installed bootloader of the chipKIT Wi-FIRE board
+  is not supported in this NuttX configuration. Doing the following
+  steps will erase the factory installed bootloader in the Flash
+  memory! If you are going to recover the bootloader later on your
+  chipKIT Wi-FIRE board, the original chipKIT bootloader can be found here:
+  https://reference.digilentinc.com/_media/chipkit_wifire/chipkit-wifire-v01000303.zip

Review comment:
       Can't we reserve the bootloader region in the linker script?




-- 
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