| 1 | .TH XBBOOT 1 "May 5, 2010" |
| 2 | .SH NAME |
| 3 | xbboot \- Ingenic XBurst USB Boot Vendor Requests |
| 4 | .SH SYNOPSIS |
| 5 | .B xbboot [vendor_request] ... |
| 6 | .SH DESCRIPTION |
| 7 | .B xbboot |
| 8 | xburst-tools contains tools for Ingenic XBurst CPU device booting. |
| 9 | It can flash bootloader, kernel, rootfs to Ingenic XBurst CPU |
| 10 | device NAND, and also has test functions for Ingenic XBurst CPU |
| 11 | devices. |
| 12 | .SH OPTIONS |
| 13 | .TP |
| 14 | .BR "\-u, \-\-upload" |
| 15 | upload file at <path> to <address> then jump to <address> |
| 16 | .TP |
| 17 | .B "\-h, \-\-help" |
| 18 | Show a help text and exit. |
| 19 | .TP |
| 20 | .B "\-v, \-\-version" |
| 21 | Show version information and exit. |
| 22 | .SH VENDOR REQUEST |
| 23 | .br |
| 24 | .B bulk_read <len> |
| 25 | read len bulk bytes from USB, write to stdout |
| 26 | .br |
| 27 | .B bulk_write <path> |
| 28 | write file at <path> to USB |
| 29 | .br |
| 30 | .B [get_info | VR_GET_CPU_INFO] |
| 31 | read 8-byte CPU info and write to stdout |
| 32 | .br |
| 33 | .B [set_addr | VR_SET_DATA_ADDRESS] <addr> |
| 34 | send memory address |
| 35 | .br |
| 36 | .B [set_len | VR_SET_DATA_LENGTH] <len> |
| 37 | send data length |
| 38 | .br |
| 39 | .B [flush_cache | VR_FLUSH_CACHES] |
| 40 | flush I-Cache and D-Cache |
| 41 | .br |
| 42 | .B [start1 | VR_PROGRAM_START1] <addr> |
| 43 | transfer data from D-Cache to I-Cache and branch to I-Cache |
| 44 | .br |
| 45 | .B [start2 | VR_PROGRAM_START2] <addr> |
| 46 | branch to <addr> directly |
| 47 | .SH EXAMPLES |
| 48 | Here are some examples for the usage of xbboot in the Qi Hardware Project |
| 49 | device: |
| 50 | .PP |
| 51 | Upload u-boot.bin to device memory: 0x80100000, then jump to 0x80100000. |
| 52 | .br |
| 53 | .B " $ sudo xbboot -u 0x80100000 /PATH/TO/u-boot.bin " |
| 54 | .PP |
| 55 | Please report any further bugs at |
| 56 | .B xiangfu@sharism.cc |
| 57 | .SH LICENCE |
| 58 | .B xbboot |
| 59 | is covered by the GNU General Public License (GPL), version 3 or later. |
| 60 | .SH AUTHORS |
| 61 | Xiangfu Liu <xiangfu@sharism.cc> |
| 62 | .br |
| 63 | Wolfgang Spraul <wolfgang@sharism.cc> |
| 64 | .PP |
| 65 | This manual page was written by Xiangfu Liu <xiangfu@sharism.cc> |
| 66 | It is licensed under the terms of the GNU GPL (version 3 or later). |
| 67 | |