sifive / freedom-e-sdk

Open Source Software for Developing on the Freedom E Platform - Deprecated
Other
581 stars 209 forks source link

Not able to download all sub-folders data in windows through ZIP file of freedom-e-sdk #85

Closed thotaraghava closed 6 years ago

thotaraghava commented 6 years ago

Hi Everybody,

  I wanted to install freedom-s-sdk to work on PULPino simulations.
  I have downloaded ZIP file from github and could see sub folders data missing.
  Can you tell me how to download entire database.

 Your help is highly appreciated.

Thanks,

ilg-ul commented 6 years ago

I guess those subfolders are git submodules.

try to clone the repository and be sure you recurse on submodules.

thotaraghava commented 6 years ago

Yes, they are git sub modules. Please tell me how to recurse on submodules while downloading onto windows through ZIP file. Thanks for responding.

thotaraghava commented 6 years ago

How to do this command while downloading ZIP file in windows.

git clone --recursive

Anybody can help in this regard as I stuck here.

ilg-ul commented 6 years ago

ignore the ZIPs, you need to clone the repository.

thotaraghava commented 6 years ago

Should I download GitHub Desktop for this. I am completely new to this environment.

ilg-ul commented 6 years ago

nope, git is enough.

thotaraghava commented 6 years ago

git Which option I need to take. Open in Desktop is asking to download GitHub Desktop, the other option left is ZIP file.

ilg-ul commented 6 years ago

open a terminal and enter the git command, as explained in the README. you probably need to install git for windows before.

GitHub Desktop may work too, but I have no experience with the windows version.

thotaraghava commented 6 years ago

Yes, GitHub Desktop looks working. I have installed and trying to clone, process is going on. Thanks a lot for your patience ilg-ul.

ilg-ul commented 6 years ago

BTW, after you manage to clone the repository, all you can do is examine the files.

if you want to build the samples, you also need the toolchain, a functional make and possibly more.

thotaraghava commented 6 years ago

ok, sure.

thotaraghava commented 6 years ago

HI, In the path /freedom-e-sdk/riscv-gnu-toolchain/riscv-binutils-gdb/, I dont see any configure file both in web page as well as in cloned database. But while running make tools [BOARD=freedom-e300-hifive1], I am seeing below error.

freedom-e-sdk/riscv-gnu-toolchain/riscv-binutils-gdb/configure: No such file or directory.

Please help.

ilg-ul commented 6 years ago

the path of building the toolchain from sources requires a Linux system and some good Linux knowledge.

perhaps you should try to use the already made binaries.

alternatively you can try Eclipse, it is easier to use for first time users. in the latest version of GNU MCU Eclipse you have a SiFive project template that generates ready to run HiFive1 blinky projects.

thotaraghava commented 6 years ago

Already made binaries means, the database on which somebody did already right

ilg-ul commented 6 years ago

it means ready to run executables, not source code programs that need to be compiled, like you are trying to do. (in case you did not notice, you are trying to compile the RISC-V GCC, GDB, OpenOCD, etc)

thotaraghava commented 6 years ago

ok