Jump to content

Recommended Posts

Posted
  On 12/28/2016 at 11:28 PM, martinayotte said:

Do you have any ideas why I'm unable to make it working ?

 

Can you post the full dmesg up to where the mmc errors start happening. Also the contents of /proc/interrupts

Posted

Hi dgp,

 

Here is the relevant fragment of the log :

 

  Reveal hidden contents

 

 

... and here is the /proc/interrupts

 

  Reveal hidden contents

 

Posted
  On 12/29/2016 at 4:12 AM, martinayotte said:

Hi dgp,

 

Here is the relevant fragment of the log :

 

 

Are you building the module externally to the kernel or have you integrated it back into the kernel source? If the later what are the kconfig options you have selected?

Posted
  On 12/29/2016 at 5:01 AM, dgp said:

Are you building the module externally to the kernel or have you integrated it back into the kernel source? If the later what are the kconfig options you have selected?

You can try to provide default options via separate Kconfig symbol like this (using "select"):

config XRADIO_SDIO
	bool

config XRADIO_USE_EXTENSIONS
	bool

config XRADIO_5GHZ_SUPPORT
	bool

config XRADIO_XR819
	bool "XRADIO XR819 support"
	depends on WLAN_VENDOR_XRADIO
	select XRADIO_SDIO
	select XRADIO_USE_EXTENSIONS
	select XRADIO_5GHZ_SUPPORT
	default y
Posted

@dgp, yes, I was trying to integrate xradio in armbian build process, it was the default configs.

But since zador is faster than me, I think my effort are now useless.

 

@zador, thanks for committing those changes, I will gave it a try when I get chance.

(especially that this morning, my PiZero didn't even boot at all, I hope it doesn't end up to be hardware issue)

Posted
  On 12/29/2016 at 9:09 AM, zador.blood.stained said:

 

You can try to provide default options via separate Kconfig symbol like this (using "select")

 

Most of those options will probably be removed at some point. The non power of 2 block size option for example has to be enabled or the firmware crashes. I'm slowly taking the useless stuff that allwinner/xradio have bolted on so that it's closer to the cw1200 driver in the kernel that it's based on. 

Posted

Ok, guys ! I found my hardware issue : I've been caught myself with an SDCard that becames crappy !

 

For the xradio issue, I don't know if it was also related, but I've created image with Zador stuff, although I had to tweak a bit the DT, and it is now working fine.

 

@Zador, the tweak needed is related to the fact that PL7 was already defined in PiOne, but due was slipped into pio instead of r_pio (same issue found few weeks ago for PiPC https://github.com/igorpecovnik/lib/commit/31c3133cf65af66197b0e78f92eae835615a90b1 )

I will commit this fix in few minutes along some removal in PiZero since we can reuse the PL7 from PiOne, simply by using same names.

 

EDIT : here is the first fix : https://github.com/igorpecovnik/lib/commit/5fff38add9873b50bc71d540573e4294bc97c10d, and here the redundancy cleanup : https://github.com/igorpecovnik/lib/commit/fdaadb42d7587371a7cb7f1184ade5915cd77924#diff-ef59beeea2dd85451fb9bf2905fb7ebf and https://github.com/igorpecovnik/lib/commit/369d3928e7154ac12c34f0e2bc4ce0e24636cb4e#diff-ef59beeea2dd85451fb9bf2905fb7ebf

Posted

Powering question:

 

Can we use the OTG USB port on OPi0 to draw 500mA from USB , and also use a second power source, e.g., via GPIO pins?

Posted

ErwinH,

 

I was afraid so ;(

 

So how much power does an OPi0 require roughly, without external devices, but with WiFi and TVout streaming?

 

And, with receiving a video stream from a USB camera over PoE, to display over TVout?

Posted

500mA should do, but you need a good power supply and more importantly a good micro usb cable since micro usb connector is a big reason for voltage drops causing instability. 

 

I'm running the board without WiFi or display without any problems, but increasing the load might give you issues. To make sure it isn't because of the power supply or the cable you can try the GPIO pins, which give you less voltage drop.

Posted

ErwinH,

 

Thanks. Hopefully my OPi0 will arrive in the next few days, from my Dec 19 order.

 

Will it make sense to use the legacy Armbian image from Nov 14 as listed on linux-sunxi page? Is wifi now working?

 

Why do they say use legacy for multimedia, but mainline for headless?

 

Any caveats?

Posted
  On 1/6/2017 at 9:12 AM, atharmian said:

Why do they say use legacy for multimedia, but mainline for headless?

 

Any caveats?

 

Simple - drivers responsible for multimedia usually arrive last. For example, mainline doesn't have H3/H2+ drivers for HDMI video & audio, TV out and HW video decoding. Some initial patches exists for HDMI video & audio, but they won't be mainlined soon. I think Armbian includes patches at least for HDMI video.

Posted
  On 1/6/2017 at 9:12 AM, atharmian said:

Why do they say use legacy for multimedia, but mainline for headless?

 

Any caveats?

It's not true for H3. There it's "legacy for everything, mainline for developers" since some headless use cases require extensive Linux knowledge and ability to find necessary information.

Posted

jernej + zador,

 

OK, so I should stick to legacy Armbian which I am assuming is from Nov 14.

 

So confirming that OPi0 Wifi is working under legacy Armbian?

 

Anything else I need to worry about besides PSU preferably from pins not OTG, and a "fast" SD card?

 

Has the presence of 2MB SPI NOR flash on the 512MB version recently changed anything? I still can't avoid an SD card?

Posted
  On 1/6/2017 at 11:24 AM, atharmian said:

Has the presence of 2MB SPI NOR flash on the 512MB version recently changed anything? I still can't avoid an SD card?

 

Presence of SPI NOR gives you possibility to do just that. You must build SPI enabled U-Boot and burn it on SPI chip. Then you can boot from USB, network, etc. But 2 MB is far too litle to boot full OS. AFAIK there is no tutorial how to put U-Boot on chip.

Posted
  Quote
Good. So is Wifi OK on legacy?

 

It's operational on both kernels - at least self built versions / nightly updates. Just don't expect some great performances or advanced functionalities from this wireless chip.

Posted
  On 1/6/2017 at 11:33 AM, atharmian said:

So is Wifi OK on legacy?

 

Nope. And that's true for all the other cheap SBC. WiFi is more or less crap on all of them. It's also not that hard to understand the relationship between 'buy as cheap as possible' and (missing) functionality. What do people expect from devices as cheap as $7?

 

If you want ok-ish Wi-Fi then choose any of those Armbian devices with mPCIe slots (they're all from Solid-Run), add another $50 for a good WiFi card and you're done.

Posted

Or maybe he could buy a "patch" antenna with the correct connector for Opi0 and point it directly to the wireless router and gain range.

Posted
  On 1/6/2017 at 12:49 PM, msev said:

Or maybe he could buy a "patch" antenna with the correct connector for Opi0 and point it directly to the wireless router and gain range.

It's not about the antenna, it's about overall hardware capabilities and software/documentation support for this particular wireless chip. So far we can't get consistent feedback about wireless operability.

 

  On 1/6/2017 at 11:44 AM, tkaiser said:

If you want ok-ish Wi-Fi then choose any of those Armbian devices with mPCIe slots (they're all from Solid-Run), add another $50 for a good WiFi card and you're done.

This is a bit of overkill unless you want to set up a router/AP combined with NAS. Any board running mainline kernel that can provide enough power to USB port combined with good USB wireless adaptee (i.e. ath9k) is enough, but people will still buy the cheapest hardware they can find and expect it to operate perfectly in any scenario.

Posted
  On 12/21/2016 at 11:32 AM, tkaiser said:

Nope. Please stop spreading such wrong claims. With Armbian settings H2+ on this board remains in a good temperature range but as usual if you run constantly heavy loads some throttling will occur or you mount a heatsink. But there really is no need for one especially when you use this device as intended. Are your claims backed up by the output of 'sudo armbianmonitor -m'?

 

I have been running Armbian legacy with Wifi as AP with HostAPD and Ajenti Core Web Configuration installed. It is running pretty hot. I will try armbianmonitor on this tomorrow.

 

I also have a working OpenWRT build (Wifi not configured) and it is running cool.

Posted
  On 1/6/2017 at 7:39 PM, praveenbm5 said:

I have been running Armbian legacy with Wifi as AP with HostAPD and Ajenti Core Web Configuration installed. It is running pretty hot. I will try armbianmonitor on this tomorrow.

 

I also have a working OpenWRT build (Wifi not configured) and it is running cool.

 

Very interesting. How has the Wi-Fi performed for you? In terms of throughput/latency, etc...

Posted

@tkaiser - armbianmonitor - log  

 

Activity:

 

1. Hotspot with HostAPD and connected to it.

2. Logging into Ajenti Core Dashboard

 

Time        CPU    load %cpu %sys %usr %nice %io %irq   CPU
02:13:09: 1008MHz  0.27  10%   2%   5%   0%   2%   0%   59°C
02:13:14:  240MHz  0.25  10%   1%   5%   0%   2%   0%   59°C
02:13:19:  240MHz  0.29  10%   1%   5%   0%   2%   0%   59°C
02:13:24:  240MHz  0.26  10%   1%   4%   0%   1%   0%   60°C
02:13:30:  240MHz  0.24  10%   1%   4%   0%   1%   0%   60°C
02:13:35:  240MHz  0.22   9%   1%   4%   0%   1%   0%   59°C
02:13:40:  240MHz  0.20   9%   1%   4%   0%   1%   0%   61°C
02:13:45: 1008MHz  0.27   9%   1%   4%   0%   1%   0%   62°C
02:13:50:  240MHz  0.25   9%   1%   4%   0%   1%   0%   62°C
02:13:56:  240MHz  0.23   9%   1%   4%   0%   1%   0%   62°C
02:14:01:  240MHz  0.21   9%   1%   4%   0%   1%   0%   61°C
02:14:06:  240MHz  0.19   9%   1%   4%   0%   1%   0%   60°C
02:14:11: 1008MHz  0.18   9%   1%   4%   0%   1%   0%   62°C
02:14:16:  240MHz  0.24   9%   1%   4%   0%   1%   0%   61°C
02:14:22:  240MHz  0.22   9%   1%   4%   0%   1%   0%   62°C
Posted
  On 1/6/2017 at 8:29 PM, reverend_t said:

Very interesting. How has the Wi-Fi performed for you? In terms of throughput/latency, etc...

 

OpiZero as Hostspot -

 

sftp: (standing nearby)

 

Upload - 5 to 6 Mbps

Download - 4 to 5 Mbps

 

I just got my Opizero enclosure and now it sits snugly in there with its teeny wifi antenna. That could be an issue.

Posted
  On 1/6/2017 at 8:59 PM, praveenbm5 said:

OpiZero as Hostspot -

 

sftp: (standing nearby)

 

Upload - 5 to 6 Mbps

Download - 4 to 5 Mbps

 

I just got my Opizero enclosure and now it sits snugly in there with its teeny wifi antenna. That could be an issue.

 

Cheers @praveenbm5 . Quick clarification, do you mean megabits per second or megabytes per second (how file transfer is normally reported!)?

 

One other thing that would be of great interest is your actual link speed/signal strength. If you've an Android device just tapping on the active connection in Wi-Fi settings should reveal the answer :D If it reports a low signal strength and a low link speed then improving the antenna could help matters... 

 

(Single chain 802.11n in 20MHz should be able to achieve 144Mbps max let's see how close we can get to that with a 30 cent chip!)

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines