Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> writes: > I created the nand_oob device mainly for debugging purposes. It can be > convenient to be able to see the oob data. As this has no practical > use besides debugging it can be easily replaced with an interleaved > data/oob device. The oob device is quite inconvenient to use anyway > since it requires some calculating to get the oob data for a given > page. True. What we would need to make it simple : - have arithmetic expressions in hush - have a "dd" command with options skip,bs,count => that is actually a requirement to flash (as cp uses blocks of 4096, while flash with oob wants block of writesize+oobsize which are seldom multiples of 512). I was thinking that a "dd" command would be handy. Would you accept it in barebox ? Cheers. -- Robert _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox