Open ggangliu opened 2 years ago
@ggangliu thank you for the report. I remember seeing this error elsewhere when LiteX first switched to using meson.
My first suggestion is to ensure that all submodules (and their submodules) have been cloned correctly. If you are having trouble with "https" you may need to switch some more to ssh "git@" style urls.
There is more information here: https://github.com/enjoy-digital/litex/issues/1045#issuecomment-932369254
Repeating here,
I think I saw a similar issue in CFU Playground; the solution there was: make sure that the new picolibc submodule gets a recursive update, so that it loads its submodules.
Edit: this doesn't apply and won't work in this repo:
I think this should happen if you run ./litex_setup.py init update install, but please check that the pythondata_software_picolibc/data submodule is loaded and not an empty directory.
In this repo, you'd need to make sure there is no error in the recursive cloning that happens when you run ./scripts/setup
.
@ggangliu about XC7Z010-1CLG400C -- I have not yet used that part myself. Is that on the first board that you have, or that will be a second experiment? In the command above, you would be building for the default Arty A7-35T board, with some version of XC7A35T.
@ggangliu about XC7Z010-1CLG400C -- I have not yet used that part myself. Is that on the first board that you have, or that will be a second experiment? In the command above, you would be building for the default Arty A7-35T board, with some version of XC7A35T.
It is my first board try to use. I think it is possible to change default Arty A7-35T to suitable for XC7Z010-1CLG400C. So I mean if there is any doc to guide how to support a new board as a reference. Or is there a similar project to refer, which is very close to XC7Z010-1CLG400C? If NOT, I would like try to do it. I am not gonna spend money to buy a new board.
@ggangliu I understand. To use a board in CFU Playground, first it needs to be part of litex-boards, so that would be the first step . If your board isn't there, it should be straightforward to add it (you need to add a file under each of platforms/ and targets/). The main work is adding the information about how the FPGA package pins match to resources on the board (LEDs etc.).
There are already some boards that support similar parts: https://github.com/litex-hub/litex-boards/search?q=xc7z010
@ggangliu I understand. To use a board in CFU Playground, first it needs to be part of litex-boards, so that would be the first step . If your board isn't there, it should be straightforward to add it (you need to add a file under each of platforms/ and targets/). The main work is adding the information about how the FPGA package pins match to resources on the board (LEDs etc.).
There are already some boards that support similar parts: https://github.com/litex-hub/litex-boards/search?q=xc7z010
Thank @tcal-x very much, I will feedback when I have any result.
Hi,
Thanks a million.
By the way, I am also working on VM, I noted that someone also want to work in VM.