Re: [9fans] tinyemu - riscv emulator

2021-11-11 Thread Richard Miller
> In the meantime I have some low-level programming work with your compiler > and tinyemu running on a Raspberry Pi 2B. That's good to know. My original motivation for developing the riscv toolchain was to use in "bare metal" programming of riscv soft cores implemented on FPGA.

Re: [9fans] tinyemu - riscv emulator

2021-11-09 Thread Cyber Fonic
Thanks for the lead. Checked Geoff Collyer's web site and the release of the Plan9 kernels for RISC-V are imminent. I'll wait for Geoff to release the new kernels. In the meantime I have some low-level programming work with your compiler and tinyemu running

Re: [9fans] tinyemu - riscv emulator

2021-11-09 Thread Richard Miller
> It can't find *9tecpu.bin*. > I presume that it's the Plan9 kernel. > Any suggestions as to what steps to take in order to generate it? Up to now the procedure for getting the 9k riscv kernel source is to ask its author (Geoff Collyer) for a copy. --

Re: [9fans] tinyemu - riscv emulator

2021-11-09 Thread Richard Miller
> Self-inflicted confusion : I'm running 9vx and forgot that I was mk'ing an > emulator to run within an emulator. Part of the confusion was my fault: I should maybe have removed the Makefile (and other linux-only components) instead of leaving them in as reference material.

Re: [9fans] tinyemu - riscv emulator

2021-11-08 Thread Cyber Fonic
Thank you for the nudges towards the right direction. Self-inflicted confusion : I'm running 9vx and forgot that I was mk'ing an emulator to run within an emulator. After a lot of fiddling with libraries, dependencies I got tinyemu to compile and run. When I execute: tinyemu bridge.cfg It

Re: [9fans] tinyemu - riscv emulator

2021-11-08 Thread Richard Miller
> The make command failed with dependency on slirp module. I don't think plan 9 has a 'make' command. If you just run 'mk' on plan 9 in the tinyemu directory, it uses the mkfile there and there's no slirp dependency. -- 9fans: 9fans Permalink:

Re: [9fans] tinyemu - riscv emulator

2021-11-08 Thread Cyber Fonic
The make command failed with dependency on slirp module. The download from Fabrice's website included slirp and the make ran to completion. My *real unsolved issue* is that I don't understand how to create a version of Plan9 that boots and runs on tinyemu. I confirmed that tinyemu itself runs

Re: [9fans] tinyemu - riscv emulator

2021-11-08 Thread Richard Miller
> I had difficulty in getting tinyEmu from contrib/miller/tinyemu.tar > working. Can you be a bit more specific about your difficulty? How far did you get, what exactly didn't work? To use networking, your Plan 9 kernel needs bridge(3) configured in. In tinyemu.tar there's an example bridge.rc

Re: [9fans] tinyemu - riscv emulator

2021-11-07 Thread Cyber Fonic
I had difficulty in getting tinyEmu from contrib/miller/tinyemu.tar working. So I downloaded from Fabrice Bellard's web site and finally got it running the Linux that is referenced on his web site. I also have Richard Miller's RISC-V compiler compiled under x386 Plan9. BUT ... I can't find