Comments (9)
I think the correct answer will be ...
Install in the HOST the qemu user package:
apt-get install qemu-user-staticBecause even solving that,
if you are cross-debootstrapping, it will fail in second bootstrap stage...
You are RIGHT, it works for me:
- HostOS: Ubuntu 18.04
- BOARD: OrangePi 3
Try reinstall qemu-user-static
sudo apt purge qemu-user-static
sudo apt install qemu-user-static
from orangepi_build.
I think the correct answer will be ...
Install in the HOST the qemu user package:
apt-get install qemu-user-static
Because even solving that,
if you are cross-debootstrapping, it will fail in second bootstrap stage...
from orangepi_build.
You can try
apt-get install qemu-utils qemu-efi-aarch64 qemu-system-arm
It works for me.
from orangepi_build.
Retry with Ubuntu 16.04 x64 as OS
from orangepi_build.
I tried with ubuntu 16.04 x64, the same error.
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"
from orangepi_build.
It looks like the do_chroot
function contains bugs in the script 00_rootfs_build.sh. qemu-aarch64-static
is missing!
The correct do_chroot
should be this:
do_chroot() {
cmd="$@"
chroot "$DEST" qemu-aarch64-static /usr/bin/mount -t proc proc /proc || true
chroot "$DEST" qemu-aarch64-static /usr/bin/mount -t sysfs sys /sys || true
chroot "$DEST" qemu-aarch64-static $cmd
chroot "$DEST" qemu-aarch64-static /usr/bin/umount /sys
chroot "$DEST" qemu-aarch64-static /usr/bin/umount /proc
}
And I submit a PR here https://github.com/orangepi-xunlong/OrangePiH5_scripts/pull/2
from orangepi_build.
This seems to resolve with #5 (comment)
from orangepi_build.
sudo mount -i -o remount,exec,dev /home/jqian/works
from orangepi_build.
You can try
apt-get install qemu-utils qemu-efi-aarch64 qemu-system-armIt works for me.
THANKS
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.