README: remove cruft from previous repo

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2023-07-27 16:08:33 +08:00
parent 3a9de82e91
commit 3e8d00a65f

View File

@ -1,13 +1,13 @@
# Platonic RISC-V Device
# ESP32S3 Device
Platonic is an ideal system useful for developing an operating system. It does not represent any sort of real hardware, though differences between platforms is minimal.
This is an attempt to get ESP32S3 working under Renode. It is a work in progress.
## Usage
For emulation, you will need to install Renode (use the [nightly](https://dl.antmicro.com/projects/renode/builds/) to get `SPI.NORFlash` peripheral support). Then, run `renode` on `xous-release.resc`. For example:
For emulation, you will need to install Renode (use the [nightly](https://dl.antmicro.com/projects/renode/builds/) to get CPU support). Then, run `renode` on `badge.resc`. For example:
```
renode emulation/xous-resc.repl
renode badge.repl
```
## Editing Renode Peripherals
@ -26,19 +26,3 @@ Fortunately, Visual Studio Code is free and has excellent C# tooling. All you ne
## Debugging with GDB
When running Renode, you can attach a GDB instance. It runs on port 3333. Simply run `tar ext :3333` in gdb to attach.
```
#!/bin/bash
if [ -z "$1" ]
then
echo "eg: flash.sh application.bin"
exit
fi
set -x
export FIRMWARE_PATH=$(dirname "$1")
dd if=/dev/zero bs=1M count=4 of=./flash.bin
dd if="$FIRMWARE_PATH/bootloader/bootloader.bin" bs=1 count=$(stat -c%s "$FIRMWARE_PATH/bootloader/bootloader.bin") seek=$((16#1000)) conv=notrunc of=./flash.bin
dd if="$FIRMWARE_PATH/partition_table/partition-table.bin" bs=1 count=$(stat -c%s "$FIRMWARE_PATH/partition_table/partition-table.bin") seek=$((16#8000)) conv=notrunc of=./flash.bin
dd if=$1 bs=1 count=$(stat -c%s "$1") seek=$((16#10000)) conv=notrunc of=./flash.bin
```