Build System: Debian Sid/unstable
CPU: x86_64
Kernel: 4.12
When the board is powered, I see the demo LED program and can respond with ‘Y’.
I compiled freedom-e-sdk from source successfully:
$ git clone --recursive https://github.com/sifive/freedom-e-sdk.git
$ cd freedom-e-sdk
$ make tools BOARD=freedom-e300-hifive1 -j4
Then I compiled and uploaded the hello program:
$ make software PROGRAM=hello BOARD=freedom-e300-hifive1
$ make upload PROGRAM=hello BOARD=freedom-e300-hifive1
The program compiles, but the program does not get uploaded and I still get the demo program.
This is the output after make upload
:
~/freedom-e-sdk$ make upload PROGRAM=hello BOARD=freedom-e300-hifive1
work/build/openocd/prefix/bin/openocd -f bsp/env/freedom-e300-hifive1/openocd.cfg &
/home/wdmjun/freedom-e-sdk/work/build/riscv-gnu-toolchain/riscv64-unknown-elf/prefix/bin/riscv64-unknown-elf-gdb software/hello/hello --batch -ex “set remotetimeout 240” -ex “target extended-remote localhost:3333” -ex “monitor reset halt” -ex “monitor flash protect 0 64 last off” -ex “load” -ex “monitor resume” -ex “monitor shutdown” -ex “quit” &&
echo "Successfully uploaded ‘hello’ to freedom-e300-hifive1."
Open On-Chip Debugger 0.10.0+dev (2017-10-17-22:52)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 10000 kHz
Error: The specified debug interface was not found (ftdi)
The following debug interfaces are available:
localhost:3333: Connection timed out.
“monitor” command not supported by this target.
“monitor” command not supported by this target.
You can’t do that when your target is `exec’
“monitor” command not supported by this target.
“monitor” command not supported by this target.
Successfully uploaded ‘hello’ to freedom-e300-hifive1.
-WM