Run minix3 arm7 on qemu Banana Pi

Run minix3 arm7 on qemu Banana Pi with success

After the first run that i believe it was not successful because i dont wait enough for all the boot process happens, i try it again and wait near 1 hour. And its boot… so slow…. until give me the login prompt.

Booting minix image with qemu

Runing the same command to boot arm minix.

/root/qemu/bin/qemu-system-arm -M beaglexm -curses -serial stdio -drive if=sd,cache=writeback,file=/root/src/minix/src/minix_arm_sd.img

Minix3 arm on qemu BPi console login

Login with user root with no password.

Minix/evbarm (minix) (console)

login: root
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
 The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California. All rights reserved.

For post-installation usage tips such as installing binary
packages, please see:
http://wiki.minix3.org/UsersGuide/PostInstallation

For more information on how to use MINIX 3, see the wiki:
http://wiki.minix3.org

We'd like your feedback: http://minix3.org/community/

minix#

Some info

minix# uname -a
Minix minix 3.4.0 Minix 3.4.0 (GENERIC) evbarm

 

Minix3 arm7 on qemu Banana Pi Boot log

root@bananapi:~# /root/qemu/bin/qemu-system-arm -M beaglexm -curses -serial stdio -drive if=sd,cache=writeback,file=/root/src/minix/src/minix_arm_sd.img
WARNING: Image format was not specified for '/root/src/minix/src/minix_arm_sd.img' 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.
reading mib.elf
82600 bytes read in 51 ms (1.5 MiB/s)
reading vm.elf
165788 bytes read in 98 ms (1.6 MiB/s)
reading pfs.elf
56336 bytes read in 35 ms (1.5 MiB/s)
reading mfs.elf
106368 bytes read in 64 ms (1.6 MiB/s)
reading init.elf
318100 bytes read in 183 ms (1.7 MiB/s)
console=tty02 rootdevname=c0d0p1 verbose=0 hz=1000 board_name=BBXM
## Starting application at 0x80200000 ...

MINIX 3.4.0. Copyright 2016, Vrije Universiteit, Amsterdam, The Netherlands
MINIX is open source software, see http://www.minix3.org
omap_gp_timer_write: Bad register 0x000048
 omap_gp_timer_write: Bad register 0x00004c
 Started VFS: 9 worker thread(s)
Starting the mmc driver
mmc_block(info)Initializing the MMC block device
mmc_host_mmchs(info)Using instance number 0
mmc_block(info)System event framework fresh start
Root device name is /dev/c0d0p1
mmc_host_mmchs(info)Enabling high speed mode
/dev/c0d0p1: dirty, performing fsck

Checking zone map. Checking inode map. Checking inode list.
253 files, 94 directories, 31875 free inodes, 6528 free zones

----- FILE SYSTEM MARKED CLEAN -----

mmc_host_mmchs(info)Enabling high speed mode
mmc_host_mmchs(info)Enabling high speed mode
/dev/c0d0p1 is mounted on /
none is mounted on /proc
date: timed: No such file or directory
Tue Jan 1 00:00:00 GMT 2013
/dev/c0d0p2: clean
/dev/c0d0p3: clean
size on /dev/imgrd set to 0kB
Multiuser startup in progress ...
Starting hotplugging infrastructure... done.
Starting services: random pty lwip uds ipc log.
Starting daemons: update cron.
Starting i2c subsystem: i2c i2c i2c.
Running on a BeagleBoard-xM
Starting i2c device drivers: tps65950Sun Jul 9 13:33:31 GMT 2017
framebuffer fresh: pid 311
 cat24c256 fb.
Starting network.
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
Waiting for DAD to complete for statically configured addresses...
Building databases: dev, services.
Starting syslogd.
Starting inetd.
Sun Jul 9 13:54:27 GMT 2017

Minix/evbarm (minix) (console)

login: