Many thanks for your reply that it isn't possible, I was about to spend many more hours banging the head against the wall.
I guess the only solution for my goal is to learn cross-compiling and build -stable sets for octeon on amd64. On Fri, Sep 16, 2016 at 12:09 PM, <mail+li...@m.jwh.me.uk> wrote: > > -----Original Message----- > > From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On > > Behalf Of soko.tica > > Sent: 09 September 2016 11:09 > > To: misc <misc@openbsd.org> > > Subject: Install octeon on Qemu question(s) > > > > Hello, > > > > I am unsucesfully trying to install octeon on Qemu (I have managed to > > install it on Ubiquity edge router Lite, but I need a qemu guest for > > updating the router as needed). > > > > After much trouble, i have managed to alter miniroot for booting via > > serial, if that was needed at all. > > === > > # vnconfig vnd0 > > miniroot60.fs > > # mount /dev/vnd0i /mnt > > # ls -lh /mnt > > total 16672 > > -rw-r--r-- 1 root wheel 8.1M Jul 29 08:32 bsd.rd > > # mkdir /mnt/etc > > # echo 'set tty > > com0'>/mnt/etc/boot.conf > > # umount /mnt > > # vnconfig -u vnd0 > > === > > I'm trying to install miniroot.fs according to the instructions from > > /usr/local/share/doc/pkg-readmes/qemu, but I am always getting the > errors > > I > > don't understand, e.g.: > > === > > $ qemu-system-mips64 -m 512 -serial stdio -hda octeon.img -hdb > > miniroot60.fs -> > > WARNING: Image format was not specified for 'miniroot60.fs' and probing > > guessed raw. > > Automatically detecting the format is dangerous for raw images, > > write operations on block 0 will be restricted. > > Specify the 'raw' format explicitly to remove the restrictions. > > qemu-system-mips64: Could not load MIPS bios 'mips_bios.bin', and no > > -kernel argument was specified > > $ qemu-system-mips64 -m 512 -serial stdio -hda octeon.img format=raw - > > hdb > > miniroot60< > > qemu-system-mips64: -hda octeon.img: drive with bus=0, unit=0 (index=0) > > exists > > === > > > > Please point to what should I do to accomplish it, I have already wasted > > too much time on it. > > > > Thanks in advance. > > You can't emulate Octeon with QEMU. You also need more than that to > emulate > a MIPS64 board, it isn't x86.