Skip to content

Instantly share code, notes, and snippets.

# --*- makefile -*--
WORKSPACE_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
DEPLOY_DIR ?= ${WORKSPACE_DIR}/../build/deploy
MACHINE ?= phyboard-nunki-imx6-3
_BUILDVAR_STYLE := kernel
include ${DEPLOY_DIR}/buildvars/${MACHINE}/linux-mainline.mk
extern crate hyper;
extern crate futures;
use hyper::server::{Service, Http, Request, Response};
struct Environment {
}
struct HttpService<'a> {
pub env: &'a Environment,
@ensc
ensc / spl.c
Created October 24, 2017 11:29
/* Samsung K4B2G1646Q-BY */
#define K4B2G1646QBY_EMIF_READ_LATENCY 0x07
#define K4B2G1646QBY_EMIF_TIM1 0x0AAAD4DB
#define K4B2G1646QBY_EMIF_TIM2 0x26437FDA
#define K4B2G1646QBY_EMIF_TIM3 0x501F83FF
#define K4B2G1646QBY_EMIF_SDCFG 0x61C052B2
#define K4B2G1646QBY_EMIF_SDREF 0x2000049E
#define K4B2G1646QBY_ZQ_CFG 0x50074BE4
#define K4B2G1646QBY_RATIO 0x80
#define K4B2G1646QBY_INVERT_CLKOUT 0x0
####
#### Usage:
#### SRC_URI = "<uri>;name=bootsplash[;rotate=<rot>][;convert=<conv>]
#### name=bootsplash ... mandatory parameter to mark URI as
#### a bootsplash image
#### rotate=<rot> ... rotate image by <rot> degree
#### convert=<conv> ... apply <conv> conversion
#### linux-logo ... convert to ASCII PPM with <=224 colors
#### barebox ... convert to PNG
####