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

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
12
Return to list New
Author: constantius

RK3399 linux images

[Copy link]

2

Threads

13

Posts

123

Credits

Registered member

Rank: 2

Credits
123
Post time 2018-12-10 16:16:36 | Show all posts
Edited by DataMannen at 2018-12-10 09:18
drivers/media/i2c/soc_camera/rockchip/ov_camera_module.c:421:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
error, forbidden warning: ov_camera_module.c:421



I had the same problem but fixed it by modifying the file: kernel/drivers/media/i2c/soc_camera/rockchip/ov_camera_module.c

I enclosed the contents of the 'if'-statement in the error with { }

Line 421:                if (cam_mod->update_config) {
Line 422:                        ret = ov_camera_module_write_config(cam_mod);
Line 423:                        if (IS_ERR_VALUE(ret))
Line 424:                                goto err;
Line 425:                }

Try that and recompile (make a backup of the original ov_camera_module.c first, just in case)
DataDataData

2

Threads

6

Posts

54

Credits

Registered member

Rank: 2

Credits
54
Post time 2018-12-12 18:42:50 | Show all posts
Edited by shrkn at 2018-12-12 18:46

Thank you for your advice. Helped.
But got out another error in the module fusb302.c in the memset function. I also overcame it with the help of compilation directives #pragma gcc pop...push.
Everything was compiled without errors and warnings.

But the image is still not going to. At the end, mkkrnkimg generates error 127.
I think you need to change the version of the cross compiler from 7 to 6 or lower. Or maybe something else?

2

Threads

6

Posts

54

Credits

Registered member

Rank: 2

Credits
54
Post time 2018-12-13 02:50:44 | Show all posts
Hi!
The problem was solved by installing the cross-compiler gcc-5-aarch64-linux-gnu and creating a symbolic link to it aarch64-linux-gnu-gcc.
No edits in the source code in this case do not need. By the way, the installation of the cross compiler version below 6 is mentioned in the orange Park 3399 manual, so read more carefully.

2

Threads

13

Posts

123

Credits

Registered member

Rank: 2

Credits
123
Post time 2018-12-14 04:32:01 | Show all posts
I'd love to see some support for the RK3399 at https://github.com/orangepi-xunlong/OrangePi_Build
DataDataData

12

Threads

87

Posts

461

Credits

Intermediate member

Rank: 3Rank: 3

Credits
461
Post time 2019-5-17 22:19:15 | Show all posts
There is some now.

0

Threads

1

Posts

20

Credits

Novice

Rank: 1

Credits
20
Post time 2019-5-29 02:24:34 | Show all posts
Edited by alleku at 2019-5-29 02:29

Hello, i successed install linux on emmc, but i can't install other programmm becouse root partition is very small

root@localhost:/home/orangepi# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       383M  349M  2.8M 100% /
devtmpfs        1.9G     0  1.9G   0% /dev
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           1.9G  8.1M  1.9G   1% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup

How to resolve this problem?

12

Threads

87

Posts

461

Credits

Intermediate member

Rank: 3Rank: 3

Credits
461
Post time 2019-5-30 15:04:28 | Show all posts
Strange, I will have to have a look on mine.
12
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-21 12:37 GMT+8 , Processed in 0.026517 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list