early preloader does not allow larger uboot binary, i do not remember the error appearing there, but current uboot for r2 contains usb and sata and so it will be larger than on first days when i’ve wrote the manual
one last thing: when i booted from SD, i needed to press the power-on button for more than 10 seconds.
Now i just need to press it for 2-3 Seconds. Is there any reason why SD needs so long?
And is it possible to bridge the power on button? So that it will autostart like a raspberry pi? I read somewhere else, that this can cause other issues.
this is a hardware-limitation, that boards needs power for more than 10 seconds to keep on. you can bridge it or add additional power on otg port. but for first you need to make sure that you do not have mtk-pmic-keys active as they look if powerbutton is pressed and then trigger reboot/poweroff
I’ve followed-up through the process. I am not new to Linux, rather otherwise, but this is my first day playing with BananaPi R2. My problem is, that despite transferring partitions from SD (which boots fine), updating uboot and changing both uEnv.txt and fstab, the system refuses to boot with SD. With SD, I was able to just switch to EMMC rootFS, so if I’ll boot the system this way, I do use EMMC, I do see both / and /boot mounted…but it it doesn’t work without it.
I used bellow files: bpi-r2_noble_5.15.161-main.img BPI-R2-EMMC-boot0-DDR1600-0k-0905.img BPI-R2-720P-2k.img
The system won’t power on without SD. Any idea what could I be doing wrong?
Thinking of it, only thing I didn’t do was to use UART to switch the order of partitions. Maybe I misunderstood that it is also needed. I do have UART USB jig somewhere around, so it wouldn’t be a problem. But the host doesn’t stay on, if I’ll try to boot it without SD, I have to keep pressing the power button, but it won’t boot.
Please let me know what information I could provide to be able to have a clue on what I do miss.
SD boots and works. But I can’t boot BananaPi R2 without SD. I can use SD to use EMMC rootfs, but the bootloader only starts the boot process if it is loaded off of SD - which is the state my system is in - booting with help of SD, but using EMMC as a rootfs.
ok, so booting from emmc is the problem…emmc needs the preloader/bl2 in boot0 partition and this partition needs to be set as active (mmc partconf)…the image itself can be simply flashed to userpart (/dev/mmcblkX, not partition in there)
Yep, installing toolchain…had prior multilib setup installed due to prior builds of WINE, so I have to clean it up before trying. As for your repo, Google found it, downloading (quite slow today). BTW, you do have 6.5 kernel branch there - is it functional? Worth to try? Seems better than 5.15. Are mt6625 issues resolved? Aside from ZFS, I will have to build ath9k driver as well.
But r2 internal wifi only works till 5.19 afair…6.0 introduced some changes were i could not update driver to…but if you do not need internal wifi on r2 you can also use 6.12 as it is latest/upcoming lts
Well, I would like to use internal Wifi as an AP, and additional Wifi in mPCI-e slot…
I intend to use this unit as a replacement for old Ubqt RouterStation I have on few roofs, so two wireless devices are required. But while my mPCI-E card works, internal wifi doesn’t.
As mentioned before, I used bpi-r2_noble_5.15.161-main.img image. And internal wifi doesn’t work in it:
while ath9k module is built-in as I’ve noticed (thus my wifi card works), zfs module isn’t and I am not certain what I do miss with internal wifi, as it is not even detected, and no matching driver is loaded:
Got it. And that script is also reason why it doesn’t work, when I do have ath9k loaded in mPCI-E, as it binds to wlan0/ap0, which confuses the script. Super. I will play with this to resolve this conflict, lets see if I’ll succeed.
Thanks
Update: I’ve created another (ap1) systemd-network profile, and udev profile for ath9k to move its device to wlan1. I am playing with forcing the system to spawn wlan0 instead of mt6625_0. But other than that, now I do see both internal and pcie wireless. really appreciated.
Still, ath9k module is unable to switch to master mode (AP), due to DSF. What a pain… Looks like I’ll have to both rebuild the kernel to allow unsigned regdomain.db, and then modify the regdomain to not require DSF for certain channels, as DSF doesn’t allow channels I want, although they are legally allowed.