Skip to content
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

Open
Dolu1990 opened this issue Sep 4, 2024 · 7 comments
Open

ti375 devkit litex debian demo #24

Dolu1990 opened this issue Sep 4, 2024 · 7 comments

Comments

@Dolu1990
Copy link
Member

Dolu1990 commented Sep 4, 2024

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) :

export SDCARD=/dev/???
export SDCARD_P1=${SDCARD}p1
export SDCARD_P2=${SDCARD}p2

(
echo o
echo n
echo p
echo 1
echo
echo +600M
echo y
echo n
echo p
echo 2
echo
echo +19000M
echo y
echo t
echo 1
echo b
echo p
echo w
) | sudo fdisk $SDCARD

sudo mkfs.vfat $SDCARD_P1
sudo mkfs.ext4 $SDCARD_P2
sudo e2label $SDCARD_P2 rootfs

dd if=p1.img of=$SDCARD_P1
dd if=p2.img of=$SDCARD_P2
@Dolu1990 Dolu1990 changed the title ti375 devkit litex ti375 devkit litex debian demo Sep 6, 2024
@Dolu1990 Dolu1990 pinned this issue Nov 6, 2024
@silverliningeda
Copy link

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 ?

@Dolu1990
Copy link
Member Author

Dolu1990 commented Nov 7, 2024

Hi,
The USB pmod is this extention board :
https://github.com/Dolu1990/pmod_usb_host_x4/tree/main

It provide USB host support to the system, allowing to connect mouse, keyboard, sound card, and other USB peripherals

@silverliningeda
Copy link

where can i get it? or do i need to do some soldering (which i dont know how to do) ?
thanks

@Dolu1990
Copy link
Member Author

Dolu1990 commented Nov 7, 2024

To get it :

  • Either you order the PCB (i did it on pcbway), then you order the componants and mount them.
  • Either you ask a compagny to do the whole process (can be done on pcbway aswell, but quite a bit more expensive)

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."

@Dolu1990
Copy link
Member Author

Dolu1990 commented Nov 7, 2024

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).

@silverliningeda
Copy link

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 ?

@Dolu1990
Copy link
Member Author

Dolu1990 commented Nov 8, 2024

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 ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants