From e8667bec6e0b6de5c48fa66738e43ec88b371c35 Mon Sep 17 00:00:00 2001 From: xiangfu Date: Tue, 9 Jun 2009 18:19:58 +0000 Subject: [PATCH] add requires file to README --- flash-tool/README | 20 +++++++++++++++++--- flash-tool/reflash.sh | 6 ------ 2 files changed, 17 insertions(+), 9 deletions(-) delete mode 100755 flash-tool/reflash.sh diff --git a/flash-tool/README b/flash-tool/README index 19e0dd9..0be2fd7 100644 --- a/flash-tool/README +++ b/flash-tool/README @@ -1,4 +1,18 @@ -inflash tools: flash image(like: u-Boot, kernel) to PI. +Ingenic Usb Boot Tools + flash image(like: u-Boot, kernel) to PI. -to compile this program you need: - On Debian and Ubuntu, you'll need libusb-dev: sudo apt-get install libusb-dev libconfuse-dev += compile = +On Debian and Ubuntu, you'll need libusb-dev + sudo apt-get install libusb-dev libconfuse-dev + += run = +inflash you need device stage1(fw.bin), stage2(usb_boot.bin) +and usb_boot.cfg for the device configure. + + += shell = +#!/bin/bash + +sudo ./inflash -c "boot" +sudo ./inflash -c "nprog 0 u-boot-nand.bin 0 0 -n" +# sudo ./inflash -c "nprog 2048 uImage 0 0 -n" diff --git a/flash-tool/reflash.sh b/flash-tool/reflash.sh deleted file mode 100755 index 1342afe..0000000 --- a/flash-tool/reflash.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -sudo ./inflash -c "boot" -sudo ./inflash -c "nprog 0 u-boot-nand.bin 0 0 -n" -# sudo ./inflash -c "nprog 2048 uImage 0 0 -n" -