Dear all,
I recently perched a SINA33 from SINLINX after a week of test i download the Armbian source code that is very interesting and started to create an Armbian image for this board.
I created a csc file to start the building.
The compile is done and the image is created. I flash the image with the mainline kernel and worked.
If there is any interesting on this topic i will create another with the more details.
Now the problem is that i can't port the AP6210 wifi module that this board came with.
Here is the dts file sun8i-a33-sinlinx-sina33.dts with the wifi modifications
I'm not sure about the clock on dts file
clocks = <&rtc 1>;
clock-names = "ext_clock";
the error that i take
root@sinlinx:~# dmesg | grep brcm
[ 5.750408] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1
[ 6.822224] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[ 7.826234] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
also this
dmesg | grep 1c10000.mmc
[ 2.162351] sunxi-mmc 1c10000.mmc: Linked as a consumer to regulator.4
[ 2.664498] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[ 2.690138] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
root@sinlinx:/lib/firmware/brcm# lsmod
Module Size Used by
brcmfmac 159744 1
fuse 73728 3
zstd 16384 4
zram 24576 2
snd_soc_simple_card 16384 2
snd_soc_simple_card_utils 16384 1 snd_soc_simple_card
cdc_ether 16384 0
usbnet 24576 1 cdc_ether
evdev 20480 3
r8152 49152 0
axp20x_battery 16384 0
axp20x_usb_power 16384 0
axp20x_adc 16384 0
sun8i_codec_analog 24576 1
lima 40960 0
sun8i_adda_pr_regmap 16384 1 sun8i_codec_analog
gpu_sched 20480 1 lima
sun8i_codec 20480 1
sun4i_i2s 20480 2
ttm 57344 1 lima
snd_soc_core 114688 5 sun4i_i2s,sun8i_codec_analog,sun8i_codec,snd_soc_simple_card_utils,snd_soc_simple_card
snd_pcm_dmaengine 16384 1 snd_soc_core
sun4i_gpadc_iio 16384 0
snd_pcm 69632 4 sun4i_i2s,snd_pcm_dmaengine,sun8i_codec,snd_soc_core
snd_timer 24576 1 snd_pcm
industrialio 49152 4 axp20x_usb_power,axp20x_battery,sun4i_gpadc_iio,axp20x_adc
snd 45056 7 snd_timer,snd_soc_core,snd_pcm
soundcore 16384 1 snd
sun4i_lradc_keys 16384 0
sun4i_ss 24576 0
cpufreq_dt 16384 0
panel_simple 53248 0
uio_pdrv_genirq 16384 0
uio 16384 1 uio_pdrv_genirq
thermal_sys 57344 2 cpufreq_dt,sun4i_gpadc_iio
sch_fq_codel 20480 2
brcmutil 16384 1 brcmfmac
cfg80211 393216 1 brcmfmac
ip_tables 20480 0
x_tables 20480 1 ip_tables
uas 20480 0
pwrseq_simple 16384 1
Using a oscilloscope i saw that the clock at SDIO_DATA_CLK of the module is at 50Mhz and that correct.
The blob exist in the /lib/firmware/brcm
Attached phones from Inside the AP6210 module
Any ideas are thought are really appreciated.