Skip to content

Instantly share code, notes, and snippets.

@plntyk
plntyk / gist:a15704137eefda6bab16a0052ec5a2db
Last active June 7, 2021 17:15
OpenWrt 21.02-rc tests plntyk
ath79 - TP-LINK WDR3600 21.02rc1
- uptime : 25 days, 23:26
no issues afaics
dmesg has "random": - but previous fw had those too afaik
[1521427.440784] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
[1521428.055148] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
[1521428.259956] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
@plntyk
plntyk / gist:adeddd835024c72a52782e08c3d94781
Created May 14, 2020 17:15
odroid-c1 image extents analysis dl.armbian.com/odroidc1/nightly (trunk 133)
e2fsck /dev/sdX1 (Result: OK)
mount /dev/sdX1 <mountpoint>
cp <mountpoint>/boot/uInitrd-5.4.40-meson <mountpoint>/boot/uInitrd_copy
umount <mountpoint>
e2fsck /dev/sdX1 (Result: OK)
debugfs /dev/sdX1
ls boot
dump_extents <19326>
@plntyk
plntyk / gist:4396d852cc5b4dbdf4a7e0b336609b47
Created May 1, 2020 21:44
odroid-c1 , Armbian 5.6.8 "meson-dev" kernel bootlog with https://github.com/armbian/build/pull/1932
A5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:0;CHECK:0;PASS:1;
-----------------------------------------------------------------------
* Welcome to Hardkernel's ODROID-C... (Built at 19:33:00 Dec 8 2014) *
-----------------------------------------------------------------------
CPU : AMLogic S805
MEM : 1024MB (DDR3@792MHz)
BID : HKC13C0001
S/N : HKC1CC037EB829F2
0x0000009f
check SD_boot_type:0x1 card_type:0x1
#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=mii-tool
commit 66821a84a29cf850534477e57624f202f3034aeb
Author: Dirk Neukirchen <dirkneukirchen@web.de>
Date: Thu Aug 13 19:08:54 2015 +0200
smartmontools: fix libstdcpp build
compiling with libstdcpp / libstdc++ breaks with
smartctl.cpp:31:21: fatal error: stdexcept: No such file or directory
or complains about -luclibc++ not found
commit 6eb59283a51cb3f9f90713dcee4d1aa617f42ace
Author: Dirk Neukirchen <dirkneukirchen@web.de>
Date: Mon May 23 18:38:56 2016 +0200
luasocket: fix build issues
use gcc as linker
fix buildbot issues: multiple
src/buffer.c:151: undefined reference to `__stack_chk_fail_local'
qemu-system-aarch64 \
-machine virt -cpu cortex-a57 \
-machine type=virt -nographic \
-smp 1 -m 2048 \
-kernel bin/targets/arm64/generic/lede-arm64-qemu-virt-initramfs.Image \
--append "console=ttyAMA0" \
-fsdev local,id=r,path=/mnt/old/tftp,security_model=none -device virtio-9p-device,fsdev=r,mount_tag=tftp
From 39097c6aa7c3405e82d74e746be06d6e983f7bb6 Mon Sep 17 00:00:00 2001
From: Dirk Neukirchen <dirkneukirchen@web.de>
Date: Mon, 13 Jun 2016 17:43:09 +0200
Subject: [PATCH 6/7] [WIP] kernel: add Plan9 resource sharing
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
---
package/kernel/linux/modules/fs.mk | 15 +++++++++++++++
package/kernel/linux/modules/netsupport.mk | 16 ++++++++++++++++
2 files changed, 31 insertions(+)
@plntyk
plntyk / lede.kernel.patches.txt
Last active August 25, 2016 17:15
cleanup and document LEDE project Kernel patches in a "saner" way
# Proposal for cleanup/recommended patch naming of LEDE Kernel changes
Target: Kernel 4.6(?)
current situation:
- 0xx-099 :
- 1xx-199 :
- 2xx-299 :
- 3xx-399 : mips
- 4xx-499 : mtd
U-Boot 0.0.9 (Feb 18 2013 - 14:56:17)
Product Name: WN-AC1600DGR
ap136 - Scorpion 1.0
DRAM:128 MB
Now running in RAM - U-Boot at: 87fc8000
Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18
Flash size 16MB, sector count = 256
In: serial
Out: serial