RE: PICO-PI-IMX7 and Siging In/Um?


#156

Yes Sir,

Noted. Thank you. Oh and sir, should I have the entire AP6212_4.2.tgz package installed on the PICO board?

Seth

P.S. Just for reference, I got the package AP6212_4.2.tgz. I used scp to get the files (nvram… and fw_brcm434…) to the PICO board. I then changed the names to those files to suit what you described. I placed them in the correct dir, i.e. /lib/firmware/brcm/. I rebooted the board. Nothing yet. Of course, the board has a Ethernet cable plugged into it b/c the Ethernet cable must be plugged in to ssh into the board.


#157

@RobertCNelson,

Sir…did you get a chance to look around in the files I listed? If so, did you get around to getting WiFi to work? If not, that is okay. I will keep trying to get WiFi up and running w/out trying to rebuild the kernel.

Seth

P.S. I tested some of the files so far. Like you, I am guessing so far as to what needs to go where in the file hierarchy. Anyway, I will test more as time passes. If you get time, please give some sort of an update.


#158

It doesn’t work for me either:

debian@arm:~$ dmesg | grep brcm
[   12.908853] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4339-sdio for chip BCM4339/2
[   14.957270] usbcore: registered new interface driver brcmfmac
[   14.995554] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac4339-sdio.bin failed with error -2
[   16.043622] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
wget https://github.com/rcn-ee/sdk-firmware/raw/master/technexion/Broadcom/AP6212_4.2/Wi-Fi/fw_bcm43438a0.bin
wget https://github.com/rcn-ee/sdk-firmware/raw/master/technexion/Broadcom/AP6212_4.2/Wi-Fi/nvram_ap6212.txt

cp -v w_bcm43438a0.bin brcmfmac4339-sdio.bin
cp -v nvram_ap6212.txt brcmfmac4339-sdio.txt

Will keep looking into it.

Regards,


#159

@RobertCNelson,

Hello sir…I think I figured out the issue. I have an AP6335 on this board for some reason. I am about to test it out.

Seth

P.S. I tried to execute the two .bin files in the /lib/firmware/brcm/ dir. but nothing. I am receiving errors. I did get the .txt file in that same dir. No WiFi yet.


#160

Hello Again Sir,

This is my error when trying to execute the files:

sudo ./brcmfmac4339-sdio.bin
./brcmfmac4339-sdio.bin: 1: ./brcmfmac4339-sdio.bin: Syntax error: "(" unexpected

Then…

I take away permissions via chmod w/ the -x option. Now, they are both regular, non-executable .bin files in /lib/firmware/brcm/ dir. I tried both .bin files for my WiFi chip as you had listed w/ cp -v …

sudo cp -v fw_xxx.xxx.xxx.bin brcmfmac4339-sdio.bin

and

sudo cp -v nvram_xxxxx.txt brcmfmac4339-sdio.txt

So, w/ that idea given, I tried both .bin files as the brcmfmac4339-sdio.bin file. Neither worked yet.

I know we are coming up on the weekend and today is already Fri. night. So, no issue if you do not get to it until whenever. I just wanted to update you.

Seth

P.S. I will look up more info. on the WiFi chip as time passes.


#161

Hello Sir,

I am about to try to install ifconfig and iwconfig and dhclient. I will let you know how things go. I have been unable to get WiFi by any other means.

I have actually been trying to sign in on WiFi via connmanctl. Oh and I cannot sign in any longer. I have not been near the board for about three days. I turned on my desktop computer and tried to ssh in via ssh debian@xxx.xxx.x.xx and it says:

ssh: connect to host 192.xxx.x.xx port 22: No route to host

Seth

P.S. I will keep trying. If you ever have extra time, please relay some info.


#162

Sir,

Since I cannot sign in any longer, I am just going to start from scratch unless you have other ideas.

Seth

P.S. I will wait a couple of days or a week until I decide to use u-boot and CC the kernel. Oh and when I CC the kernel, where in there should I add the related files or do I need to make a patch? As you are aware, I am unfamiliar w/ this step/steps. Please send guidance if you can find a couple extra “hours.”


#163

Your PICO’s ip address probably changed, check your dhcp server.

Regards,


#164

Sir,

As usual, you are correct.

Seth

P.S. Thank you for repeating yourself.


#165

Sir,

I am signed in again. Thank you once more. Besides that bunch circumstances, I cannot get the board to accept WiFi yet. I never did hear from that distributor that gave me the e-mail w/ the link in it.

Seth

P.S. Can I sign into WiFi while having a Ethernet cable plugged in? I am in the group of DEFAULT for eth0. Should this be any reason why WiFi cannot be reached. connmanctl does not find a WiFi address I can put in connect. Sir, I understand that this may be a position of employment for you. I am not trying to bother you. If it is okay w/ your people on your side, you can say what you want, say whatever it is that is holding back this discussion. Are you regulatory guidelines keeping you from doing specific tasks?


#166

Hello Sir,

Sorry for all this accusatory allegation crud. Anyway, I got into setting up:

ip addr & ip link

This is b/c I found an odd address w/ one of my commands. I thought, “Why not?” So, I typed the address in to the set up config. for the many options that come along w/ the ip addr. No go, so far.

Anyway…

So, the link did not work under connmanctl, so far.

I am plugging away at it. Oh and sir, the files from that link I shared w/ the specific WiFi and BT modules had a couple of .bin files in it that I thought I should run in my /brcm/ dir. and I did. I got errors of course.

So, should I take away write permissions to those two .bin files. Aw hell. I have not clue right now.

Seth

P.S. Update whenever you find out anything. I will keep it up.


#167

WiFi still doesn’t work…

No those are binary files that are “loaded” by the kernel into memory and placed into the WiFI module … They aren’t not meant to be run…

Currently the issue i see is:

debian@arm:~$ dmesg | grep brcm
[   12.908853] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4339-sdio for chip BCM4339/2
[   14.957270] usbcore: registered new interface driver brcmfmac
[   14.995554] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac4339-sdio.bin failed with error -2
[   16.043622] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

Which means the firmware is not being correctly loaded…

Regards,


#168

Sir,

Thank you for the update. I misunderstood the last time you posted this info.

Still on it!

Seth

P.S. I will stay patient this time and I will keep searching.


#169

Sir,

I am not receiving any output on my terminal screen when the cmd dmesg | grep brcm is put forth.

Oh and sir, you will need a 2.4Ghz antenna to use the WiFi chip, I am pretty sure. We may need both BT and WIFI to work for one of them to work. Who knows?

Seth


#170

Yeap, i’ve got an antenna installed.

Regards,


#171

Hello Sir,

@RobertCNelson:

See here: https://wikidevi.com/wiki/AMPAK. My device is listed as early as kernel 3.10+. I think I will try 4335 instead of 4339. Would this even make sense? What if I try to add the files as UART instead of SDIO?

I have not received WiFi access yet.

Where did you find that info. about the need for brcmfmac4339-sdio.txt and .bin or whatever in the /lib/firmware/brcm/ dir?

Seth

P.S. I apologize for this headache. I am out of ideas. That is all. I see the schematic states AP6212 is the chip for WIFI/BT but I have a AP6335. Do you think this would make a difference? Page 16 on this .pdf shows the pins of the chip (supposedly): http://www.t-firefly.com/download/firefly-rk3288/hardware/AP6335%20datasheet_V1.3_02102014.pdf. If that site is risky on your end, I will find another site. I do not even think that this chip is a broadcom chip at all.


#172

Okay Sir,

@RobertCNelson: As far as I can tell, ARM chips on the Linux side is not supportive of this WiFi/BT chip (AP6335). I am pretty sure.

I just ran through some of the /arch/arm/ directories to look around to find if ARM supports these WiFi chips on github under torvalds/linux.

Seth

P.S. The Taiwan side of things states that prior to 2015, Broadcom was owned by Broadcom but that they were bought out by some co. and renamed Broadcom Ltd. Anyway…I might have to go to the ARM community to find answers. I will keep you updated. Do you think I should have installed rfkill at all?


#173

Sir,

I do not have modprobe installed on my machine or I just do not know how to utilize it yet. Either way, I found this idea: https://wiki.debian.org/brcm80211#supported.

I was probably wrong or I need to type up my own driver. I see that thing are supported or not supported on different pages online. It is hard to guess. I will keep testing.

Oh and sir, if you know how I can get modprobe on this machine, please reply. I will try to look this up in time.

Seth

P.S. I also found some interesting info. about older models of the software that may still be on the computer (debian@arm)/PICO-PI. Noted here, I have many different variations of software for other chips available on my machine. Do you think I should erase them? Then, I could try just “barebones” and start from scratch w/ what is listed —> AP6335 = brcmfmac = BCM4335/BCM4339. What do you think?


#174

Sir,

I am up to my old tricks again. Here, https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware.git, is where I figured I could get some firmware for Linux.

I know I may have typed out a lot so far. Please, if you can find time, read the info. and try to reply to any of it. I would kindly appreciate it.

Seth

P.S. I might need to run the CC of the kernel again if I get this info. cloned. I have not found another option. I found the packages.debian.org site and I see you already made the firmware available to this board for brcmfmac .bin files and .pci files.


#175

Hello Sir,

@RobertCNelson…did you ever get any info. back from the Wandboard People? I contacted them. They huffed and puffed and blew me away. I think they are not particularly nice about the users in their community online (forums and/or their website).

Anyway, I have been unsuccessful so far (still).

Seth

P.S. If anything works ever, I will contact you again. If things are driving me batty again, I will reply again.