Tiny FEL tools for allwinner SOC, support RISC-V D1 chip
Go to file
2021-06-11 16:32:09 +08:00
chips [spi]remove some spi interface 2021-06-10 23:28:17 +08:00
payloads [h3]update h3 spi payload 2021-06-10 23:23:07 +08:00
.gitignore [fel]working on fel... 2021-05-26 02:21:59 +08:00
99-xfel.rules [udev]update 99-xfel.rules 2021-06-09 12:04:15 +08:00
fel.c [f1c100s]new spi payload 2021-06-10 18:18:03 +08:00
fel.h [spi]remove some spi interface 2021-06-10 23:28:17 +08:00
LICENSE [LICENSE]add mit LICENSE and README.md 2021-05-26 13:45:09 +08:00
main.c [xfel]remove help command 2021-06-07 17:46:00 +08:00
Makefile [udev]update 99-xfel.rules 2021-06-09 12:04:15 +08:00
progress.c [progress]add progress files 2021-06-04 15:44:33 +08:00
progress.h [progress]add progress files 2021-06-04 15:44:33 +08:00
README.md [fel]fix some words 2021-06-10 09:35:50 +08:00
spinand.c [spinor]add spi nor flash support 2021-06-05 17:44:57 +08:00
spinand.h [header]fix some header file 2021-06-06 11:57:39 +08:00
spinor.c [spinor]update spi nor 2021-06-11 16:32:09 +08:00
spinor.h [header]fix some header file 2021-06-06 11:57:39 +08:00
x.h [f1c100s]add ddr support for f1c100s 2021-05-26 15:21:47 +08:00


XFEL

Tiny FEL tools for allwinner SOC, support RISC-V D1 chip.

How to build

The xfel tools depends on the libusb-1.0 library, you need to install libusb-1.0-0-dev before compile, for example in ubuntu:

sudo apt install libusb-1.0-0-dev

Then just type make at the root directory, you will see a binary program.

cd xfel
make
sudo make install

Usage

xfel(v1.1.0) - https://github.com/xboot/xfel
usage:
    xfel version                                - Show brom version
    xfel hexdump <address> <length>             - Dumps memory region in hex
    xfel dump <address> <length>                - Binary memory dump to stdout
    xfel exec <address>                         - Call function address
    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 reset                                  - Reset device using watchdog
    xfel sid                                    - Show 128-bits sid information
    xfel jtag                                   - Enable jtag debug
    xfel ddr [type]                             - Initial ddr controller with optional type
    xfel spinor                                 - Detect 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 read <address> <length> <file> - Read spi nand flash to file
    xfel spinand write <address> <file>         - Write file to spi nand flash

License

This library is free software; you can redistribute it and or modify it under the terms of the MIT license. See MIT License for details.