diff --git a/boards/z80/ez80/z20x/README.txt b/boards/z80/ez80/z20x/README.txt
index bae5957b5ad..60f00461d95 100644
--- a/boards/z80/ez80/z20x/README.txt
+++ b/boards/z80/ez80/z20x/README.txt
@@ -92,8 +92,7 @@ Memory Constaints
exceed the ROM address space.
The sdboot configuration will fit into the ROM address space, but NOT if
- you enable assertions, debug outputs, or even debug symbols. It is very
- unlikely that the nsh_flash configuration will fit into FLASH at all!
+ you enable assertions, debug outputs, or even debug symbols.
Serial Console
==============
@@ -205,43 +204,26 @@ Common Configuration Notes
Configuration Subdirectories
----------------------------
- nsh_flash, nsh_ram:
+ nsh_ram:
- These configuration build the NuttShell (NSH). That code can be
+ This configuration builds the NuttShell (NSH). That code can be
found in apps/system/nsh and apps/system/nshlib.. For more
information see: apps/system/nsh/README.txt and
Documentation/NuttShell.html.
NOTES:
- 1. UNVERIFIED! I doubt that the nsh_flash program will fit into the
- smaller FLASH memory of the eZ80F92 part. See discussion under
- "Memory Constraints" above.
-
- The nsh_ram configuration, of course, depends on the sdboot
- bootloader to load that program into RAM.
-
- 2. The two configurations different only in that one builds for
- execution entirely from FLASH and the other for execution entirely
- from RAM. A bootloader of some kind is required to support such
- execution from RAM! This difference is reflected in a single
- configuration setting:
-
- CONFIG_BOOT_RUNFROMFLASH=y # Execute from flash (default)
- CONFIG_BOOT_RUNFROMEXTSRAM=y # Execute from external SRAM
-
- A third configuration is possible but not formalized with its own
- defconfig file: You can also configure the code to boot from FLASH,
- copy the code to external SRAM, and then execute from RAM. Such a
- configuration needs the following settings in the .config file:
+ 1. This configuration builds for execution entirely from RAM. A
+ bootloader of some kind is required to support such execution from
+ RAM! This is reflected in a single configuration setting:
CONFIG_BOOT_RUNFROMEXTSRAM=y # Execute from external SRAM
- CONFIG_Z20X_COPYTORAM=y # Boot from FLASH but copy to SRAM
- Why execute from SRAM at all? Because you will get MUCH better
- performance because of the zero wait state SRAM implementation.
+ Why execute from SRAM? Because you will get MUCH better performance
+ because of the zero wait state SRAM implementation and you will not
+ be constrained by the eZ80F92's small FLASH size.
- 3. The eZ80 RTC, the procFS file system, and SD card support in included.
+ 2. The eZ80 RTC, the procFS file system, and SD card support in included.
The procFS file system will be auto-mounted at /proc when the board
boots.
@@ -308,7 +290,7 @@ Configuration Subdirectories
NOTE: The is no card detect signal so the microSD card must be
placed in the card slot before the system is started.
- 4. Debugging the RAM version
+ 3. Debugging the RAM version
You can debug the all RAM version using ZDS-II as follows:
@@ -319,7 +301,7 @@ Configuration Subdirectories
d. Single step a few times to make sure things look good, then
e. Go
- 5. Optimizations:
+ 4. Optimizations:
- The stack sizes have not been tuned and, hence, are probably too
large.
@@ -359,3 +341,9 @@ Configuration Subdirectories
This would effect the logic in arch/z80/src/ez80/ez80f92_handlers.am
and possible the z20x *.linkcmd files.
+
+ 2. Another thing that would have to be done before this configuration
+ would be usable is to partition the external in some way so that
+ there is no collision between the bootloader's use of SRAM and the
+ SRAM required by the newly loaded program.
+
diff --git a/boards/z80/ez80/z20x/configs/nsh_flash/.gitignore b/boards/z80/ez80/z20x/configs/nsh_flash/.gitignore
deleted file mode 100644
index 739fb85e2e6..00000000000
--- a/boards/z80/ez80/z20x/configs/nsh_flash/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-nsh.hex
-nsh.map
-nsh.lod
-nsh.wsp
-*.asm
-Debug
diff --git a/boards/z80/ez80/z20x/configs/nsh_flash/README.txt b/boards/z80/ez80/z20x/configs/nsh_flash/README.txt
deleted file mode 100644
index f6a67913675..00000000000
--- a/boards/z80/ez80/z20x/configs/nsh_flash/README.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-README.txt
-^^^^^^^^^^
-
-nsh.zdsproj is a simple ZDS-II project that will allow you
- to use the ZDS-II debugger.
-nsh.zfpproj is a simple project that will allow you to use the Smart Flash
- Programming. NOTE: As of this writing this project does not work, probably
- due to RAM configuration in the project. Use ZDS-II instead as is described
- in the upper README.txt file
-nsh_flash.ztgt is the target file that accompanies the project files. This
- one is identical to boards/scripts/z20x_ram.ztgt.
-nsh_ram.ztgt is the target file that accompanies the project files. This
- one is identical to boards/scripts/z20x_flash.ztgt.
diff --git a/boards/z80/ez80/z20x/configs/nsh_flash/defconfig b/boards/z80/ez80/z20x/configs/nsh_flash/defconfig
deleted file mode 100644
index 1fb72a82f3d..00000000000
--- a/boards/z80/ez80/z20x/configs/nsh_flash/defconfig
+++ /dev/null
@@ -1,59 +0,0 @@
-#
-# This file is autogenerated: PLEASE DO NOT EDIT IT.
-#
-# You can use "make menuconfig" to make any modifications to the installed .config file.
-# You can then do "make savedefconfig" to generate a new defconfig file that includes your
-# modifications.
-#
-# CONFIG_MMCSD_HAVE_CARDDETECT is not set
-# CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
-# CONFIG_MMCSD_MMCSUPPORT is not set
-# CONFIG_SPI_CALLBACK is not set
-CONFIG_ARCH="z80"
-CONFIG_ARCH_BOARD="z20x"
-CONFIG_ARCH_BOARD_Z20X=y
-CONFIG_ARCH_CHIP="ez80"
-CONFIG_ARCH_CHIP_EZ80=y
-CONFIG_ARCH_CHIP_EZ80F92=y
-CONFIG_ARCH_STACKDUMP=y
-CONFIG_ARCH_Z80=y
-CONFIG_BOARD_LOOPSPERMSEC=1250
-CONFIG_DISABLE_MQUEUE=y
-CONFIG_EZ80_RTC=y
-CONFIG_EZ80_SPI=y
-CONFIG_EZ80_UART1=y
-CONFIG_FAT_LCNAMES=y
-CONFIG_FAT_LFN=y
-CONFIG_FS_FAT=y
-CONFIG_FS_PROCFS=y
-CONFIG_HOST_WINDOWS=y
-CONFIG_MAX_TASKS=16
-CONFIG_MAX_WDOGPARMS=2
-CONFIG_MMCSD=y
-CONFIG_MMCSD_MULTIBLOCK_DISABLE=y
-CONFIG_NFILE_DESCRIPTORS=8
-CONFIG_NFILE_STREAMS=8
-CONFIG_NSH_ARCHINIT=y
-CONFIG_NSH_DISABLE_IFUPDOWN=y
-CONFIG_NSH_FILEIOSIZE=512
-CONFIG_NSH_LINELEN=64
-CONFIG_NSH_READLINE=y
-CONFIG_PREALLOC_TIMERS=4
-CONFIG_PREALLOC_WDOGS=8
-CONFIG_PTHREAD_STACK_DEFAULT=1024
-CONFIG_RAM_SIZE=65536
-CONFIG_RR_INTERVAL=200
-CONFIG_RTC_ALARM=y
-CONFIG_SCHED_HPWORK=y
-CONFIG_SDCLONE_DISABLE=y
-CONFIG_SPI=y
-CONFIG_START_DAY=20
-CONFIG_START_MONTH=2
-CONFIG_START_YEAR=2020
-CONFIG_SYSTEM_NSH=y
-CONFIG_UART1_BITS=0
-CONFIG_UART1_RXBUFSIZE=192
-CONFIG_UART1_SERIAL_CONSOLE=y
-CONFIG_UART1_TXBUFSIZE=64
-CONFIG_USER_ENTRYPOINT="nsh_main"
-CONFIG_WDOG_INTRESERVE=1
diff --git a/boards/z80/ez80/z20x/configs/nsh_flash/nsh.zdsproj b/boards/z80/ez80/z20x/configs/nsh_flash/nsh.zdsproj
deleted file mode 100644
index bbfaf3aaae4..00000000000
--- a/boards/z80/ez80/z20x/configs/nsh_flash/nsh.zdsproj
+++ /dev/null
@@ -1,261 +0,0 @@
-
-eZ80F92
-
-
-
-..\..\..\nuttx.hex
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/boards/z80/ez80/z20x/configs/nsh_flash/nsh.zfpproj b/boards/z80/ez80/z20x/configs/nsh_flash/nsh.zfpproj
deleted file mode 100644
index 1340f9599e8..00000000000
--- a/boards/z80/ez80/z20x/configs/nsh_flash/nsh.zfpproj
+++ /dev/null
@@ -1,315 +0,0 @@
-
-eZ80F92
-
-
-
-..\..\..\nuttx.hex
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/boards/z80/ez80/z20x/configs/nsh_flash/nsh_flash.ztgt b/boards/z80/ez80/z20x/configs/nsh_flash/nsh_flash.ztgt
deleted file mode 100644
index b691cd51021..00000000000
--- a/boards/z80/ez80/z20x/configs/nsh_flash/nsh_flash.ztgt
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
- true
- 1f4
- 8
- 20000000
-
- PLL
- 20000000
-
-
- 0
- 140000
- FFFF
- true
-
-
-
- 200000
- false
- 040000
- 0BFFFF
-
- 1
- false
- true
-
-
-
-
- 0
- 8
- 4
- B
-
-
- 0
- 0
- 0
- 0
-
-
- 0
- 0
- 0
- 0
-
-
- 0
- 0
- 0
- 0
-
-
-
- 0
- AF
- true
- true
- false
-
- 4
-
- EZ80F92
- 1.0.1
- 1.00
-
diff --git a/boards/z80/ez80/z20x/configs/nsh_flash/nsh_ram.ztgt b/boards/z80/ez80/z20x/configs/nsh_flash/nsh_ram.ztgt
deleted file mode 100644
index 8f78f6b941d..00000000000
--- a/boards/z80/ez80/z20x/configs/nsh_flash/nsh_ram.ztgt
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
- true
- 1f4
- 8
- 20000000
-
- PLL
- 20000000
-
-
- 0
- 100000
- ffff
- true
-
-
-
- 200000
- false
- 000000
- FFFFF
-
- 1
- false
- true
-
-
-
-
- 0
- 8
- 0
- 7
-
-
- 0
- 0
- 0
- 0
-
-
- 0
- 0
- 0
- 0
-
-
- 0
- 0
- 0
- 0
-
-
-
- 0
- AF
- false
- true
- false
-
- 4
-
- EZ80F92
- 1.0.1
- 1.00
-