mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/8] mtd: work on mtdraw
@ 2018-09-21 11:18 Sascha Hauer
  2018-09-21 11:18 ` [PATCH 1/8] mtd: mtdraw: Simplify error path Sascha Hauer
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Sascha Hauer @ 2018-09-21 11:18 UTC (permalink / raw)
  To: Barebox List

I did several cleanups on the mtdraw device until I finally found the
bug that nagged me. The alignment check when writing is wrong. On write
entry we have to check if the offset is raw page size aligned and not
writesize aligned. With that I could successfully use fastboot to write
a raw image to NAND.

Sascha Hauer (8):
  mtd: mtdraw: Simplify error path
  mtd: mtdraw: use dev_* for printing
  mtd: mtdraw: do not write empty buffers
  mtd: mtdraw: pass mtdraw around
  mtd: mtdraw: add raw page size to private data
  mtd: mtdraw: fail when writing fails
  mtd: mtdraw: replace "block" with "page"
  mtd: mtdraw: fix wrong alignment check

 drivers/mtd/mtdraw.c | 124 +++++++++++++++++++++----------------------
 1 file changed, 62 insertions(+), 62 deletions(-)

-- 
2.19.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-09-24  6:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-21 11:18 [PATCH 0/8] mtd: work on mtdraw Sascha Hauer
2018-09-21 11:18 ` [PATCH 1/8] mtd: mtdraw: Simplify error path Sascha Hauer
2018-09-21 11:18 ` [PATCH 2/8] mtd: mtdraw: use dev_* for printing Sascha Hauer
2018-09-21 14:33   ` Sam Ravnborg
2018-09-24  6:51     ` Sascha Hauer
2018-09-21 11:18 ` [PATCH 3/8] mtd: mtdraw: do not write empty buffers Sascha Hauer
2018-09-21 11:18 ` [PATCH 4/8] mtd: mtdraw: pass mtdraw around Sascha Hauer
2018-09-21 11:18 ` [PATCH 5/8] mtd: mtdraw: add raw page size to private data Sascha Hauer
2018-09-21 14:42   ` Sam Ravnborg
2018-09-24  6:52     ` Sascha Hauer
2018-09-21 11:18 ` [PATCH 6/8] mtd: mtdraw: fail when writing fails Sascha Hauer
2018-09-21 11:18 ` [PATCH 7/8] mtd: mtdraw: replace "block" with "page" Sascha Hauer
2018-09-21 11:18 ` [PATCH 8/8] mtd: mtdraw: fix wrong alignment check Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox