On Thu, 24 Oct 2024 02:27:23 +0000 Cedric Bail <ced...@ddlm.me> said:
> On Tuesday, October 22nd, 2024 at 4:36 AM, Carsten Haitzler > <ras...@rasterman.com> wrote: > > On Tue, 22 Oct 2024 01:07:35 +0000 Cedric Bail ced...@ddlm.me said: > > > On Wednesday, October 16th, 2024 at 12:27 AM, Carsten Haitzler > > > ras...@rasterman.com wrote: > > > > On Tue, 15 Oct 2024 23:34:04 +0200 Pierre Couderc via > > > > enlightenment-users enlightenment-users@lists.sourceforge.net said: > > > > > > > > > > Has someone tried to port efl on esp32....? > > > > > > > > nope - but i would imagine its far too big. efl also very much relies on > > > > virtual memory+mmu's to handle a lot - it mmaps files for i/o and > > > > assumes things will be paged in as needed. > > > > > > > Actually, it is kind of doable. There was code for things with nommu a > > > long time ago. I don't remember the name of the library that enable that, > > > but one of the key needed feature was the ability to link all of efl into > > > one single static library including modules. I think most of the code is > > > still here, but pretty sure nobody has touched that configuration in a > > > long long time. > > > > > It'd make for a massive binary though given how big efl has gotten. mmaped > > edj files will be huge (default them for example) and you'd end up loading > > then entirely into ram for access when only a small fraction gets accessed. > > you'd likely be well out of ram by this point :( > > Yes, you will need a custom theme even if just due to the artifact of the > small weird screen they actually come with. Would be interested to see how > much bigger the library part are. last i checked the esp32's come with something like 512kb ram or so. you can add external dram and i think this maxes out at 4m or 8m or so (i don't know about the new riscv ones). i really don't think you'll get enough of an os base + services + efl lib binaries + even super basic theme data + enough heap to make a useful program into that footprint. a hello world alone will probably exceed that if you did a huge amount of stripping. just some numbers for dependencies (sizes on arm64 here but i might assume ballpark-wise it's not a lot smaller on an esp32 in the end): 1. a libc (dietlibc is still going to be like 1m or so) 2. libjpeg 500k 3. zlib 150k 4. libpng 360k 5. openssl 2m + 14m (libcrypto) so there alone we're at 28m. not including an "os core" like filesystem and other core utility code. i haven't even started putting in bits of efl :) -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- Carsten Haitzler - ras...@rasterman.com _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users