BDBM_DRV is a device driver for BlueDBM hardware which is being developed by CSAIL MIT. In addition to its functionality as a device driver, BDBM_DRV supports various functions, including a flash translation layer, a block device emulation, an NAND flash emulation (with or without NAND timing modles), and so on. Even though its target hardware is BlueDBM, therefore, it can be used for various purposes to develop NAND flash software or firmware.
The current version of BDBM_DRV supports Ubuntu Precise (12.04) with Linux kernel 3.13 (64-bit). Other Linux platforms will be supported soon.
-
Checkout out the following from github:
-
Compile BDBM_DRV:
make
-
Install the kernel module and mount the EXT4 file system:
cd run
./mount_ext4.sh
-
Run a test benchmark:
./run_bonnie++.sh
Note that the Bonnie++ runs on top of a DRAM-based NAND Flash emulator. Thus, its runtime would be much shorter than running it on real devices (e.g., HDDs, SSDs, or BlueDBM Hardware).
-
Unmount the file system:
./umount.sh
A more detailed description will be updated soon.