Comments (12)
Hi @SanadaShinken,
great you manage to make it work yourself, that's the better way to learn :) (I was going to look at it). Feel free to create a PR with support for this board if it's working. Even if not perfect, I could review and clean it up.
from litex-boards.
Thanks @SanadaShinken for the initial support. I will look at it very soon. For now I transfered the issue to LiteX-Boards.
from litex-boards.
Thanks @SanadaShinken for the initial support. I will look at it very soon. For now I transfered the issue to LiteX-Boards.
Hi Sir:
Many Thanks LiteX Project, and You!!!!!
I'd made a workable version Linux + VexRiscV running on qmtech wukong board.
But I still need your help to clearing some settings. I'll upload the setting file when I done some tests.
BR, Sanada
from litex-boards.
Hi:
You can try with my files over same board (I will load support maybe next year to official repository but more hands could be great). It's tested with Vexriscv linux, linux-smp up to 16 cores (first version without DMA and some additional configuration over image build), Ethernet (with some doubts about its max baudrate), spisdcard boot (with a pmod) and terminal over usb onboard. Now I'm working to activate HDMI in/out port and a 5Mpix cmos camera (litevideo is under study) but first I will test new repository version first.
Check it out and tell us your feedback
@enjoy-digital take a quick look at it. I hope this helps.
BR. Carlos.
qmtech.txt
QMTECH_platform.txt
QMTECH_target.txt
from litex-boards.
Hi @SanadaShinken,
great you manage to make it work yourself, that's the better way to learn :) (I was going to look at it). Feel free to create a PR with support for this board if it's working. Even if not perfect, I could review and clean it up.
Hello @enjoy-digital :
Thank you very much. the setting board setting files are in the work.zip file. this setting files could boot up with https://github.com/litex-hub/linux-on-litex-vexriscv/files/5281217/kc705_2020_09_25.zip, but will fail with 2020-1215 prebuilt bit-stream after I update litex related repositories.
BR, Sanada
from litex-boards.
Hi:
You can try with my files over same board (I will load support maybe next year to official repository but more hands could be great). It's tested with Vexriscv linux, linux-smp up to 16 cores (first version without DMA and some additional configuration over image build), Ethernet (with some doubts about its max baudrate), spisdcard boot (with a pmod) and terminal over usb onboard. Now I'm working to activate HDMI in/out port and a 5Mpix cmos camera (litevideo is under study) but first I will test new repository version first.Check it out and tell us your feedback
@enjoy-digital take a quick look at it. I hope this helps.BR. Carlos.
Hi, @Chgavilana :
Very thanks for your sharing. I did some tests based on your spi sd card setting, but still failed. the linux kernel will crash after spi sd card initialized. Could you do me some favor to give me some hint about how to debug this error?
below is my environments:
- Vivado : 2020.1
- Litex : update to 2020-1218
- Linux-on-litex-vexriscv : update to 2020-1218
BR, Sanada
from litex-boards.
Hi @SanadaShinken
Well, for me works fine, and with last version, kernel recognize sd card and mount over /dev directory. I recommend first check your hardware connection (I don't know what pmod you use, mine is a little rustic but with all signal with pull-up and 3.3V power from connector), next, copy files again over SD (and check your sd memory), and finally, check your make.py file adding Qmtech board (short way to generate all).
class Qmtech(Board):
# SPIFLASH_PAGE_SIZE = 256
# SPIFLASH_SECTOR_SIZE = 64*kB
# SPIFLASH_DUMMY_CYCLES = 11
def __init__(self):
from litex_boards.targets import QMTECH
Board.__init__(self, QMTECH.BaseSoC, soc_capabilities={
# Communication
"serial",
"ethernet",
# Storage
# "spiflash",
# "sdcard",
"spisdcard",
# GPIOs
"leds",
# Video
# "framebuffer",
# Monitoring
#"xadc",
}, bitstream_ext=".bit")
Send a screen of your error and I can check what other problem could be.
Carlos.
from litex-boards.
Hello, @Chgavilana :
Thank you very much. the attachment file is what i use for wukong board.
work.zip
the following message is the fail log after linux kernel boot up.
mmc_spi spi0.0: setup: unsupported mode bits 4
mmc_spi spi0.0: can't change chip-select polarity
mmc_spi spi0.0: SD/MMC host mmc0, no WP, no poweroff, cd polling
Unable to handle kernel NULL pointer dereference at virtual address 00000000
Oops [#1]
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.0.0 #1
sepc: c00fa820 ra : c00fa7c8 sp : cf82dc40
gp : c05a36e8 tp : cf828000 t0 : cfdf8148
t1 : 00000002 t2 : 000000c0 s0 : cf82dc60
s1 : cf801cc0 a0 : 00000000 a1 : 006000c0
a2 : c05cce58 a3 : cfdf6890 a4 : ffffffff
a5 : ffffffff a6 : 000007cb a7 : cf8a4700
s2 : 006000c0 s3 : c00c7e64 s4 : 00000013
s5 : 00000000 s6 : 00000000 s7 : cf8a4640
s8 : 00000001 s9 : 000041ed s10: 00080000
s11: cf8a4620 t3 : ffffffff t4 : fffffffe
t5 : 00000400 t6 : cf8a4713
sstatus: 00000120 sbadaddr: 00000000 scause: 0000000d
---[ end trace e4985d40f850f455 ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---
Many Thanks.
BR, Sanada
from litex-boards.
Hi All:
Many Thanks for Greate Litex Project!!! @enjoy-digital , @Chgavilana, many thanks!!
After update all related projects, the final gateware could bring up linux OS successfully!
the following devices is ok for the attachment setting files.
backup.zip
DDR3
SPI SD Card
ethernet
serial
the boot log file is setting vexriscv CPU running at 100MHz and 150MHz.
bootup_ok.txt
bootup_ok_150MHz.txt
If @enjoy-digital want to add to litex, it is very ok to me. this issues could be closed.
Best Regards,
BR, Sanada
from litex-boards.
Hi @SanadaShinken,
thanks for the feedback. I can add the board support to LiteX-Boards ye, if you don't want to create a PR yourself can you provide me a name and email I can use for the copyright?
from litex-boards.
Hi @SanadaShinken,
thanks for the feedback. I can add the board support to LiteX-Boards ye, if you don't want to create a PR yourself can you provide me a name and email I can use for the copyright?
name : Shinken Sanada
email : [email protected]
Many Thanks.
BR, Sanada
from litex-boards.
@SanadaShinken: This has been integrated. I also did some review/cleanup on the Platform file in b67b18c.
from litex-boards.
Related Issues (20)
- digilent_arty fails to build using f4pga due to dependency on unsupported features (DNA_PORT, XADC) HOT 4
- Sipeed Tang Nano 9k no Boot Message from SoC-Core HOT 4
- VCU128 DDR4 memory calibration failure HOT 13
- Error Related to csr.json File During Generation of Litex.resc and Litex.repl Files HOT 1
- qmtech_wukong: how do I add SPI? HOT 1
- arty 35t: SPI SDCard without PMOD HOT 1
- Sipeed Tang Nano 1k support HOT 2
- Nitefury board PCIe clock setting HOT 2
- ModuleNotFoundError: No module named 'litex' HOT 1
- efinix_titanium_ti60_f225_dev_kit: ethernet non functional
- Bitstream loading on ECPIX-5 board needs --cable ft4232 HOT 2
- Unable to replicate Analogue Pocket HOT 6
- Issues with cpu type rocket for terasic de2 115 HOT 1
- Mini901 Initial investigations - anyone interested ? HOT 1
- Sipeed Tang Mega 138k : SDRAM test failed. HOT 4
- How to make : Running Dual-Core RISC-V Linux on Cheap FPGA Board HOT 2
- limesdr_mini_v2 loading firmware: [LITEX-TERM] Got unexpected response from device 'b'\n'' HOT 7
- Sipeed Tang primer 20k : usb host test failed. HOT 5
- Sipeed Tang Primer 25k no serial out after successful flash HOT 4
- 5a-75b revision 8.2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from litex-boards.