riscv-poky icon indicating copy to clipboard operation
riscv-poky copied to clipboard

Spike version won't let me log into the console

Open sirnewton01 opened this issue 9 years ago • 1 comments

The qemu portion is under construction waiting for an update to the latest version of the specification. I tried the spike instructions and it boots, but then it sits there consuming CPU and there's no way to log into the console and there's no networking support (that I know of) in spike so that I can ssh.

Starting syslogd/klogd: done INIT: no more processes left in this runlevel [ 41.310000] random: nonblocking pool is initialized

Is there a way to get spike up and running similar to the instructions for the riscv-tools?

sirnewton01 avatar Aug 28 '15 12:08 sirnewton01

As a work around, I mounted the root filesystem on my local linux machine and edited /etc/inittab to change the default run level to 1: id:1:initdefault:

Then, I changed the run level one command to simply run /bin/sh: l1:1:wait:/bin/sh

I now have a shell that I can use from spike.

sirnewton01 avatar Aug 28 '15 14:08 sirnewton01