IRC logs for #openrisc Monday, 2017-01-16

--- Log opened Mon Jan 16 00:00:16 2017
olofk_webpromach: Yes, I saw your question. Been offlne a bit due to new internet connection at home02:47
olofk_webHow do you install FuseSoC? Just running "pip install fusesoc" should work02:47
olofk_webI'm a bit suprised also that it looks like it tries to install fusesoc 1.5. It should use fusesoc 1.6 now02:48
promachTraceback (most recent call last):02:50
promach  File "/usr/bin/pip", line 7, in <module>02:50
promach    from pip import main02:50
promachModuleNotFoundError: No module named 'pip'02:50
promachthis is also why I tried the virtualenv method02:50
olofk_webstekern: Looking a bit more at the qsys stuff, I see that it's a bit awkward. If I understand it correctly, the qsys file is transformed into a qip and a .v file (plus tons of report files). Is that correct?02:51
olofk_webpromarch: Which version of Python do you use, and which os/distro?02:51
promacharch linux02:53
olofk_webMaybe you need to install pip manually first02:54
promachPython 3.6.002:54
olofk_webHey, why did my other me timeout?02:55
promachBe cautious if you're using a Python install that's managed by your operating system or another package manager. get-pip.py does not coordinate with those tools, and may leave your system in an inconsistent state.02:55
promachhttps://pip.pypa.io/en/stable/installing/02:55
olofk_webThere seems to be a python-pip package for arch02:55
promachlooking for conflicting packages...02:56
promachPackages (1) python-pip-9.0.1-202:56
promachTotal Installed Size:  6.22 MiB02:56
promach:: Proceed with installation? [Y/n]02:56
promach(1/1) checking keys in keyring                      [###########################] 100%02:56
promach(1/1) checking package integrity                    [###########################] 100%02:56
promach(1/1) loading package files                         [###########################] 100%02:56
promach(1/1) checking for file conflicts                   [###########################] 100%02:56
promacherror: failed to commit transaction (conflicting files)02:56
promachpython-pip: /usr/bin/pip exists in filesystem02:56
promachpython-pip: /usr/bin/pip3 exists in filesystem02:56
olofk_web???02:56
promachErrors occurred, no packages were upgraded.02:56
promachbut02:56
promacherror: No package owns /usr/bin/pip02:56
olofk_webDid you run the get-pip.py script?02:57
olofk_webFrom the link you posted02:57
promachwhich means pip is installed not throught python-pip AUR package02:57
promachno02:57
olofk_webHm.. strange02:57
promachI ran   sudo pacman -Qo /usr/bin/pip02:57
promachto check which package installed /usr/bin/pip to my system02:58
olofk_webYou could of course try to just move the conflicting files temporarily to see if that helps02:58
promachI see02:58
olofk_webMaybe some other program on your computer installed pip with the get-pip script at some point02:58
promachmeans I should do it the proper way by using package management system02:59
olofk_webYeah, I would recommend installing pip through pacman02:59
olofk_webAnd then install fusesoc through pip02:59
promachdone installing python-pip through pacman02:59
olofk_webPython package managment is a mess03:00
olofk_webCool03:00
olofk_webThe moment of truth :)03:00
promachdone installing fusesoc using pip03:00
olofk_webGreat03:01
olofk_webNow create an empty directory, which will be your workspace directory03:01
olofk_webcd into that and run 'fusesoc init'03:01
olofk_webI also see that the instructions on the OpenRISC tools install page is a bit outdated03:03
promachhttp://paste2.org/UAYgzDhs03:03
promachI am now trying to follow https://github.com/openrisc/mor1kx/wiki/Setting-up-a-mor1kx-development-and-verification-environment03:03
promachLoading       10086 words03:03
promach                   0 : Illegal Wishbone B3 cycle type (xxx)03:03
promachHello world, from an OpenRISC system!03:03
olofk_webGreat!03:03
olofk_webSo it's working03:03
promachIllegal cycle ?03:04
olofk_webYou can ignore that one. I should fix the warning03:04
promachjust one more question:03:05
olofk_webIt's a simulation-only check that looks at the cti field of a wishbone transaction. Unfortunately that is usually not defined at time 0. I should just remove the warning I guess03:05
olofk_webSure03:05
promachwhat is the purpose of ::adv_debug_sys:003:05
promachI saw this early today as well03:06
olofk_webIt's a core that is used to control an OpenRISC (or other CPU) during debugging03:06
olofk_webIt hooks up to a special interface of the CPU and can be used to start and stop the CPU, read out registers and set breakpoints03:06
olofk_webSo usually, when you connect a JTAG debugger to a running system it goes through (JTAG interface) -> adv_debug_sys -> CPU03:07
olofk_webIt can also directly read and write memory03:07
olofk_webVery useful when you want to upload an application over JTAG03:08
olofk_webI've been using it also recently to provide an UART over JTAG. That's very handy too03:09
promachuart16550 ?03:11
promachuart over jtag ?03:11
olofk_webYes. adv_debug_sys supports multiplexing the ordinary JTAG data stream with uart data, and by using OpenOCD on the PC, we can have both jtag and uart over the same physical link03:14
olofk_webThese things are much easier to describe with a drawing :)03:14
promachhow difficult it is to port openRISC to Parallella (Zynq7010) which is not officially supported by fusesoc ?03:17
shornepushed changes to next https://github.com/openrisc/linux/commits/for-next05:23
promacholofk: how difficult it is to port openRISC to Parallella (Zynq7010) which is not officially supported by fusesoc ?06:21
stekernolofk: tbh, I have no recollection about the details of the qsys stuff07:57
stekernbut I remember it was a bit awkward, yes07:57
olofk_webpromach: Hard to say. The problematic parts are usually the device-dependent stuff, such as memory interface, debugging and clocking09:07
olofk_webFor memory interfaces you can probably reuse som existing wb to axi4 bridge, as the memory is exposed through axi4 on the PS side of the Zynq09:08
olofk_webFor debugging, I don't know. Maybe it's just to instantiate a xilinx_bscan09:08
olofk_webClocking shouldn't be a problem really09:08
--- Log closed Tue Jan 17 00:00:17 2017

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