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
{ | |
"configurations": [ | |
{ | |
"name": "Linux", | |
"includePath": [ | |
"${workspaceFolder}/include", | |
"${workspaceFolder}/arch/arm/include", | |
"${workspaceFolder}/arch/arm/include/generated", | |
"${workspaceFolder}/include/uapi" | |
], |
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
#!/bin/bash | |
set -o nounset | |
set -o errexit | |
REPO_URI=${REPO_URI:-"https://github.com/Hexxeh/rpi-firmware"} | |
UPDATE_SELF=${UPDATE_SELF:-1} | |
UPDATE_URI="https://raw.githubusercontent.com/Hexxeh/rpi-update/master/rpi-update" |
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 <stdint.h> | |
#include <string.h> | |
#define HI(n) ((uint64_t)(n)>>32) | |
#define LO(n) ((uint64_t)(n)&0xffffffff) | |
#if 1 | |
/* IOS 1.15.0 */ | |
static uint64_t magic_table[16] = { | |
0x2dd7caaefcf073eb, 0xa9209937349cfe9c, |
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 <stdint.h> | |
uint64_t compute_hash(const uint8_t *in, uint32_t len); | |
static uint16_t lfsr = 0xACE1u; | |
static uint32_t bit; | |
static uint32_t myrand() |
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 <stdint.h> | |
#include <string.h> | |
#define HI(n) ((uint64_t)(n)>>32) | |
#define LO(n) ((uint64_t)(n)&0xffffffff) | |
#if 1 | |
/* IOS 1.13.3 */ | |
static uint64_t magic_table[16] = { | |
0x95C05F4D1512959E, 0xE4F3C46EEF0DCF07, |
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
diff --git a/drivers/video/fbdev/bcm2708_fb.c b/drivers/video/fbdev/bcm2708_fb.c | |
index ee10b9e..98eb8b9 100644 | |
--- a/drivers/video/fbdev/bcm2708_fb.c | |
+++ b/drivers/video/fbdev/bcm2708_fb.c | |
@@ -360,10 +360,10 @@ static int bcm2708_fb_setcolreg(unsigned int regno, unsigned int red, | |
/*print_debug("BCM2708FB: setcolreg %d:(%02x,%02x,%02x,%02x) %x\n", regno, red, green, blue, transp, fb->fb.fix.visual);*/ | |
if (fb->fb.var.bits_per_pixel <= 8) { | |
if (regno < 256) { | |
- /* blue [0:4], green [5:10], red [11:15] */ | |
- fb->gpu_cmap[regno] = ((red >> (16-5)) & 0x1f) << 11 | |
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
diff -Naur plymouth-lite-0.6.0/ply-frame-buffer.c plymouth-lite-0.6.0.patch/ply-frame-buffer.c | |
--- plymouth-lite-0.6.0/ply-frame-buffer.c 2012-05-02 22:29:21.505665089 +0200 | |
+++ plymouth-lite-0.6.0.patch/ply-frame-buffer.c 2012-05-04 01:40:24.000000000 +0200 | |
@@ -149,6 +149,58 @@ | |
} | |
} | |
+static void | |
+flush_xbgr32 (ply_frame_buffer_t *buffer) | |
+{ |
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
diff -Naur plymouth-lite-0.6.0/ply-frame-buffer.c plymouth-lite-0.6.0.patch/ply-frame-buffer.c | |
--- plymouth-lite-0.6.0/ply-frame-buffer.c 2012-05-02 22:29:21.505665089 +0200 | |
+++ plymouth-lite-0.6.0.patch/ply-frame-buffer.c 2012-05-04 01:40:24.000000000 +0200 | |
@@ -149,6 +149,58 @@ | |
} | |
} | |
+static void | |
+flush_xbgr32 (ply_frame_buffer_t *buffer) | |
+{ |