Banana Pi BPI-F3 SpacemiT K1 8 core RISC-V chip run OpenWRT

Banana Pi BPI-F3 SpacemiT K1 8 core RISC-V chip run OpenWRT, are you want to do a NAS??

#bananapi #nas #riscv #sbc #automation #network #router

1 Like

OpenWrt source code:

https://archive.spacemit.com/openwrt/releases/23.05.2/

image:

frome online documents: Banana Pi BPI-F3 | BananaPi Docs

With titantools_for_linux-1.0.35-beta.AppImage downloaded from the official wiki, I have burned the openWrt image to the F3 board(onboard emmc), but it can’t boot up. I also burned the Bianbu image to the SAME F3 board and it booted seamlessly. All images downloaded from the official wiki page. Anyone has the same problem as mine? Can anyone help me, please?

Have you tried it from SD-Card? Do you have the debug window open? and if so does it say anything?

RC

I tried booting from sd-card, still the same, it can boot from sd-card burned with Bianbu image, but can’t boot with the Openwrt image.

Hi there, I was able to start my BPI-F3 with openwrt installed on an SD card. I was also able using modemmanager to configure a 4G mini-pcie board and I am able to connect to internet if I connect a laptop to the lan port. Up to here all is good. Problems have started when I was trying to enable WIFI accesspoint using the realtech 8852bs wifi integrated on the board. This is what I have observed:

Wifi menu will not show up in luci.

doing a lsmod I can see “8852bs 7589888 0” show up

doing a lspci no wifi module shows up:

root@OpenWrt:~# lspci
0001:00:00.0 PCI bridge: ASR Microelectronics Device 3003 (rev 01)
0002:00:00.0 PCI bridge: ASR Microelectronics Device 3003 (rev 01)

doing lsusb no wifi shows up:

root@OpenWrt:~# lsusb
Bus 003 Device 002: ID 2109:0817 VIA Labs, Inc.          USB3.0 Hub
Bus 001 Device 002: ID 1e0e:9001 SimTech, Incorporated SimTech, Incorporated
Bus 002 Device 003: ID 2109:8817 VIA Labs, Inc.          USB Billboard Device
Bus 001 Device 001: ID 1d6b:0002 Linux 6.1.15 ehci_hcd Spacemit EHCI
Bus 002 Device 002: ID 2109:2817 VIA Labs, Inc.          USB2.0 Hub
Bus 002 Device 001: ID 1d6b:0002 Linux 6.1.15 xhci-hcd xHCI Host Controller
Bus 003 Device 001: ID 1d6b:0003 Linux 6.1.15 xhci-hcd xHCI Host Controller

doing a ifconfig wlan0 shows up:

root@OpenWrt:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr FE:FE:FE:B0:C6:0D
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::fcfe:feff:feb0:c60d/64 Scope:Link
          inet6 addr: fd89:ad32:c9fc::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1216464 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2546053 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:66457479 (63.3 MiB)  TX bytes:3570974184 (3.3 GiB)

eth0      Link encap:Ethernet  HWaddr FE:FE:FE:B0:C6:0D
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1216951 errors:0 dropped:11 overruns:0 frame:0
          TX packets:2546679 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:84215980 (80.3 MiB)  TX bytes:3571007856 (3.3 GiB)
          Interrupt:67 Base address:0xd000

eth1      Link encap:Ethernet  HWaddr FE:FE:FE:B0:C6:0E
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:68 Base address:0x5000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:924 errors:0 dropped:0 overruns:0 frame:0
          TX packets:924 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:77759 (75.9 KiB)  TX bytes:77759 (75.9 KiB)

wlan0     Link encap:Ethernet  HWaddr 5C:8A:AE:67:5A:C7
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wwan0     Link encap:UNSPEC  HWaddr 00-00-00-00xx.xx.xx.xx-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:xx.xx.xx.xx P-t-P:  Mask:255.255.255.252
          inet6 addr: fe80::901e:dec9:20a6:c1a/64 Scope:Link
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:2544549 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1212696 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3535476134 (3.2 GiB)  TX bytes:65514842 (62.4 MiB)

if I launch wifi config the is no output

my /etc/config/wireless is empty

I am unable to understand what I am missing to make the LUCI gui present the wireless menu. can someon give me a hint?

Thanks S.

SOLVED: Found out that access point is not managed by openwrt standard wifi manager and that is why configuring /etc/config/wireless will mess everything up not making wifi work.

Acess point is managed by hostapd process and the configuration can be found in /etc/hostapd.conf.

Cheers S.