dilyan_ivanov post at 2018-8-31 20:08:58

Building Ubuntu with scripts

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!



igorpec post at 2018-9-1 00:00:55

Check this: https://github.com/armbian/build

dilyan_ivanov post at 2018-9-3 16:39:31

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!

igorpec post at 2018-9-3 21:02:12

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 ...

dilyan_ivanov post at 2018-9-3 21:09:04

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!

Sharonddavis post at 2024-3-7 23:11:00

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.
page: [1]
View full version: Building Ubuntu with scripts