Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Lawrie Griffiths
    @lawrie
    Building your own dtbs is easy. You only need dtc installed.
    emard
    @emard
    wow it booted and works!!!
    Lawrie Griffiths
    @lawrie
    I was surprised that 2 CPUS + VGA and HDMI fitted on a 12F.
    emard
    @emard
    Im suprised at 95% usage it works at normal clock freq!
    Lawrie Griffiths
    @lawrie
    As I said above, it passes the timing better than any other build I have seen.
    emard
    @emard
    Not only this but "htop" itself is 17% cpu usage while at 85F 2-core it is 20% cpu usage :)
    Market often underestimates how good is 12F, everybody wants to buy 85F
    Lawrie Griffiths
    @lawrie
    I ordered a 45F on crowdsupply, so I have a complete set :)
    (But not as many variants as you).
    emard
    @emard
    today the boxes got out of customs custody and are heading to mouser
    It will have ISSI 32MB SDRAM, 16MB FLASH winbond (i think), and ESP32 with 16MB FLASH
    I'm near completing the prototype PCB design that can accept ESP32-WROVER-E as well as standard ESP32. Still I'm rethinking about routing to ESP32. Goran will make few prototypes to test so there will be soon new collectionaire items released :)
    emard
    @emard
    Currently Im literally squeezeng each byte from uftpd/ecp5 (in the "new/" directory) fighting against out of memory
    ESP32-WROVER will have plenty of free RAM
    Paul Ruiz
    @pnru_gitlab
    Ah, another developer who still obsesses over byte counts :^)
    Lawrie Griffiths
    @lawrie
    @pnru_gitlab I have updated the issue on the riscv32_lcc repository to suggest which of our changes the author might like to integrate into his repository. Could you check I have it correct.
    emard
    @emard
    @pnru_gitlab it's really critical at esp32. First I start wifiman.py and then starting uftpd.py aborts with out of memory. Currently I fixed it by not importing ecp5, sdraw immiediately but later on-demand when ftp command for ecp5 arrives
    Lawrie Griffiths
    @lawrie
    I think I have probably done all I want to do on lcc for the moment and get back to other projects. There is at least one bug to track down. The C library needs a lot of work on it, particularly on wrappers for the system calls and updates to the include files. It needs updates to the build system to build the SaxonSoc Linux distribution, which I have been doing manually. If more people use it than just myself and @emard, I will probably do some more work on it.
    I wonder if, when the crowdsupply board are sent out, the number of users of the Ulx3s is going to increase substantially.
    Lawrie Griffiths
    @lawrie
    I think SaxonSoc Linux is a big plus for Ulx3s. I believe it is the only open source board it is supported on. We need to add support for more peripherals. @Dolu1990 has just added sound support to it. We need to see why the SPI ethernet board stopped working. I would like to get support for the RTC and SPI Oled/LCD displays. We could potentially support an RMII Ethernet board. The pppd networking could be improved. The GPIO mapping could be improved. It might be possible to increase the SDRAM clock speed. I would like to bring back keyboard support. If we get an X11 graphics display, we will probably need mouse support. So there is a lot to do on that. I would like to see more people building it from source.
    Dolu1990
    @Dolu1990

    We could potentially support an RMII Ethernet board

    That would be a nice thing :D

    What is the status of having internet in linux using the ESP ?
    emard
    @emard
    You have really done a lot! I will have some fun with it for i2c and similar. Of course RMII board would be great. LAN8720 for 2$@ebay is directly pluggable to ulx3s. I have currently the module plugged
    PPP link is possible over ESP32 serial. @pnru_gitlab had a patch for 1.11 that enables ESP32 router. Still its only a router but not a NAT. KOST proposed some simple solution to tunnel outside somehow
    emard
    @emard
    here are some of my experiments on PPP: https://github.com/emard/esp32ppp btw in recent linux saxonsoc distribution pppd is missing, also e.g. screen would be nice to have too. Recent distribution had them
    For more vivid X11 experience I guess we should have some 2D acceleration. I had some c2 solution for f32c, I don't know is it applicable to linux, it could be ported but it needs CPU collaboraration and that's about some black magic inside of X server
    Lawrie Griffiths
    @lawrie
    I think in the previous version I ran menuconfig for buildroot and busybox manually to include some extra things. Not sure if there is a way to automate that.
    emard
    @emard
    I'm missing screen the most as logged over the terminal. Also there was some suggestions to use linux serial ports instead of something from bios which has buffering issues
    emard
    @emard
    I think saxonsoc is the most suitable linux for small riscv soc hardware and supports all open source tools. linux It is light, boots fast and the prompt is reponsive. editors work. Small native C compiler makes exe in few seconds.
    While designing the board I never considered possible to run linux on it :)
    Lawrie Griffiths
    @lawrie
    I am currently building the SaxonSoc version that supports sound, but it will probably only support one cpu on a 12F. Also @Dolu1990 reports that there is currently a bug in the DMA code so that when audio is playing the HDMI is not updated.
    emard
    @emard
    That is OK for 12F. It can demonstrate SMP linux, that a mirracle by itself. It's understood that all features can't be packed to this small FPGA
    emard
    @emard
    about RTC conversion, is there some lcc supported function that converts date to seconds-epoch integer, like mktime() or similar
    Paul Ruiz
    @pnru_gitlab
    @emard is there some lcc supported function that converts date to seconds-epoch integer, like mktime() or similar? A simple one is here: https://gitlab.com/pnru/ulx3s-misc/-/blob/master/tmp/hwclock.c#L113
    @lawrie Many thanks for all your effort. Two weeks ago I did not think that having that LCC compiler working on SaxonSoc was possible without a ton of work, and then you did all the work. Having that compiler will make many hardware experiments much easier.
    Paul Ruiz
    @pnru_gitlab
    @emard At times I do wonder if this forum is not getting too distracted into retro and SoC computers & software - I think that @lawrie is right that the focus should perhaps be much more on HDL discussions around all sorts of devices and projects. Certainly with a flood of new ULX3S owners coming up.
    Lawrie Griffiths
    @lawrie
    You did all the hard work, adding Elf to the loader, fixing bugs,. rewriting malloc, getting the assembler code started, etc.
    Paul Ruiz
    @pnru_gitlab
    As to the PPP, in the last days of August I was working on that - I want to give the ULX3S Cortex network capability. It has a badly designed SLIP interface and I was looking at the learnings of that to come up with a more elegant PPP design. For the ESP32 part of that I'm still on 1.11 + patches.
    emard
    @emard
    @pnru_gitlab sometimes we slightly escape from HDL core design with retrogaming/computing/unixing, but when I take a different view I can see that all this effort is closely related to application of FPGA in multi-culti environment and it exposes problems, challenges and drives the research forward. For example to have linux with native compiler on FPGA we need to have a balance between LUT usage, kernel, suitable compiler and good deal of clever hacks
    Paul Ruiz
    @pnru_gitlab
    @emard Are you aware of the Loboris fork of Micropython? A few years ago this branch was significantly ahead of the main code base and offered WROVER /psRAM support. If remember well also true NAT support. I think Boris Lovosevic lives in Zagreb. Maybe an idea to meet for a coffee or a beer and see if he's interested in helping with a new custom build of MicroPython that fills in some of the missing features on WROVER?
    @Lawrie You did all the hard work Not really, and I got a self hosted RiscV tools chain out of it. In a far future I may want to build a simple Unix system on top of picoriscv.
    emard
    @emard
    @pnru_gitlab Hoh then I must find him locally and invite! You know similar thing happened when e2kgh told me about PDP-1 implementation https://github.com/hrvach/fpg1 Zagreb is not a big city I didn't know him so invited to make presentation and he made a blast https://www.youtube.com/watch?v=_umS3JwZm9k
    Too bad pdp-1 is only working on altera. Believe or not he educated himself for few months about FPGA, got the board and made the code. Very unportable but it was his first project and it worked
    emard
    @emard
    Back to ESP32-micropython yes it would be great to get a very some simple NAT, we don't need full iptables firewall, but just a plain simple replacement of IP addres for one internal address (that's our saxonsoc)
    emard
    @emard
    I emailed loboris and proposed a meeting to talk about esp32 and ppp nat internet for saxonsoc (probably me and goran for beginning :). Waiting to reply :). If he wishes to chat I will invite here too
    Lawrie Griffiths
    @lawrie
    I have mp3 music playing on SaxonSoc Linux now, and @Dolu1990 has fixed the DMA bug. I will put it in the Smp repository tomorrow.
    It needs a new version of the rootfs, as there is more stuff installed such as alsa and mpg123.
    emard
    @emard
    Auuuuuwww, Music, unbelieavable!!! in case there's a need for hi-fi sound, a relatively light SPDIF encoder is in ulx3s-misc example https://github.com/emard/ulx3s-misc/tree/master/examples/audio - Connecting ulx3s with cinch cable to orange colored input of home theater amplifier will provide crystal clear sound
    emard
    @emard
    esp32ecp5: micropython v1.13 has bug with uftpd file listing, last file is listed with wrong name. bug is in micropython "for fname in os.listdir():" iterator loop. Use v1.12 for now
    Lawrie Griffiths
    @lawrie
    I have a 4-cpu 85F SaxonSoc version with music, working now.