Skip to content

Instantly share code, notes, and snippets.

Step 5/11 : RUN echo "src-link camfeed /src/chaos_calmer/camfeed" >> ./feeds.conf && ./scripts/feeds update camfeed
---> Running in 45544f5a174c
Updating feed 'camfeed' from '/src/chaos_calmer/camfeed' ...
Create index file './feeds/camfeed.index'
Collecting package info: done
Collecting target info: done
Removing intermediate container 45544f5a174c
---> 51a6b595a42b
Step 6/11 : RUN ./scripts/feeds install zfttools && echo "\nCONFIG_PACKAGE_zfttools=y\n" >> .config && (make -j1 V=s package/zfttools/compile; exit 0)
---> Running in eb4a2f157ba2
base_sensor_config_anchor: &base_sensor_config
# Interface mode:
# VI_MODE_BT656 ITU-R BT.656 YUV4:2:2
# VI_MODE_BT601 ITU-R BT.601 YUV4:2:2
# VI_MODE_DIGITAL_CAMERA digatal camera mode
# VI_MODE_BT1120_STANDARD BT.1120 progressive mode
# VI_MODE_BT1120_INTERLEAVED BT.1120 interstage mode
# VI_MODE_MIPI MIPI mode
# VI_MODE_LVDS
FROM openwrt
COPY ./patches/* ./target/linux/hisilicon/patches-3.4.35/
# RUN ( make package/example/{clean,prepare} V=s QUILT=1 \
# && cd ./build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-hisilicon/ \
# && for i in /src/chaos_calmer/target/linux/hisilicon/patches-3.4.35/010-*.patch; do patch -s -p0 < $i; done )
# RUN make package/kernel/linux/{clean,prepare} V=s QUILT=1 \
# && cd ./build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-hisilicon/ \
FROM debian:stretch
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y install \
build-essential gawk git ncurses-dev python gcc-arm-linux-gnueabi u-boot-tools \
subversion unzip zlib1g-dev libssl-dev wget cpio bc time
WORKDIR /src/
RUN wget https://mirrors.edge.kernel.org/pub/linux/kernel/v3.x/linux-3.0.8.tar.xz \
&& wget https://mirrors.edge.kernel.org/pub/linux/kernel/v3.x/linux-3.18.20.tar.xz \
# Clean the exited containers
docker rm $(docker ps -a | grep Exit | cut -d ' ' -f 1)
# Clean the untagged images (or old images)
docker rmi $(docker images | tail -n +2 | awk '$1 == "<none>" {print $'3'}')
package main
import (
"fmt"
"sync"
"time"
"github.com/pions/webrtc/pkg/datachannel"
"github.com/pions/webrtc/pkg/ice"
"github.com/pions/webrtc"
@chertov
chertov / main.rs
Last active August 25, 2019 04:21
main.rs
//use std::sync::{Arc, Mutex};
//use tokio::prelude::*;
//use futures::Stream;
//use futures::{Future};
mod native;
static HI_SUCCESS: i32 = native::HI_SUCCESS as i32;
static ALIGN_WIDTH: u32 = 64;
@chertov
chertov / main.c
Last active October 9, 2018 20:44
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <termios.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
//use std::sync::{Arc, Mutex};
//use tokio::prelude::*;
//use futures::Stream;
//use futures::{Future};
#[macro_use]
extern crate nix;
use std::thread;
use std::fs::File;
@chertov
chertov / main.c
Last active October 13, 2018 08:59
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/poll.h>
#include <sys/time.h>
#include <fcntl.h>