@ericwoud
can’t build archlinux image, tried on Arch and Debian host systems and have stuck on the same place:
-> Locally signed 1 key.
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 2 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 2 signed: 0 trust: 1-, 0q, 0n, 1m, 0f, 0u
bpir4
127.0.0.1 bpir4
'./rootfs/bin/bpir-rootfs' -> '/tmp/bpirootfs.10452/usr/local/sbin/bpir-rootfs'
:: Synchronizing package databases...
error: restricting filesystem access failed because Landlock is not supported by the kernel!
error: switching to sandbox user 'alpm' failed!
error: failed to synchronize all databases (failed to retrieve some files)
:: Synchronizing package databases...
error: restricting filesystem access failed because Landlock is not supported by the kernel!
error: switching to sandbox user 'alpm' failed!
error: failed to synchronize all databases (failed to retrieve some files)
:: Synchronizing package databases...
error: restricting filesystem access failed because Landlock is not supported by the kernel!
error: switching to sandbox user 'alpm' failed!
Added more boards to the script. I do not own this hardware (yet), so I can only partly check it for bugs.
Added R4 Lite, R4 Pro 4E and R4 Pro 8X.
This is in very early stage. mt7987 (R4 Lite) ATF and U-Boot not tested at all.
R4 pro is mainly based on standard R4. Device tree overlays borrowed from R4, also the wired network setup, so this may need some manual changes to function properly.
Still no hostapd.conf for any R4 board…
Expect many changes and some bugs…
For now only build with script, no prebuild images.
R4Pro is completely different board. Do not use R4 dts for R4Pro.
Base dt and overlays are already upstream,but only mgmt port is working related to network. Sd/emmc,nand,pcie is additional working so far
I understand, but I handle overlays a bit different on my images. They are .dts files and bpir-toolbox command handles them to create 1 single .dtb. It does use the original base .dtb that matches the specific board.
The overlays I am talking about are:
The sdmmc overlay is different as on r4pro i cannot get full speed (52 mhz) working with my sandisk cards
Btw 6.19 generates full dtb for R3,R4 and R4Pro in mainline through kernel buildchain.R4Pro also has pcie overlays to switch slots between key-m (default) and key-b
Yes,pcie lanes can be splitted across both mpci slots or 2 lanes on one slot which is reported to be better for be14, but this is only theoretical, no idea how to test this completely.
I guess only with a custom card, as 2 lanes is not according to any standard.
I had suggested at one point if BPI could provide an adapter mpcie-2-lanes to a m.2 key x that does have 2+ lanes as standard. The answer was not negative, but have not seen one
It would really be useful @sinovoip , since the R4 Lite is not the first board that this can help users.
of course we can do r4lite dts with 1+1 lane as default and set 2-lane with overlay…currently afair i did it vice versa because of default usage with be14