nuttx/boards/z80/ez80/z20x/scripts
Gregory Nutt e814977c0f boards/z80/ez80/z20x/: Add W25 bootloader
The SD boot loader was not satisfactory because 1) the SD slot is on an optional board and, hence, cannot be part of a fundamental solution.  And 2) it is too big.

The only storage on borard is the Winbond W25 SPI-bsed FLASH.  This commit adds support for a bootload to 1) read code in HEX format from a serial port and write it to the W25 FLASH, or 2) read code in binary form from the W25 FLASH into SRAM and execute the loaded program.

boards/z80/ez80/z20x/configs:  Added w25boot configuration
boards/z80/ez80/z20x/src:  Add bootloader logic, w25_main.c.  Add logic to manage shared SRAM memory map so that the loaded program does not clobber the bootloader memory.  Add logic to recover the bootloader memory into the heap after the loaded program as started.
boards/z80/ez80/z20x/scripts:  Rework scripts and configuration to support a bootloader and program build.  The boolloader cannot use all of SRAM; the program must not clobber the SRAM region used by the bootloader.
2020-03-02 14:05:09 -03:00
..
Make.defs boards/z80/ez80/z20x/: Add W25 bootloader 2020-03-02 14:05:09 -03:00
z20x_copytoram.linkcmd eZ80/z20x: Correct uninitialized stack memory 2020-02-27 22:53:27 +01:00
z20x_flash.linkcmd eZ80/z20x: Correct uninitialized stack memory 2020-02-27 22:53:27 +01:00
z20x_flash.ztgt boards/z80/ez80/z20x: Initial port to z20x board. 2020-02-21 15:20:36 +01:00
z20x_loader.linkcmd boards/z80/ez80/z20x/: Add W25 bootloader 2020-03-02 14:05:09 -03:00
z20x_program.linkcmd boards/z80/ez80/z20x/: Add W25 bootloader 2020-03-02 14:05:09 -03:00
z20x_ram.ztgt boards/z80/ez80/z20x: Initial port to z20x board. 2020-02-21 15:20:36 +01:00