Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    emard
    @emard
    You can't plug RMII anywhere else directly because clock input capable pin of FPGA wont match RMII clock output
    Lawrie Griffiths
    @lawrie
    I have ordered one of those boards, but I don't know if it one that @Dolu1990's RMII implementation can support.
    Dolu1990
    @Dolu1990
    so there is a RMII phy implementation
    that should work out of the box
    Lawrie Griffiths
    @lawrie
    I have the enc28j60 running now, so I do have network access via that. @Dolu1990 has also added a flash memory test, so we should be able to see if flash memory is a problem with certain boards.
    Dolu1990
    @Dolu1990
    With a ethernet phy, i guess we could hope about 20 Mbits/s in TCP
    Lawrie Griffiths
    @lawrie
    @emard So I now have network access to and from SaxonSoc via dropbear and dbclient. So I can answer your question: screen fails the same way when you login via ssh.
    Dolu1990
    @Dolu1990
    ?
    you can't connect from your PC via SSH to the board ?
    Ahh sorry
    I readed it the wrong way XD
    emard
    @emard
    Ooooh so screen is because of something still refusing to work... OK I will boot and try . Can you maybe build RMII version, I have RMII module and cable to PC
    Dolu1990
    @Dolu1990
    I got screen to work
    emard
    @emard
    what's the trick?
    Dolu1990
    @Dolu1990
    I don't know, i builded buildroot with the BR_PACKAGE_SCREEN + CONFIG_UNIX, and that was i
    it
    but when building it i flushed some buildroot caches, so maybe when lawrie tried the same, he got a incomplet build
    emard
    @emard
    Possible! So still unix domain sockets were missing
    Dolu1990
    @Dolu1990
    For RMII, yes, can do it, but then come the issue of having SoC forks XD
    So should it be standard to have that RMII ?
    emard
    @emard
    The LAN8270 module comes wired so that it doesnt need any initialization. It starts as 100mbit half duplex mode and raw packets start immediately arriving at 2-bit interface
    Dolu1990
    @Dolu1990
    Also, about RMII
    MDIO MDC CRS COL aren't realy required
    which could make it fit on standard PMOD
    emard
    @emard
    Id say so! Some are not even present at module
    It doesnt fit to standard pmod because it has 1 line too much
    Dolu1990
    @Dolu1990
    ohh sorry, i was looking at MII XD
    emard
    @emard
    this lines are I think not needed
            rmii_mdc  <= 'Z';
            rmii_mdio <= 'Z';
    Dolu1990
    @Dolu1990
    right
    unless you want to have full controle of the ethernet mode
    emard
    @emard
    But they could make module different, those lines moved to 5th data row and then it would fit to standard PMOD
    Dolu1990
    @Dolu1990
    but if you have 100 base tx => no need as far i know
    emard
    @emard
    It is possible to make adapter to stnardard with flat cable and crimp connectors. Split unneeded wires from flat cable and swap with others, crimp it cross-over and then it should fit PMOD
    Those LAN8270 are great and cheap solution to ethernet. They have even green and orange LED at RJ45 connector that show link state and blink at packet traffic
    emard
    @emard
    When cable is unplugged, green is on. when cable is pluggedd, orange is on and green blinks ON at packet transmission in/out
    Module is 3.3V only. I connected to 5V side of ulx3s accidentaly and module was instatnly fried. all LEDs OFF. I threw it directly into trash can :)
    Now Im careful :)
    Dolu1990
    @Dolu1990
    XD
    Is that the correct one?
    emard
    @emard
    Yes mine looks identical!
    I'm currently testing it with hdl4fpga, but so far only ARP reqest/reply works, no ping yet. Module itself is ok, but core is developed
    https://github.com/emard/ulx3s-misc/tree/master/examples/eth/rmii/proj I started here but only elementary signals are wired. CLK works, RX data valid works also (LCD counts number of 2-bit packets received by module). Just for some quick testing
    Lawrie Griffiths
    @lawrie
    There are new versions of roottfs.tar.gz and uImage in Smp/images with a working version of screen. I don't know why my build didn't work before.
    Lawrie Griffiths
    @lawrie
    I have also update bitstreams/ulx33_85f_blue_4core_saxonsoc.bit as it now contains a flash memory check in the bootloader.
    I will produce an updated 2-core bitstream for a green 85f with 32MB.
    emard
    @emard
    downloading new things
    Lawrie Griffiths
    @lawrie
    I also put the latest dts in images (for people to look at and produce modified dtb from), plus the /etc/network/interfaces file you need for eth0 to work, plus create_keys.sh for dropbear.
    emard
    @emard
    As small parallel research, I will try to assemble some hex display example for RMII so you can check that hardware is plugged into correct pins and eth cable is working