Crash with Wifi/BT module attached
#1
Hello,

my Pine doesn't boot as soon as I connect the Wifi/BT module.
Linux does a cold reboot when starting the kernel module for Wifi/BT (~15..20 after power on).

I tested different Images (Arch, Debian, Android) with different Pine A64 (1GB and 2GB).
Did I miss something or is the Wifi/BT module defective?


Thank you.
  Reply
#2
I have more or less the same problem: http://forum.pine64.org/showthread.php?t...68#pid9268
  Reply
#3
I'm somewhat disappointed about the PineA64 support, but maybe they are completely overstressed at the moment....
I wrote them a mail for this issue (and something missing from the order) about 1 month ago, but I never got an answer from them.
So I end up with an useless/defective Wifi/BT board and an incomplete acrylic case for now. Sad
  Reply
#4
I tried different SD cards and power supplies, too.

The attached logs were done with the debian-mate-jessie-20160501-lenny.raposo-longsleep-pine64-8GB.img image on an Samsung EVO+ 32GB µSD card.
Only power, the SD card and the serial console were connected to the Pina A64 1GB.

I attached the serial console logs without (OK.txt) and with (FAIL.txt) Wifi/BT module attached.


Attached Files
.txt   FAIL.txt (Size: 81.82 KB / Downloads: 142)
.txt   OK.txt (Size: 46.64 KB / Downloads: 40)
  Reply
#5
I attached another log - this time with fully updated u-boot, kernel and debian.


Attached Files
.txt   3.10.101-4-pine64-longsleep.txt (Size: 44.55 KB / Downloads: 36)
  Reply
#6
(06-05-2016, 05:32 PM)CHeitkamp Wrote: I tried different SD cards and power supplies, too.

The attached logs were done with the debian-mate-jessie-20160501-lenny.raposo-longsleep-pine64-8GB.img image on an Samsung EVO+ 32GB µSD card.
Only power, the SD card and the serial console were connected to the Pina A64 1GB.

I attached the serial console logs without (OK.txt) and with (FAIL.txt) Wifi/BT module attached.

Very first thing I'd do is update the kernel... you're running a very old version - 3.10.65-7-pine64-longsleep, when the current version is 3.10.101-4-pine64-longsleep, IIRC. You probably need up update uboot also. The easiest way to update these (if you have an ethernet connection you can use to get the pine64 on the internet) are:


Code:
sudo /usr/local/sbin/pine64_update_uboot.sh
sudo /usr/local/sbin/pine64_update_kernel.sh


and then reboot your pine64, and then try again. There is also a resize_rootfs.sh script in that folder you'll want to run if/when you do get the wifi working, as you'll only have access to 8GB of your 32GB card. 

Otherwise, try the up-to-date ubuntu image from this topic

Also, just a dumb question... you are plugging in the wifi/bt module before powering up the pine64, aren't you... not while it's starting up... just checking! 

If you still aren't getting any where, and longsleep doesn't have any tips or pointers... try and get hold tllim via a PM... seems to be more responsive that way at the moment. 
  Reply
#7
Hello pfeerick,

thanks for your tips.

In the meantime I got the help from Lukasz in the irc chat, but with the same result.
The uboot was already up-to-date and I posted another log with the most recent kernel,
a few minutes before your post.

About your not to dumb question:
I only (dis)connect the module, if the power cable is detached from the board.

I noticed 2 things about the wifi/bt module:
1. The APX803 gets quite warm, if the wifi/bt module is attached - usaly it stays cold
2. There are some un
populated smd parts on the wifi/bt module - is this intended?

Thank you,

Christoph
  Reply
#8
(06-05-2016, 07:37 PM)CHeitkamp Wrote: About your not too dumb question:

I only (dis)connect the module, if the power cable is detached from the board.

I noticed 2 things about the wifi/bt module:
1. The APX803 gets quite warm, if the wifi/bt module is attached - usaly it stays cold
2. There are some un
populated smd parts on the wifi/bt module - is this intended?

Thanks for that... had to ask! Wink

Ok, I was writing my reply when you posted that... so didn't see that till just now...

So, I can't comment on the APX803 atm, other than to say that with the module plugged it, it was certainly warm to touch, but I havn't run the pine64 without it, so don't know what different that makes to it's temperature in my case.

As far as populated components, on my module, there appear to be spaces for components (SMD resistors/capacitors) but not populated. Here is a pic of mine if that helps... which is working btw before you ask!  Big Grin

Pete
  Reply
#9
I just got my Board today (the 2gig Ram Variety) Downloaded the 5.1 Android DD (non-rooted) and plugged in the WIFI and same crap. Constant reboot, the board getting pretty toasty.. I am using my pi3 power supply. I can get things running but with this, doesn't seem like it's a software related issue at all since it reboots at the Pine64 screen and never even makes it to Lollipop...
  Reply
#10
(06-05-2016, 07:37 PM)CHeitkamp Wrote: 1. The APX803 gets quite warm, if the wifi/bt module is attached - usaly it stays cold

Further the APX803 being warm, I ran my pine64 for about 30 minutes without the wifi modules, powered it down, removed the module, waiting about five minutes for the temperatures to settle, and then ran it up again, with a couple other tests along the way. It would seem from the results that if the wifi module isn't really doing much, the AMX chip stays cool, if the wifi is active, it starts warming up a bit, but gets the hottest when the CPU is maxed out. 


All measurements taken at an ambient temperature of 22*C, and an input voltage of 5.2v. First three measurements are temperatures of the chips (taken with a IR temp sensor - probably not the most accurate one around, but passable for comparison stats), final measurement is the avg power consumption @ 5.2v. Measurements were taken around the end of each run. 

If you think the APX803 is getting hotter than say around 40*C at start up, or the power consumption of the pine64 is significantly more than 300-350ma whilst starting up, then I think there is something major wrong with the wifi board. 

no wifi module
APX = 35/36
CPU = 45
MEM = 31/32
pwr = ~245mA

wifi module connected
APX = 36/37
CPU = 45
MEM = 31/32
pwr = ~251mA (no SSH connected)
pwr = ~317mA (SSH terminal active)

wifi module connected - playing internet radio over headphones via wifi \w SSH terminal active
APX = 40
CPU = 46
MEM = 32
pwr = ~321-326mA 

wifi module connected - 5 mins stress (stress -c 4 -i 1 -m 1 -t 300)
APX = 52
CPU = 81/85
MEM = 41/42
pwr = ~680-720mA
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Better WiFi/BT module? fonix232 18 3,108 01-19-2020, 03:24 AM
Last Post: mikeb
  [split] Better WiFi/BT module? moriel5 1 276 01-19-2020, 03:20 AM
Last Post: mikeb
  Create a WiFi hotspot on Debian 8 JulianM 7 16,279 03-10-2019, 01:02 AM
Last Post: waqasnasir
  Schematics of Wifi/BT module gamelaster 7 1,083 09-11-2018, 02:02 PM
Last Post: gamelaster
  Wireless Module Driver Source code mido2018 0 238 08-08-2018, 04:26 PM
Last Post: mido2018
  Installing another WiFi module on one of the buses mido2018 1 318 07-22-2018, 07:15 AM
Last Post: tllim
  Unable to activate wifi on Linux smouton 10 4,302 02-21-2018, 09:56 PM
Last Post: dkebler
  Pine64 doesn't recognize Wifi/BT Module clobeca 3 974 07-13-2017, 08:58 PM
Last Post: MarkHaysHarris777
Sad wifi direct bj_jung 2 1,161 12-29-2016, 10:26 AM
Last Post: happytuna
  Enabling wifi c4tich 10 5,088 12-28-2016, 02:22 PM
Last Post: workaccountbro

Forum Jump:


Users browsing this thread: 1 Guest(s)