Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Lawrie Griffiths
    @lawrie
    @goran-mahovlic Thanks.
    Paul Ruiz
    @pnru_gitlab
    @kost Great script, many thanks!
    kost
    @kost
    Thanks @pnru_gitlab . BTW apio and icestudio pull requests were accepted. So, apio and icestudio in develop branch support ulx3s. Actually, first ecp5 board supported. https://github.com/FPGAwars/apio and https://github.com/FPGAwars/icestudio
    Lawrie Griffiths
    @lawrie
    @emard I tried the orao computer. It mainly says "NEPRAVILAN UNOS" , but I did manage to get into BASIC.
    Dobrica Pavlinušić
    @dpavlin
    NEPRAVILAN UNOS == syntax error in croatian
    @lawrie I'm trying to build SaxxonSOC using makefile.uboot85 but after make generate, make fails with ERROR: Module \USRMCLK' referenced in module\Ulx3sLinuxUboot' in cell `\ulx3sUsrMclk' is not part of the design.
    any hints to what am I doing wrong?
    Lawrie Griffiths
    @lawrie
    Do you have the latest versions of trellis, yosys and nextpnr-ecp5?
    Dobrica Pavlinušić
    @dpavlin
    i suspected that, so I'm recompiling as we speak :-)
    Lawrie Griffiths
    @lawrie
    @Dolu1990 was building it yesterday and found he needed the latest version of everything to meet the 50MHz timing.
    I believe USRMCLK ought to be included with the latest version of yosys.
    Lawrie Griffiths
    @lawrie
    BTW, thanks for the corrections to my READMEs.
    Dobrica Pavlinušić
    @dpavlin
    Glad I can help.
    Lawrie Griffiths
    @lawrie
    Adding references to how to build yosys and nextpnr-ecp5 might be useful in the build from source README.
    Dobrica Pavlinušić
    @dpavlin
    How hard would it be to add i2c to linux? I'm thinking about rtc... If nothing else we could use gpio driver for it... This is my first SpinalHDL exposure, so I'm trying to set resonable goal for me :-)
    First step for me however, will be to add leds to kernel /sys/class/leds so we can get nice triggers (like network traffic or cpu usage) on leds -- it should mainly be kernel re-compile and device tree modification to make it work since gpio is already there :-)
    Lawrie Griffiths
    @lawrie
    It should not be that hard. I have i2c in SaxonSoc in other projects such as https://github.com/SpinalHDL/SaxonSoc/blob/dev/hardware/scala/saxon/board/blackice/BlackiceSocArduino.scala#L25
    Dobrica Pavlinušić
    @dpavlin
    thanks, I will have a look and report progress :-)
    Lawrie Griffiths
    @lawrie
    That is just i2c master which should be sufficient for driving the rtc.
    Then you will need the dts entry and to include i2c in the kernel. If I were doing it, I would look at how i2c is done in the Raspberry Pi.
    Dobrica Pavlinušić
    @dpavlin
    I have quite a lot of device tree and u-boot expirience, this should not be a problem :-)
    Lawrie Griffiths
    @lawrie
    The generated board support packages include a generated dts, but it is not used yet and the simple i2c generator that I wrote does not generate the dts.
    I don't have much experience in u-boot or device trees.
    Dobrica Pavlinušić
    @dpavlin
    reading through chat, I figured that this is a part in which I can help somewhat :-)
    Lawrie Griffiths
    @lawrie
    There is a problem building SaxonSoc Linux, that some build randomly do not work. It seems to be something to do with SDRAM access.
    @Dolu1990 is about to redo the SDRAM access for the Ulx3s, which should make it more reliable and faster, as he plans to support double frequency access.
    There is a lot of information on the development of the u-boot version here , which might be useful to you - SpinalHDL/SaxonSoc#7
    Lawrie Griffiths
    @lawrie
    I2c Linux support will also need a spinal.lib driver here - https://github.com/SpinalHDL/linux/tree/linux-5.0.y/drivers/i2c
    You may need help from @Dolu1990 with that.
    Or as you say, you could probably bit-bang i2c with gpio.
    The terasic De1Soc version of SaxonSoc Linux has a dts entry for an led for disk access - https://github.com/SpinalHDL/buildroot/blob/saxon/board/spinal/saxon_default/spinal_saxon_default_de1_soc.dts#L194
    Dolu1990
    @Dolu1990
    Right about I2C in linux, i also suggest to go to i2c-gpio driver
    Lawrie Griffiths
    @lawrie
    We really need a better GPIO mapping for the Ulx3s. That might involve including adding a second gpio peripheral to the hardware (gpioB) and doing a better lpf file mapping to pins. It might mean increasing the niumbers of pins that support interrupts. It would be good to include access to the buttons and switches and to make it easy to add Pmods that need interrupt support like the enc28j60 one.
    Dobrica Pavlinušić
    @dpavlin
    thanks, my problem was indeed too old nextpnr/yosys.
    Goran Mahovlic
    @goran-mahovlic
    USB.png
    After party soldering so my hands are still shaking :)
    Goran Mahovlic
    @goran-mahovlic
    I did not connect two more pairs needed to get USB working, but it is easy fixable, so @emard managed to get US3 and US4 running ...
    Lawrie Griffiths
    @lawrie
    That is good progress. I would like a version of the Amiga with both a keyboard and a USB joystick connected.
    Goran Mahovlic
    @goran-mahovlic
    yes, we need version with keyboard, mouse and USB joystick ;)
    lots of Amiga programs I could not run without mouse...
    emard
    @emard
    I think I made some mouse emulation on saitek right pad moves the pointer and pushing the right pad down is the click... maybe it works or I screwd it up again after fixing something else who knows. Of course normal mouse, keyboard and joystick is most comfortable thing
    @lawrie you were right, SD controller doesn't work. It reads some data from SD, but not from the beginning of sd@0 where it should but from who-knows-where from SD card. Now I thinking to make ESP32 micropython server for floppy images...
    emard
    @emard
    oberon:mouse@US2, keyboard@US3 it works!
    Goran Mahovlic
    @goran-mahovlic
    woohoo! So we have full oberon now!
    John Whittington
    @tuna-f1sh
    Hello. Playing around with my ULX3S board, learning with the Odysseus workshop. Been working on HDMI console but want to use a testbench. Made a testbench but most signals don't define due to 'locked' from PLL floating. Is there a way to use PLL in testbench or an example HDMI testbench file? Sure I saw a GTKWave screengrab with HDMI signals can't can't find anything
    Great work on the workshop and content btw - really useful resource.
    Lawrie Griffiths
    @lawrie
    @emard Just looked at building oberon but I hit the problem I get with other things: the pll problem with diamond 3.11. I don't really want to install an earlier version of diamond, and I don't really want to learn how to use the GUI to generate a PLL. Is there a way around this? Perhaps someone who knows what they are doing could generate a pll file that works with diamond 3.11, that the rest of us could use.
    ERROR - map: EHXPLLL 'clk_25_100_100p_25_inst/pll_i' output CLKOP with -180 degree phase shift should not be used as the feedback signal (FEEDBK_PATH = INT_OP).
    Goran Mahovlic
    @goran-mahovlic
    probably best way to avoid diamond version problems is to use docker version
    @kost installed them all separately - we just need step by step guide to use them