Skip to content

Instantly share code, notes, and snippets.

@felipec
felipec / make_rootfs
Created September 17, 2008 23:26
rootfs helper
#!/bin/bash
## contents of ubinize.cfg
# [ubifs]
# mode=ubi
# image=/tmp/ubifs.img
# vol_id=0
# vol_size=128MiB
# vol_type=dynamic
# vol_name=rootfs
@felipec
felipec / fb_test.c
Created September 8, 2008 20:25
framebuffer test
#include <fcntl.h>
#include <sys/ioctl.h>
#include <linux/fb.h>
#include <sys/mman.h>
#include <stdio.h>
#include <stdint.h>
static struct fb_var_screeninfo sinfo;
static struct fb_fix_screeninfo fix_info;