View: 25262|Reply: 20

Orange Pi 2g-IoT - SD card boot issue

[Copy link]

1

threads

3

posts

33

credits

Novice

Rank: 1

credits
33
Published in 2018-5-7 21:58:37 | Show all floors |Read mode
Hey there! A few moths ago I got an Orange Pi 2g-IoT card and I have had some issues.
I am using a  USB/TTL converter to see the debug console. The preinstalled Android on the NAND memory seems to be working fine but I can't go on with the microSD boot.
I have tested several microSD cards class4 and class10 both with diverse capacities. Also I have flashed several OS images like Raspbian, Ubuntu Server, Debian and Armbian.
A thread  that I have found says that some issues with SD cards are caused by an unreliable power supply therefore I got a reliable one that works in 5V/2.5A.
In spite of my new power supply I am getting an incompleted boot secuency.

Below are attached the boot logs.

Class 4 - Raspbian

Class4 - Ubuntu Server

Class 10 - Any OS Image

I can't figure out which is the problem
Are there some problem with the SDcards? or with the board?

Any help is welcome.

Thank you in advance.

62

threads

653

posts

5498

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5498
Published in 2018-5-11 18:34:00 | Show all floors
nopnop2002 replied at 2018-5-11 14:09
Read this.

http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=2745&highlight=2G%2B ...

There are two batch production of 2G-IOT till now, the first batch production is only work with 8GB, since power setting is not enough for booting 16GB SD card. So whether you could run 16GB SD card or not up to which production products you have.

9

threads

634

posts

4427

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4427
Published in 2018-5-7 22:36:32 | Show all floors
Yes. This board is extremely picky about SD card.

1

threads

3

posts

33

credits

Novice

Rank: 1

credits
33
 Author| Published in 2018-5-11 04:59:36 | Show all floors
igorpec replied at 2018-5-7 22:36
Yes. This board is extremely picky about SD card.

Yes, I can see that it is picky about SD cards haha

Can somebody tell me which are the SD card features that I should look up?

Thanks!

62

threads

653

posts

5498

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5498
Published in 2018-5-11 10:16:43 | Show all floors
dleitao replied at 2018-5-11 04:59
Yes, I can see that it is picky about SD cards haha

Can somebody tell me which are the SD card fe ...

Maybe 8GB Class 10 could work.

10

threads

218

posts

2040

credits

Gold member

Rank: 6Rank: 6

credits
2040
Published in 2018-5-11 14:09:20 | Show all floors
Edited by nopnop2002 at 2018-5-11 14:18
dleitao replied at 2018-5-11 04:59
Yes, I can see that it is picky about SD cards haha

Can somebody tell me which are the SD card fe ...

Read this.

http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=2745&highlight=2G%2Biot%2BSD


I'm using this.

http://www.argos.co.uk/product/3555851

0

threads

6

posts

50

credits

Registered member

Rank: 2

credits
50
Published in 2018-5-15 23:36:19 | Show all floors
fix sd card issue
hello
try to use uboot with my fix https://github.com/DD1984/u-boot-RDA8810.git (branch boot_sd_thr_nand) binary is attached
now booting process looks like: power on -> bootRom -> uboot in nand -> uboot in sd card -> linux
the reason of issue was be that bootRom do not config VCC of sd card
on start of bootRom it was be 2.8v but after modem load it became 3.2v (linux also set vcc to 3.2v)2.8v is small for some sd cards
now uboot in nand configure VCC of sdcard and start uboot from sdcard

for write uboot to nand use my utility: https://github.com/DD1984/rda_cmd.git
steps for updating
1. set jumper to nand boot
2. hold button on board
3. connect usb cable to pc, wait 5 sec an release button
4. execute cmd on pc: sudo ./rda_cmd write bootloader u-boot.rda
5. do not change jumper - reboot board




This thread contains more resources

You need to Log in to download or view,No account?    Register

x

1

threads

3

posts

33

credits

Novice

Rank: 1

credits
33
 Author| Published in 2018-6-1 08:46:43 | Show all floors
DD! replied at 2018-5-15 23:36
fix sd card issue
hello
try to use uboot with my fix https://github.com/DD1984/u-boot-RDA8810.git (b ...

Hi! Thank you for the utilility and the explanation.

I have had to change the device name on the code  to /dev/ttyUSB0.
I have followed the steps but fifteen seconds after that I executed the command I got this error.

# ./rda_cmd write bootloader u-boot.rda
cmd: connect(0), data rcvd error, len: 0
can't connect to device

I can see in the serial port that the card boots in the PDL loading correctly.

I don't know if I have some wrong configuration on my system or it is about the utility. Any idea?
And i neither know if the bin that you attached is for a specific card's batch. The mine one has a RDA8810PL.

Thanks!


0

threads

6

posts

50

credits

Registered member

Rank: 2

credits
50
Published in 2018-6-21 04:22:02 | Show all floors
dleitao replied at 2018-6-1 08:46
Hi! Thank you for the utilility and the explanation.

I have had to change the device name on the ...

do not change dev to ttyUSB0 - it must be ACM0
update rda_cmd from git repo and try again (rda_cmd will detect device automatically)

2

threads

6

posts

32

credits

Novice

Rank: 1

credits
32
Published in 2018-6-23 07:49:37 | Show all floors
i cant understand what happent

This thread contains more resources

You need to Log in to download or view,No account?    Register

x
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list