Open dreirund opened 3 weeks ago
I just got the same error but for NanoPI R2S which boots only from microSD.
It looks like the size is limited on purpose (unless I'm looking at the wrong file):
https://github.com/openwrt/asu/blob/92ee38499d24c08869739a2b2a26ae86c8c56d1c/asu/config.py#L17
It looks like the size is limited on purpose (unless I'm looking at the wrong file):
https://github.com/openwrt/asu/blob/92ee38499d24c08869739a2b2a26ae86c8c56d1c/asu/config.py#L17
Then the purpose is probably errorneous too general restrictive(?).
Considering the firmware selector is free to use but certainly not free to host, I'd say it'd be an understandable bandwidth/cost saving measure. It is still somewhat frustrating. I was trying to include ffmpeg
to be able to re-encode an RTSP stream I'm proxying using MediaMTX but it pulled in too many dependencies to fit. I then spent ~2 hours trying to get the Podman version running locally but the instructions seem to be missing something. Having gone through the menuconfig
route once ~3 years ago, I remember it was cumbersome enough to setup that I'll rather just come up with another way around the limitation...
Considering the firmware selector is free to use but certainly not free to host, I'd say it'd be an understandable bandwidth/cost saving measure.
OK that is!, for that reason the error message is confusing.
Regards for your find of the 1024 MiB limit; I seem not to be too far away from it, so I can tweak.
Regards!
I found a static build of ffmpeg
that'd likely work but it's ~50M. It won't fit even on my other R2S into which I've only added mediamtx
's 35M binary.. only 32M left :facepalm:.
Using an EXT4 installation would make this a non-issue but the two R2S's are responsible of linking a remote (300km away) site to my home network, so I'd find it too risky. Especially since the remote site has recurring short power outages.
Perhaps I might have to reconsider checking if creating an image with menuconfig
has become simpler... :thinking:
Ahoj,
I want to use the OpenWrt firmware selector to build a customised snapshot image for FriendlyARM NanoPi R5C.
This device can boot from microSD or from internal flash storage. Internal storage is 32 GiB, microSD can be even larger.
When I try to build with the following pre-selected packages:
the build fails with
Further output from the firmware selector web interface:
STDERR:
STDOUT:
stdout.log
.It says:
which seems to be ~1 GiB, smaller than 32 GiB.
(I came to the conclusion "~1 GiB", since when I request a build just with
luci
specified as package, I end up with image files that, aftergunzip
, are ca. 168 MiB in size and the number in STDOUT readsSize: 16777216
, which gives a factor of ca. 100 000. Applying this toSize: 109051904
gives ~1 GiB.)Regards!