Tiny FEL tools for allwinner SOC, support RISC-V D1 chip
Go to file
2023-05-22 18:22:49 +08:00
chips [r128]add spi payload support 2023-05-22 18:22:49 +08:00
docs [v851]add spi interface for v851/v853 2023-05-19 17:13:26 +08:00
payloads [r128]add spi payload support 2023-05-22 18:22:49 +08:00
.gitignore [xfel]update some readme.md 2021-08-04 11:48:31 +08:00
99-xfel.rules [Makefile]add udevadm control --reload for install 2022-01-25 15:25:39 +08:00
ecdsa256.c [xfel]add xfel sign command support 2022-04-29 19:17:29 +08:00
ecdsa256.h [xfel]add xfel sign command support 2022-04-29 19:17:29 +08:00
fel.c [v851]add v851 initial ddr support 2023-05-19 13:42:37 +08:00
fel.h [extra]add extra command 2023-05-16 17:15:30 +08:00
LICENSE [xfel]upgrade to v1.2.4-alpha 2022-01-04 16:12:40 +08:00
main.c [extra]add extra command 2023-05-16 17:15:30 +08:00
Makefile Makefile: remove 'udevadm control --reload'. 2022-12-05 14:49:01 +08:00
progress.c [progress]update progress.c 2021-10-28 09:55:11 +08:00
progress.h [progress]update progress 2021-08-06 11:54:25 +08:00
README.md [xfel]change exec command's order 2022-06-02 15:11:32 +08:00
sha256.c [xfel]add xfel sign command support 2022-04-29 19:17:29 +08:00
sha256.h [xfel]add xfel sign command support 2022-04-29 19:17:29 +08:00
spinand.c fix spi nand write error on HYF4GQ4U 2023-02-21 15:01:19 +08:00
spinand.h [xfel]add erase spi nor and spi flash support 2022-01-10 15:50:38 +08:00
spinor.c [spinor]add spinor_global_unlock for spi nor flash 2023-04-25 19:03:23 +08:00
spinor.h [xfel]add erase spi nor and spi flash support 2022-01-10 15:50:38 +08:00
x.h [x.h]remove some comment 2022-06-23 15:57:10 +08:00


XFEL

Tiny FEL tools for allwinner SOC.

DocumentationSupport ListsExamplesReleases

Usage

usage:
    xfel version                                        - Show chip version
    xfel hexdump <address> <length>                     - Dumps memory region in hex
    xfel dump <address> <length>                        - Binary memory dump to stdout
    xfel read32 <address>                               - Read 32-bits value from device memory
    xfel write32 <address> <value>                      - Write 32-bits value to device memory
    xfel read <address> <length> <file>                 - Read memory to file
    xfel write <address> <file>                         - Write file to memory
    xfel exec <address>                                 - Call function address
    xfel reset                                          - Reset device using watchdog
    xfel sid                                            - Show sid information
    xfel jtag                                           - Enable jtag debug
    xfel ddr [type]                                     - Initial ddr controller with optional type
    xfel sign <public-key> <private-key> <file>         - Generate ecdsa256 signature file for sha256 of sid
    xfel spinor                                         - Detect spi nor flash
    xfel spinor erase <address> <length>                - Erase spi nor flash
    xfel spinor read <address> <length> <file>          - Read spi nor flash to file
    xfel spinor write <address> <file>                  - Write file to spi nor flash
    xfel spinand                                        - Detect spi nand flash
    xfel spinand erase <address> <length>               - Erase spi nand flash
    xfel spinand read <address> <length> <file>         - Read spi nand flash to file
    xfel spinand write <address> <file>                 - Write file to spi nand flash
    xfel spinand splwrite <split-size> <address> <file> - Write file to spi nand flash with split support

License

MIT License

Copyright(c) 2007-2022 Jianjun Jiang 8192542@qq.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.