[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Current Debian m68k in Amiga



> > However, I haven't tried vmdeboostrap yet which is why it would be
> > nice whether someone could actually test it and document it somewhere.
> > This should dramatically increase the bootstrapping process and make
> > it easier as well.
> 
> I will give a try this weekend!

I prepared a Debian SID amd64 environment. After trying I'm sorry to tell that there was no luck with vmdebootstrap. In first place, I had to modify the script (0.9 version) in order to:

	* Make it compatible with arch=m68k, that was not working rightly.
	* Add the --no-check-gpg because even after I installed the debian-ports-archive-keyring package and check the key was installed with apt-key, debootstrap kept complaining about unsigned key in the repo.

Then I ran:

$ vmdebootstrap --foreign=/usr/bin/qemu-m68k-static --arch=m68k --distribution=unstable --mirror ftp://ftp.debian-ports.org/debian --image debm68k.img --no-extlinux --no-use-uefi --enable-dhcp --root-password=root

After these mods, it performs stage 1 correctly, but then qemu-m68k crashes when trying to execute the second stage. The error is:

qemu: fatal: Illegal instruction: ebc0 @ f67c76bc

It happens to be the same issue it is reported here:
https://bugs.launchpad.net/ubuntu/+source/qemu-linaro/+bug/1254786

In that thread they say qemu emulates a ColdFire MCU rather than a classic Motorola 68k, that could be causing the incompatibility.

Also, I must say I ran qemu inside a Hyper-V virtual machine, that I doubt it affects the process, but it is the only clue I have so I'll try to do the process in a native Linux.

Greets,
Carlos

Carlos Milán Figueredo | HispaMSX System Operator |   http://www.hispamsx.org | |  telnet://bbs.hispamsx.org




Reply to: