 test yaffs under linux using virtualbox and vagrant test yaffs under linux using virtualbox and vagrant you can use this vagrant box to test yaffs to run it you will need virtualbox which you can download from  https wwwvirtualboxorg   50 to 90mb download to run virtualbox you will need a pc which is capable of virtualisation any pc made in the since about 2006 should be capable of this apart from notepads and even some notepads have virtualisation follow the instructions to install virtualbox on your system it s available for linux solaris windows and mac the vagrant box was created using virtualbox 41 but version 40 should be ok too if you have a problem with the 41 series once virtualbox is installed you will need to download and install vagrant you find vagrant at  http vagrantupcom   download and install the latest version for your operating system from  http downloadsvagrantupcom   vagrant is a download of between 10 and 60mb depending on your operating system excluding any vagrant boxes you choose to download the install instructions can be found at  http vagrantupcom v1 docs gettingstarted indexhtml now download the yaffs vagrant box  saving it to your hard drive this is a large download 3gb so if you are on a slow network you may wish to schedule it for a convenient time after you have vagrant installed to test the yaffs box open a command line terminal and type mkdir yaffsprecise cd yaffsprecise vagrant box add yaffsprecise wherever you saved packagebox vagrant init yaffsprecise vagrant up vagrant ssh this will leave you at the command line of the yaffs box you can find the kernel and yaffs in the kernel directory ie home vagrant kernel you can create a yaffs nand simulated drive using the following sudo sudo modprobe nandsim firstidbyte 0xec secondidbyte 0xd3 thirdidbyte 0x51 fourthidbyte 0x15 sudo mount t yaffs dev mtdblock0 media nand in the commands above there s no need to modprobe mtd or mtdblock because the vagrant image has these compiled into the kernel once you have mounted your yaffs partition you can experiment with writing and deleting files watching what happens admin 24 may 2017 1237pm  