# @name HFLASH raw write test
# @desc Write to HFLASH flash directly
# @requires hyperflash/mtd
# @setup_requires hflash
HFLASH_S_FUNC_MTD_RAW_WRITE_CHAR source "common.sh"; install_modules.sh "hflash"; part=`get_mtd_partition_number.sh "hflash"` || die "error getting mtd part number: $part"; do_cmd "echo deadbeaf > $HOME/short_test "; do_cmd "dd if=$HOME/short_test of=/dev/mtd"$part" "
HFLASH_S_FUNC_MTD_RAW_WRITE_BLOCK source "common.sh"; install_modules.sh "hflash"; part=`get_mtd_partition_number.sh "hflash"` || die "error getting mtd part number: $part"; do_cmd "echo deadbeaf > $HOME/short_test "; do_cmd "dd if=$HOME/short_test of=/dev/mtdblock"$part" "



