Comments (20)
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.
Attach screenshots or describe the problem in more detail.
from orangepi_build.
from orangepi_build.
I recommend checking:
- How many cores and RAM are allocated to the virtual machine;
- Install ubuntu 18.04 on the VM and try on it;
- 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.
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.
from orangepi_build.
from orangepi_build.
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.
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.
I've got another error now:
from orangepi_build.
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.
On Debian it start to compile, then freezes.
I updated Ubuntu before I started the script, so no updates are needed.
from orangepi_build.
Please see #32
from orangepi_build.
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.
Unfortunately it was not possible to collect from source codes Orange Pi Zero.
In Ubunt immediately gives an error after the start ./build.sh
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
from orangepi_build.
from orangepi_build.
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.
My build also freezes
from orangepi_build.
@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.
@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)
- Wifi device on 4G-IOT
- Mainline uboot repository not found HOT 1
- CreatingABootableSD_Card - OrangePi_4G_IOT HOT 5
- Where full SBC list? HOT 1
- i96 console freezes HOT 5
- Ubuntu or Debian 3G-IOT example HOT 1
- No firmware included HOT 1
- Orange Pi IoT 3g B runs Linux and the modem 3G?
- Orange Pi 3g-IOT-B LTE modem not working HOT 1
- unable to locate package lib32z1 and lib32z1-dev when building
- Intermittent HDMI Audio Issues on Orange Pi 5B HOT 1
- Where is Orange Pi 5 support?
- Orange Pi Zero 2W 1GB No HDMI sound
- menuconfig has no effect for Orange Pi 3 H6 HOT 2
- orangepi zero debian compile rootfs failed
- kernel overlay support HOT 1
- The issue about Rootfs Compile in OrangePi Lite2(dpkg: error processing package blueman (--configure):)
- Orangepizerolts 2.0.8 ubuntu bionic server linux5.4.27 HOT 1
- 运行 Build_OrangePi.sh 失败 HOT 1
- LTE modem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orangepi_build.