2009-06-25 04:52:33 +03:00
|
|
|
*
|
|
|
|
* inflash
|
|
|
|
*
|
|
|
|
* Utility to respond to Ingenic XBurst USB boot protocol, provide
|
|
|
|
* initial boot stages and ability to access NAND on device.
|
|
|
|
*
|
2009-04-28 21:22:12 +03:00
|
|
|
|
2009-06-25 04:52:33 +03:00
|
|
|
Authors: Xiangfu Liu <xiangfu.z@gmail.com>
|
|
|
|
Marek Lindner <lindner_marek@yahoo.de>
|
|
|
|
Wolfgang Spraul <wolfgang@qi-hardware.com>
|
2009-06-09 21:19:58 +03:00
|
|
|
|
2009-06-25 04:52:33 +03:00
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
as published by the Free Software Foundation; either version
|
|
|
|
3 of the License, or (at your option) any later version.
|
2009-06-09 21:19:58 +03:00
|
|
|
|
2009-06-25 04:52:33 +03:00
|
|
|
Build Requirements: libusb-dev, libconfuse-dev
|
2009-06-09 21:19:58 +03:00
|
|
|
|
2009-06-25 04:52:33 +03:00
|
|
|
To run inflash you need device stage 1 (fw.bin), stage 2 (usb_boot.bin)
|
|
|
|
and usb_boot.cfg for device configuration.
|
2009-06-09 21:19:58 +03:00
|
|
|
|
|
|
|
sudo ./inflash -c "boot"
|
|
|
|
sudo ./inflash -c "nprog 0 u-boot-nand.bin 0 0 -n"
|
2009-06-25 04:52:33 +03:00
|
|
|
sudo ./inflash -c "nprog 2048 uImage 0 0 -n"
|