From d9e43ef41c3ef59bfb9fe3b811604f2b41160257 Mon Sep 17 00:00:00 2001 From: Pali Rohár Date: Sun, 7 Apr 2013 15:16:50 +0200 Subject: doc: Add examples --- doc/examples | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 doc/examples (limited to 'doc') diff --git a/doc/examples b/doc/examples new file mode 100644 index 0000000..446bbbf --- /dev/null +++ b/doc/examples @@ -0,0 +1,46 @@ +Via USB: + +Load kernel & initfs and boot it: +$ 0xFFFF -m initfs -m kernel -l -b + +Flash kernel: +$ 0xFFFF -m kernel -f + +Flash FIASCO image: +$ 0xFFFF -M image.fiasco -f + +Flash only kernel from FIASCO image: +$ 0xFFFF -M image.fiasco -t kernel -f + +Reboot: +$ 0xFFFF -r + +Identify device: +$ 0xFFFF -I + + +On device (need nanddump from mtd-utils): + +Dump all images to current directory: +$ 0xFFFF -e + +Dump all images to one fiasco file: +$ 0xFFFF -E dump.fiasco + + +FIASCO packaging: + +Show FIASCO archive: +$ 0xFFFF -M image.fiasco -i + +Unpack fiasco image to current directory: +$ 0xFFFF -M image.fiasco -u + +Generate new fiasco image from files xloader.bin, nolo.bin, zImage, rootfs and append device&version information (xloader for RX-51 hw revision: 2101 and 2102, version 1.0) +$ 0xFFFF -m RX-51:2101,2102:1.0:xloader:xloader.bin -m RX-51:2101,2102:1.0:secondary:nolo.bin -m 2.6.28:kernel:zImage -m rootfs -g image.fiasco + +For all options see help: +$ 0xFFFF -h + + +0xFFFF can detect more image types from file header. If autodetection not working, see syntax of param -m ([[[dev:[hw:]]ver:]type:]file[%lay]) -- cgit v1.2.3