mipsemulation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mipsemulation [2013/10/09 18:49] – AdrianChaddmipsemulation [2019/09/07 07:50] (current) – Remove the redundant "FreeBSD" in the page name. LorenzoSalvadore
Line 17: Line 17:
 I used raw disk images created by makefs(8) utility. The advantage of raw disk image is that they can be used with both emulators. qemu provides more options in this area but they’re out of scope of this article. I created four images for my tests: disk.img, disk64.img, diskel.img, and disk64el.img. 32-bit big-endian, 64-bit big-endian, 32-bit little-endian, 64-bit big-endian. The process looks somewhat like this script: I used raw disk images created by makefs(8) utility. The advantage of raw disk image is that they can be used with both emulators. qemu provides more options in this area but they’re out of scope of this article. I created four images for my tests: disk.img, disk64.img, diskel.img, and disk64el.img. 32-bit big-endian, 64-bit big-endian, 32-bit little-endian, 64-bit big-endian. The process looks somewhat like this script:
  
-<code> +<code bash> 
- #!/bin/sh+#!/bin/sh
 set -e set -e
  
Line 36: Line 36:
  
 # modify /etc/fstab and /etc/rc.conf in $DESTDIR # modify /etc/fstab and /etc/rc.conf in $DESTDIR
 +echo '/dev/ada0 / ufs rw 1 1' > ${DESTDIR}/etc/fstab
  
 # Create 512Mb disk image with big-endian UFS # Create 512Mb disk image with big-endian UFS
  • mipsemulation.1381344590.txt.gz
  • Last modified: 2013/10/09 18:49
  • by AdrianChadd