Skip to content

Instantly share code, notes, and snippets.

2bf2de9 mmc: omap44XX: Fix Errata FSMR: Fix FSM reset time
38e70cd mmc: omap44XX: Fix errata FSMR: Finite State Machine reset
0e838b6 mmc: core: Update the ext-csd.rev check for eMMC5.1
2ace53c mmc: core: Detect eMMC v4.5 ext_csd entries
c505b70 mmc: core: new discard feature support at eMMC v4.5
d0cc290 Add moviNAND VHX 4.41 DISCARD feature
6ce42ab espresso: IPV4 & IPV6: enable NF_MATCH_RPFILTER
7a6063a espresso: add defconfig for KitKat
bfae5d4 espresso: enable LZ4-backed zRAM
24a8823 espresso_defconfig: enable F2FS
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="andi34/android_device_samsung_golden" path="device/samsung/golden" remote="github" revision="kk4.4" />
<project name="andi34/android_kernel_samsung_golden" path="kernel/samsung/golden" remote="github" revision="blackhawk2" />
<project name="andi34/android_hardware_u8500" path="hardware/u8500" remote="github" revision="kk4.4" />
<project name="andi34/android_vendor_samsung_golden" path="vendor/samsung/golden" remote="github" revision="kk4.4" />
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remove-project name="platform/external/libvorbis" />
<project path="external/libvorbis" name="LineageOS/android_external_libvorbis" remote="github" revision="cm-13.0" groups="pdk-cw-fs,pdk-fs" />
</manifest>
sudo apt install -y git php-gd gphoto2 libimage-exiftool-perl
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install -y yarn
sudo chown -R www-data:www-data /var/www/
cd /var/www/
sudo -u www-data -s
// beMyValentine Codebeispiel für den AZ-Delivery Blogbeitrag Valentinstag 2020
// https://www.az-delivery.de/blogs/azdelivery-blog-fur-arduino-und-raspberry-pi/valentinstag-projekt-2020
// V1.0 von AZcp 14.02.2020 - GNU Lesser General Public License v2.1
// Verwendet die Bibliothek MD_MAX72XX von Marco Colli / MajicDesigns : https://github.com/MajicDesigns/MD_MAX72XX
// Teile dieses Codes basieren auf den Beispielen der MD_MAX72XX Bibliothek
#include <MD_MAX72xx.h>
#define HARDWARE_TYPE MD_MAX72XX::FC16_HW // falls die Darstellung fehlerhaft ist, ersetze FC16_HW durch PAROLA_HW oder GENERIC_HW
#define MAX_DEVICES 4 // Anzahl der 8x8 Module, in unserem Fall 4
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include "DHT.h"
// Uncomment one of the lines below for whatever DHT sensor type you're using!
//#define DHTTYPE DHT11 // DHT 11
//#define DHTTYPE DHT21 // DHT 21 (AM2301)
#define DHTTYPE DHT22 // DHT 22 (AM2302), AM2321
/*Put your SSID & Password*/
<?php
require_once '../lib/config.php';
if ($os == 'linux') {
$get_ip = shell_exec('hostname -I | cut -d " " -f 1');
if (!$get_ip) {
$IP = $_SERVER['HTTP_HOST'];
} else {
$IP = $get_ip;
@andi34
andi34 / Raspberry Pi 4 Arm64 Kernel Cross-Compile.md
Created July 14, 2023 14:23 — forked from G-UK/Raspberry Pi 4 Arm64 Kernel Cross-Compile.md
Building the Raspberry Pi 4 Arm64 Linux Kernel

The Raspberry Pi foundation have now released a beta version of an official 64-bit Kernel which can be installed using the rpi-update script. The rpi-update script can be found at https://github.com/Hexxeh/rpi-update/blob/master/rpi-update or through the Raspbian repositories

Introduction

The objective of these instructions is to build a stock 64bit Linux Kernel for use on the Raspberry Pi 4B on a Debian x64 machine (Windows Subsystem for Linux in my case), and deploy on the Raspberry Pi.

Notes:

  • Transfer to Pi is using my NAS in this example, replace with shared drive/memory stick etc. as required.
    • (N: drive on Windows and /mnt/NAS on Linux in this example).
  • For a specific Kernel version replace the 4.19 with the wanted version in the git clone command.
  • Greater than 3GB RAM only currently available on Kernel 4.19
@andi34
andi34 / mainline_guide.md
Created July 14, 2023 14:23 — forked from lategoodbye/mainline_guide.md
Raspberry Pi: How to cross-compile and use Mainline Kernel

Raspberry Pi: How to cross-compile and use Mainline Kernel

Notes on how to set up a new Ubuntu 18.04 LTS x64 environment, how to build the Mainline Kernel and place it on a Raspberry Pi OS SD card.

Procedure

  1. Install tools needed:
$ apt install git make gcc g++ device-tree-compiler bc bison flex libssl-dev libncurses-dev python3-ply python3-git libgmp3-dev libmpc-dev
@andi34
andi34 / remove.sh
Created August 16, 2023 21:30 — forked from HonbraDev/remove.sh
Ubuntu Server 20.04 LTS Firefox kiosk
# Stop the kiosk service
sudo systemctl stop kiosk
# Remove the kiosk service from startup
sudo systemctl disable kiosk
# Remove the kiosk service
sudo rm -f /etc/systemd/system/kiosk.service
# Reload systemctl daemons