hush for non-mmu system

Waldemar Brodkorb mail at waldemar-brodkorb.de
Mon Sep 1 13:23:23 UTC 2014


Hi Denys,
Denys Vlasenko wrote,

> >> On Sun, Aug 31, 2014 at 3:54 PM, Waldemar Brodkorb
> >> <mail at waldemar-brodkorb.de> wrote:
> >> >> I can run your binary under qemu-system-m68k too.
> >> >> Can you send it to me?
> >> >
> >> > Get it from here (without hush debug):
> >> > http://openadk.org/coldfire/
> >>
> >> Thanks... but I also need a kernel. Can you add it there?
> >> Also, how exactly do you run qemu-system-m68k (what arguments)?
> >
> > I start it so:
> > qemu-system-m68k  -nographic -M mcf5208evb -cpu m5208 -kernel
> > qemu-m68k-initramfspiggyback-kernel
> 
> I fail to boot that kernel:
> 
> # qemu-system-m68k  -nographic -M mcf5208evb -cpu m5208 -kernel
> qemu-m68k-initramfspiggyback-kernel
> qemu: hardware error: mcf_intc_write: Bad write offset 28
> 
> CPU #0:
> D0 = 000000ff   A0 = 4027a5dc   F0 = 0000000000000000 (           0)
> D1 = 00002700   A1 = 4027a5e0   F1 = 0000000000000000 (           0)
> D2 = 00000040   A2 = 40044572   F2 = 0000000000000000 (           0)
> D3 = 00000000   A3 = 400448b8   F3 = 0000000000000000 (           0)
> D4 = 00000000   A4 = 400445d4   F4 = 0000000000000000 (           0)
> D5 = 00000000   A5 = 00000000   F5 = 0000000000000000 (           0)
> D6 = 00000000   A6 = 4018dff8   F6 = 0000000000000000 (           0)
> D7 = 00000000   A7 = 4018dfd0   F7 = 0000000000000000 (           0)
> PC = 401a9f94   SR = 2700 ----- FPRESULT =            0
> 
> 
> Which version is your qemu-system-m68k? Mine is:
> 
> # qemu-system-m68k --version
> QEMU emulator version 1.2.2 (qemu-kvm-devel), Copyright (c) 2003-2008

Sorry. I did forget about the required patch in Qemu:
See here:
http://lists.busybox.net/pipermail/buildroot/2012-April/052585.html
Or just the patch:
http://www.openadk.org/coldfire/qemu-2.1.0-m68k.patch

Hope this helps, otherwise I can prepare a Qemu (static build) if
required.

best regards
 Waldemar


More information about the busybox mailing list