Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
12Next
Return to list New
View: 2837|Reply: 12

./mk-uboot.sh rk3399-orangepi problem

[Copy link]

9

Threads

33

Posts

131

Credits

Registered member

Rank: 2

Credits
131
Post time 2018-3-20 03:38:35 | Show all posts |Read mode
radek@celeronG1610:~/DYSK22/rk-linux/build$ ./mk-uboot.sh rk3399-orangepi
Building U-boot for rk3399-orangepi board!
Using orangepi-rk3399_defconfig
make: *** Brak reguł do wykonania obiektu 'orangepi-rk3399_defconfig'. Stop.( no rules to make object orangepi-rk3399_defconfig. STOP
MAKE UBOOT IMAGE FAILED.

53

Threads

654

Posts

3591

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
3591
Post time 2018-8-9 20:00:50 | Show all posts
constantius replied at 2018-3-21 17:01
Hi - thanks it helps
1. And then I have created uboot and kernel.img
2. and then i did ./build/mk-im ...

./build/file:///C:\Users\Administrator\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.pngmk-image.sh -c rk3399 -t system -s 4000 -r out/OrangePi-rk3399_Debian9_20171218img

This command is worng.  OrangePi-rk3399_Debian9_20171218img is a complete image.
Pls take a carefully look at the user manual of rootfs.


1

Threads

13

Posts

211

Credits

Intermediate member

Rank: 3Rank: 3

Credits
211
Post time 2018-8-11 06:38:56 | Show all posts
Recovery button=key is making Pi boot into flash-firmware mode. The same does the short connect those two pins, but should be used only if eMMC is not booting (not giving possibility to be seen by PC).

1

Threads

7

Posts

95

Credits

Registered member

Rank: 2

Credits
95
Post time 2018-3-20 20:52:17 | Show all posts
Hi

The directory location of the script you are running is incorrect.
Please execute the script by the following procedure.

cd ~/DYSK22/rk-linux/
./build/mk-uboot.sh rk3399-orangepi

9

Threads

33

Posts

131

Credits

Registered member

Rank: 2

Credits
131
 Author| Post time 2018-3-21 17:01:40 | Show all posts
Hi - thanks it helps
1. And then I have created uboot and kernel.img
2. and then i did ./build/mk-image.sh -c rk3399 -t system -s 4000 -r out/OrangePi-rk3399_Debian9_20171218img
system.img is created.
3. next i put single board in maskroot mode according tro manual
4 did ./build/flash_tool.sh -c rk3399 -p system -i out/system.img
5. output from this command is.:
./build/flash_tool.sh -c rk3399 -p system -i out/system.img
PARTITIONS OFFSET: 0 sectors.
[sudo] hasło użytkownika radek:
Downloading bootloader succeeded.
Write LBA from file (100%)
Reset Device OK.
7. when i put orangepi-rk3399 into power connection i have black screen
no system at all - monitor i blanking blue -is recognized but nothing is running

8 Question what i did wrong????

9

Threads

33

Posts

131

Credits

Registered member

Rank: 2

Credits
131
 Author| Post time 2018-3-21 17:06:03 | Show all posts
PS. when i have working system.img's i can share it via google.drive

9

Threads

33

Posts

131

Credits

Registered member

Rank: 2

Credits
131
 Author| Post time 2018-3-22 20:31:15 | Show all posts
No one wants help???

9

Threads

33

Posts

131

Credits

Registered member

Rank: 2

Credits
131
 Author| Post time 2018-3-24 01:46:44 | Show all posts
I tried build and flash image according to the manual using existing rootfs.img file.:
./build/mk-image.sh -c rk3399 -t system -s 4000 -r out/OrangePi-rk3399_Debian9_20171218.img
next i put single board in maskroot mode according to manual
./build/flash_tool.sh -c rk3399 -p system -i out/system.img

and when i run single board i have black screen, nothing is booting
Is your manual correct??????????????? or i did something wrong
please reply

9

Threads

33

Posts

131

Credits

Registered member

Rank: 2

Credits
131
 Author| Post time 2018-3-25 03:04:15 | Show all posts
I have tried flash build system.img and flash separetly img uboot and boot and prepeared rootfs.img file without lack.
Is manual written correct? or is rootfs.img prepared correctly?
When do you prepared working img linux files for orangepi rk3399?

2

Threads

13

Posts

123

Credits

Registered member

Rank: 2

Credits
123
Post time 2018-3-27 16:27:22 | Show all posts
Edited by DataMannen at 2018-3-27 09:28
constantius replied at 2018-3-24 20:04
I have tried flash build system.img and flash separetly img uboot and boot and prepeared rootfs.img  ...

I have had pretty much the same problems as you, but while trying to get it to boot from a sdcard instead of flashing the eMMC. I thought that maybe I had a crappy sdcard but now I'm not so sure.

I've tried all the things you list and a couple of other "tricks" without success. It simply will not boot.

My guess is that OrangePi RK3399 and the sdcard are working fine and that I'm simply doing something wrong, so I will probably get it to work eventually. But I totally agree with you that the manual is not very clear on some issues and the pre-built image-files (for example OrangePi-rk3399_Debian9_20171218.img) should work right away by just writing them to my sdcard and boot. They don't. Atleast for me.





DataDataData

1

Threads

12

Posts

125

Credits

Registered member

Rank: 2

Credits
125
Post time 2018-8-9 18:22:38 | Show all posts
Hi All

Could anybody get sucsess to flashing "OrangePi-rk3399_Debian9_20171218.img" or any another Linux images (Ubuntu/LUbuntu)?
12Next
Return to list New
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-8-24 17:02 GMT+8 , Processed in 0.032947 second(s), 24 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list