# GXemul: VoCore emulation

Back to the index.

The goal with this emulation mode is to eventually emulate the VoCore Dock.

It does not work yet.

### FreeBSD/VoCore:

This doesn't work yet. See comments about Linux.

According to https://lists.freebsd.org/pipermail/freebsd-mips/2016-January/004332.html, a kernel at https://www.dropbox.com/s/nkwzx5omtx3ye7t/kernel.uboot.rt5350?dl=0 can be experimented with:

    kernel.uboot.rt5350: u-boot legacy uImage, FreeBSD Kernel Image, Linux/MIPS, OS Kernel Image (gzip), 1467294 bytes, Tue Dec 29 17:04:13 2015, Load Address: 0x80001120, Entry Point: 0x80001120, Header CRC: 0x3F6D1694, Data CRC: 0x6AF182B5

    dd if=kernel.uboot.rt5350 of=apa3 bs=64 iseek=1 oseek=0
    gunzip < apa3 > apa4

    gxemul -VEvocore 0x80001120:0:0x80001120:apa4

TODO: Pretty much Everything.

### Linux/VoCore:

This doesn't work yet. Only serial console output is implemented, nothing else.

Starting point for development:

See http://vocore.io/v1d.html for info about the first VoCore model. (There are some newer ones too.)

See https://openwrt.org/toh/vocore/vocore?datasrt=model for downloadable Linux kernel files etc.

To start debugging/development:

1. Download http://downloads.lede-project.org/releases/17.01.4/targets/ramips/rt305x/lede-17.01.4-ramips-rt305x-vocore-16M-initramfs-kernel.bin

2.     dd if=lede-17.01.4-ramips-rt305x-vocore-16M-initramfs-kernel.bin of=apa bs=64 iseek=1 oseek=0
       lzma -d < apa > apa2

3. `gxemul -E vocore 0x80000000:0:0x80000000:apa2`

ORIGINAL kernel (from vocore.io):

1. Download http://vonger.cn/upload/vocore.dock2.bin (which may be corrupt? lzma complains...)

2.     dd if=vocore.dock2.bin of=apa5 bs=64 iseek=1 oseek=0
       lzma -dv < apa5 > apa6

3. `gxemul -E vocore 0x80000000:0:0x80000000:apa6`

TODO: Pretty much Everything.