Skip to content

Instantly share code, notes, and snippets.

Sergi Granell xerpi

Block or report user

Report or block xerpi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@xerpi
xerpi / PSVita_Linux_build_instructions.md
Last active Nov 16, 2019
PSVita Linux build instructions
View PSVita_Linux_build_instructions.md
@xerpi
xerpi / .config
Created Jul 26, 2019
Buildroot .config PSVita Linux
View .config
#
# Automatically generated file; DO NOT EDIT.
# Buildroot 2019.08-git-01890-g6910e723a9 Configuration
#
BR2_HAVE_DOT_CONFIG=y
BR2_HOST_GCC_AT_LEAST_4_5=y
BR2_HOST_GCC_AT_LEAST_4_6=y
BR2_HOST_GCC_AT_LEAST_4_7=y
BR2_HOST_GCC_AT_LEAST_4_8=y
BR2_HOST_GCC_AT_LEAST_4_9=y
@xerpi
xerpi / 0001-arm-Add-initial-PSVita-support.patch
Created Dec 19, 2018
Linux PSVita initial support (over Linux 62393dbcbe0f3001691e4bd479a25beb5941f2ed)
View 0001-arm-Add-initial-PSVita-support.patch
From ecba9fec7aa4bac172addd78a468a87b06b5b0da Mon Sep 17 00:00:00 2001
From: Sergi Granell <xerpi.g.12@gmail.com>
Date: Wed, 19 Dec 2018 19:04:27 +0100
Subject: [PATCH] arm: Add initial PSVita support
Signed-off-by: Sergi Granell <xerpi.g.12@gmail.com>
---
arch/arm/Kconfig | 2 ++
arch/arm/Kconfig.debug | 23 ++++++++++---
arch/arm/Makefile | 1 +
View idc-offset.py
#!/usr/bin/env python3
import sys
import re
def usage():
print("idc-offset by xerpi")
print("Usage:\n\t" + sys.argv[0] + " new_text_addr new_data_addr")
def patch_idc(idc, new_text_addr, new_data_addr):
@xerpi
xerpi / dmac_test.c
Last active Jun 22, 2018
Vita DMAC test
View dmac_test.c
#include <psp2kern/kernel/modulemgr.h>
#include <psp2kern/kernel/threadmgr.h>
#include <psp2kern/kernel/sysmem.h>
#include <psp2kern/kernel/cpu.h>
#include <psp2kern/io/fcntl.h>
#include <psp2kern/sblauthmgr.h>
#include "log.h"
#include "draw.h"
#define LOG(s, ...) \
View ps3-libs-gen.py
#!/usr/bin/env python3
import sys
import yaml
def usage():
print("ps3-libs-gen by xerpi")
print("Usage:\n\t" + sys.argv[0] + " file.yaml")
def generate_lib_resident(name):
@xerpi
xerpi / nidreader.py
Created Nov 27, 2017
PS3 NID reader
View nidreader.py
#!/usr/bin/env python3
import sys
import construct
from elftools.elf.elffile import ELFFile
from elftools.elf.relocation import RelocationSection
from construct import Struct, Int8ub, Int16ub, Int32ub, String, CString, Array
@xerpi
xerpi / json2yml.py
Created Nov 10, 2017
Vita NIDs json2yml.py
View json2yml.py
#!/usr/bin/python3
import sys
import json
def main():
if len(sys.argv) < 2:
print("Usage:\n\t", sys.argv[0], "db.json")
exit(1)
View vita_hdmi_working.c
#include "hdmi.h"
#include "libc.h"
#include "utils.h"
#include "adv7511.h"
#include "i2c.h"
#include "gpio.h"
#include "pervasive.h"
#include "syscon.h"
#include "log.h"
You can’t perform that action at this time.