-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation freezes on Debian 9.4.0 #31
Comments
Attach screenshots or describe the problem in more detail. |
I'm afraid that is all I know. It started compiling the kernel and the whole system (my laptop and VM) freezes, I am not compiling it at the Orange Pi itself. It doesn't stop at a certain file and it looks like the processor is being used to much.
…________________________________
Van: sabur2342 <[email protected]>
verzonden: woensdag 1 augustus 2018 18:32
Aan: orangepi-xunlong/OrangePi_Build
Cc: timkoers; Author
Onderwerp: Re: [orangepi-xunlong/OrangePi_Build] Compilation freezes on Debian 9.4.0 (#31)
Attach screenshots or describe the problem in more detail.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#31 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AEELRYVYpOvcaJCtlYCKQVyme46B5vS8ks5uMdgZgaJpZM4VqxgI>.
|
I recommend checking:
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^ |
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. |
There are 4 cores and 4GB of ram allocated to the VM.
I think my laptop has the same specs, I've not checked that yet since I got it as a workbench laptop 2 days ago.
The build script installs all those programs right?
Again, the compilation is not failing, the operating system the source code is being compiled on freezes during the first 2 minutes of the compilation
…________________________________
Van: sabur2342 <[email protected]>
verzonden: woensdag 1 augustus 2018 19:40
Aan: orangepi-xunlong/OrangePi_Build
Cc: timkoers; Author
Onderwerp: Re: [orangepi-xunlong/OrangePi_Build] Compilation freezes on Debian 9.4.0 (#31)
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<https://github.com/skycoin/Orange-Pi-H5/wiki/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<http://www.orangepi.org/downloadresources> 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
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#31 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AEELRf8aS756JJFxfo76pxoNUur7rciDks5uMegggaJpZM4VqxgI>.
|
Aah thanks!
…________________________________
Van: sabur2342 <[email protected]>
verzonden: woensdag 1 augustus 2018 19:43
Aan: orangepi-xunlong/OrangePi_Build
Cc: timkoers; Author
Onderwerp: Re: [orangepi-xunlong/OrangePi_Build] Compilation freezes on Debian 9.4.0 (#31)
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.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#31 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AEELRdlS5EOzoXbdG7Mknjr6SeO0V-Qgks5uMei7gaJpZM4VqxgI>.
|
The guidance How to build the images is correct. |
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? |
On Debian it start to compile, then freezes. |
Please see #32 |
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. |
Unfortunately it was not possible to collect from source codes Orange Pi Zero. After the launch build uboot. Did not automatically download the toolchain. |
I've done that and I've removed the conflicting package from the script. It now builds successfully, but it doesn't generate and .IMG file
…________________________________
Van: sabur2342 <[email protected]>
verzonden: zaterdag 4 augustus 2018 09:16
Aan: orangepi-xunlong/OrangePi_Build
Cc: timkoers; Author
Onderwerp: Re: [orangepi-xunlong/OrangePi_Build] Compilation freezes on Debian 9.4.0 (#31)
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]<https://user-images.githubusercontent.com/41253830/43673592-69e6e948-97ce-11e8-885e-5a7b93940100.png>
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]<https://user-images.githubusercontent.com/41253830/43673595-8c0c248e-97ce-11e8-91b7-9e569d9a0f38.png>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#31 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AEELRcVt0swlEeeUCEjfX74b7dEsHDUbks5uNUovgaJpZM4VqxgI>.
|
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. |
My build also freezes |
Looks like fork-bomb Build script kernel_compile.sh has
|
@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 |
@sabur2342 I had the same problem. I fixed it by replacing lib32stdc++ to lib32stdc++6 in scripts/Prepare_toolchain.sh. |
I am trying to compile for the Orange Pi Zero and on both my VM and my secondary laptop (which hasn't got the best specs) the operating system freezes without any errors. It keeps on reading from the disk though, as if it was reading files to compile. How do I fix this?
The text was updated successfully, but these errors were encountered: