On Sat, Nov 1, 2014 at 1:01 AM, Daniel Herrington <dan...@iherr.com> wrote:

> Stefan,
>
> I got the smp branch of your repo ("git clone --branch smp git://
> git.openrisc.net/stefan/linux") and then ran the following steps:
> 1. Made sure I had added "CROSS_COMPILE=or32-elf-" and "export
> CROSS_COMPILE" to my .bashrc.
> 2. Ran "make defconfig" to generate the or1ksim-compatible configs.
> 3. Ran "make" to get a vmlinux that should work with or1ksim.
> 4. Edited arch/openrisc/or1ksim.cfg, section uart:
>     a. Commented out channel = "tcp:10084"
>     b. Uncommented channel = "xterm:"
> 5. Ran "or32-elf-sim -f arch/openrisc/or1ksim.cfg vmlinux", but I got a
> kernel panic (see below).
>

Oh, right sorry, this slipped my mind.
The userspace (busybox) that comes with my smp branch makes use of the
atomic instructions, and I assume that your or1ksim is not built from git
HEAD?
Anyway, you can either update your or1ksim (and remember to use a recent
version of mor1kx that has support for these instructions when you try on
the actual HW),
or just copy the userspace from e.g. Jonas repo (everything in
arch/openrisc/support/).

Stefan
_______________________________________________
Linux mailing list
Linux@lists.openrisc.net
http://lists.openrisc.net/listinfo/linux

Reply via email to