Giter VIP home page Giter VIP logo

Comments (9)

umiddelb avatar umiddelb commented on July 16, 2024

$ 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.

aerodame avatar aerodame commented on July 16, 2024

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.

umiddelb avatar umiddelb commented on July 16, 2024

Please check, if you have installed bc and lzop.

from armhf.

aerodame avatar aerodame commented on July 16, 2024

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.

umiddelb avatar umiddelb commented on July 16, 2024

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.

aerodame avatar aerodame commented on July 16, 2024

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.

umiddelb avatar umiddelb commented on July 16, 2024

It seems you're using debian. The tutorial is written for ubuntu users.

from armhf.

umiddelb avatar umiddelb commented on July 16, 2024

for Debian, you may try step 4 mentioned here.

from armhf.

umiddelb avatar umiddelb commented on July 16, 2024

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)

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.