MLのArchiveからgit mailsplitでsplitし、特定の一連のパッチをとりだしたあと、パッチのファイル名をパッチの番号で置き換えるためのスクリプトです。
変数名 | 役割 |
---|
#include <stdio.h> | |
#include <elf.h> | |
#include <sys/stat.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <string.h> | |
void hoge(){ | |
printf("hoge!\n"); | |
} |
require "json" | |
hoge = { | |
"hoge" => "fuga" | |
}.to_json | |
require 'webrick' | |
srv = WEBrick::HTTPServer.new({:BindAddress => '127.0.0.1', | |
:Port => 10080}) | |
srv.mount_proc("/") { |req, res| |
#!/bin/bash | |
temp_on=50000 | |
temp_off=45000 | |
#connected to GPIO18 | |
fan_gpio=18 | |
temp=`cat /sys/class/thermal/thermal_zone0/temp` | |
# init GPIO |
typedef struct { | |
const struct { | |
uint32_t CTSEN; | |
uint32_t RTSEN; | |
uint32_t RTS; | |
uint32_t DTR; | |
uint32_t RXE; | |
uint32_t TXE; | |
uint32_t LBE; | |
uint32_t SIRLP; |
#!/usr/bin/env python | |
# wait until SDRAM enabled(U-Boot working) | |
gdb.execute("monitor reset run") | |
gdb.execute("monitor sleep 1000") | |
gdb.execute("monitor halt") | |
# load dtb and Kernel | |
gdb.execute("load vmlinux") | |
gdb.execute("restore arch/arm/boot/dts/stm32f746-disco.dtb binary 0xC0004000") |
This patch is disable U-Boot SPL mode for STM32F7 microcontroller.
Checkd at comit:aae6f016a7928edc79dff78d1235103fff282a34
please reffer following URL: https://patchwork.ozlabs.org/patch/764134/
#!/bin/sh -x | |
# This script can rename KiCAD's gaber filename to elecrow's gaber filename format | |
# How to use | |
# ./renamer_elecrow.sh "PROJECT NAME(file name prefix)" | |
PROJECT=$1 | |
OUTPUT=elecrow |
diff --git a/Platforms/Hisilicon/HiKey/HiKey.dsc b/Platforms/Hisilicon/HiKey/HiKey.dsc | |
index 3b99cf5..621e383 100644 | |
--- a/Platforms/Hisilicon/HiKey/HiKey.dsc | |
+++ b/Platforms/Hisilicon/HiKey/HiKey.dsc | |
@@ -25,6 +25,7 @@ | |
BUILD_TARGETS = DEBUG|RELEASE | |
SKUID_IDENTIFIER = DEFAULT | |
FLASH_DEFINITION = OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKey.fdf | |
+ DEFINE HTTP_BOOT_ENABLE = TRUE | |