Skip to content

Instantly share code, notes, and snippets.

View xerpi's full-sized avatar

Sergi Granell・セルジ xerpi

View GitHub Profile
@xerpi
xerpi / buildroot-3ds.patch
Last active February 20, 2016 22:23
buildroot-3ds.patch
diff --git a/package/Config.in b/package/Config.in
index 09c2b40..7660673 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -905,6 +905,7 @@ menu "Graphics"
source "package/powervr/Config.in"
source "package/tiff/Config.in"
source "package/wayland/Config.in"
+ source "package/wayland-protocols/Config.in"
source "package/webkit/Config.in"
@xerpi
xerpi / .config
Last active September 19, 2021 00:50
Buildroot .config Nintendo 3DS Linux
#
# Automatically generated file; DO NOT EDIT.
# Buildroot 2020.11-312-gfd5eeabac0 Configuration
#
BR2_HAVE_DOT_CONFIG=y
BR2_HOST_GCC_AT_LEAST_4_9=y
BR2_HOST_GCC_AT_LEAST_5=y
BR2_HOST_GCC_AT_LEAST_6=y
BR2_HOST_GCC_AT_LEAST_7=y
BR2_HOST_GCC_AT_LEAST_8=y
@xerpi
xerpi / gist:35ad190e2080b3b6d3e7
Created April 24, 2015 15:47
MPCore-PMR-Reader
/*
* MPCore Private Memory Region "reader" by xerpi
* You have to provide a MPCore Private Memory Region dump
*/
#include <stdio.h>
#include <stdint.h>
#define NELEMS(x) (sizeof(x) / sizeof(x[0]))
#define MPCORE_PMR_SIZE (0x2000)