your image
So i’ve to compile it by myself to enable key-b slots?
your image
So i’ve to compile it by myself to enable key-b slots?
Which key-b slot do you want to use? Then you can replace the key-m below it with key-b overlay in bootconf_extra uboot var either in uboot or in openwrt linux via fw_setenv.
Can I enable both? or just one per time?
EDIT: i was trying this post M.2 M-key connector CN-14 does not work on BPI-R4 Pro - #2 by Comet but your fw doens’t have gpioset command :\
Thanks
ok after get internet on the board, i’ve installed gpioset, but it says that gpiochip0 resourece is currently busy
root@OpenWrt:~# gpioset -c gpiochip0 -C pcie_sel -z 63=1 79=1
gpioset: unable to request lines on chip '/dev/gpiochip0': Resource busy
root@OpenWrt:~#
Any ideas?
EDIT: ok I’ve used fw_setenv bootconf_extra mt7988a-bananapi-bpi-r4-pro-cn15#mt7988a-bananapi-bpi-r4-pro-cn18 now PCIe slot are enabled
root@OpenWrt:~# lspci
0002:00:00.0 PCI bridge: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] (rev 01)
0002:01:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0309
0003:00:00.0 PCI bridge: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] (rev 01)
0003:01:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0309
root@OpenWrt:~#
Thanks
Resource busy is because the gpio is occupied by the gpio-hog you change with the overlays. In your case you have enabled both key-b and disabled both key-m.
Hello frank-w,
I am having extreme issues finding a good 4E image - would you be so kind as to build one similar to the 8X images (you have lots of those but I can’t find a 4E image). I don’t have a linux pc at the moment or I would try and build one myself!
If you can do this, could you also enable one of the M2 pcie/Usb slots please?
Many thanks!
Usb is enabled so far,pcie depends on your beeds,but this can be changed in the system after flashing…default are the m.2 key-m slots. But i can build an image from my 4e codebase,but have no way to check it at the moment as i currently have only a 8x board.
Thanks, that would be great. Please go ahead when you can. I will test and let you know if it works! Cheers!
https://drive.google.com/drive/folders/12u0af8eUu-ATqse4-Qg5cTYfe2XXtwQu?usp=drive_link
Hi there, thank you so much for sharing @frank-w . I tried this image on a clean SD-card and while it boots fine, eth1 comes up in a down state. On my BPI R4-4E is this because I need to rename the interfaces to LAN/WAN?
I do have a successful OpenWrt 24.10 image compiled (with lots of help from Claude) and enabled with kernel-level WireGuard that boots and has all my configs, but I am a bit leery of running it in my home lab production network since it would be a downgrade in versions. I am currently running OpenWrt 25.12.1 on x86 hardware for the active router but want to get this BPI working. It does seem the MaxLinear 4 x 2.5G LAN chip seems to be the driver holdup so I was curious if this image you have is running on 25.x as you’ve resolved the MaxLinear driver issue?
i have not changed mxl driver so far…use the same used for 8x board…afaik we still need the newer firmware to solve the timeout issues sometimes come up. But eth1 should be the wan-port. you have to apply the right overlay - either mt7988a-bananapi-bpi-r4-pro-4e-wan-2g5 or mt7988a-bananapi-bpi-r4-pro-4e-wan-sfp setting it in bootconf_extra should work
Hello, many thanks for doing this. However, I must be doing something wrong as my 4E won’t boot - the red ‘err’ light quickly comes on but the blue ‘act’ light does not, and the 4E is inaccessible. I’m flashing the sdcard.img to a Samsung 64GB card. I have tested flashing the ‘official’ image to this card and it does boot, but not with your image. havoc7701 says it does boot so what am I doing wrong, please? Do I need to do something with the initramfs image first?
Sorry for all the questions… Thanks!
No, sdcard image should be enough,but there was a report that board (8x) does not boot without the uart cable. Have you tried with uart output to see whats happening? Maybe some card issue? There were some reports of some cards not working with r4pro.
Bootchain should be same as 8X variant except 4gb ram bl2 and a slightly different devicetree in linux
I’ve connected to console and can see all the boot messages… I have tried two different SD cards and neither boot sucessfully. Both SD cards have worked previously with the ‘official’ image.
Currently it’s rebooting about every 60 s. Maybe a significant error message is as follows:
[ 15.993296] mt7996e 0000:01:00.0: Message 00000007 (seq 9) timeout
[ 15.999475] mt7996e 0000:01:00.0: Failed to start patch
[ 16.004697] mt7996e 0000:01:00.0: Failed to release patch semaphore
[ 20.953548] platform gpio-leds: deferred probe pending: leds-gpio: Failed to get GPIO '/gpio-leds/sys-led-red'
[ 21.113292] mt7996e 0000:01:00.0: Message 00000010 (seq 11) timeout
[ 21.119554] mt7996e 0000:01:00.0: Failed to get patch semaphore
[ 26.233297] mt7996e 0000:01:00.0: Message 00000010 (seq 12) timeout
[ 26.239571] mt7996e 0000:01:00.0: Failed to get patch semaphore
[ 31.353295] mt7996e 0000:01:00.0: Message 00000010 (seq 13) timeout
[ 31.359570] mt7996e 0000:01:00.0: Failed to get patch semaphore
[ 36.473295] mt7996e 0000:01:00.0: Message 00000010 (seq 14) timeout
[ 36.479566] mt7996e 0000:01:00.0: Failed to get patch semaphore
[ 41.593295] mt7996e 0000:01:00.0: Message 00000010 (seq 15) timeout
[ 41.599565] mt7996e 0000:01:00.0: Failed to get patch semaphore
I notice the ‘official’ image is about 267MB but yours us 85MB - is this of any significance?
Sorry for the hassle!
Sorry, forgot to ask - does the image you kindly produced have wireless drivers for the BE14 module? I’ve got that also,
Please try without be14 for now,i use same config as 8x only added i2c,usband pci utils
A) OK, I’ll turn off the power switch. Or, do I need to physically remove it? B) To eliminate the SD card flashing as an issue, could you possibly generate a sysupgrade image I could flash please?
Many thanks again.
Just boot again same card without be14 mounted
Good afternoon @Dav1Dav, here’s a thread with the error you’re experiencing.
The best way is to use the images from @wozi; this will almost never happen to you.
Secondly, check out my reply and my homemade video. It solves the red light problem: turn off the board, when the menu appears count to two, then turn the board back on. As long as you don’t disconnect the power cable, it won’t happen again. Anyway, use the images from @wozi; this hardly ever happens.
I hope this helps.
Seems there is a fixing patch for the crash…if i have it i can add to openwrt.