Banana pi BPI-R3 no CIFS module

yes use the 6.1-main which contains current r3-patches and is a long-term-version which will get security fixes by updates.

6.2 is newer but developement version…all other branches are either not for r3 (lower than 6.0), not lts or developer branches where i have tested different versions (and uploaded for others to view)…my local git contains 235 branches in my own repo + 17 remotes :slight_smile:

Thats some work :slight_smile:

Also, not wanting to rush again with another problem but sometimes, the bpi does not boot, giving the following error and ending in uboot console: *** ERROR: Can’t read GPT Entries *** find_valid_gpt: *** ERROR: Invalid GPT ***

In the debian image thread there are 2 sgdisk commands which had fixed this for me…thought i had this already applied to the image.

Newer way creates gpt completely with sgdisk instead of flashing a prebuilt gpt. But i have to recreate the image from scratch with it. My uboot repo creates a blank image without rootfs using the new way,but have not found time to update the complete image yet

OK i will try that.

Now i get more confuse. So: 1- cloned your repo -> branch 6.1-main 2- change build.conf to adapt to bpi3 (change to board=bpi-r3) 3- build.sh importconfig; build.sh . Here is the end of the output (i could find the modules i need):

  LD [M]  crypto/authenc.ko
  LD [M]  crypto/authencesn.ko
  LD [M]  crypto/cbc.ko
  LD [M]  crypto/echainiv.ko
  LD [M]  crypto/md5.ko
  LD [M]  crypto/seqiv.ko
  LD [M]  crypto/sha1_generic.ko
  LD [M]  drivers/cpufreq/mediatek-cpufreq-hw.ko
  LD [M]  drivers/mtd/nftl.ko
  LD [M]  drivers/net/dummy.ko
  LD [M]  drivers/net/ipvlan/ipvlan.ko
  LD [M]  drivers/net/mii.ko
  LD [M]  drivers/net/macvlan.ko
  LD [M]  drivers/net/phy/ax88796b.ko
  LD [M]  drivers/net/ppp/ppp_deflate.ko
  LD [M]  drivers/net/ppp/ppp_generic.ko
  LD [M]  drivers/net/ppp/ppp_mppe.ko
  LD [M]  drivers/net/ppp/pppoe.ko
  LD [M]  drivers/net/ppp/pppox.ko
  LD [M]  drivers/net/slip/slhc.ko
  LD [M]  drivers/net/tun.ko
  LD [M]  drivers/net/usb/asix.ko
  LD [M]  drivers/net/usb/ax88179_178a.ko
  LD [M]  drivers/net/usb/cdc_eem.ko
  LD [M]  drivers/net/usb/cdc_ether.ko
  LD [M]  drivers/net/usb/cdc_mbim.ko
  LD [M]  drivers/net/usb/cdc_ncm.ko
  LD [M]  drivers/net/usb/cdc_subset.ko
  LD [M]  drivers/net/usb/net1080.ko
  LD [M]  drivers/net/usb/qmi_wwan.ko
  LD [M]  drivers/net/usb/r8153_ecm.ko
  LD [M]  drivers/net/usb/rndis_host.ko
  LD [M]  drivers/net/usb/usbnet.ko
  LD [M]  drivers/net/usb/zaurus.ko
  LD [M]  drivers/net/veth.ko
  LD [M]  drivers/net/wireless/mediatek/mt76/mt76-connac-lib.ko
  LD [M]  drivers/net/wireless/mediatek/mt76/mt76.ko
  LD [M]  drivers/net/wireless/mediatek/mt76/mt7915/mt7915e.ko
  LD [M]  drivers/usb/class/cdc-wdm.ko
  LD [M]  drivers/usb/serial/option.ko
  LD [M]  drivers/usb/serial/usb_wwan.ko
  LD [M]  drivers/usb/serial/qcserial.ko
  LD [M]  drivers/usb/serial/usbserial.ko
  LD [M]  fs/cifs/cifs.ko
  LD [M]  fs/efivarfs/efivarfs.ko
  LD [M]  fs/fuse/fuse.ko
  LD [M]  fs/nfsd/nfsd.ko
  LD [M]  fs/smbfs_common/cifs_arc4.ko
  LD [M]  fs/smbfs_common/cifs_md4.ko
  LD [M]  lib/libcrc32c.ko
  LD [M]  net/dns_resolver/dns_resolver.ko
  LD [M]  net/ipv4/ipip.ko
  LD [M]  net/ipv4/netfilter/ip_tables.ko
  LD [M]  net/ipv4/netfilter/ipt_REJECT.ko
  LD [M]  net/ipv4/netfilter/ipt_SYNPROXY.ko
  LD [M]  net/ipv4/netfilter/iptable_filter.ko
  LD [M]  net/ipv4/netfilter/iptable_mangle.ko
  LD [M]  net/ipv4/netfilter/iptable_nat.ko
  LD [M]  net/ipv4/netfilter/nf_defrag_ipv4.ko
  LD [M]  net/ipv4/netfilter/nf_reject_ipv4.ko
  LD [M]  net/ipv4/netfilter/nf_socket_ipv4.ko
  LD [M]  net/ipv4/netfilter/nf_tproxy_ipv4.ko
  LD [M]  net/ipv4/netfilter/nft_fib_ipv4.ko
  LD [M]  net/ipv4/netfilter/nft_reject_ipv4.ko
  LD [M]  net/ipv4/tcp_bic.ko
  LD [M]  net/ipv4/tcp_htcp.ko
  LD [M]  net/ipv4/tcp_westwood.ko
  LD [M]  net/ipv4/udp_diag.ko
  LD [M]  net/ipv6/ah6.ko
  LD [M]  net/ipv6/esp6.ko
  LD [M]  net/ipv6/ip6_tunnel.ko
  LD [M]  net/ipv6/ipcomp6.ko
  LD [M]  net/ipv6/mip6.ko
  LD [M]  net/ipv6/netfilter/ip6t_REJECT.ko
  LD [M]  net/ipv6/netfilter/ip6_tables.ko
  LD [M]  net/ipv6/netfilter/ip6t_SYNPROXY.ko
  LD [M]  net/ipv6/netfilter/ip6t_rt.ko
  LD [M]  net/ipv6/netfilter/ip6table_filter.ko
  LD [M]  net/ipv6/netfilter/ip6table_mangle.ko
  LD [M]  net/ipv6/netfilter/ip6table_nat.ko
  LD [M]  net/ipv6/netfilter/nf_defrag_ipv6.ko
  LD [M]  net/ipv6/netfilter/nf_reject_ipv6.ko
  LD [M]  net/ipv6/netfilter/nf_socket_ipv6.ko
  LD [M]  net/ipv6/netfilter/nf_tproxy_ipv6.ko
  LD [M]  net/ipv6/netfilter/nft_fib_ipv6.ko
  LD [M]  net/ipv6/netfilter/nft_reject_ipv6.ko
  LD [M]  net/ipv6/tunnel6.ko
  LD [M]  net/ipv6/xfrm6_tunnel.ko
  LD [M]  net/netfilter/ipvs/ip_vs.ko
  LD [M]  net/netfilter/nf_conncount.ko
  LD [M]  net/netfilter/nf_conntrack.ko
  LD [M]  net/netfilter/nf_conntrack_ftp.ko
  LD [M]  net/netfilter/nf_conntrack_netlink.ko
  LD [M]  net/netfilter/nf_flow_table.ko
  LD [M]  net/netfilter/nf_flow_table_inet.ko
  LD [M]  net/netfilter/nf_log_syslog.ko
  LD [M]  net/netfilter/nf_nat.ko
  LD [M]  net/netfilter/nf_synproxy_core.ko
  LD [M]  net/netfilter/nf_nat_ftp.ko
  LD [M]  net/netfilter/nf_tables.ko
  LD [M]  net/netfilter/nfnetlink.ko
  LD [M]  net/netfilter/nft_chain_nat.ko
  LD [M]  net/netfilter/nfnetlink_osf.ko
  LD [M]  net/netfilter/nft_compat.ko
  LD [M]  net/netfilter/nft_connlimit.ko
  LD [M]  net/netfilter/nft_ct.ko
  LD [M]  net/netfilter/nft_fib.ko
  LD [M]  net/netfilter/nft_fib_inet.ko
  LD [M]  net/netfilter/nft_flow_offload.ko
  LD [M]  net/netfilter/nft_hash.ko
  LD [M]  net/netfilter/nft_limit.ko
  LD [M]  net/netfilter/nft_log.ko
  LD [M]  net/netfilter/nft_masq.ko
  LD [M]  net/netfilter/nft_nat.ko
  LD [M]  net/netfilter/nft_numgen.ko
  LD [M]  net/netfilter/nft_objref.ko
  LD [M]  net/netfilter/nft_osf.ko
  LD [M]  net/netfilter/nft_quota.ko
  LD [M]  net/netfilter/nft_redir.ko
  LD [M]  net/netfilter/nft_reject.ko
  LD [M]  net/netfilter/nft_reject_inet.ko
  LD [M]  net/netfilter/nft_socket.ko
  LD [M]  net/netfilter/nft_synproxy.ko
  LD [M]  net/netfilter/nft_tproxy.ko
  LD [M]  net/netfilter/nft_tunnel.ko
  LD [M]  net/netfilter/nft_xfrm.ko
  LD [M]  net/netfilter/x_tables.ko
  LD [M]  net/netfilter/xt_CHECKSUM.ko
  LD [M]  net/netfilter/xt_LOG.ko
  LD [M]  net/netfilter/xt_MASQUERADE.ko
  LD [M]  net/netfilter/xt_TCPOPTSTRIP.ko
  LD [M]  net/netfilter/xt_addrtype.ko
  LD [M]  net/netfilter/xt_connmark.ko
  LD [M]  net/netfilter/xt_connlimit.ko
  LD [M]  net/netfilter/xt_conntrack.ko
  LD [M]  net/netfilter/xt_iprange.ko
  LD [M]  net/netfilter/xt_ipvs.ko
  LD [M]  net/netfilter/xt_limit.ko
  LD [M]  net/netfilter/xt_mac.ko
  LD [M]  net/netfilter/xt_mark.ko
  LD [M]  net/netfilter/xt_nat.ko
  LD [M]  net/netfilter/xt_recent.ko
  LD [M]  net/netfilter/xt_state.ko
  LD [M]  net/netfilter/xt_tcpudp.ko
  LD [M]  net/packet/af_packet_diag.ko
  LD [M]  net/sched/act_vlan.ko
  LD [M]  net/sched/cls_route.ko
  LD [M]  net/sched/cls_fw.ko
  LD [M]  net/sched/cls_rsvp.ko
  LD [M]  net/sched/cls_rsvp6.ko
  LD [M]  net/sched/cls_tcindex.ko
  LD [M]  net/sched/cls_u32.ko
  LD [M]  net/sched/sch_cbq.ko
  LD [M]  net/sched/sch_dsmark.ko
  LD [M]  net/sched/sch_gred.ko
  LD [M]  net/sched/sch_htb.ko
  LD [M]  net/sched/sch_ingress.ko
  LD [M]  net/sched/sch_prio.ko
  LD [M]  net/sched/sch_red.ko
  LD [M]  net/sched/sch_sfq.ko
  LD [M]  net/sched/sch_tbf.ko
  LD [M]  net/sched/sch_teql.ko
  LD [M]  net/unix/unix_diag.ko
  LD [M]  net/xfrm/xfrm_algo.ko
  LD [M]  net/xfrm/xfrm_ipcomp.ko
  NM      System.map
  SORTTAB vmlinux
  OBJCOPY arch/arm64/boot/Image
  GZIP    arch/arm64/boot/Image.gz
make[1]: Leaving directory '/home/joaolrc/Desktop/CODE/gits_extern/build'
Image Name:   Linux Kernel 6.1.12-main
Created:      Fri Feb 17 17:57:54 2023
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    24644096 Bytes = 24066.50 KiB = 23.50 MiB
Load Address: 40080000
Entry Point:  40080000
FIT description: U-Boot fitImage for bpi-r3 aarch64 kernel
Created:         Fri Feb 17 17:57:55 2023
 Image 0 (kernel-1)
  Description:  Linux Kernel 6.1.12-main
  Created:      Fri Feb 17 17:57:55 2023
  Type:         Kernel Image
  Compression:  gzip compressed
  Data Size:    8937073 Bytes = 8727.61 KiB = 8.52 MiB
  Architecture: AArch64
  OS:           Linux
  Load Address: 0x44000000
  Entry Point:  0x44000000
  Hash algo:    sha1
  Hash value:   d5f34cbf29491f821d5a04c470bae5159127c131
 Image 1 (fdt-base)
  Description:  Flattened Device Tree blob
  Created:      Fri Feb 17 17:57:55 2023
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    21235 Bytes = 20.74 KiB = 0.02 MiB
  Architecture: AArch64
  Load Address: 0x47000000
  Hash algo:    sha1
  Hash value:   6eff1ebeb07f743d11c9add152f5f28ada4176e1
 Image 2 (fdt-ov-sd)
  Description:  Flattened Device Tree blob
  Created:      Fri Feb 17 17:57:55 2023
  Type:         Flat Device Tree
  Compression:  Unknown Compression
  Data Size:    369 Bytes = 0.36 KiB = 0.00 MiB
  Architecture: Unknown Architecture
 Image 3 (fdt-ov-emmc)
  Description:  Flattened Device Tree blob
  Created:      Fri Feb 17 17:57:55 2023
  Type:         Flat Device Tree
  Compression:  Unknown Compression
  Data Size:    519 Bytes = 0.51 KiB = 0.00 MiB
  Architecture: Unknown Architecture
 Image 4 (fdt-ov-nand)
  Description:  unavailable
  Created:      Fri Feb 17 17:57:55 2023
  Type:         Flat Device Tree
  Compression:  Unknown Compression
  Data Size:    812 Bytes = 0.79 KiB = 0.00 MiB
  Architecture: AArch64
 Image 5 (fdt-ov-nor)
  Description:  unavailable
  Created:      Fri Feb 17 17:57:55 2023
  Type:         Flat Device Tree
  Compression:  Unknown Compression
  Data Size:    956 Bytes = 0.93 KiB = 0.00 MiB
  Architecture: AArch64
 Default Configuration: 'conf-sd'
 Configuration 0 (conf-sd)
  Description:  Boot Linux kernel with SD FDT blob
  Kernel:       kernel-1
  FDT:          fdt-base
                fdt-ov-sd
  Hash algo:    sha1
  Hash value:   unavailable
 Configuration 1 (conf-emmc)
  Description:  Boot Linux kernel with EMMC FDT blob
  Kernel:       kernel-1
  FDT:          fdt-base
                fdt-ov-emmc
  Hash algo:    sha1
  Hash value:   unavailable
 Configuration 2 (conf-sd-nand)
  Description:  Boot Linux kernel with SD+NAND FDT blob
  Kernel:       kernel-1
  FDT:          fdt-base
                fdt-ov-sd
                fdt-ov-nand
  Hash algo:    sha1
  Hash value:   unavailable
 Configuration 3 (conf-emmc-nand)
  Description:  Boot Linux kernel with EMMC+NAND FDT blob
  Kernel:       kernel-1
  FDT:          fdt-base
                fdt-ov-emmc
                fdt-ov-nand
  Hash algo:    sha1
  Hash value:   unavailable
 Configuration 4 (conf-sd-nor)
  Description:  Boot Linux kernel with SD+NOR FDT blob
  Kernel:       kernel-1
  FDT:          fdt-base
                fdt-ov-sd
                fdt-ov-nor
  Hash algo:    sha1
  Hash value:   unavailable
 Configuration 5 (conf-emmc-nor)
  Description:  Boot Linux kernel with EMMC+NOR FDT blob
  Kernel:       kernel-1
  FDT:          fdt-base
                fdt-ov-emmc
                fdt-ov-nor
  Hash algo:    sha1
  Hash value:   unavailable
===========================================
1) pack
2) install to SD-Card
3) deb-package
4) upload
choice [1234]:2
Install Kernel to SD Card
generate branch vars...
getting git branch: 
* 6.1-main
kernbranch:6.1-main,gitbranch:-main
using arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtb...
Image-filename: uImage_6.1.12-main
Name: uImage_6.1.12-main
Press [enter] to copy data to SD-Card...
install FIT kernel (itb) [yn]? y
copy new kernel
copy modules (root needed because of ext-fs permission)
INSTALL_MOD_PATH: /media/joaolrc/BPI-ROOT/
make[1]: Entering directory '/home/joaolrc/Desktop/CODE/gits_extern/build'
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/crypto/authenc.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/crypto/authencesn.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/crypto/cbc.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/crypto/echainiv.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/crypto/md5.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/crypto/seqiv.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/crypto/sha1_generic.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/cpufreq/mediatek-cpufreq-hw.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/mtd/nftl.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/dummy.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/ipvlan/ipvlan.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/macvlan.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/mii.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/phy/ax88796b.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/ppp/ppp_deflate.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/ppp/ppp_generic.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/ppp/ppp_mppe.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/ppp/pppoe.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/ppp/pppox.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/slip/slhc.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/tun.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/asix.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/ax88179_178a.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/cdc_eem.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/cdc_ether.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/cdc_mbim.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/cdc_ncm.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/cdc_subset.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/net1080.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/qmi_wwan.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/r8153_ecm.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/rndis_host.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/usbnet.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/zaurus.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/veth.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/wireless/mediatek/mt76/mt76-connac-lib.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/wireless/mediatek/mt76/mt76.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/wireless/mediatek/mt76/mt7915/mt7915e.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/usb/class/cdc-wdm.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/usb/serial/option.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/usb/serial/qcserial.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/usb/serial/usb_wwan.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/drivers/usb/serial/usbserial.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/fs/cifs/cifs.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/fs/efivarfs/efivarfs.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/fs/fuse/fuse.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/fs/nfsd/nfsd.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/fs/smbfs_common/cifs_arc4.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/fs/smbfs_common/cifs_md4.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/lib/libcrc32c.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/dns_resolver/dns_resolver.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/ipip.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/ip_tables.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/ipt_REJECT.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/ipt_SYNPROXY.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/iptable_filter.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/iptable_mangle.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/iptable_nat.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/nf_defrag_ipv4.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/nf_reject_ipv4.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/nf_socket_ipv4.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/nf_tproxy_ipv4.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/nft_fib_ipv4.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/nft_reject_ipv4.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/tcp_bic.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/tcp_htcp.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/tcp_westwood.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/udp_diag.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/ah6.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/esp6.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/ip6_tunnel.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/ipcomp6.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/mip6.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/ip6_tables.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/ip6t_REJECT.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/ip6t_SYNPROXY.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/ip6t_rt.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/ip6table_filter.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/ip6table_mangle.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/ip6table_nat.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/nf_defrag_ipv6.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/nf_reject_ipv6.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/nf_socket_ipv6.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/nf_tproxy_ipv6.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/nft_fib_ipv6.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/nft_reject_ipv6.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/tunnel6.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/xfrm6_tunnel.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/ipvs/ip_vs.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_conncount.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_conntrack.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_conntrack_ftp.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_conntrack_netlink.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_flow_table.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_flow_table_inet.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_log_syslog.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_nat.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_nat_ftp.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_synproxy_core.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_tables.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nfnetlink.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nfnetlink_osf.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_chain_nat.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_compat.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_connlimit.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_ct.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_fib.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_fib_inet.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_flow_offload.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_hash.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_limit.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_log.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_masq.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_nat.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_numgen.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_objref.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_osf.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_quota.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_redir.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_reject.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_reject_inet.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_socket.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_synproxy.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_tproxy.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_tunnel.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_xfrm.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/x_tables.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_CHECKSUM.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_LOG.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_MASQUERADE.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_TCPOPTSTRIP.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_addrtype.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_connlimit.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_connmark.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_conntrack.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_iprange.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_ipvs.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_limit.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_mac.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_mark.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_nat.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_recent.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_state.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_tcpudp.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/packet/af_packet_diag.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/act_vlan.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/cls_fw.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/cls_route.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/cls_rsvp.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/cls_rsvp6.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/cls_tcindex.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/cls_u32.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_cbq.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_dsmark.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_gred.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_htb.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_ingress.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_prio.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_red.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_sfq.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_tbf.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_teql.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/unix/unix_diag.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/xfrm/xfrm_algo.ko
  INSTALL /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main/kernel/net/xfrm/xfrm_ipcomp.ko
  DEPMOD  /media/joaolrc/BPI-ROOT//lib/modules/6.1.12-bpi-r3-main
make[1]: Leaving directory '/home/joaolrc/Desktop/CODE/gits_extern/build'
uImage:
/media/joaolrc/BPI-BOOT/6.1.12-main.itb
syncing sd-card...this will take a while
run 'watch -n 1 grep -e Dirty: /proc/meminfo' to show progress
/media/joaolrc/BPI-BOOT//uEnv.txt
by default this kernel-/dtb-file will be loaded (kernel-var in uEnv.txt):
kernel:  bpi-r3.itb
dtb: 
change needed to boot new kernel (kernel=uImage_6.1.12-main/fit=6.1.12-main.itb)!
open boot config file (uEnv/extlinux.conf) [yn]? y
edit uEnv.txt on sd-card
umount SD card [yn]? y
umount SD Media
/dev/sdb?
umount: /dev/sdb1: not mounted.
umount: /dev/sdb2: not mounted.
umount: /dev/sdb3: not mounted.
umount: /dev/sdb4: not mounted.

Final dialog seems correct. when it opened uEnv.txt i replaced its contents by:

kernel=uImage_6.1.12-main
fit=6.1.12-main.itb

4- Insert card on bpi, booted fine and then we have the module not found and also the interfaces not there. directory names are funny again (your find command cannot find the directory because name changed. Seems like version differs):

![image|690x172](upload://8SOa ATVxaBFsG2qGnZcAZuTJgUq.png)

For r3 you need only the fit line…kernel is for r2 or older r64 which uses uImage files.

Yes it looks right so far,so bootup and check your kernel version. You should see 6.1.12-bpi-r3-main with uname -r and should have the folder in /lib/modules. If not we should check your mounts before calling install…maybe your mount is done into another dir because right dir exists and is not empty

Hello Frank

I rebuilt the image. Everything went the same way. onyl included fit line in uEnv.txt.

So the output of uname -r:

image

but when i ls in /lib/modules, i get another dir (version differs):image

Then nodules are not installed,maybe issue on mounting…have you looked where your card was mounted while install?

I believe it is mounted on /media/joaolrc ($USER=joaolrc) because:

image

I see here BPI-ROOT and BPI-ROOT1 … seems odd Somehow looks like initial install created BPI-ROOT1 and then you SD install script created BPI-ROOT

image

Is it possible to copy contents of BPI-ROOT to BPI-ROOT1 ?

Just remove your card and delete all BPI-ROOT folders.

It is a mounting issue…but i try to check this in script (not installing+print error if my folder is no mountpoint), defining an other mountpoint is more difficult and no more user-friendly

Yup. I had this BPI-ROOT dir which was not a mount… dont know how that happened.

Your modules find command now produces the correct output:

root@bpi-r3:~# uname -r
6.1.12-bpi-r3-main
root@bpi-r3:~# find /lib/modules/$(uname -r) -iname '*.ko'
/lib/modules/6.1.12-bpi-r3-main/kernel/fs/efivarfs/efivarfs.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/fs/smbfs_common/cifs_arc4.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/fs/smbfs_common/cifs_md4.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/fs/nfsd/nfsd.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/fs/cifs/cifs.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/fs/fuse/fuse.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/fs/coda/coda.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/mtd/nftl.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/usb/class/cdc-wdm.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/usb/serial/usb_wwan.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/usb/serial/usbserial.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/usb/serial/qcserial.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/usb/serial/option.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/macvlan.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/veth.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/cdc_ether.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/net1080.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/cdc_eem.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/cdc_ncm.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/r8153_ecm.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/cdc_subset.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/qmi_wwan.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/zaurus.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/asix.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/rndis_host.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/cdc_mbim.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/ax88179_178a.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/usb/usbnet.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/ipvlan/ipvlan.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/wireless/mediatek/mt76/mt76.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/wireless/mediatek/mt76/mt7915/mt79o
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/wireless/mediatek/mt76/mt76-connaco
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/slip/slhc.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/ppp/ppp_mppe.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/ppp/ppp_generic.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/ppp/pppox.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/ppp/pppoe.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/ppp/ppp_deflate.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/mii.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/tun.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/phy/ax88796b.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/net/dummy.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/drivers/cpufreq/mediatek-cpufreq-hw.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/lib/libcrc32c.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/dns_resolver/dns_resolver.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/cls_fw.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_ingress.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/cls_rsvp.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_gred.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_cbq.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/cls_route.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/act_vlan.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_dsmark.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/cls_u32.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/cls_tcindex.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_sfq.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_red.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/cls_rsvp6.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_tbf.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_teql.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_htb.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/sched/sch_prio.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/ip6_tunnel.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/esp6.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/mip6.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/ah6.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/ip6table_nat.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/ip6t_rt.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/nf_reject_ipv6.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/nf_tproxy_ipv6.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/nft_fib_ipv6.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/ip6table_mangle.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/ip6_tables.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/nf_socket_ipv6.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/ip6t_SYNPROXY.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/nf_defrag_ipv6.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/nft_reject_ipv6.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/ip6table_filter.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/netfilter/ip6t_REJECT.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/tunnel6.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/ipcomp6.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv6/xfrm6_tunnel.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/unix/unix_diag.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_CHECKSUM.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_fib.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_fib_inet.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_connlimit.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_MASQUERADE.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_socket.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_limit.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/ipvs/ip_vs.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_ct.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_nat.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_addrtype.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_numgen.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_hash.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_state.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_log_syslog.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_tunnel.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_TCPOPTSTRIP.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_conntrack.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/x_tables.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_xfrm.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_flow_table.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nfnetlink_osf.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_limit.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_reject_inet.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_nat.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_nat_ftp.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_synproxy_core.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_iprange.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_chain_nat.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_connlimit.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_masq.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_flow_table_inet.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_mac.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nfnetlink.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_log.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_reject.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_compat.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_LOG.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_recent.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_osf.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_tproxy.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_ipvs.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_tables.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_conntrack_ftp.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_redir.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_conncount.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_synproxy.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_flow_offload.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_objref.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_nat.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_conntrack_netlink.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_tcpudp.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nf_conntrack.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_connmark.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/xt_mark.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/netfilter/nft_quota.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/tcp_westwood.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/iptable_filter.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/nf_defrag_ipv4.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/nf_tproxy_ipv4.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/ipt_REJECT.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/iptable_nat.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/iptable_mangle.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/nf_socket_ipv4.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/nft_reject_ipv4.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/ipt_SYNPROXY.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/nf_reject_ipv4.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/ip_tables.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/netfilter/nft_fib_ipv4.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/tcp_bic.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/ipip.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/tcp_htcp.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/ipv4/udp_diag.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/packet/af_packet_diag.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/xfrm/xfrm_algo.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/net/xfrm/xfrm_ipcomp.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/crypto/seqiv.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/crypto/md5.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/crypto/sha1_generic.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/crypto/authencesn.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/crypto/echainiv.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/crypto/cbc.ko
/lib/modules/6.1.12-bpi-r3-main/kernel/crypto/authenc.ko
root@bpi-r3:~# 

Also this:

image

But wifi interfaces not shown… how do i proceed ?

Maybe put firmware files from your sysconfig GDrive in /lib/firmware/mediatek ?

OK copied firmware files into /lib/firmware/mediatek and now the wifi interfaces appear.

But with netplan, i am not being able to connect to wifi network. This is my config file (passwords replaced of course): image

Blue LEDS W2G and W5G are blinking.

Also, this happens:

image

When you have everything running…

You are using wlan0 for Guests5.0 wifi and wlan1 for Visitors-HFA.

But you could use hostapd to setup both networks on only 1 interface (hostapd will create a second virtual interface), like for example it is done here:

How to Setup a Virtual SSID with hostapd | by Renaud Cerrato | Medium

Just in case you did not know this already…

I want to connect to existing WiFi networks… so use it in station mode… not AP (not sure if i was clear in the previous post).

The way i currently do in raspberries or linux boxes is using netplan

The problem is that the board does not connect to wifi networks

Then at least you have to disable hostapd services (hostapd,hostapd2)

Have not tested client mode yet,i guess you need wpa_supplicant for it.

Are you still on debian image or have you switched to ubuntu?

See my comment in ubuntu-thread about reg-domain

I am still on Debian image.

I did systemctl disable hostapd, which seemed successfull.

I found this at boot log: image

Can it be that im missing some this bin file? I did not see it in your sysconfig gdrive

Already installed wpa_supplicant and tried:

image

This is the config file: image

This comment? I think i am able to try that image

Have you disabled hostapd2 too?

The custom eeprom file is not needed…have this patched for passing eeprom for r64,can be ignored on r3…eeprom is loaded from dts or if this is not set a fixed eeprom is loaded based on frontend (mt79xx) which is part of my firmware archive.

Cannot help with netplan/wifi-client

Do you see your ap with “iw dev interface scan”?

Maybe you need wireless extensions too

I have disabled hostapd systemd service yes.

Accidentaly destroyed the image. Need to rebuild everything.

In the meantime, one thing we also need is to be able to communicate with serial/uart devices.

When inserting an USB to Serial adapter (adapter is CP210X i think), i realize that it was not listed on /dev/tty…

Do i need any more kernel modules for this? In the kernel config, i see already some USB serial modules but not sure if they match the ones i need…

Do you have any opinion on this?

There are 2 hostapd services,one for 2g4,one for 5g (hostapd2). It was no typo :wink:

Yes i added only modules currently “needed” (basic support) not all to reduce compiletime and space on rootpartition (and prevent unneeded writes to card…as i install kernels more often than endusers do).

Managed to use USB Serial by adding some modules that were referencing that… so not a problem anymore. But wifi still not working

So this is the output of iw dev wlan0 scan:

root@bpi-r3:/etc/systemd/system# ifconfig wlan0 up
root@bpi-r3:/etc/systemd/system# iw dev wlan0 scan
BSS 00:06:91:78:d5:a0(on wlan0)
        last seen: 1422.948s [boottime]
        TSF: 11944142129558 usec (138d, 05:49:02)
        freq: 2412
        beacon interval: 100 TUs
        capability: ESS Privacy ShortSlotTime (0x0411)
        signal: -67.00 dBm
        last seen: 1270 ms ago
        Information elements from Probe Response frame:
        SSID: Guests-2.4
        Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0 
        DS Parameter set: channel 1
        ERP: <no flags>
        Extended supported rates: 6.0 9.0 12.0 48.0 
        RSN:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: CCMP TKIP
                 * Authentication suites: PSK
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
        BSS Load:
                 * station count: 0
                 * channel utilisation: 43/255
                 * available admission capacity: 0 [*32us]
        Measurement Pilot Transmission:
                 * interval: 0 TUs
        HT capabilities:
                Capabilities: 0x8ad
                        RX LDPC
                        HT20
                        SM Power Save disabled
                        RX HT20 SGI
                        TX STBC
                        No RX STBC
                        Max AMSDU length: 7935 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT RX MCS rate indexes supported: 0-23
                HT TX MCS rate indexes are undefined
        HT operation:
                 * primary channel: 1
                 * secondary channel offset: no secondary
                 * STA channel width: 20 MHz
                 * RIFS: 1
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        Overlapping BSS scan params:
                 * passive dwell: 20 TUs
                 * active dwell: 10 TUs
                 * channel width trigger scan interval: 300 s
                 * scan passive total per channel: 200 TUs
                 * scan active total per channel: 20 TUs
                 * BSS width channel transition delay factor: 5
                 * OBSS Scan Activity Threshold: 0.25 %
        Extended capabilities:
                 * HT Information Exchange Supported
                 * Extended Channel Switching
                 * BSS Transition
                 * Operating Mode Notification
        WPS:     * Version: 1.0
                 * Wi-Fi Protected Setup State: 2 (Configured)
                 * Response Type: 3 (AP)
                 * UUID: 69cb2e76-0d6c-46d2-9051-d5c1aad01967
                 * Manufacturer: PTIN
                 * Model: PTIN
                 * Model Number: GR241AG
                 * Serial Number: 5054494E9178D59F
                 * Primary Device Type: 6-0050f204-1
                 * Device name: devName
                 * Config methods: Label, Display
                 * RF Bands: 0x3
                 * Version2: 2.0
        WPA:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: CCMP TKIP
                 * Authentication suites: PSK
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 00:06:91:78:d5:a2(on wlan0)
        last seen: 1422.950s [boottime]
        TSF: 11944142137771 usec (138d, 05:49:02)
        freq: 2412
        beacon interval: 100 TUs
        capability: ESS ShortSlotTime (0x0401)
        signal: -68.00 dBm
        last seen: 1260 ms ago
        Information elements from Probe Response frame:
        SSID: MEO-WiFi
        Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0 
        DS Parameter set: channel 1
        ERP: <no flags>
        Extended supported rates: 6.0 9.0 12.0 48.0 
        BSS Load:
                 * station count: 1
                 * channel utilisation: 43/255
                 * available admission capacity: 0 [*32us]
        Measurement Pilot Transmission:
                 * interval: 0 TUs
        HT capabilities:
                Capabilities: 0x8ad
                        RX LDPC
                        HT20
                        SM Power Save disabled
                        RX HT20 SGI
                        TX STBC
                        No RX STBC
                        Max AMSDU length: 7935 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT RX MCS rate indexes supported: 0-23
                HT TX MCS rate indexes are undefined
        HT operation:
                 * primary channel: 1
                 * secondary channel offset: no secondary
                 * STA channel width: 20 MHz
                 * RIFS: 1
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        Overlapping BSS scan params:
                 * passive dwell: 20 TUs
                 * active dwell: 10 TUs
                 * channel width trigger scan interval: 300 s
                 * scan passive total per channel: 200 TUs
                 * scan active total per channel: 20 TUs
                 * BSS width channel transition delay factor: 5
                 * OBSS Scan Activity Threshold: 0.25 %
        Extended capabilities:
                 * HT Information Exchange Supported
                 * Extended Channel Switching
                 * BSS Transition
                 * Operating Mode Notification
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 02:92:bf:14:3d:65(on wlan0)
        last seen: 1423.309s [boottime]
        TSF: 6279650509464 usec (72d, 16:20:50)
        freq: 2437
        beacon interval: 100 TUs
        capability: ESS Privacy ShortPreamble ShortSlotTime RadioMeasure (0x1431)
        signal: -87.00 dBm
        last seen: 910 ms ago
        SSID: Visitors-HFA
        Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 
        DS Parameter set: channel 6
        TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x1 Bitmap[0] 0xec (+ 1 octet)
        ERP: <no flags>
        Extended supported rates: 24.0 36.0 48.0 54.0 
        BSS Load:
                 * station count: 1
                 * channel utilisation: 22/255
                 * available admission capacity: 31250 [*32us]
        RM enabled capabilities:
                Capabilities: 0x73 0xd0 0x00 0x00 0x0c
                        Link Measurement
                        Neighbor Report
                        Beacon Passive Measurement
                        Beacon Active Measurement
                        Beacon Table Measurement
                        LCI Measurement
                        Transmit Stream/Category Measurement
                        Triggered Transmit Stream/Category
                        FTM Range Report
                        Civic Location Measurement
                Nonoperating Channel Max Measurement Duration: 0
                Measurement Pilot Capability: 4
        HT capabilities:
                Capabilities: 0x41ac
                        HT20
                        SM Power Save disabled
                        RX HT20 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                        40 MHz Intolerant
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 0-23
        HT operation:
                 * primary channel: 6
                 * secondary channel offset: no secondary
                 * STA channel width: 20 MHz
                 * RIFS: 1
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        Overlapping BSS scan params:
                 * passive dwell: 20 TUs
                 * active dwell: 10 TUs
                 * channel width trigger scan interval: 300 s
                 * scan passive total per channel: 200 TUs
                 * scan active total per channel: 20 TUs
                 * BSS width channel transition delay factor: 5
                 * OBSS Scan Activity Threshold: 0.25 %
        Extended capabilities:
                 * HT Information Exchange Supported
                 * Extended Channel Switching
                 * TFS
                 * WNM-Sleep Mode
                 * TIM Broadcast
                 * BSS Transition
                 * SSID List
                 * Operating Mode Notification
        WMM:     * Parameter version 1
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
        RSN:     * Version: 1
                 * Group cipher: CCMP
                 * Pairwise ciphers: CCMP
                 * Authentication suites: PSK
                 * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
BSS fa:92:bf:14:3d:65(on wlan0)
        last seen: 1423.309s [boottime]
        TSF: 6279650511990 usec (72d, 16:20:50)
        freq: 2437
        beacon interval: 100 TUs
        capability: ESS Privacy ShortPreamble ShortSlotTime RadioMeasure (0x1431)
        signal: -89.00 dBm
        last seen: 910 ms ago
        SSID: Hfa
        Supported rates: 12.0* 18.0 24.0* 36.0 48.0 54.0 
        DS Parameter set: channel 6
        TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0
        ERP: <no flags>
        BSS Load:
                 * station count: 0
                 * channel utilisation: 22/255
                 * available admission capacity: 31250 [*32us]
        RM enabled capabilities:
                Capabilities: 0x73 0xd0 0x00 0x00 0x0c
                        Link Measurement
                        Neighbor Report
                        Beacon Passive Measurement
                        Beacon Active Measurement
                        Beacon Table Measurement
                        LCI Measurement
                        Transmit Stream/Category Measurement
                        Triggered Transmit Stream/Category
                        FTM Range Report
                        Civic Location Measurement
                Nonoperating Channel Max Measurement Duration: 0
                Measurement Pilot Capability: 4
        HT capabilities:
                Capabilities: 0x41ac
                        HT20
                        SM Power Save disabled
                        RX HT20 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                        40 MHz Intolerant
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 1-23
        HT operation:
                 * primary channel: 6
                 * secondary channel offset: no secondary
                 * STA channel width: 20 MHz
                 * RIFS: 1
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        Overlapping BSS scan params:
                 * passive dwell: 20 TUs
                 * active dwell: 10 TUs
                 * channel width trigger scan interval: 300 s
                 * scan passive total per channel: 200 TUs
                 * scan active total per channel: 20 TUs
                 * BSS width channel transition delay factor: 5
                 * OBSS Scan Activity Threshold: 0.25 %
        Extended capabilities:
                 * HT Information Exchange Supported
                 * Extended Channel Switching
                 * TFS
                 * WNM-Sleep Mode
                 * TIM Broadcast
                 * BSS Transition
                 * SSID List
                 * Operating Mode Notification
        WMM:     * Parameter version 1
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
        RSN:     * Version: 1
                 * Group cipher: CCMP
                 * Pairwise ciphers: CCMP
                 * Authentication suites: PSK
                 * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
BSS fa:92:bf:14:3c:64(on wlan0)
        last seen: 1423.706s [boottime]
        TSF: 11952009423982 usec (138d, 08:00:09)
        freq: 2462
        beacon interval: 100 TUs
        capability: ESS Privacy ShortPreamble ShortSlotTime RadioMeasure (0x1431)
        signal: -83.00 dBm
        last seen: 510 ms ago
        SSID: Hfa
        Supported rates: 12.0* 18.0 24.0* 36.0 48.0 54.0 
        DS Parameter set: channel 11
        TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0
        ERP: <no flags>
        BSS Load:
                 * station count: 0
                 * channel utilisation: 22/255
                 * available admission capacity: 31250 [*32us]
        RM enabled capabilities:
                Capabilities: 0x73 0xd0 0x00 0x00 0x0c
                        Link Measurement
                        Neighbor Report
                        Beacon Passive Measurement
                        Beacon Active Measurement
                        Beacon Table Measurement
                        LCI Measurement
                        Transmit Stream/Category Measurement
                        Triggered Transmit Stream/Category
                        FTM Range Report
                        Civic Location Measurement
                Nonoperating Channel Max Measurement Duration: 0
                Measurement Pilot Capability: 4
        HT capabilities:
                Capabilities: 0x41ac
                        HT20
                        SM Power Save disabled
                        RX HT20 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                        40 MHz Intolerant
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 1-23
        HT operation:
                 * primary channel: 11
                 * secondary channel offset: no secondary
                 * STA channel width: 20 MHz
                 * RIFS: 1
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        Overlapping BSS scan params:
                 * passive dwell: 20 TUs
                 * active dwell: 10 TUs
                 * channel width trigger scan interval: 300 s
                 * scan passive total per channel: 200 TUs
                 * scan active total per channel: 20 TUs
                 * BSS width channel transition delay factor: 5
                 * OBSS Scan Activity Threshold: 0.25 %
        Extended capabilities:
                 * HT Information Exchange Supported
                 * Extended Channel Switching
                 * TFS
                 * WNM-Sleep Mode
                 * TIM Broadcast
                 * BSS Transition
                 * SSID List
                 * Operating Mode Notification
        WMM:     * Parameter version 1
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
        RSN:     * Version: 1
                 * Group cipher: CCMP
                 * Pairwise ciphers: CCMP
                 * Authentication suites: PSK
                 * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
BSS 02:92:bf:14:3c:64(on wlan0)
        last seen: 1423.808s [boottime]
        TSF: 11952009523584 usec (138d, 08:00:09)
        freq: 2462
        beacon interval: 100 TUs
        capability: ESS Privacy ShortPreamble ShortSlotTime RadioMeasure (0x1431)
        signal: -86.00 dBm
        last seen: 410 ms ago
        SSID: Visitors-HFA
        Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 
        DS Parameter set: channel 11
        TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x1 Bitmap[0] 0x1c
        ERP: <no flags>
        Extended supported rates: 24.0 36.0 48.0 54.0 
        BSS Load:
                 * station count: 1
                 * channel utilisation: 22/255
                 * available admission capacity: 31250 [*32us]
        RM enabled capabilities:
                Capabilities: 0x73 0xd0 0x00 0x00 0x0c
                        Link Measurement
                        Neighbor Report
                        Beacon Passive Measurement
                        Beacon Active Measurement
                        Beacon Table Measurement
                        LCI Measurement
                        Transmit Stream/Category Measurement
                        Triggered Transmit Stream/Category
                        FTM Range Report
                        Civic Location Measurement
                Nonoperating Channel Max Measurement Duration: 0
                Measurement Pilot Capability: 4
        HT capabilities:
                Capabilities: 0x41ac
                        HT20
                        SM Power Save disabled
                        RX HT20 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                        40 MHz Intolerant
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 0-23
        HT operation:
                 * primary channel: 11
                 * secondary channel offset: no secondary
                 * STA channel width: 20 MHz
                 * RIFS: 1
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        Overlapping BSS scan params:
                 * passive dwell: 20 TUs
                 * active dwell: 10 TUs
                 * channel width trigger scan interval: 300 s
                 * scan passive total per channel: 200 TUs
                 * scan active total per channel: 20 TUs
                 * BSS width channel transition delay factor: 5
                 * OBSS Scan Activity Threshold: 0.25 %
        Extended capabilities:
                 * HT Information Exchange Supported
                 * Extended Channel Switching
                 * TFS
                 * WNM-Sleep Mode
                 * TIM Broadcast
                 * BSS Transition
                 * SSID List
                 * Operating Mode Notification
        WMM:     * Parameter version 1
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
        RSN:     * Version: 1
                 * Group cipher: CCMP
                 * Pairwise ciphers: CCMP
                 * Authentication suites: PSK
                 * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
BSS 08:3a:2f:15:e7:e0(on wlan0)
        last seen: 1423.983s [boottime]
        TSF: 1408617251 usec (0d, 00:23:28)
        freq: 2472
        beacon interval: 100 TUs
        capability: ESS Privacy ShortSlotTime (0x0411)
        signal: -90.00 dBm
        last seen: 230 ms ago
        SSID: NVR083a2f15e7e0
        Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 
        DS Parameter set: channel 13
        TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0
        ERP: Barker_Preamble_Mode
        Extended supported rates: 24.0 36.0 48.0 54.0 
        RSN:     * Version: 1
                 * Group cipher: CCMP
                 * Pairwise ciphers: CCMP
                 * Authentication suites: PSK
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
        HT capabilities:
                Capabilities: 0x2c
                        HT20
                        SM Power Save disabled
                        RX HT20 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 2 usec (0x04)
                HT RX MCS rate indexes supported: 0-15
                HT TX MCS rate indexes are undefined
        HT operation:
                 * primary channel: 13
                 * secondary channel offset: no secondary
                 * STA channel width: 20 MHz
                 * RIFS: 0
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 2976 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1472 usec
root@bpi-r3:/etc/systemd/system# 

i cannot find hostapd2 service: image

This next command makes me think that system thinks that wlan0 is wired interface: image

Ok,if you use the base image without the additional services files from the gdrive then you have only one hostapd.

For iwconfig I guess you miss kernel option CONFIG_CFG80211_WEXT