-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ti375 devkit litex debian demo #24
Comments
excuse my ignorance as i have worked entirely on cloud FPGAs. i am trying to collect all the hardware needed to replicate this demo. can you add a little detail about what you mean by the USB pmod and what it is needed for ? |
Hi, It provide USB host support to the system, allowing to connect mouse, keyboard, sound card, and other USB peripherals |
where can i get it? or do i need to do some soldering (which i dont know how to do) ? |
To get it :
The only thing to be careful about is "The PMOD connector is on the bottom side of the PCB in kicad, but should be solder on the top." |
I would say, if you have access to a USB cable, cut the cable, solder pins on the wires and pull down resistor on it, you should be good to go. No need of a PCB (but it keeps things cleaner XD). |
ok i will try to figure it out. but even without using PMOD0 and PMOD1, it should be sufficient to use PMOD2 (Efinix HDMI extentions board) to see debian booting on a monitor right ? |
The efinix HDMI extentions board doesn't use a pmod, but another connector. You don't event need that HDMI if you use the serial port ^^ |
Getting errors as it tries to boot up...downloaded the prebuilt images, and can see files in both '629MB Volume' and rootfs on the SD card (32GB): [ 5.878333] EXT4-fs (mmcblk0p2): ext4_check_descriptors: Checksum for group 123 failed (41871!=36088)␍␊ |
Hi, hmm i never had a error like this. Also, can you try to check the integrity of root volume using a sdcard reader ? |
Wow - it was the SD card - it was a 32GB Aigo. Got it booting with a 64GB Ultra Sandisk. |
Nice :D |
Hi, When trying to run the abovementioned "python3 -m litex_boards.targets.efinix_ti375_c529_dev_kit ...." command, getting the following error: /bin/sh: 1: cd: can't cd to /home/andymc/projects/TI375_Debian/build/tools/litex/pythondata-cpu-vexiiriscv/pythondata_cpu_vexiiriscv/verilog/ext/VexiiRiscv The folders ext and VexiiRiscv are not there. Is there some installation procedure missing to get them to appear? |
Hi @sitestudio I updated the command above. (just removed --update-repo=no) |
Hi @Dolu1990 Running the same now getting: File "/home/andymc/projects/TI375_Debian/build/tools/litex/litex-boards/litex_boards/targets/efinix_ti375_c529_dev_kit.py", line 67, in init Only other change was to manually set in both programmer.py and platform.py (am guessing they can go in a .env file somewhere) |
Added: default_clk_freq = 100e6 to efinix_ti375_c529_dev_kit.py, getting further now. |
Hi @Dolu1990 Now getting an error regarding USB: USB OHCI netlist : UsbOhciWishbone_Dw32_Pc4_Pf60000000 |
Can you check in /home/andymc/projects/TI375_Debian/build/tools/litex/pythondata-misc-usb_ohci/pythondata_misc_usb_ohci/verilog/ext/SpinalHDL/project/build.properties ? |
No verilog/ext/SpinalHDL/ folder tree below the pythondata_misc_usb_ohci folder so it looks like it is not setting up. Will investigate, I should learn the Litex ecosystem :) |
Took out the --with-ohci and gets a bit futher to here. CC bios.elf Will keep playing around with it. |
The OHCI thing should be fixed via this PR : Basicaly, the repo wasn't cloned recursively XD |
Ahhh i would say this is related to the RISC-V GCC you have installed. Looking at litex, i can see a few ways to get the RISC-V gcc : So for instance on debian : apt install gcc-riscv64-unknown-elf |
All building now, a bit of a tricky path to get it working. Will write up the steps needed in my case and post here. Thanks for your help @Dolu1990 |
Nice ^^ Cheers |
Hello @Dolu1990 Then I try to change the commit to the newest ("7f7c754") in core.py, and the response is like: Maybe something in the python script should be changed? Appreciate it if some guidance can be given! |
It seems like you have a old version of litex. It should be b4269dd : Note there is this vexii litex argument you can use to force the repo : |
That works well. Thank you so much! |
Hardware :
Litex :
Debian / Linux / Opensbi images generation :
Debian and FPGA images are uploaded here :
https://drive.google.com/drive/folders/12WYe_igo2edwZABvF9Zta_bw4kuEbhms?usp=sharing
Here is how you can flash a sdcard using those (after you uncompressed p1 p2) :
The text was updated successfully, but these errors were encountered: