12 12
Petus

Orange Pi 2G-IOT

Recommended Posts

Anyone knows how to correctly set up dip switches to have a working usb host ?

 

I'm getting power to my usb, but isn't detected by lsusb (running unofficial armbian at the moment)

Share this post


Link to post
Share on other sites
1 minute ago, zador.blood.stained said:

It's either 1-4 up, 5-8 down or the opposite way (1-4 down 5-8 up). AFAIK the former is OTG and the latter is host.

 

thank you, will give it a try. :P

Share this post


Link to post
Share on other sites

Hi,

 

I'm trying boot from SD card and always get the same error: 

 

RDA8810 Boot_ROM V1.6
HW_CFG: pr86
SW_CFG: 0000
Load EMMC
Open eMMC
EMMC OCR timeout
Open eMMC card Failed
Load EMMC Fail
Load SD
Open SD card
mcd_Open
ACMD41, Retry Timeout
Open SD card Failed
Load SD Fail
Setup USB PLL done
Setup BUS PLL done
reset musb otg core...
Press 'Q' to quit PDL loading
wait for connect....

 

I tried with two differents SD cards (Toshiba 8GB Class10 and Sandisk Ultra 32GB), with differents images (Armbian, Debian server, Ubuntu server), with differents writter programs (Win32Disk on win10 and dd on ubuntu) and with differents power supplies (1A and 2A).

 

What do I doing wrong?

 

Thanks

Share this post


Link to post
Share on other sites
20 minutes ago, crossmax said:

I tried with two differents SD cards (Toshiba 8GB Class10 and Sandisk Ultra 32GB), with differents images (Armbian, Debian server, Ubuntu server), with differents writter programs (Win32Disk on win10 and dd on ubuntu) and with differents power supplies (1A and 2A).

Use another SD card.

Share this post


Link to post
Share on other sites
20 minutes ago, zador.blood.stained said:

Use another SD card.

OMG!! I tried with other Sandisk 8GB Class10 and works like a charm!!

 

I'm reading about wifi setup from serial port.

Thanks

Share this post


Link to post
Share on other sites

An other question,

It is possible run armbian from emmc? Or, said in other words, Can I install armbian to emmc on orange pi 2G?

I've seen that it has 500MB flash.

Share this post


Link to post
Share on other sites
2 minutes ago, zador.blood.stained said:

I have to write here again that there are no official Armbian images for this board (even if Xunlong published an image called "Armbian"). All software related questions should go to the Orange Pi forum.

OK, sorry. And thank you for the advice about change sd card.

Share this post


Link to post
Share on other sites

Any ideas how to enable battery support ?

 

I soldered a 18650 cell to +/- pads on the board, but it doesn't power up. Plugging microusb boots the board, but it dies instantly when you plug it out.

Am i missing something ?

Share this post


Link to post
Share on other sites
1 hour ago, hojnikb said:

Am i missing something ?

According to the datasheet and schematic battery support is not properly implemented on this board, i.e. there is no charge control MOSFET and no step-up converter to power peripherials that need 5V, so I would not recommend trying to use a battery with this device.

Share this post


Link to post
Share on other sites
22 minutes ago, hojnikb said:

I tried different configs, but none of them seem to be working for me. 

Did you use this tutorial? http://surfero.blogspot.com.es/2017/04/freedompop-orange-pi-2g-iot.html

Please note that I saw reports that microSIM slot had incorrect markings and people had to insert the card "backwards" to get it working. Also IMEI is all zeroes so make sure that your mobile operator is not unhappy about it.

Share this post


Link to post
Share on other sites
On 5/17/2017 at 3:35 PM, zador.blood.stained said:

Did you use this tutorial? http://surfero.blogspot.com.es/2017/04/freedompop-orange-pi-2g-iot.html

Please note that I saw reports that microSIM slot had incorrect markings and people had to insert the card "backwards" to get it working. Also IMEI is all zeroes so make sure that your mobile operator is not unhappy about it.

thank you, that did the trick !

Share this post


Link to post
Share on other sites

Hi, 

 

I read this forum quite a while and i'm glad that you're also work on boards in which you're not that much interested. Lots of stuff here is quite a little bit over my skills so where can I contribute to your project to your work? Definitly not in geting software to work. But for those of you who have a 3D-printer I have desinged a small case for the OPI 2G-IOT with holes to the:

  • Power button
  • USB
  • Power supply
  • 3.5mm Jack
  • SIM Card slot
  • TF Card slot
  • Wifi antenna

It's not perfect but should work for most cases. For those of you who are familiar with 3D-Printing there are are some bridging parts which are not that easy to print, but it should work if you use support material (I printed it with PETg which isn't good in printing bridging but I was to lazy to change the filament and I use PETg for most of my other projects). In my opinion it would look much better if you Print it with PLA. The walls are thin enough that you can plug in the power supply. There are some holes for screwing the board on the bottom part of the case but i never tested it (something like m2 screws ~4-5mm long should work). Since there was no 3D-file of the board available I had to redrawn it from scratch and therefore some of the dimensions do of course not 100% fit with the board but from what I saw, the holes are big enough to remove everything while the board is in the case. 
The STL-File for printing it is added to this post. Let me know if you have some improvements for the case. 

I observed that the SOC gets quite hot when I pluged in only the power supply without any SD-card (just tiped the finger on it without any proper measurement, but for shure more than 55°C). Is this normal? Since this is not high priority project to me, I don't know which temperatures are normal for the SOC. 

 

 

case.jpg

case_bottom.stl

case_top.stl

Share this post


Link to post
Share on other sites

I put this in the Orange Pi forum ... but just for reference here.

 

The machine doesn't boot properly with 16GB SD cards because of lack of power (it is not because the card could be damaged or something similar).  So, 8G class 10 must be used instead (it seems that as larger the card, bigger the consumption).  What I don't know is if this is a hardware design limitation or something related with the 1.6 version internal "bios".  The only issue with this is that 8G is going out of the market very quickly (local stores around here are bypassing that size for the 16GB) ... so it is necessary to find them online and with shipping and everything they could cost more than the 2G-IOT.

 

As I have no idea about any compatible LCD for the 2G-IOT, I will find a GPIO based one (it is supposed to be Raspberry Pi compatible ... let's see what happens ...).

Share this post


Link to post
Share on other sites
2 hours ago, malvcr said:

I put this in the Orange Pi forum ... but just for reference here.

 

The machine doesn't boot properly with 16GB SD cards because of lack of power (it is not because the card could be damaged or something similar).  So, 8G class 10 must be used instead (it seems that as larger the card, bigger the consumption).  What I don't know is if this is a hardware design limitation or something related with the 1.6 version internal "bios".  The only issue with this is that 8G is going out of the market very quickly (local stores around here are bypassing that size for the 16GB) ... so it is necessary to find them online and with shipping and everything they could cost more than the 2G-IOT.

 

As I have no idea about any compatible LCD for the 2G-IOT, I will find a GPIO based one (it is supposed to be Raspberry Pi compatible ... let's see what happens ...).

 

Thats pretty sad. I've also encountered this, but luckily still had 8GB card lying around. Hopefully xunlong makes a rev2 with this and battery support fixed.

Share this post


Link to post
Share on other sites
2 hours ago, malvcr said:

The machine doesn't boot properly with 16GB SD cards because of lack of power (it is not because the card could be damaged or something similar).

It boots on Samsung Evo 16GB and Samsung Evo Plus 16GB for me. Judging by console messages RDA BootROM is very sensitive to the card response timings to different commands, so it's not certain that it will or will not always work on all cards of certain type, brand and capacity.

Share this post


Link to post
Share on other sites
On 5/27/2017 at 6:08 PM, zador.blood.stained said:

It boots on Samsung Evo 16GB and Samsung Evo Plus 16GB for me. Judging by console messages RDA BootROM is very sensitive to the card response timings to different commands, so it's not certain that it will or will not always work on all cards of certain type, brand and capacity.

 

maybe this could be fixed by putting  uboot (or some other compatible loader) to nand and instruct it to continue booting off sd card.

Share this post


Link to post
Share on other sites
3 minutes ago, hojnikb said:

maybe this could be fixed by putting  uboot (or some other compatible loader) to nand and instruct it to continue booting off sd card.

This still leaves following problems

  • Updating the u-boot on NAND
  • Switching between NAND and SD without reflashing the u-boot
  • U-boot and kernel code for the RDA MMC controller has timeouts too and I experienced problems with default settings

Share this post


Link to post
Share on other sites

My tests:

 

SanDisk Ultra 16GB class 10 - doesn't work.

SanDisk Ultra 8GB class 10 - works.

SanDisk 4GB class 4 - doesn't work.

Lexar 8GB class 10 - works.

Radio Shack 16GB class 10 - doesn't work.

 

zador.blood.stained says that this also works on

 

Samsung Evo 16GB

Samsung Evo Plus 16GB

 

Somebody else have more experiences to make a bigger "working" chart?

 

 

As a side note.  Some people in other places were indicating that the power supply used with the machine was "the issue".  However I have been using the 2G-IOT with 2A, 3A and even connected to the USB 2.0 port in an Orange Pi Zero and works with all them.  The problem is the SD card not the power supply.

 

I don't have more data by now to check if the Samsung consume less than the SanDisk or Radio Shack cards.

 

Share this post


Link to post
Share on other sites
8 minutes ago, malvcr said:

The problem is the SD card not the power supply.

 

Well, not entirely true. If a device comes with a Micro USB connector to be powered that is encouraging users to use crappy cables (made for 500mA max with insanely thin cable diameters) and crappy phone or 'smart' chargers (not delivering more than 500mA for example). So powering is always a problem with Micro USB just due to the fact that people are not aware that it's a problem (and while an electrical engineer would never think about stuff like that average users tend to use pretty bad powering equipment as soon as a device is equipped with Micro USB).

 

Wrt SD cards: Fake/counterfeit cards do exist, are everywhere and it seems to get even worse these days. Every list of 'known cards' is therefore pretty useless unless you find a way to reliably differentiate between fake and genuine cards (I don't know one and the only strategy these days is to buy SD cards from big retailers that refund you without asking questions)

Share this post


Link to post
Share on other sites
On 27.5.2017 at 3:40 PM, malvcr said:

8G class 10 must be used instead (it seems that as larger the card, bigger the consumption)

 

Are such assumptions backed by anything or at least some evidence? I mean I run here an OPi Zero 24/7 seeding Armbian torrents with a 128 GB Samsung EVO+ powered by an USB2 port of my router which is known to NOT provide more than 500 mA.

Share this post


Link to post
Share on other sites
22 minutes ago, malvcr said:

Somebody else have more experiences to make a bigger "working" chart?

2G-IOT related thread on 4pda.ru forum and AliExpress reviews for this board will have some data regarding SD cards, but as I said, even a "good" card may not work here if card's controller response timings are slower than BootROM expects them to be.

 

8 minutes ago, tkaiser said:

So powering is always a problem with Micro USB just due to the fact that people are not aware that it's a problem

microUSB powering (or rather cable and socket) should not affect early boot related issues since the power consumption at boot (w/o initializing wireless, GSM, display with backlight and other powerful consumers) should be low enough, assuming power source quality is good enough.

Share this post


Link to post
Share on other sites

 

Quote

   On 5/27/2017 at 7:40 AM, malvcr said:
8G class 10 must be used instead (it seems that as larger the card, bigger the consumption)
 
Are such assumptions backed by anything or at least some evidence? I mean I run here an OPi Zero 24/7 seeding Armbian torrents with a 128 GB Samsung EVO+ powered by an USB2 port of my router which is known to NOT provide more than 500 mA.
 Like this

 

 

Well ... there are different references about how SD cards behave in different scenarios (SD,  not SDD).  

 

The people that has been worried about that is the one uses Arduinos and other types of microcontroller based devices, as they have more "precise" and "narrow" working environments that computer users ... so they try to squeeze the last micro ampere to rescue some hours of battery or to be able to work will just some solar energy.

 

This is from a NXP community doubt regarding SD card consumption.

 

https://community.nxp.com/thread/422802

 

It has a lot of details about their particular problem, but the following paragraph is a good abstract (it is talking about computing cycles):

 

Quote

One final note: this is not depending on the speed class of SD-Cards nor their size. Some 8GB cards did it themselves, others not. It's the flash controller
inside that makes the difference. Also for the power consumtion. I won't tell the brand names thogh ...

This is from an Arduino application.

https://forum.arduino.cc/index.php?topic=261021.0

 

There "somebody" describes an online comparison where the Lexar 8GB SDHC Card consumes "about 25%-30% of the other" ones.  I have been trying to find that "online comparison" but the Internet it is very big :-)

 

 

Then it seems that really there is a difference in the power consumption with SD cards (I suppose that also with the SDD disks, but the power supply for an SDD disk go through a different path that for an SD card, so the differences must not to be so critical as to make the booting to fail).  But as others (not me) were able to make the 2G-IOT machine to work with 16GB cards, maybe those cards flash controllers do a better job taking care of power.  Or really, the synchronization in the RDA Bios has some flaws avoiding several cards not to communicate correctly with the machine.

 

 

On the power supply.  Yes, I know that good quality cables and good quality power sources are paramount.  So it is right to quit the power problem ensuring a quality source of power (I don't say 5A or something like that, ... just the needed power).  However, the SD card problem go beyond the external power supply.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
12 12