xboot / xfel

Tiny FEL tools for allwinner SOC, support RISC-V D1 chip
MIT License
240 stars 74 forks source link

How to execute binaries? #38

Closed juanschroeder closed 2 years ago

juanschroeder commented 2 years ago

Hi guys,

Thanks for the work on this tool. I am trying touse xfel for loading manually the binaries built for the D1 into RAM, building opensbi, u-boot, etc, manually. When I run: ./xfel exec 0x40000000 BINARY

I just don't see anything happen, nothing printed in the serial port and no response to xfel anymore. I've tried the full 'u-boot.toc1' full binary or loading and running openSBI, u-boot and u-boot DTB binaries directly and it's always the same result. Can you tell me what I could be doing wrong?

Thanks

jianjunjiang commented 2 years ago

sudo xfel ddr d1; sudo xfel write 0x40000000 xboot.bin; sudo xfel exec 0x40000000;