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

How to boot linux on litex? #2220

Open
zjenny09 opened this issue Jul 27, 2021 · 1 comment
Open

How to boot linux on litex? #2220

zjenny09 opened this issue Jul 27, 2021 · 1 comment
Labels

Comments

@zjenny09
Copy link

zjenny09 commented Jul 27, 2021

I tried to boot linux on litex from serial port. But it always showed "Timeout". I tried to download an Image into the Flash through serial port, and then booted from Flash, but it always showd "invalid image length".
How to boot linux from serial port?
Has the Image already been generated into the litex riscv core?
Should I put the Image under certain file folder? If so, how can I get an Image? Is the Image downloaded here OK?
Can I use lxterm to boot from serial port?

@issuelabeler issuelabeler bot added the invalid label Jul 27, 2021
@tmichalak
Copy link
Contributor

@zjenny09 remember that arch-defs is meant for making sure that the toolchain is capable of building a bitstream for a design with certain features, so the litex design will only build you the bitstream of the Linux capable LiteX SoC. When it comes to booting Linux on the bitstream you built and uploaded to the board please refer to linux-on-litex-vexrsicv. I suggest you use Ethernet instead of serial for uploading the kernel, devicetree, etc. as it is much faster. You can find a description of how to setup TFTP in the symbiflow-examples documentation.

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

No branches or pull requests

2 participants