Code Monkey home page Code Monkey logo

Comments (20)

alex-eri avatar alex-eri commented on May 27, 2024 1

Looks like fork-bomb

Build script kernel_compile.sh has make -j ARCH=.... that means build jobs are not limites.

make -j 1 .. fixex it

from orangepi_build.

sabur2342 avatar sabur2342 commented on May 27, 2024

Attach screenshots or describe the problem in more detail.

from orangepi_build.

timkoers avatar timkoers commented on May 27, 2024

from orangepi_build.

sabur2342 avatar sabur2342 commented on May 27, 2024

I recommend checking:

  1. How many cores and RAM are allocated to the virtual machine;
  2. Install ubuntu 18.04 on the VM and try on it;
  3. I used this guide - How to build the images

But the image created by the script recorded on microsd was not loaded. More precisely, the eth-adapter was not started. I had to take the already created .img-image of the OS from the website OS for OrangePi and replace the partition of the /boot and /roofs replaced with the data created by the script, then everything worked.

Programs that must be installed before the assembly of OS^
apt-get install curl libcurl4 libcurl4-openssl-dev
apt-get install lib32stdc++6
apt-get install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc
apt-get install linux-source
apt-get install debootstrap
apt-get install schroot
apt-get install binfmt-support qemu qemu-user-static
apt-get install lib32ncurses5 lib32ncurses5-dev libusb-1.0-0-dev

from orangepi_build.

sabur2342 avatar sabur2342 commented on May 27, 2024

Something else. On Debian 9.4 to assemble the system did not work out. It turned out on Debian 9.5 and ubuntu 18.04. Make sure to: apt update and apt upgrade.

from orangepi_build.

timkoers avatar timkoers commented on May 27, 2024

from orangepi_build.

timkoers avatar timkoers commented on May 27, 2024

from orangepi_build.

sabur2342 avatar sabur2342 commented on May 27, 2024

The guidance How to build the images is correct.
If there is an error: Script_to_dts: Can not find [sun50iw2p1-cheetah-p1.dts]
Locate the file: ".sun50iw2p1-soc.dtb.dts" and copy it to the directory specified by the script when displaying the error message.

from orangepi_build.

timkoers avatar timkoers commented on May 27, 2024

afbeelding
It froze once again on my VM running Debian 9.5. The disk indicator at the bottom shows it is still reading or writing to the disk as it keeps blinking red and green.
I'll try Ubuntu now

from orangepi_build.

timkoers avatar timkoers commented on May 27, 2024

I've got another error now:

afbeelding

from orangepi_build.

sabur2342 avatar sabur2342 commented on May 27, 2024

I used only stable assemblies of Debian and Ubuntu. Update the operating system Ubuntu. You on the screenshot indicate that the system has available updates. Does the display of the script work stop or something else happen on the Debian?

from orangepi_build.

timkoers avatar timkoers commented on May 27, 2024

On Debian it start to compile, then freezes.
I updated Ubuntu before I started the script, so no updates are needed.

from orangepi_build.

timkoers avatar timkoers commented on May 27, 2024

Please see #32

from orangepi_build.

sabur2342 avatar sabur2342 commented on May 27, 2024

PrepareTool.sh script in walks in OrangePi_Build. These files are needed to run the scripts to load the source code for your OrangePi. I did the assembly for OrangePi Prime and everything turned out. I'll try to assemble for OrangePi Zero. Let's see what happens.

from orangepi_build.

sabur2342 avatar sabur2342 commented on May 27, 2024

Unfortunately it was not possible to collect from source codes Orange Pi Zero.
In Ubunt immediately gives an error after the start ./build.sh
image

After the launch build uboot. Did not automatically download the toolchain.
OrangePi Zero plus build on Allwinner H2+ Soc, the offfically maintained repository as follows:
I had to download manually: git clone https://github.com/orangepi-xunlong/OrangePiH3_toolchain.git
image

from orangepi_build.

timkoers avatar timkoers commented on May 27, 2024

from orangepi_build.

sabur2342 avatar sabur2342 commented on May 27, 2024

If you do not create an image, but there are files for the kernel and root. That can be manually copied to the OS image for OrangePi Zero.
Where X is the initial sector of the section. You can learn it like this:
file sdb.img
Directories for mounting should already be created.
sudo mount sdb.img /mnt/sdb2 -o offset=$((X*512))

from orangepi_build.

alex-eri avatar alex-eri commented on May 27, 2024

My build also freezes

from orangepi_build.

timkoers avatar timkoers commented on May 27, 2024

@alex-eri I've changed that in a pull request of the script repo. That request hasn't been accepted yet, it would help if you drew some attention too to that pull request

from orangepi_build.

afilis avatar afilis commented on May 27, 2024

@sabur2342 I had the same problem. I fixed it by replacing lib32stdc++ to lib32stdc++6 in scripts/Prepare_toolchain.sh.

from orangepi_build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.