From 1441403f2353054a38175874d8249be269dfe7cc Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Wed, 5 May 2010 13:05:30 +0800 Subject: [PATCH] [xbboot] add xbboot manual file Signed-off-by: Xiangfu Liu --- xbboot/README.xbboot | 4 +-- xbboot/docs/xbboot.1 | 66 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+), 2 deletions(-) create mode 100644 xbboot/docs/xbboot.1 diff --git a/xbboot/README.xbboot b/xbboot/README.xbboot index 663e644..a737984 100644 --- a/xbboot/README.xbboot +++ b/xbboot/README.xbboot @@ -24,5 +24,5 @@ Build and Installation: and the bootloader running on the device into /usr/share/xburst-tools Examples: - sudo xbboot -d 0x80600000 /PATH/TO/zImage - sudo xbboot -d 0x80100000 /PATH/TO/u-boot.bin + sudo xbboot -u 0x80600000 /PATH/TO/zImage + sudo xbboot -u 0x80100000 /PATH/TO/u-boot.bin diff --git a/xbboot/docs/xbboot.1 b/xbboot/docs/xbboot.1 new file mode 100644 index 0000000..81264ff --- /dev/null +++ b/xbboot/docs/xbboot.1 @@ -0,0 +1,66 @@ +.TH XBBOOT 1 "May 5, 2010" +.SH NAME +xbboot \- Ingenic XBurst USB Boot Vendor Requests +.SH SYNOPSIS +.B xbboot [vendor_request] ... +.SH DESCRIPTION +.B xbboot +xburst-tools contains tools for Ingenic XBurst CPU device booting. +It can flash bootloader, kernel, rootfs to Ingenic XBurst CPU +device NAND, and also has test functions for Ingenic XBurst CPU +devices. +.SH OPTIONS +.TP +.BR "\-u, \-\-upload" +upload file at to
then jump to
+.TP +.B "\-h, \-\-help" +Show a help text and exit. +.TP +.B "\-v, \-\-version" +Show version information and exit. +.SH VENDOR REQUEST +.br +.B bulk_read +read len bulk bytes from USB, write to stdout +.br +.B bulk_write +write file at to USB +.br +.B [get_info | VR_GET_CPU_INFO] +read 8-byte CPU info and write to stdout +.br +.B [set_addr | VR_SET_DATA_ADDRESS] +send memory address +.br +.B [set_len | VR_SET_DATA_LENGTH] +send data length +.br +.B [flush_cache | VR_FLUSH_CACHES] +flush I-Cache and D-Cache +.br +.B [start1 | VR_PROGRAM_START1] +transfer data from D-Cache to I-Cache and branch to I-Cache +.br +.B [start2 | VR_PROGRAM_START2] +branch to directly +.SH EXAMPLES +Here are some examples for the usage of xbboot in the Qi Hardware Project +device: +.PP +Upload u-boot.bin to device memory: 0x80100000, then jump to 0x80100000. +.br +.B " $ sudo xbboot -u 0x80100000 /PATH/TO/u-boot.bin " +.PP +Please report any further bugs at +.B xiangfu@sharism.com +.SH LICENCE +.B xbboot +is covered by the GNU General Public License (GPL), version 3 or later. +.SH AUTHORS +Xiangfu Liu +.br +Wolfgang Spraul +.PP +This manual page was written by Xiangfu Liu +It is licensed under the terms of the GNU GPL (version 3 or later).