Saturday, 2020-01-25

*** tpb has joined #litex00:00
*** _whitelogger has quit IRC02:25
*** _whitelogger has joined #litex02:28
*** _whitelogger has quit IRC04:04
*** _whitelogger has joined #litex04:07
*** _whitelogger has quit IRC08:46
*** _whitelogger has joined #litex08:49
*** sajattack has joined #litex11:31
sajattackping https://github.com/litex-hub/litex-boards/pull/3911:31
tpbTitle: Add de10 nano board by sajattack · Pull Request #39 · litex-hub/litex-boards · GitHub (at github.com)11:31
*** Claude has joined #litex11:37
Claudehello11:38
sajattacko/11:39
Claudenot sure if this is the right place to ask, but i have a bit of trouble running litex. i did the install accoring to the readme (./litex_setup.py init install --user) , on a debian 9.9 system. as far as i can tell all depencies are met. still after the install, which runs trough without any error, i get an error when i run e.g. the litex-boards ulx3s target. i get the error "ImportError: No module named11:41
Claude'litex_boards.official.platforms.ulx3s'"11:41
sajattackI'm just as much a noob as you are, but I think maybe litex_boards is separate?11:42
Claudeis there anywhere some more documentation than the small readme ? :)11:43
sajattackhttps://github.com/litex-hub/litex-boards try the setup.py here11:43
tpbTitle: GitHub - litex-hub/litex-boards: LiteX boards files (at github.com)11:43
sajattackidk, I just showed up here because I was trying to port a new board11:44
Claudeahhh ok good hint , get an permission error when running it manually. will look into it. thanks11:44
Claudesajattack: ah yeah exactly the same for me :) brining up a ecp5 board at the moment. now ddr3 its on the list :)11:45
sajattackcode is documentation :P11:45
sajattacksudo it?11:45
sajattackdo you know how a board is supposed to behave when you flash basesoc?11:45
sajattackI got uart echoback and no idea if that's right11:46
sajattackalso need to learn how to add ddr3 at some point I think11:46
Claudehm no not really. so far i just had the prjtrellis attosoc example ported over to my board and did most of the bringup with that11:46
sajattackok11:47
sajattackI copied the de0nano and modified until I had de10nano11:47
sajattackbut no idea if I did it right lol11:47
sajattackone major difference is no sdram11:47
sajattackand when I try linux-on-litex-vexriscv, I get an error in the dts about no main_ram key11:48
sajattackso I think that's related11:48
sajattackbut at least my build passes for the board def and I get uart echo11:49
Claudeno luck with sudo11:59
_florent_Hi sajattack, Claude12:24
Claudehi _florent_12:24
_florent_thanks @sajattack for the board support, i'll review it soon12:25
_florent_@Claude have you been able to revolve your issue?12:25
Claude_florent_: so far not12:26
_florent_it should work following https://github.com/enjoy-digital/litex#quick-start-guide-for-advanced-users12:27
tpbTitle: GitHub - enjoy-digital/litex: Build your hardware, easily! (at github.com)12:27
_florent_if you go to litex/boards/targets are you able to build one of the target there?12:28
Claude_florent_: sorry was afk12:33
Claudeyes this i did. the install to --user , running e.g. the ulx3s target12:33
_florent_can you try to do: ./litex_setup.py init and then sudo ./litex_setup install?12:37
_florent_if it's not working, please post the install logs here to try to understand12:38
Claude_florent_: didn't worked12:40
Claudethe log12:42
Claudehttps://pastebin.com/tqqS7tML12:42
tpbTitle: =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2020.01.25 13:34:03 =~=~=~=~=~=~=~=~=~=~=~= m - Pastebin.com (at pastebin.com)12:42
_florent_ok thanks, is it the same if you do sudo ./litex_setup.py install?12:58
Claude_florent_: yes12:59
Claudeactually it was with sudo installing it12:59
_florent_ok, and just to see if it's an issue with litex or litex-boards, can you try to build one of the targets directly in litex: "cd litex/litex/boards/targets" and "./ulx3s.py --gateware-toolchain=trellis "for example13:05
Claude_florent_: ah wait a minute. need to install the risc-v gcc first13:08
Claude_florent_: ok this went trough13:13
_florent_ok, so LiteX and the cores are installed correctly, the issue you had seems specific to litex-boards13:14
Claude_florent_: thank you very much for the support13:35
_florent_Claude: happy you got it working, are you trying to add support for the colorlight board in SODIMM form factor you reversed?13:38
Claude_florent_: hah :) no not yet , bringup of my own ecp5 board . This weekend is ddr3 time  https://usercontent.irccloud-cdn.com/file/q8s2PaVY/irccloudcapture8546153713907761825.jpg13:41
_florent_Ah ok nice13:42
_florent_You can look at the Versa ECP5 or OrangeCrab for some inspiration13:43
Claudecurrently cloning the orangeCrab ddr3 test :)13:46
Claudeperfect that builds , i can adjust for my board13:47
*** _whitelogger has quit IRC14:31
*** _whitelogger has joined #litex14:34
*** rohitksingh has quit IRC15:11
*** rohitksingh has joined #litex15:16
Claude_florent_: yipieeee!15:54
Claude        __   _ __      _  __15:54
Claude       / /  (_) /____ | |/_/15:54
Claude      / /__/ / __/ -_)>  <15:54
Claude     /____/_/\__/\__/_/|_|15:54
Claude (c) Copyright 2012-2019 Enjoy-Digital15:54
*** Claude has quit IRC15:54
*** Claude has joined #litex15:54
Claudeups! sorry for spam, should have come trough as pastebin15:55
_florent_Claude: great, that was fast :)16:44
Claudethanks, i'm totally blown away btw :) this all is by far the most pleasant fpga expirence since a very long time for me16:50
* Claude should have changed the baudrate .. uploading the prebuild linux image takes ages at 11520016:52
*** sajattack has quit IRC20:53
rvenseClaude: is that... an ecp5 in a pcmcia card!?21:50
ClaudeYes21:52
rvensevery cool. do you have a particular usage in mind?21:53
*** rohitksingh has quit IRC21:59
ClaudeHeh yes , actually it's a Amiga gfx card22:00
rvenseah, the bus is fast enough for that?22:06
*** rohitksingh has joined #litex22:10
*** rohitksingh has quit IRC22:41
*** sajattack has joined #litex22:51
sajattackso can anyone confirm if the default soc in litex-boards is supposed to echo serial?22:58
ClaudeIt did in my case sajattack23:02
sajattackcool23:03
sajattackdid you figure out ddr3?23:03
Claudervense: its not much bandwidth (from the Amiga CPU to pcmcia it's just 9mbyte/s) , but for the usual amiga-ish stuff it's plenty23:05
sajattackClaude: did you figure out how to set up ddr3?23:31

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!