From f182a11f3362017a6c669871414a9bb448ee050d Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Mon, 2 Sep 2013 12:35:47 +0200 Subject: rk27utils: Add nandextract utility This quick and dirty utility allows to extract nand bootloader from raw 1st nand block dump. I post it mainly to somewhat document how BCH error correction engine of the rk27xx works. Change-Id: I37ca91add7d372e3576d2722afc946d0f08971a9 --- utils/rk27utils/nandextract/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 utils/rk27utils/nandextract/Makefile (limited to 'utils/rk27utils/nandextract/Makefile') diff --git a/utils/rk27utils/nandextract/Makefile b/utils/rk27utils/nandextract/Makefile new file mode 100644 index 0000000000..096b26e893 --- /dev/null +++ b/utils/rk27utils/nandextract/Makefile @@ -0,0 +1,7 @@ +all: nandextract + +nandextract: nandextract.c libbch.c + gcc -g -std=c99 -o $@ -W -Wall $^ + +clean: + rm -fr nandextract -- cgit v1.2.3