[J-core] working on SH-2 emulator.

Rob Landley rob at landley.net
Tue Sep 6 03:04:48 EDT 2016


On 09/06/2016 12:53 AM, D. Jeff Dionne wrote:
> On Sep 6, 2016, at 2:46 PM, BGB <cr88192 at gmail.com> wrote:
> 
> Oh, excellent.  This means you have passed all the CPU tests, and dropped into
> a GDB stub.  Did you implement and test the J2 CAS instruction, or
patch it out?

CAS an the two bit-shifts from sh3. (All mentioned on http://j-core.org
but I really should have better docs.)

Alas, our arch/sh/configs/j2_defconfig does not appear to have
EARLY_PRINTK set, most likely because we haven't got an early printk
driver for our serial device. So you've got to get pretty far along in
the kernel boot before it dumps the printk buffer out to the serial device.

(I remember Rich poking at that area before, but I don't remember how it
turned out. Possibly it's just not enabled in the config?)

Rob


More information about the J-core mailing list