mruby本体の準備
$ export ARDUINO_ESP32_ROOT=$HOME/Documents/Arduino/hardware/espressif/esp32
$ cd $ARDUINO_ESP32_ROOT
$ mkdir mruby
$ cd mruby
$ git clone https://github.com/mruby/mruby.git
$ cd mruby
$ git checkout 1.4.1
U-Boot version:U-Boot 1.3.0-rc3 (Jul 9 2012 - 13:31:11) Polaris 1.9.16473 | |
AVODSR | |
Serial Number:0520098820 | |
EID:520601-0010AB-0000 | |
MAC Addr 1:00:E0:86:1C:69:19 | |
MAC Addr 2:00:E0:86:1C:69:1A | |
Current Firmware Version :1.14.0.19936 | |
Alternate Firmware Version:1.14.0.19936 |
diff -uprN trueport-6.10.0/ptyx/ptyc.c trueport-6.10.0-mod/ptyx/ptyc.c | |
--- trueport-6.10.0/ptyx/ptyc.c 2020-05-28 20:56:32.000000000 +0900 | |
+++ trueport-6.10.0-mod/ptyx/ptyc.c 2023-09-06 04:52:31.273527237 +0900 | |
@@ -93,7 +93,11 @@ static void ptyx_ctrl_close(struct tty_s | |
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0)) | |
+static unsigned int ptyx_ctrl_write_room(struct tty_struct *tty) | |
+#else |
! NEC Portable Internetwork Core Operating System Software | |
! IX Series IX3315 (magellan-sec) Software, Version 10.7.18, RELEASE SOFTWARE | |
! Compiled Oct 25-Tue-2022 12:28:03 JST #2 | |
! Current time Apr 26-Wed-2023 16:52:00 JST | |
! | |
timezone +09 00 | |
! | |
logging buffered 819200 | |
logging subsystem flt warn | |
logging subsystem mape debug |
ip ufs-cache max-entries 20000 | |
ip ufs-cache enable | |
ip route default Tunnel0.0 | |
! | |
ipv6 ufs-cache enable | |
! | |
ipv6 dhcp client-profile dhcpv6-cl | |
information-request | |
option-request dns-servers | |
! |
#include <M5StickC.h> | |
#include <Adafruit_GFX.h> | |
#include <FastLED.h> | |
#include <FastLED_NeoMatrix.h> | |
#define PIN 26 | |
#define mw 18 | |
#define mh 7 | |
#define NUMMATRIX (mw*mh) |
function FindProxyForURL(url, host){ | |
return "SOCKS5 127.0.0.1:8080; DIRECT"; | |
} |
#include <stdio.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <errno.h> | |
#include <signal.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <arpa/inet.h> | |
#include <linux/rtnetlink.h> | |
#include <linux/if.h> |
#!/usr/bin/python | |
from __future__ import print_function | |
from bcc import BPF | |
from socket import inet_ntop, ntohs, AF_INET, AF_INET6 | |
from struct import pack | |
b = BPF(text=""" | |
#include <uapi/linux/ptrace.h> | |
#include <net/sock.h> |
# -*- shell-script -*- | |
image_mount_storage() | |
{ | |
local mnt="$1" | |
local_top | |
local_device_setup "${ROOT}" "usb storage" | |
ROOT="${DEV}" |
mruby本体の準備
$ export ARDUINO_ESP32_ROOT=$HOME/Documents/Arduino/hardware/espressif/esp32
$ cd $ARDUINO_ESP32_ROOT
$ mkdir mruby
$ cd mruby
$ git clone https://github.com/mruby/mruby.git
$ cd mruby
$ git checkout 1.4.1