Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| mipsemulation [2013/10/09 18:49] – AdrianChadd | mipsemulation [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, | 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, | ||
| - | < | + | < |
| - | # | + | #!/bin/sh |
| set -e | set -e | ||
| Line 36: | Line 36: | ||
| # modify /etc/fstab and / | # modify /etc/fstab and / | ||
| + | echo '/ | ||
| # Create 512Mb disk image with big-endian UFS | # Create 512Mb disk image with big-endian UFS | ||