Skip to content

Commit

Permalink
Update scripting to use new image.
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlohr committed Mar 26, 2023
1 parent 80d3684 commit 71a015e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mini-rv32ima/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ testbare : mini-rv32ima
./mini-rv32ima -f ../baremetal/baremetal.bin

DownloadedImage :
wget https://github.com/cnlohr/mini-rv32ima-images/raw/master/images/linux-5.18.0-rv32nommu-cnl-1.zip -O linux-5.18.0-rv32nommu-cnl-1.zip
unzip linux-5.18.0-rv32nommu-cnl-1.zip
wget https://github.com/cnlohr/mini-rv32ima-images/raw/master/images/linux-6.1.14-rv32nommu-cnl-1.zip -O linux-6.1.14-rv32nommu-cnl-1.zip
unzip linux-6.1.14-rv32nommu-cnl-1.zip
mv Image DownloadedImage

testdlimage : mini-rv32ima DownloadedImage
Expand Down
4 changes: 2 additions & 2 deletions windows/winrun.ps1
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
$archive = 'linux-5.18.0-rv32nommu-cnl-1.zip';
$archive = 'linux-6.1.14-rv32nommu-cnl-1.zip';

if( !(Test-Path -Path Image) )
{
Invoke-WebRequest -Uri https://github.com/cnlohr/mini-rv32ima-images/raw/master/images/$archive -UseBasicParsing -OutFile $archive;
Expand-Archive linux-5.18.0-rv32nommu-cnl-1.zip -DestinationPath . -ErrorAction SilentlyContinue;
Expand-Archive linux-6.1.14-rv32nommu-cnl-1.zip -DestinationPath . -ErrorAction SilentlyContinue;
}

$compiler = "tcc";
Expand Down

0 comments on commit 71a015e

Please sign in to comment.