Giter VIP home page Giter VIP logo

armhf's People

Contributors

aerodame avatar stuart-c avatar umiddelb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

armhf's Issues

Could not resolve host

I get the following error on a Raspberry Pi Zero running Raspbian Stretch in part 4 of the instructions from this page:

curl -sSL http://downloads.hypriot.com/docker-hypriot_1.8.2-1_armhf.deb >/tmp/docker-hypriot_1.8.2-1_armhf.deb curl: (6) Could not resolve host: downloads.hypriot.com

bus error

@umiddelb, nothing directly related to your work here but thought you might have a clue :)

I was compiling a docker container on my C1 and it went offline... It still boots now (thankfully) but gives bus error. Using my Mac... it doesn't seem to repair/resolve the SD card.

Any clue or formatting is my best bet?

screen shot 2016-03-04 at 23 09 19

Thanks!

Thanks + questions

Hey @umiddelb,

great work for the documentation! Really interesting and helps me figure out what went wrong for my image.

I have a question if you can help me along:

1.) I did not compile my own kernel (so no aufs)
2.) Using a Odroid-C1 minimal from http://odroid.com/dokuwiki/doku.php?id=en:c1_ubuntu_minimal

I have a few errors like CONFIG_CGROUP_CPUACCT: missing in my attempt to fire up a container with your armhf image. (checked using the https://github.com/docker/docker/blob/master/contrib/check-config.sh)

screen shot 2015-02-22 at 23 01 43

Did you experience something similar on the C1 or is there something that i have overlooked?

3.) I used the binary for the 1.5.0 docker version you compiled

Thanks!!

[C1] cgroup hierarchy: nonexistent??

Hey @umiddelb,

i also tried out the latest Ubuntu from Hardkernel and i ran the Docker check just to be sure.

Seems like by default, they did not enable the - cgroup hierarchy: nonexistent??

There's a script to do so as mentioned: https://github.com/tianon/cgroupfs-mount

So i thought i would mention to you in case someone asked the same thing. I will test out Docker 1.5.0 and see how it goes and report back.

Thanks!

Embedding Linux headers while building custom android kernel bootable image

Just want to know, while building the custom Android kernel (arm64 architecture), is it possible to install corresponding Linux-headers with that.

As I want to install a few drivers software on Android and they are finding the Linux-headers corresponding to the android-kernel version? Can anyone please tell me how to do that?

Please build docker-1.9.0 for arm.

I'm trying to build it on my own.

$ ./build --arm 6 1.9.0
...
Fetched 2527 kB in 1min 3s (40.1 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package ubuntu-zfs
The command '/bin/sh -c apt-get update && apt-get install -y    apparmor        aufs-tools      automake        bash-completion    btrfs-tools     build-essential         createrepo      curl    dpkg-sig        git     iptables        libapparmor-dev    libcap-dev      libsqlite3-dev  mercurial       parallel        python-mock     python-pip      python-websocket  reprepro         ruby1.9.1       ruby1.9.1-dev   s3cmd=1.1.0*    ubuntu-zfs      libzfs-dev      --no-install-recommends' returned a non-zero code: 100
Makefile:74: recipe for target 'build' failed
make: *** [build] Error 1

I found there is no ubuntu-zfs_8~trusty_armhf.deb in PPA.
I don't know how to solve it. Please help. Thanks!

Trying docker 1.8.1 Fails

Uli, still compiling 1.7.1 but initially I tried building 1.8.1 and received the following error...

$ git clone -b 'v1.8.1' --single-branch https://github.com/docker/docker.git

$ sudo make build

...
Step 14 : RUN curl -sSL ...
2015/08/25 16:17:23 finalize namespace drop capabilities operation not permitted
2015/08/25 18:17:23 The command [/bin/sh -c curl -sSL https://golang.org/dl/go${GO_VERSION}.src.tar.gz | tar -v -C /usr/local -xz && mkdir -p /go/bin] returned a non-zero code: 1

make: *** [build] Error 1

Actually 1.7.1 build just failed as well. Similar problem but at a different step.

Removing intermediate container 89c1d0ca770d
Step 40 : ENV TOMLV_COMMIT 9baf8a8a9f2ed20a8e54160840c492f937eeaf9a
---> Running in 6974271ca401
---> d9662cb19f3c
Removing intermediate container 6974271ca401
Step 41 : RUN set -x && git clone https://github.com/BurntSushi/toml.git /go/src/github.com/BurntSushi/toml && (cd /go/src/github.com/BurntSushi/toml && git checkout -q $TOMLV_COMMIT)
---> Running in db87fab2b11a
2015/08/25 17:32:19 finalize namespace drop capabilities operation not permitted
2015/08/25 19:32:20 The command [/bin/sh -c set -x && git clone https://github.com/BurntSushi/toml.git /go/src/github.com/BurntSushi/toml && (cd /go/src/github.com/BurntSushi/toml && git checkout -q $TOMLV_COMMIT)] returned a non-zero code: 1
make: *** [build] Error 1

Just curious if you have seen the same and/or know how to get past this error.

ARCH=arm?

Hello!

Regarding the

umiddelb/armhf/wiki/How-To-compile-a-custom-Linux-kernel-for-your-ARM-device

I wonder how does it work without ever specifying ARCH=arm in any make invocation, or ever mentioning it at all?

I doubt the tutorial expects the kernel is being built on some ARM host, so the host is likely x86, and we are building cross.

In this case, in particular, the recipe:

cd linux
make <default_config>
less .config

will try to find <devault_config> in arch/x86 rather than in arch/arm, and should fail.

If ARCH=arm should be set in the environment, it should better be explicitly stated in the tutorial, I think.

What do I miss?

Go Path in Dockerfile

I used to be able to build docker on my targets using the normal steps:

$ git clone -b 'v1.9.1' --single-branch https://github.com/docker/docker.git
$ cd docker
$ curl -L https://github.com/umiddelb/armhf/raw/master/Dockerfile.armv7 > Dockerfile
$ sudo make build
$ sudo make binary
Now, I get a make error ...at STEP 41:

go get -v -d github.com/cpuguy83/go-md2man package code.google.com/p/go.net/html: unable to detect version control system for code.google.com/ path
This kills the make. Is this a known issue?

Tutorial: "WARNING! I don't seem to be running in the Docker container."

Thank you very much for the nice tutorial https://github.com/umiddelb/armhf/wiki/Get-Docker-up-and-running-on-the-RaspberryPi-%28ARMv6%29-in-three-steps but there is one error for sudo sh run-builder.sh:

HEAD is now at c3959b1... Merge pull request #20526 from tiborvass/1.10.2-cherrypicks
# WARNING! I don't seem to be running in the Docker container.
# The result of this command might be an incorrect build, and will not be
#   officially supported.
#
# Try this instead: make all
# 

So in the end: How does it work when you want to build docker for ARM for the first time but you need a docker container for this to do this? So for the beginning I have to use a pre compiled docker package?

rt patch for Odroid XU4 mainline

Hey @umiddelb,

Thank you for the great Wikipage :-)
I am a kernel compilation newbie and I would like to compile the mainline kernel with a realtime patch for the Odroid XU4. I found out that the newest Kernelversion.Patchlevel.Subslevel is 4.6.0.
I searched for the corresponding rt-patch and found
https://www.kernel.org/pub/linux/kernel/projects/rt/4.6/older/patch-4.6-rc7-rt1.patch.gz
Applying the patch with
zcat patch-4.6-rc7-rt1.patch.gz | patch -p1
results in a lot of patching errors. Is this the right way and the kernel is modifyied such that it is not possible to apply the patch or did I made some mistakes?

Greetings from Ilmenau (Germany),
Fabian

Cubox-i Pro make process is broken

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

.img for cubox-i

Hey @umiddelb, i downloaded the image from your website for Cubox-i (actually running on hummingboard) but the .bz2 file gave me a .tar which uncompressed to the files for the SD.

Is that the right way to install by copying the files over to the SD? How do we expand and use the entire diskspace then? Thanks!

semi-automatic update

Hey @umiddelb ,

can you advice on how you update your devices with a new docker version each time you build a new one?

Thanks! :)

Cannot proceed with Install Fedora 21 on ARMv7 (ODROID C1)

All the steps work until this one:

( cd /mnt; sudo find * | sudo cpio -dump .../rootfs )

I get many messages of the form:

cpio: cannot make directory `...': Read-only file system

I'm also curious why you have three dots in a row instead of two.

Getting failure when running sudo sh build.sh

I'm getting the following error when running STEP 5 of the build.sh:

curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 104

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
The command '/bin/sh -c curl -sSL https://github.com/hypriot/golang-armbuilds/releases/download/v${GO_VERSION}/go${GO_VERSION}.linux-armv7.tar.gz | tar -xz -C /usr/local' returned a non-zero code: 2

I'm running it using on a Raspberry Pi Zero.

Any ideas?

Thanks,
Carlos.

Please leave your comment here https://github.com/raspberrypi/linux/pull/1020

@chris-kobrzak @ubergesundheit @rjbrown99 @hakandilek @djmaze @rickyzhang82 @DylanSchell @kevincaradant @ynk @RicJac @juliancheal @cawa0505 @chrisspen @lexruee @ManfredHerrmann @oldgregg @daozhao @MaksymBilenko @sjuut @kennethlimcp @ewalbridge @docdawning @siliond @steveej @The-Loeki @jefby @flosky @jgjl @CodeWire @jforge @stuart-c

Dear Stargazers et al.,

I'm currently trying to get basic docker support enabled into the standard raspbian linux kernel. If you want to support this attempt, please leave a comment here
...
"I'd also like to know how many users actually want this feature, so if you do then post here."

Update the XU4 example with the 4.14 branch

Hi, could you update your XU4 example with the 4.14 branch from Hardkernel instead of 4.9?
It needs a branch change and also you can make odroidxu4_defconfig instead of xu3_defconfig.

Thanks!

unmaintained?

I'm looking for debian base images to build armhf container images and I've really liked your work. However, I notice that you have not updated this repo and the images on dockerhub in a while. Have you abandoned or paused this effort, and if so, which base images would you recommend to use instead? (I'm using odroids and am not interested in raspian base images.) Thanks much!!

Cannot start docker container

Hello

I need some assistance on an issue that I am facing. I followed your instructions and to me it looks like it is working. Please see this record.

Now I try to run a container called Collabora. I used this command:
docker run -t -d -p 9980:9980 -e "domain=sub\.domain\.com" --cap-add MKNOD collabora/code

but it fails. Here is the error log.

Any idea how to get this fixed? Or just a hint where I can start to investigate? Is this might be an collabora container issue?

Your assistance is highly appreciated.

Kind regards
//nephilim

'Warning: Bad CRC, using default environment' ?

Thanks for the wiki postings. Very helpful. I'm running a UX4. Any thoughts on the bad CRC message?

odroid@odroid:~$ uname -a
Linux odroid 3.10.92-76 #1 SMP PREEMPT Tue Jan 12 16:55:48 BRST 2016 armv7l armv7l armv7l GNU/Linux
odroid@odroid:~$ cat /etc/fw_env.config
# <device>   <offset> <length>
/dev/mmcblk0 0x99E00   0x4000
odroid@odroid:~$
odroid@odroid:~$ fw_printenv
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd

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.