Comments (9)
$ make imx_v7_cbi_hb_defconfig does not succeed... -->
*** Can't find default configuration "arch/x86/configs/imx_v7_cbi_hb_defconfig"!
Any idea where to go with this make configuration update?
This happens when you try to compile an ARM target on x86 without having set up cross compiling.
Please try to compile the kernel on the CuBox-i directly, it will take about 1h 30minutes.
from armhf.
Ah...very well. So I moved on to the CuBox and got through to this point with the following error message:
$ make -j 4 zImage
...
INSTALL include/linux/can (5 files)
INSTALL include/scsi/fc (4 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/scsi (3 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/sound (11 files)
INSTALL include/video (3 files)
INSTALL include/linux/hsi (1 file)
INSTALL include/xen (4 files)
INSTALL include/linux/isdn (1 file)
INSTALL include/linux/mmc (1 file)
INSTALL include/uapi (0 file)
/root/linux-imx6-3.14/scripts/Makefile.headersinst:55: *** Missing UAPI file /root/linux-imx6-3.14/include/uapi/linux/netfilter/xt_CONNMARK.h. Stop.
/root/linux-imx6-3.14/scripts/Makefile.headersinst:128: recipe for target 'netfilter' failed
make[3]: *** [netfilter] Error 2
/root/linux-imx6-3.14/scripts/Makefile.headersinst:128: recipe for target 'linux' failed
make[2]: *** [linux] Error 2
make[2]: *** Waiting for unfinished jobs....
/root/linux-imx6-3.14/Makefile:964: recipe for target 'headers_install' failed
make[1]: *** [headers_install] Error 2
Makefile:819: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 2
root@cubox-i:~/linux-imx6-3.14# uname -a
Linux cubox-i 3.14.14-cubox-i #8 SMP Sun Jul 12 19:03:09 CEST 2015 armv7l GNU/Linux
Any ideas about this ?
from armhf.
Please check, if you have installed bc
and lzop
.
from armhf.
OK, installed lzop (already had bc). The compiled seemed to finish OK. Can you clarify what the next steps are? Is there an image created somewhere that I need to reflash as the new OS or is this build process supposedly modifying the existing OS in place? I rebooted, but there is no docker present.
from armhf.
The steps mentioned here will help you to compile and install a custom linux kernel on the CuBox-i. The step
$ sudo cp arch/arm/boot/zImage arch/arm/boot/dts/*.dtb /boot
copies the kernel image and the device tree binaries to the directory /boot
.
Most of the ARM devices use u-boot as the boot manager. The default configuration on the CuBox-i will search for a file called zImage
on the first partition of the µSD (either in /
or in /boot
). I haven't used the linux images provided by SolidRun, so I don't know their exact partitioning layout. Usually the first partition is mounted as /boot
, the second is mounted as /
.
The above relates to the linux kernel only, the rest of the operating system is not affected.
If you want to run Docker you need to install the relevant packages
$ sudo apt-get install lxc aufs-tools cgroup-lite apparmor docker.io
To complete the setup, you may integrate aufs support into your custom kernel and update the docker binary.
from armhf.
Thanks for the continued help on this... one of the things that seems to be still missing is any package support from ARM for docker.io... Did you get this message at some point?
root@cubox-i:~# sudo apt-get install lxc aufs-tools cgroup-lite apparmor docker.io
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package docker.io is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package cgroup-lite
E: Package 'docker.io' has no installation candidate
from armhf.
It seems you're using debian. The tutorial is written for ubuntu users.
from armhf.
for Debian, you may try step 4 mentioned here.
from armhf.
If you want to try ubuntu, you may take the image I'm using for my CuBox-i. You can find it here.
from armhf.
Related Issues (20)
- Incorrect statement regarding odroid xu4 kernel HOT 2
- Go Path in Dockerfile HOT 1
- u-boot instructions are not ones that should be used HOT 3
- Tutorial: "WARNING! I don't seem to be running in the Docker container." HOT 10
- bus error HOT 1
- Odroid-C2 make instructions error HOT 1
- 'Warning: Bad CRC, using default environment' ? HOT 5
- Vielen Dank fürs Ergänzen / Korrigieren HOT 1
- rt patch for Odroid XU4 mainline HOT 9
- Docker 1.11.2 binary? HOT 1
- Getting failure when running sudo sh build.sh HOT 4
- unmaintained? HOT 2
- Add higher frequencies for XU4 on ioft repository HOT 2
- Cannot start docker container HOT 6
- Update the XU4 example with the 4.14 branch HOT 3
- Uboot 2015 version for Odroid C1 HOT 2
- Embedding Linux headers while building custom android kernel bootable image HOT 3
- odroid ubuntu git command HOT 1
- ARCH=arm? HOT 1
- Could not resolve host HOT 2
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 armhf.