umiddelb / z2d Goto Github PK
View Code? Open in Web Editor NEWZero 2 Docker with Ubuntu Core, Debian 9, Devuan, Fedora 28 or CentOS 7
Zero 2 Docker with Ubuntu Core, Debian 9, Devuan, Fedora 28 or CentOS 7
Hi,
trying to install z2d on my odroid-c2. The script calls i_kernel_odroid_c2_412 which tries to download from https://www.dropbox.com/s/2idwwmeyuth1y7o/linux-4.12.0-gx-117138-g2921528.tar.xz which returns 404. Not sure how to fix it cause i have no idea who put up those kernel-images on dropbox and how they are built.
best regards,
thies
Following the guide at:
https://github.com/umiddelb/z2d/tree/master/pine64
I get no error for installing the image to SD card, but on boot I only a black screen.
You never even addressed the original complaints of the problems I was having with THIS image.
i'm trying to install centos7 on pine64 (following kurtstam instruction), but i have an error on
centos-00.sh -> ubuntu-core-00.sh
on last line
curl -sSL https://github.com/umiddelb/u-571/blob/master/board/pine64+/uboot.env.xz?raw=true | unxz | sudo dd of=./rootfs/bootenv/uboot.env
the file seems no more available, i'm missing something?
For the Pine64 install procedure instructions, step 6 gives a URL to download from, but that no longer seems to exist. Has it changed to something else?
I also tried following the instructions to create an SD card to boot from, but it seems to hang during boot. Maybe the step 6 I had to skip was necessary to make it work?
Thanks!
Hi.
It looks like a broken link:
https://www.dropbox.com/s/tp488tlsori4log/xenial_pine64.tar.xz?dl=0
I already tested the Centos and Jessie images.
Thanks for a great job!
The http://mirror.centos.org/altarch/7.4.1708/isos/aarch64/CentOS-7-aarch64-rootfs-7.4.1708.tar.xz
seems not exist. Do you keep a copy of it? Or can we create the centos arm64 rootfs with scripts like debian debootstrap?
Here are the steps I have done on my C2 device with HypriotOS
Note : I'm using a microSD to USB Adapter on my board.
sudo wipefs --all --force /dev/sdb
/dev/sdb: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
You wrote :
Please choose the correct device (e.g. SD card reader) to be taken in ubuntu-core-00.sh / debian-00.sh / centos-00.sh
In debian-00.sh I've changed the variable dev=mmcblk1 to dev=sdb because of :
$ sudo fdisk -l
Disk /dev/mmcblk0: 29.7 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xff6743db
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 3072 134143 131072 64M c W95 FAT32 (LBA)
/dev/mmcblk0p2 134144 62333951 62199808 29.7G 83 Linux
Disk /dev/sda: 931.5 GiB, 1000204885504 bytes, 1953525167 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 4414347E-0320-426B-A59B-84AB87D2735D
Device Start End Sectors Size Type
/dev/sda1 34 262177 262144 128M Microsoft reserved
Disk /dev/sdb: 29.7 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa5060000
and then
$ ./debian-00.sh
Welcome to fdisk (util-linux 2.25.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x98f74689.
Command (m for help): Created a new DOS disklabel with disk identifier 0xa506d958.
Command (m for help): Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-62333951, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (3072-62333951, default 62333951):
Created a new partition 1 of type 'Linux' and of size 29.7 GiB.
Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
/dev/sdb: msdos partitions 1
442+0 records in
442+0 records out
442 bytes (442 B) copied, 0.0238155 s, 18.6 kB/s
96+0 records in
96+0 records out
49152 bytes (49 kB) copied, 0.0220875 s, 2.2 MB/s
1248+0 records in
1248+0 records out
638976 bytes (639 kB) copied, 0.219132 s, 2.9 MB/s
-I not allowed on initialized environment
Cleared
mke2fs 1.42.12 (29-Aug-2014)
The file /dev/sdbp1 does not exist and no size was specified.
mount: special device /dev/sdbp1 does not exist
All of this is happening on the ARM64 board.
Hi Uli,
The latest centos (7.4) seems to work ok but I have no signal going to my HDMI display. Is it just me or is this just the way it is. Any ideas how to go about fixing it?
Cheers,
--Kurt
I just tried to run a container within docker and it seems to not work do you have an idea ?
debian@bambuserver12:/$ docker run -d --name local-persist \
> -v /run/docker/plugins/:/run/docker/plugins/ \
> -v /mnt/virtual/docker/plugins/local-persist/plugin-data:/var/lib/docker/plugin-data/ \
> -v /mnt/virtual/docker/volumes/:/volumes \
> bambuserver1:5000/ergu/docker-local-persist-volume-plugin-arm64:1.3.0
docker: Error response from daemon: error creating overlay mount to /mnt/virtual/var/lib/docker/overlay2/d5ac0e34b366a69f33278e90584832e4a8d97b794def378a7b95b7a6b21df3ec-init/merged: invalid argument.
See 'docker run --help'.
Setting up a new microSD card,
I got a Cannot connect to the Docker daemon. Is the docker daemon running on this host?
odroid@odroid:~$ service docker status
docker start/running, process 6690
odroid@odroid:~$ uname -a
Linux odroid 3.10.80-131 #1 SMP PREEMPT Thu Oct 15 19:53:29 BRT 2015 armv7l armv7l armv7l GNU/Linux
odroid@odroid:~$ sudo docker daemon
INFO[0000] [graphdriver] using prior storage driver "aufs"
INFO[0000] API listen on /var/run/docker.sock
INFO[0000] Firewalld running: false
INFO[0000] Default bridge (docker0) is assigned with an IP address 172.17.42.1/16. Daemon option --bip can be used to set a preferred IP address
WARN[0000] Your kernel does not support kernel memory limit.
WARN[0000] Your kernel does not support cgroup blkio weight
INFO[0000] Loading containers: start.
INFO[0000] Loading containers: done.
INFO[0000] Daemon has completed initialization
INFO[0000] Docker daemon commit=a34a1d5-dirty execdriver=native-0.2 graphdriver=aufs version=1.9.1
Moved the issue from other thread to this separate ticket.
I changed also the DHCP Ip address at \etc\network\interfaces.d\eth0 by the following:
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.14
netmask 255.255.255.0
gateway 192.168.1.1
and rebooted and it seems not to work anymore. Can't access the node via SSH.
in centos-00.sh
uboot-env: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=b0c83fed2bb49ada776be1c6817ab05be6f112f6, stripped
Should i run this scipt on ARM device? But i'm peparing one, how can i do it?
hi i'm using pine64 with centos.
i've seen that in centos for pine64, also in the latest kernel, are missing a lot of modules compared to kernel for c2 or xu4. i'm missing some module in kernel/net/ like sched.
There is a specific reason why they are not included?
there is a simple way to compile them, or would it be better to use c2 instead of pine for my tests?
thank you for your work
./uboot-env: 1: ./uboot-env: Syntax error word unexpected (expecting ")" )
Happens on Debian Stretch when trying to execute ./debian-00.sh, not sure what this message is trying to tell me.
Error: oci runtime error: could not synchronise with container process: could not create session key: function not implemented
root@p64:/# ./usr/share/docker.io/contrib/check-config.sh
info: reading kernel config from /proc/config.gz ...
Generally Necessary:
Optional Features:
root@p64:/# docker info
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 2
Server Version: 1.11.2
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 17
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: null host bridge
Kernel Version: 3.10.102
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: aarch64
CPUs: 4
Total Memory: 978.4 MiB
Name: p64
ID: VVDN:3AG3:UGJD:3PDX:7PML:72KL:PYVY:6FKL:HXY3:E72D:IZEJ:ZCUG
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/
Hi,
I create sd-cards using your scripts with minimal adjustments (dev=sda in alpine-00.sh). With some fiddeling I managed to get the scripts to work with no errors an the sd-cards gets written, ./uboot-env runs with no errors. Problem is that the generated sd-card does not boot. My odroid-c2 does not start the blue led at all. no hdmi-out, nothing.
thanx, thies
Hi!
I'm trying to install Centos 7 on my Odroid HC1, and script centos-01.sh can't download file https://www.dropbox.com/s/8jv998a9s267ilb/CentOS7-rootfs-armv7hl.tar.xz. I tried to download it manually, but file not exist (error 404)
For debian-02.sh I get this error :
$ ./debian-02.sh
./debian-02.sh: 126: ./common-functions.sh: Syntax error: Bad for loop variable
Connected to #16
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.