View: 10473|Reply: 12

Problem With boot Orangepi RK3399

[Copy link]

1

threads

5

posts

33

credits

Novice

Rank: 1

credits
33
Published in 2018-8-20 04:32:01 | Show all floors |Read mode
Hi all,
I tried to start Debian images  at my rk3399 board. I did everything in accordance to user manual provided(Step by Step).
So I built an image and flashed.

  • ./build/flash_tool.sh -c rk3399 -p system -i out/system.img
  • PARTITIONS OFFSET: 0 sectors.
  • Downloading bootloader succeeded.
  • Write LBA from file (100%)
  • Reset Device OK.
then system rebooted, black screen showed.


Please upload a file tested on the site.
It's been a problem for about three weeks
please guide me ?

62

threads

653

posts

5498

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5498
Published in 2018-8-21 10:27:17 | Show all floors
iinvestigator replied at 2018-8-21 02:05
Hi admin.

Ok. thank you to more clear answer. That way has been accepted. BTW

- Download:
    "OrangePi-RK3399_Linux4.4_V1.0_2018_0110.tar.gz"
    "OrangePi-rk3399_Ubuntu16.04-Server_20171227.img"--change to the debian image
- Start Linux on PC
- Unpack .tar.gz via "tar xvf OrangePi-RK3399_Linux4.4_V1.0_2018_0110.tar.gz" - it will create a subfolder "rk-linux", no need to create any folders
- In folder "rk-linux" create folder "out"
- Put in "out" folder the Ubuntu .img(debian.img) file and rename it to "system.img" (if you dont rename it, then modify the flashing command correspondently)
- Short connect the two pins and connect board via type-C to USB 2.0 in your PC - you may need to repeat this step if the following step gives error
- Run "./build/flash_tool.sh -c rk3399 -p system -i out/system.img" from "rk-linux" folder

62

threads

653

posts

5498

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5498
Published in 2018-8-20 14:43:51 | Show all floors
for linux image buring, you could refer to these steps

This thread contains more resources

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

x

1

threads

5

posts

33

credits

Novice

Rank: 1

credits
33
 Author| Published in 2018-8-20 16:07:55 | Show all floors
thanks, please give me link linux image complete( upload)?

62

threads

653

posts

5498

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5498
Published in 2018-8-20 19:42:34 | Show all floors
ghsoftco123 replied at 2018-8-20 16:07
thanks, please give me link linux image complete( upload)?

Pls download on our website http://www.orangepi.org/downloadresources/

1

threads

5

posts

33

credits

Novice

Rank: 1

credits
33
 Author| Published in 2018-8-21 00:55:10 | Show all floors
Hi

I flashed board just with debian rootfs, It was successful.
now, i want to use rtc-ds1307
i need to enable i2c for setup rtc-ds1307
I wanted to find the folder(lib/modules) but I did not see that folder.
please guide me ?
How to enable i2c ? and how to install lib/module ?

my linux version is debian 9.1 and kernel 4.4.103

1

threads

12

posts

125

credits

Registered member

Rank: 2

credits
125
Published in 2018-8-21 02:05:35 | Show all floors
Edited by iinvestigator at 2018-8-21 02:06
admin replied at 2018-8-20 14:43
for linux image buring, you could refer to these steps

Hi admin.

Ok. thank you to more clear answer. That way has been accepted. BTW

1. I have that OrangePi-RK3399_Linux4.4_V1.0_2018_0110.tar.gz sourcecode.
2. I have create ..//rk-linux/out/
To perform commands for flashing I've found *.img files in the different parts of "rk-linux" and put them to //"out" folder.
Now I have found ( equals by size files in the different part of archive  ) :

idbloader.img
trust.img
uboot.img
AND os image -- OrangePi-rk3399_Debian9_20171218.img

But where I can find boot.img? It's present only as andriod img. Could you please put correct way to found that image?

If requirements to create boot image are -- compilation some sources please show all required steps.


Thanx


1

threads

5

posts

33

credits

Novice

Rank: 1

credits
33
 Author| Published in 2018-8-21 11:35:14 | Show all floors
Hi Admin

please answer my question ??

62

threads

653

posts

5498

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5498
Published in 2018-8-21 14:19:18 | Show all floors
ghsoftco123 replied at 2018-8-21 11:35
Hi Admin

please answer my question ??

You could find the file on rk-linux/kernel/drivers/rtc/rtc-ds1307.c

1

threads

5

posts

33

credits

Novice

Rank: 1

credits
33
 Author| Published in 2018-8-21 15:02:45 | Show all floors
how enable i2c ??
please guide me(step by step )?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list