This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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'}') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"sync" | |
"time" | |
"github.com/pions/webrtc/pkg/datachannel" | |
"github.com/pions/webrtc/pkg/ice" | |
"github.com/pions/webrtc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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> |
OlderNewer