The BPI-R3 and BPI-R4 have more than 512MB of RAM and SD Card and NVME storage.
With these larger systems, there is no need for smaller systems like openwrt, and one can use a real Linux OS distro on them. There is still a need for openwrt for space limited systems. I am only suggesting this for larger systems.
I would like to make some effort to port something like Luci over to a real Linux OS distro like debian or ubuntu. I.e. A web based status and configuration tool for Wifi AP capabilities etc.
Is there anyone else here who would like this, or is it only me?
I don’t think porting LuCi is necessary or even feasible, since it is probably very tightly integrated with OpenWrt.
Instead, there are plenty of other tools available for web-based server management. I just googled and found this https://cockpit-project.org, but also remembered this name https://webmin.com. And if you search some more, there will be plenty of others.
What we could instead work on, is a generic U-Boot image that can load any (Linux) OS using UEFI and ARM SystemReady if you want something to do.
Only with additional work. Not out of the box with just dd’ing any Linux image to the SD card or NVME and just boot it like you would on a PC.
I haven’t checked that. Those were the results of 5 seconds of online search. There are probably others out there.
I just have doubts that LuCi is that easy to port to other systems, especially if it integrates with the UCI configuration system that is not standard on Linux.
@totkeks
I don’t think you understand what you are asking for.
Any arm64 / aarch64 is not a PC.
I PC has a BIOS / UEFI that is provided by the manufacturer of the board. The BIOS / UEFI contains a lot of board specific details in ACPI tables.
arm64 platforms have no BIOS / UEFI.
arm64 platforms have to supply a device tree file that is essentially the equivalent of the ACPI tables.
arm64 platforms have a uboot that is equivalent to the BIOS / UEFI, but it has to be put on a storage device, e.g. sd card, nand, mmc by the user.
In summary, arm64 platforms are just different and achieving what you are asking for is not feasible.
The best you can do is have a single Linux kernel image that runs on many different arm64 platforms, with the device-tree and uboot being specific to the particular board.
Web configuration tools cannot do all whats possible in system and they are mostly a high security risk…
So if you have freetime you can help gerting linux kernel things to work…there are many not yet working on r4 and mainline kernel…e.g. rtc,eeprom,wifi card, rss/lro, …
This what has been described by Daniel multiple times: A boot loader (on NAND/NOR) that supports UEFI boot / ARM SystemReady. Which could be achieved with a modified U-Boot, now that NVMe support for R3 and R4 is in U-Boot.
Of course, one would still need a specific bootloader for each type of board, just like with a PC BIOS. But it would be another step towards standardization for SBCs, Banana PIs in particular.
No more need for special images for Debian, Armbian, Arch and so on. That would be the goal.
How do you acceess eeprom? I do not see 0x57 in i2cdetect? Have you changed its address too?
Uboot-setup is a bit tricky as uboot needs to probe available devices (sdmmc/emmc and nand/nor) on r3/r4 to set bootconf for fip. I’m not sure this works with stdboot
Do you see a device on this i2c bus at address 0x57…i only see 0x32 on same bus as rtc. Any message in dmesg (maybe it is detected and i have not seen it)? Have builtin at24 driver (CONFIG_EEPROM_AT24=y). Can we give the gpio (seems 79) to the devicetree for write enable?