From 3e8d00a65fe759629fd70c5f19d7007bd2d474c7 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Thu, 27 Jul 2023 16:08:33 +0800 Subject: [PATCH] README: remove cruft from previous repo Signed-off-by: Sean Cross --- README.md | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 1c2fb76..f9bc7ab 100644 --- a/README.md +++ b/README.md @@ -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 -```