please choosego to mobile | Continue to access the PC version
View: 4359|Reply: 5

Building Ubuntu with scripts

[Copy link]

2

threads

4

posts

16

credits

Novice

Rank: 1

credits
16
Published in 2018-8-31 20:08:58 | Show all floors |Read mode
Hello,


I'm trying to build Ubuntu Xenial with these scripts.
Everithing in params.sh file is set properly, but when I run create image script. I got the following error:

пт авг 31 14:42:59 EEST 2018
=======================================================
Creating Ubuntu/Debian SD Card instalation for OrangePI
=======================================================

Creating root filesistem in local directory linux-xenial...

DEBOOTSTRAP, FIRST STAGE
OK.                        
Creating "sources.list"
Error while loading /bin/bash: No such file or directory
================================================
ERROR on second-stage, instalation NOT FINISHED.


So, I found what cause this error. It was this line:

+ chroot linux-xenial /usr/bin/qemu-arm-static -cpu cortex-a9 /bin/bash /second-stage
Error while loading /bin/bash: No such file or directory


I'm using Ubuntu 16.04

Now, I'm stuck with this error.
Need your help!
Thank you!



9

threads

634

posts

4398

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4398
Published in 2018-9-1 00:00:55 | Show all floors

2

threads

4

posts

16

credits

Novice

Rank: 1

credits
16
 Author| Published in 2018-9-3 16:39:31 | Show all floors
Thank you very much, @igorpec. I was able to compile successfully armbian image. But, now I have another problem. I need to load vfe_v4l2. When I try sudo modprobe vfe_v4l2 I have the following message:

modprobe: FATAL: Module vfe_v4l2 not found in directory /lib/modules/4.14.67-sunxi

Modules are in /lib/modules/4.14.67-sunxi/kernel/drivers

I need to load also ov5647 module (my camera is with this sensor), but can't find that module in /lib/modules/4.14.67-sunxi/kernel/drivers/media/i2c. How to compile that module?
I need that modules to start motion

Thank you for your help!

9

threads

634

posts

4398

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4398
Published in 2018-9-3 21:02:12 | Show all floors
I need to load vfe_v4l2. When I try sudo modprobe vfe_v4l2


If you didn't enable it in kernel configuration as a module, it can't exist. I am not sure how is with camera support in the modern kernel. Perhaps you will need to stick to old 3.4.y kernel ...

2

threads

4

posts

16

credits

Novice

Rank: 1

credits
16
 Author| Published in 2018-9-3 21:09:04 | Show all floors
I understand. The problem with 3.4 kernel is that sunxi ov5647 module didn't work at all. However, thank you very much for your help!

0

threads

7

posts

39

credits

Novice

Rank: 1

credits
39
Published in 2024-3-7 23:11:00 | Show all floors
In the process of building Ubuntu with scripts, integrating reliable crypto payment processors is essential for facilitating seamless transactions. By incorporating trusted processors like CoinGate or BitPay, the Ubuntu platform ensures secure and efficient processing of cryptocurrency payments. This integration not only enhances user experience but also reflects a commitment to modern payment solutions, catering to the needs of users in the digital age.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list