• Disclaimer: This Vendor's Forum is a paid-for commercial area. Unlike the rest of diyAudio, the Vendor has complete control of what may or may not be posted in this forum. If you wish to discuss technical matters outside the bounds of what is permitted by the Vendor, please use the non-commercial areas of diyAudio to do so.

Support for Botic Linux driver

My current BBB running Botic4 (into ES9023 DAC) has some issues so I want to replace the hardware anyway.

My first impressions about Soundirok were not so positive (not as polished and easy to use as MPad) I want to test Regilian too.
Therefore I will need a newer version of Debian and MPD.

I will build the new system connected to a Soekris dam1121.
Still some work to do before I am up and running.
 
wifi module build?

Hi,
I'm trying to build wifi module for the botic kernel (4.8.13-botic7-rc3).
I have got USB WIFI AC 5GHz key with Realtek RTL8812AU chip. I would like to use it with BBB and botic.
Currently I use Debian buster and 4.8.13-botic7-rc3 kernel.
I need to build the RTL8812AU module/driver:
GitHub - zebulon2/rtl8812au: RTL8812AU/21AU Driver for Linux

So firstly I need to adjust 'makefile' to reflect the BBB architecture. I set:
Code:
CONFIG_PLATFORM_ARM_RPI = y
and
Code:
sudo ./dkms-install.sh
unfortunately I receive:
Code:
debian@beaglebone:/opt/rtl8812au$ sudo ./dkms-install.sh
About to run dkms install steps...
.gitattributes
.gitignore
Kconfig
Makefile
clean
core/
core/efuse/
core/efuse/rtw_efuse.c
core/rtw_ap.c
core/rtw_beamforming.c
core/rtw_br_ext.c
core/rtw_bt_mp.c
core/rtw_btcoex.c
core/rtw_cmd.c
core/rtw_debug.c
core/rtw_eeprom.c
core/rtw_ieee80211.c
core/rtw_io.c
core/rtw_ioctl_query.c
core/rtw_ioctl_rtl.c
core/rtw_ioctl_set.c
core/rtw_iol.c
core/rtw_mem.c
core/rtw_mi.c
core/rtw_mlme.c
core/rtw_mlme_ext.c
core/rtw_mp.c
core/rtw_mp_ioctl.c
core/rtw_odm.c
core/rtw_p2p.c
core/rtw_pwrctrl.c
core/rtw_recv.c
core/rtw_rf.c
core/rtw_sdio.c
core/rtw_security.c
core/rtw_sreset.c
core/rtw_sta_mgt.c
core/rtw_tdls.c
core/rtw_vht.c
core/rtw_wapi.c
core/rtw_wapi_sms4.c
core/rtw_wlan_util.c
core/rtw_xmit.c
dkms-install.sh
dkms-remove.sh
dkms.conf
hal/
hal/HalPwrSeqCmd.c
hal/btc/
hal/btc/HalBtc8188c2Ant.c
hal/btc/HalBtc8188c2Ant.h
hal/btc/HalBtc8192d2Ant.c
hal/btc/HalBtc8192d2Ant.h
hal/btc/HalBtc8192e1Ant.c
hal/btc/HalBtc8192e1Ant.h
hal/btc/HalBtc8192e2Ant.c
hal/btc/HalBtc8192e2Ant.h
hal/btc/HalBtc8703b1Ant.c
hal/btc/HalBtc8703b1Ant.h
hal/btc/HalBtc8703b2Ant.c
hal/btc/HalBtc8703b2Ant.h
hal/btc/HalBtc8723a1Ant.c
hal/btc/HalBtc8723a1Ant.h
hal/btc/HalBtc8723a2Ant.c
hal/btc/HalBtc8723a2Ant.h
hal/btc/HalBtc8723b1Ant.c
hal/btc/HalBtc8723b1Ant.h
hal/btc/HalBtc8723b2Ant.c
hal/btc/HalBtc8723b2Ant.h
hal/btc/HalBtc8812a1Ant.c
hal/btc/HalBtc8812a1Ant.h
hal/btc/HalBtc8812a2Ant.c
hal/btc/HalBtc8812a2Ant.h
hal/btc/HalBtc8821a1Ant.c
hal/btc/HalBtc8821a1Ant.h
hal/btc/HalBtc8821a2Ant.c
hal/btc/HalBtc8821a2Ant.h
hal/btc/HalBtc8821aCsr2Ant.c
hal/btc/HalBtc8821aCsr2Ant.h
hal/btc/HalBtc8822b1Ant.c
hal/btc/HalBtc8822b1Ant.h
hal/btc/HalBtcOutSrc.h
hal/btc/Mp_Precomp.h
hal/btc/halbtc8723d1ant.c
hal/btc/halbtc8723d1ant.h
hal/btc/halbtc8723d2ant.c
hal/btc/halbtc8723d2ant.h
hal/btc/halbtc8821c1ant.c
hal/btc/halbtc8821c1ant.h
hal/btc/halbtc8821c2ant.c
hal/btc/halbtc8821c2ant.h
hal/efuse/
hal/efuse/efuse_mask.h
hal/efuse/rtl8812a/
hal/efuse/rtl8812a/HalEfuseMask8812A_PCIE.c
hal/efuse/rtl8812a/HalEfuseMask8812A_PCIE.h
hal/efuse/rtl8812a/HalEfuseMask8812A_USB.c
hal/efuse/rtl8812a/HalEfuseMask8812A_USB.h
hal/efuse/rtl8812a/HalEfuseMask8821A_PCIE.c
hal/efuse/rtl8812a/HalEfuseMask8821A_PCIE.h
hal/efuse/rtl8812a/HalEfuseMask8821A_USB.c
hal/efuse/rtl8812a/HalEfuseMask8821A_USB.h
hal/hal_btcoex.c
hal/hal_com.c
hal/hal_com_c2h.h
hal/hal_com_phycfg.c
hal/hal_dm.c
hal/hal_dm.h
hal/hal_halmac.c
hal/hal_halmac.h
hal/hal_hci/
hal/hal_hci/hal_usb.c
hal/hal_intf.c
hal/hal_mcc.c
hal/hal_mp.c
hal/hal_phy.c
hal/led/
hal/led/hal_usb_led.c
hal/phydm/
hal/phydm/halhwimg.h
hal/phydm/halphyrf_ap.c
hal/phydm/halphyrf_ap.h
hal/phydm/halphyrf_ce.c
hal/phydm/halphyrf_ce.h
hal/phydm/halphyrf_win.c
hal/phydm/halphyrf_win.h
hal/phydm/mp_precomp.h
hal/phydm/phydm.c
hal/phydm/phydm.h
hal/phydm/phydm_acs.c
hal/phydm/phydm_acs.h
hal/phydm/phydm_adaptivity.c
hal/phydm/phydm_adaptivity.h
hal/phydm/phydm_adc_sampling.c
hal/phydm/phydm_adc_sampling.h
hal/phydm/phydm_antdect.c
hal/phydm/phydm_antdect.h
hal/phydm/phydm_antdiv.c
hal/phydm/phydm_antdiv.h
hal/phydm/phydm_beamforming.c
hal/phydm/phydm_beamforming.h
hal/phydm/phydm_ccx.c
hal/phydm/phydm_ccx.h
hal/phydm/phydm_cfotracking.c
hal/phydm/phydm_cfotracking.h
hal/phydm/phydm_debug.c
hal/phydm/phydm_debug.h
hal/phydm/phydm_dfs.c
hal/phydm/phydm_dfs.h
hal/phydm/phydm_dig.c
hal/phydm/phydm_dig.h
hal/phydm/phydm_dynamicbbpowersaving.c
hal/phydm/phydm_dynamicbbpowersaving.h
hal/phydm/phydm_dynamictxpower.c
hal/phydm/phydm_dynamictxpower.h
hal/phydm/phydm_edcaturbocheck.c
hal/phydm/phydm_edcaturbocheck.h
hal/phydm/phydm_features.h
hal/phydm/phydm_hwconfig.c
hal/phydm/phydm_hwconfig.h
hal/phydm/phydm_interface.c
hal/phydm/phydm_interface.h
hal/phydm/phydm_iqk.h
hal/phydm/phydm_kfree.c
hal/phydm/phydm_kfree.h
hal/phydm/phydm_noisemonitor.c
hal/phydm/phydm_noisemonitor.h
hal/phydm/phydm_pathdiv.c
hal/phydm/phydm_pathdiv.h
hal/phydm/phydm_powertracking_ap.c
hal/phydm/phydm_powertracking_ap.h
hal/phydm/phydm_powertracking_ce.c
hal/phydm/phydm_powertracking_ce.h
hal/phydm/phydm_powertracking_win.c
hal/phydm/phydm_powertracking_win.h
hal/phydm/phydm_pre_define.h
hal/phydm/phydm_precomp.h
hal/phydm/phydm_rainfo.c
hal/phydm/phydm_rainfo.h
hal/phydm/phydm_reg.h
hal/phydm/phydm_regdefine11ac.h
hal/phydm/phydm_regdefine11n.h
hal/phydm/phydm_rxhp.c
hal/phydm/phydm_rxhp.h
hal/phydm/phydm_types.h
hal/phydm/rtchnlplan.c
hal/phydm/rtchnlplan.h
hal/phydm/rtl8812a/
hal/phydm/rtl8812a/halhwimg8812a_bb.c
hal/phydm/rtl8812a/halhwimg8812a_bb.h
hal/phydm/rtl8812a/halhwimg8812a_fw.c
hal/phydm/rtl8812a/halhwimg8812a_fw.h
hal/phydm/rtl8812a/halhwimg8812a_mac.c
hal/phydm/rtl8812a/halhwimg8812a_mac.h
hal/phydm/rtl8812a/halhwimg8812a_rf.c
hal/phydm/rtl8812a/halhwimg8812a_rf.h
hal/phydm/rtl8812a/halphyrf_8812a_ap.c
hal/phydm/rtl8812a/halphyrf_8812a_ap.h
hal/phydm/rtl8812a/halphyrf_8812a_ce.c
hal/phydm/rtl8812a/halphyrf_8812a_ce.h
hal/phydm/rtl8812a/halphyrf_8812a_win.c
hal/phydm/rtl8812a/halphyrf_8812a_win.h
hal/phydm/rtl8812a/phydm_regconfig8812a.c
hal/phydm/rtl8812a/phydm_regconfig8812a.h
hal/phydm/rtl8812a/phydm_rtl8812a.c
hal/phydm/rtl8812a/phydm_rtl8812a.h
hal/phydm/rtl8812a/version_rtl8812a.h
hal/phydm/rtl8821a/
hal/phydm/rtl8821a/halhwimg8821a_bb.c
hal/phydm/rtl8821a/halhwimg8821a_bb.h
hal/phydm/rtl8821a/halhwimg8821a_fw.c
hal/phydm/rtl8821a/halhwimg8821a_fw.h
hal/phydm/rtl8821a/halhwimg8821a_mac.c
hal/phydm/rtl8821a/halhwimg8821a_mac.h
hal/phydm/rtl8821a/halhwimg8821a_rf.c
hal/phydm/rtl8821a/halhwimg8821a_rf.h
hal/phydm/rtl8821a/halphyrf_8821a_ce.c
hal/phydm/rtl8821a/halphyrf_8821a_ce.h
hal/phydm/rtl8821a/halphyrf_8821a_win.c
hal/phydm/rtl8821a/halphyrf_8821a_win.h
hal/phydm/rtl8821a/phydm_iqk_8821a_ap.c
hal/phydm/rtl8821a/phydm_iqk_8821a_ap.h
hal/phydm/rtl8821a/phydm_iqk_8821a_ce.c
hal/phydm/rtl8821a/phydm_iqk_8821a_ce.h
hal/phydm/rtl8821a/phydm_iqk_8821a_win.c
hal/phydm/rtl8821a/phydm_iqk_8821a_win.h
hal/phydm/rtl8821a/phydm_regconfig8821a.c
hal/phydm/rtl8821a/phydm_regconfig8821a.h
hal/phydm/rtl8821a/phydm_rtl8821a.c
hal/phydm/rtl8821a/phydm_rtl8821a.h
hal/phydm/rtl8821a/version_rtl8821a.h
hal/phydm/txbf/
hal/phydm/txbf/halcomtxbf.c
hal/phydm/txbf/halcomtxbf.h
hal/phydm/txbf/haltxbf8192e.c
hal/phydm/txbf/haltxbf8192e.h
hal/phydm/txbf/haltxbf8814a.c
hal/phydm/txbf/haltxbf8814a.h
hal/phydm/txbf/haltxbf8821b.c
hal/phydm/txbf/haltxbf8821b.h
hal/phydm/txbf/haltxbf8822b.c
hal/phydm/txbf/haltxbf8822b.h
hal/phydm/txbf/haltxbfinterface.c
hal/phydm/txbf/haltxbfinterface.h
hal/phydm/txbf/haltxbfjaguar.c
hal/phydm/txbf/haltxbfjaguar.h
hal/phydm/txbf/phydm_hal_txbf_api.c
hal/phydm/txbf/phydm_hal_txbf_api.h
hal/rtl8812a/
hal/rtl8812a/Hal8812PwrSeq.c
hal/rtl8812a/Hal8821APwrSeq.c
hal/rtl8812a/hal8812a_fw.c
hal/rtl8812a/hal8812a_fw.h
hal/rtl8812a/hal8821a_fw.c
hal/rtl8812a/hal8821a_fw.h
hal/rtl8812a/rtl8812a_cmd.c
hal/rtl8812a/rtl8812a_dm.c
hal/rtl8812a/rtl8812a_hal_init.c
hal/rtl8812a/rtl8812a_phycfg.c
hal/rtl8812a/rtl8812a_rf6052.c
hal/rtl8812a/rtl8812a_rxdesc.c
hal/rtl8812a/rtl8812a_sreset.c
hal/rtl8812a/rtl8812a_xmit.c
hal/rtl8812a/usb/
hal/rtl8812a/usb/rtl8812au_led.c
hal/rtl8812a/usb/rtl8812au_recv.c
hal/rtl8812a/usb/rtl8812au_xmit.c
hal/rtl8812a/usb/usb_halinit.c
hal/rtl8812a/usb/usb_ops_linux.c
ifcfg-wlan0
include/
include/Hal8188EPhyCfg.h
include/Hal8188EPhyReg.h
include/Hal8188EPwrSeq.h
include/Hal8188FPhyCfg.h
include/Hal8188FPhyReg.h
include/Hal8188FPwrSeq.h
include/Hal8192EPhyCfg.h
include/Hal8192EPhyReg.h
include/Hal8192EPwrSeq.h
include/Hal8703BPhyCfg.h
include/Hal8703BPhyReg.h
include/Hal8703BPwrSeq.h
include/Hal8723BPhyCfg.h
include/Hal8723BPhyReg.h
include/Hal8723BPwrSeq.h
include/Hal8723DPhyCfg.h
include/Hal8723DPhyReg.h
include/Hal8723DPwrSeq.h
include/Hal8723PwrSeq.h
include/Hal8812PhyCfg.h
include/Hal8812PhyReg.h
include/Hal8812PwrSeq.h
include/Hal8814PhyCfg.h
include/Hal8814PhyReg.h
include/Hal8814PwrSeq.h
include/Hal8821APwrSeq.h
include/HalPwrSeqCmd.h
include/HalVerDef.h
include/autoconf.h
include/basic_types.h
include/byteorder/
include/byteorder/big_endian.h
include/byteorder/generic.h
include/byteorder/little_endian.h
include/byteorder/swab.h
include/byteorder/swabb.h
include/circ_buf.h
include/cmd_osdep.h
include/custom_gpio.h
include/drv_conf.h
include/drv_types.h
include/drv_types_ce.h
include/drv_types_gspi.h
include/drv_types_linux.h
include/drv_types_pci.h
include/drv_types_sdio.h
include/drv_types_xp.h
include/ethernet.h
include/gspi_hal.h
include/gspi_ops.h
include/gspi_ops_linux.h
include/gspi_osintf.h
include/h2clbk.h
include/hal_btcoex.h
include/hal_com.h
include/hal_com_h2c.h
include/hal_com_led.h
include/hal_com_phycfg.h
include/hal_com_reg.h
include/hal_data.h
include/hal_data.h.edited
include/hal_gspi.h
include/hal_ic_cfg.h
include/hal_intf.h
include/hal_pg.h
include/hal_phy.h
include/hal_phy_reg.h
include/hal_sdio.h
include/ieee80211.h
include/ieee80211_ext.h
include/if_ether.h
include/ip.h
include/linux/
include/linux/wireless.h
include/mlme_osdep.h
include/mp_custom_oid.h
include/nic_spec.h
include/osdep_intf.h
include/osdep_service.h
include/osdep_service_bsd.h
include/osdep_service_ce.h
include/osdep_service_linux.h
include/osdep_service_xp.h
include/pci_hal.h
include/pci_ops.h
include/pci_osintf.h
include/recv_osdep.h
include/rtl8188e_cmd.h
include/rtl8188e_dm.h
include/rtl8188e_hal.h
include/rtl8188e_led.h
include/rtl8188e_recv.h
include/rtl8188e_rf.h
include/rtl8188e_spec.h
include/rtl8188e_sreset.h
include/rtl8188e_xmit.h
include/rtl8188f_cmd.h
include/rtl8188f_dm.h
include/rtl8188f_hal.h
include/rtl8188f_led.h
include/rtl8188f_recv.h
include/rtl8188f_rf.h
include/rtl8188f_spec.h
include/rtl8188f_sreset.h
include/rtl8188f_xmit.h
include/rtl8192e_cmd.h
include/rtl8192e_dm.h
include/rtl8192e_hal.h
include/rtl8192e_led.h
include/rtl8192e_recv.h
include/rtl8192e_rf.h
include/rtl8192e_spec.h
include/rtl8192e_sreset.h
include/rtl8192e_xmit.h
include/rtl8703b_cmd.h
include/rtl8703b_dm.h
include/rtl8703b_hal.h
include/rtl8703b_led.h
include/rtl8703b_recv.h
include/rtl8703b_rf.h
include/rtl8703b_spec.h
include/rtl8703b_sreset.h
include/rtl8703b_xmit.h
include/rtl8723b_cmd.h
include/rtl8723b_dm.h
include/rtl8723b_hal.h
include/rtl8723b_led.h
include/rtl8723b_recv.h
include/rtl8723b_rf.h
include/rtl8723b_spec.h
include/rtl8723b_sreset.h
include/rtl8723b_xmit.h
include/rtl8723d_cmd.h
include/rtl8723d_dm.h
include/rtl8723d_hal.h
include/rtl8723d_led.h
include/rtl8723d_lps_poff.h
include/rtl8723d_recv.h
include/rtl8723d_rf.h
include/rtl8723d_spec.h
include/rtl8723d_sreset.h
include/rtl8723d_xmit.h
include/rtl8812a_cmd.h
include/rtl8812a_dm.h
include/rtl8812a_hal.h
include/rtl8812a_led.h
include/rtl8812a_recv.h
include/rtl8812a_rf.h
include/rtl8812a_spec.h
include/rtl8812a_sreset.h
include/rtl8812a_xmit.h
include/rtl8814a_cmd.h
include/rtl8814a_dm.h
include/rtl8814a_hal.h
include/rtl8814a_led.h
include/rtl8814a_recv.h
include/rtl8814a_rf.h
include/rtl8814a_spec.h
include/rtl8814a_sreset.h
include/rtl8814a_xmit.h
include/rtl8821a_spec.h
include/rtl8821a_xmit.h
include/rtl8821c_hal.h
include/rtl8821c_spec.h
include/rtl8821cs_hal.h
include/rtl8821cu_hal.h
include/rtl8822b_hal.h
include/rtl8822be_hal.h
include/rtl8822bs_hal.h
include/rtl8822bu_hal.h
include/rtw_android.h
include/rtw_ap.h
include/rtw_beamforming.h
include/rtw_br_ext.h
include/rtw_bt_mp.h
include/rtw_btcoex.h
include/rtw_byteorder.h
include/rtw_cmd.h
include/rtw_debug.h
include/rtw_eeprom.h
include/rtw_efuse.h
include/rtw_event.h
include/rtw_ht.h
include/rtw_io.h
include/rtw_ioctl.h
include/rtw_ioctl_query.h
include/rtw_ioctl_rtl.h
include/rtw_ioctl_set.h
include/rtw_iol.h
include/rtw_mcc.h
include/rtw_mem.h
include/rtw_mi.h
include/rtw_mlme.h
include/rtw_mlme_ext.h
include/rtw_mp.h
include/rtw_mp_ioctl.h
include/rtw_mp_phy_regdef.h
include/rtw_odm.h
include/rtw_p2p.h
include/rtw_pwrctrl.h
include/rtw_qos.h
include/rtw_recv.h
include/rtw_rf.h
include/rtw_sdio.h
include/rtw_security.h
include/rtw_sreset.h
include/rtw_tdls.h
include/rtw_version.h
include/rtw_vht.h
include/rtw_wapi.h
include/rtw_wifi_regd.h
include/rtw_xmit.h
include/sdio_hal.h
include/sdio_ops.h
include/sdio_ops_ce.h
include/sdio_ops_linux.h
include/sdio_ops_xp.h
include/sdio_osintf.h
include/sta_info.h
include/usb_hal.h
include/usb_ops.h
include/usb_ops_linux.h
include/usb_osintf.h
include/usb_vendor_req.h
include/wifi.h
include/wlan_bssdef.h
include/xmit_osdep.h
os_dep/
os_dep/linux/
os_dep/linux/custom_gpio_linux.c
os_dep/linux/ioctl_cfg80211.c
os_dep/linux/ioctl_cfg80211.h
os_dep/linux/ioctl_linux.c
os_dep/linux/ioctl_mp.c
os_dep/linux/mlme_linux.c
os_dep/linux/os_intfs.c
os_dep/linux/recv_linux.c
os_dep/linux/rtw_android.c
os_dep/linux/rtw_cfgvendor.c
os_dep/linux/rtw_cfgvendor.h
os_dep/linux/rtw_proc.c
os_dep/linux/rtw_proc.h
os_dep/linux/rtw_radiotap.c
os_dep/linux/usb_intf.c
os_dep/linux/usb_ops_linux.c
os_dep/linux/wifi_regd.c
os_dep/linux/xmit_linux.c
os_dep/osdep_service.c
platform/
platform/custom_country_chplan.h
platform/platform_ARM_SUN50IW1P1_sdio.c
platform/platform_ARM_SUNnI_sdio.c
platform/platform_ARM_SUNxI_sdio.c
platform/platform_ARM_SUNxI_usb.c
platform/platform_ARM_WMT_sdio.c
platform/platform_RTK_DMP_usb.c
platform/platform_arm_act_sdio.c
platform/platform_ops.c
platform/platform_ops.h
platform/platform_sprd_sdio.c
runwpa
wlan0dhcp

Building module:
cleaning build area...
KVER=4.8.13-botic7-rc3 KSRC=/lib/modules/4.8.13-botic7-rc3/build make -j4....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.8.13-botic7-rc3 (armv7l)
Consult /var/lib/dkms/rtl8812au/5.1.5/build/make.log for more information.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
KVER=4.8.13-botic7-rc3 KSRC=/lib/modules/4.8.13-botic7-rc3/build make -j4....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.8.13-botic7-rc3 (armv7l)
Consult /var/lib/dkms/rtl8812au/5.1.5/build/make.log for more information.
Finished running dkms install steps.
debian@beaglebone:/opt/rtl8812au$ logout
and
/var/lib/dkms/rtl8812au/5.1.5/build/make.log:
Code:
DKMS make.log for rtl8812au-5.1.5 for kernel 4.8.13-botic7-rc3 (armv7l)
Thu Aug 22 17:48:24 CEST 2019
make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/4.8.13-botic7-rc3/build M=/var/lib/dkms/rtl8812au/5.1.5/build  modules
make[1]: Entering directory '/usr/src/linux-headers-4.8.13-botic7-rc3'
Makefile:621: arch/armv7l/Makefile: No such file or directory
make[1]: *** No rule to make target 'arch/armv7l/Makefile'.  Stop.
make[1]: Leaving directory '/usr/src/linux-headers-4.8.13-botic7-rc3'
make: *** [Makefile:1870: modules] Error 2
What should I do to move on?
Thanks and regards
 
Your header files do not have the necessary files to build armv7l so you need to see what the reported architecture is with uname -a and then adjust the module makefile to reflect that for the BBB.

Thanks,
I use:
Code:
debian@beaglebone:~$ uname -a
Linux beaglebone 4.8.13-botic7-rc3 #1 PREEMPT Sat Dec 10 01:35:51 CET 2016 armv7l GNU/Linux
and link to makefile from Git is below:
rtl8812au/Makefile at v5.1.5 * zebulon2/rtl8812au * GitHub

Of course I replaced:
Code:
CONFIG_PLATFORM_I386_PC = y
with:
CONFIG_PLATFORM_I386_PC = n
and
Code:
CONFIG_PLATFORM_ARM_RPI = n
with:
CONFIG_PLATFORM_ARM_RPI = y
What else should I udjust?
 
Try editing dkms.conf and add ARCH=arm to the MAKE[0] line.

I try something different.
I created new directory:
Code:
/usr/src/linux-headers-4.8.13-botic7-rc3/arch/armv7l
and made symlink:
Code:
sudo ln -s /usr/src/linux-headers-4.8.13-botic7-rc3/arch/arm/* /usr/src/linux-headers-4.8.13-botic7-rc3/arch/armv7l
and the build process moved on. But after about minute I received error:
/var/lib/dkms/rtl8812au/5.1.5/build/make.log
Code:
DKMS make.log for rtl8812au-5.1.5 for kernel 4.8.13-botic7-rc3 (armv7l)
Fri Aug 23 13:10:43 CEST 2019
make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/4.8.13-botic7-rc3/build M=/var/lib/dkms/rtl8812au/5.1.5/build  modules
make[1]: Entering directory '/usr/src/linux-headers-4.8.13-botic7-rc3'
  CC [M]  /var/lib/dkms/rtl8812au/5.1.5/build/core/rtw_cmd.o
  CC [M]  /var/lib/dkms/rtl8812au/5.1.5/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/rtl8812au/5.1.5/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/rtl8812au/5.1.5/build/core/rtw_io.o
In file included from ./include/linux/kernel.h:11,
                 from ./include/linux/list.h:8,
                 from ./include/linux/module.h:9,
                 from /var/lib/dkms/rtl8812au/5.1.5/build/include/basic_types.h:81,
                 from /var/lib/dkms/rtl8812au/5.1.5/build/include/drv_types.h:31,
                 from /var/lib/dkms/rtl8812au/5.1.5/build/core/rtw_cmd.c:22:
./include/linux/log2.h:22:1: warning: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Wattributes]
 int ____ilog2_NaN(void);
 ^~~
In file included from ./include/linux/kernel.h:11,
                 from ./include/linux/list.h:8,
                 from ./include/linux/module.h:9,
                 from /var/lib/dkms/rtl8812au/5.1.5/build/include/basic_types.h:81,
                 from /var/lib/dkms/rtl8812au/5.1.5/build/include/drv_types.h:31,
                 from /var/lib/dkms/rtl8812au/5.1.5/build/core/rtw_security.c:22:
./include/linux/log2.h:22:1: warning: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Wattributes]
 int ____ilog2_NaN(void);
 ^~~
In file included from ./include/linux/kernel.h:11,
                 from ./include/linux/list.h:8,
                 from ./include/linux/module.h:9,
                 from /var/lib/dkms/rtl8812au/5.1.5/build/include/basic_types.h:81,
                 from /var/lib/dkms/rtl8812au/5.1.5/build/include/drv_types.h:31,
                 from /var/lib/dkms/rtl8812au/5.1.5/build/core/rtw_debug.c:22:
./include/linux/log2.h:22:1: warning: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Wattributes]
 int ____ilog2_NaN(void);
 ^~~
In file included from ./include/linux/kernel.h:11,
                 from ./include/linux/list.h:8,
                 from ./include/linux/module.h:9,
                 from /var/lib/dkms/rtl8812au/5.1.5/build/include/basic_types.h:81,
                 from /var/lib/dkms/rtl8812au/5.1.5/build/include/drv_types.h:31,
                 from /var/lib/dkms/rtl8812au/5.1.5/build/core/rtw_io.c:52:
./include/linux/log2.h:22:1: warning: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Wattributes]
 int ____ilog2_NaN(void);
 ^~~
/bin/sh: 1: scripts/basic/fixdep: not found
make[2]: *** [scripts/Makefile.build:289: /var/lib/dkms/rtl8812au/5.1.5/build/core/rtw_io.o] Error 127
make[2]: *** Waiting for unfinished jobs....
/bin/sh: 1: scripts/basic/fixdep: not found
make[2]: *** [scripts/Makefile.build:289: /var/lib/dkms/rtl8812au/5.1.5/build/core/rtw_cmd.o] Error 127
/bin/sh: 1: scripts/basic/fixdep: not found
make[2]: *** [scripts/Makefile.build:289: /var/lib/dkms/rtl8812au/5.1.5/build/core/rtw_security.o] Error 127
/bin/sh: 1: scripts/basic/fixdep: not found
make[2]: *** [scripts/Makefile.build:289: /var/lib/dkms/rtl8812au/5.1.5/build/core/rtw_debug.o] Error 127
make[1]: *** [Makefile:1473: _module_/var/lib/dkms/rtl8812au/5.1.5/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.8.13-botic7-rc3'
make: *** [Makefile:1870: modules] Error 2
Unfortunately there is no: ..scripts/basic/fixdep in my system.
What could I do?
 

Thank you again for your support here (August, 9th) to get your image working.

I had multiple issues and after some testing I relaised what went wrong.

First of all my drive mount (mount -a) was not maintained after reboot.
I managed to fix this.

Due to my very limited Linux knowledge it took me some time to realise that the command "mpc play" only gives a result if MPD is playing a song which I could nog manage in the beginning.

The only final persistent problem is that I have troubles getting MPD to work after reboot.

Many times I have to run the following commands again to get it running:
systemctl stop mpd.service
systemctl daemon-reload
systemctl start mpd.service

I already edited /lib/systemd/system/mpd.service (replaced $MPDCONF with /etc/mpd.conf)

Then I test MPD by "systemctl status mpd.service" to see if it gives no errors, then the system works as expected.

Are there some debugging commands I can try when I get errors at "systemctl status mpd.service" ?
 
First of all my drive mount (mount -a) was not maintained after reboot.
I managed to fix this.
If mount -a after each reboot is somewhat annoying, you can automatically launch this command using /etc/rc.local. As the recent debian system including my image does not originally support this function, you have to make it enable. The method is well written in this URL.

-snip-
Then I test MPD by "systemctl status mpd.service" to see if it gives no errors, then the system works as expected.
Your approach is correct. The MPD does not automatically start after booting. If the original contents in the /root directory are mostly remaining, you can find "on", "off" and "stat" scripts there, which are executable. If you want to start MPD, just send ./on and then ./stat for checking status. Then you can start mpc play. If you want to stop MPD, just send ./off.

Are there some debugging commands I can try when I get errors at "systemctl status mpd.service" ?
I don't know such commands but the bottom lines in systemctl status mpd.service will always give you such hints.

Regards,
 
Thank you again for your support here (August, 9th) to get your image working.

I had multiple issues and after some testing I relaised what went wrong.

First of all my drive mount (mount -a) was not maintained after reboot.
I managed to fix this.

Due to my very limited Linux knowledge it took me some time to realise that the command "mpc play" only gives a result if MPD is playing a song which I could nog manage in the beginning.

The only final persistent problem is that I have troubles getting MPD to work after reboot.

Many times I have to run the following commands again to get it running:
systemctl stop mpd.service
systemctl daemon-reload
systemctl start mpd.service

I already edited /lib/systemd/system/mpd.service (replaced $MPDCONF with /etc/mpd.conf)

Then I test MPD by "systemctl status mpd.service" to see if it gives no errors, then the system works as expected.

Are there some debugging commands I can try when I get errors at "systemctl status mpd.service" ?

i had the same issue with running mpd. and the mdp database could not get updated properly as well. the solution was to re-install mpd. after that everything is working fine!

just do:
apt-get remove mpd
apt-get install mpd

my only issue is that the wlan connection is unstable and getting interrupted regularly . but this seems to be a known issue with debian in general.

thanks a lot again to twluke for the image!
 
Found the cause of the major problem with buffer underruns in case more serializers were enabled: Apparently a code change in mcasp caused unused serializers not to be explicitly de-activated anymore which does not really work for our purposes.

Reversing this and applying another minor patch based on miero's initial patch set for the botic driver I am now able to get also DSD working and sample rates up to 384khz.

The updated driver based on linux-4.19 should work with the following (only stereo playback tested on my side though):
  • Standard I2S playback (up to 384khz on 8 channels)
  • DSD playback (up to 4 channels tested only with DSD64 so far (I do not have any other DSD files))
  • I2C control of an ES9018 DAC using sabre32 codec (use the botic codec for generic I2S DAC)

Since I do not need or use it I did not care to maintain the code for the record / SPDIF configuration: This updated driver only works in I2S / DSD mode and the serconfig parameter is not parsed anymore. In addition, my clocks are 45158400 and 49152000 so this is how the driver is configured per default (the usual module parameters can be used to overwrite this).

I have created a github repository and instructions are provided there if anyone wants to try this: GitHub - coroner21/linux-am33xbot: Arch Linux ARM Kernel with botic patches

I installed Arch Linux on my BBB and would like to build patched Botic kernel.
After cloning the repository when I start with:
Code:
makepkg -A
I receive an error:
Code:
/bin/sh: arm-linux-gnueabihf-gcc: command not found
Do I really need recompiller on armv7l (BBB) machine?
It would be nice to have a new fresh image of Arch with Botic patched kernel.
 
Last edited:
/source/boticize/01-addrepos.sh , /source/boticize/02-install.sh

hi miero,

i have been trying to re-install my volumio1.5BBB again. during the boticizing according to your old instructions, which always worked very fine for me in the past, i am getting now messages that many links can not be found anymore during executing the boticize scripts :-(
(please see the scripts
/source/boticize/01-addrepos.sh
/source/boticize/02-install.sh
/source/boticize/03-enablepm.sh )

any chance to update the scripts or any suggestions please? thanks a lot for you support !

best regards