Skip to content

Instantly share code, notes, and snippets.

View hyphop's full-sized avatar
😁
be happy

Art Nikpal hyphop

😁
be happy
View GitHub Profile
-
-
@hyphop
hyphop / 250425-test
Created March 26, 2025 07:55
AAAM/Topic
hello world
@hyphop
hyphop / 250425-test
Last active March 25, 2025 10:14
AAAM/Topic
hello world
@hyphop
hyphop / 250425-begin
Created March 25, 2025 10:11
Uploaded via curl
hello
@hyphop
hyphop / vim4-coreelec-create-oowow-image.md
Last active October 12, 2022 06:35
vim4-coreelec-create-oowow-image

How-to prepare oowow-image with meta information

# setup
IMAGE=CoreELEC-Amlogic-ne.arm-20.0-Nexus_nightly_latest-Khadas_VIM4.img.gz

# download original image
wget https://relkai.coreelec.org/oowow/$IMG

# unpack and rename to common filename style
@hyphop
hyphop / 0001-config-boards-VIM4.conf-user-can-define-UBOOT_DEFCON.patch
Created January 6, 2022 03:33
0001-config-boards-VIM4.conf-user-can-define-UBOOT_DEFCON.patch
From bb92b64da8e0b3673cbf907a0bef4da384b03909 Mon Sep 17 00:00:00 2001
From: Artem Lapkin <[email protected]>
Date: Thu, 30 Dec 2021 12:35:48 +0800
Subject: [PATCH] config/boards/VIM4.conf: user can define UBOOT_DEFCONFIG
UBOOT_GIT_BRANCH LINUX_GIT_BRANCH
Signed-off-by: Artem Lapkin <[email protected]>
---
config/boards/VIM4.conf | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
@hyphop
hyphop / VIM4 uboot mmc read problem.txt
Created August 18, 2021 02:51
VIM4 uboot mmc read problem
kvim4# mw 1000 0 aa; load mmc 0 1000 /extlinux/extlinux.conf; md 1000 aa
556 bytes read in 3 ms (180.7 KiB/s)
00001000: 7b92369b c3b5956b f63e5948 7c99cef0 .6.{k...HY>....|
00001010: 14e85752 570a444c 540c2f93 376ac390 RW..LD.W./.T..j7
00001020: c92e0ee2 534b6141 0a7151c6 ccf93547 ....AaKS.Qq.G5..
00001030: cbeaa320 2299eb7f cd775e52 ff535f64 ......"R^w.d_S.
00001040: c55ba374 df591f2e d918832c a1706e8c t.[...Y.,....np.
00001050: c6103652 c80d3461 c0f407d8 1d380da4 R6..a4........8.
00001060: 2cb9b5c6 2ef47e31 2ceb751a c0a560e4 ...,1~...u.,.`..
00001070: c4db67f8 b74a43dd c4d1829b b74a43dd .g...CJ......CJ.
@hyphop
hyphop / i2s vim3l dtb.txt
Last active August 9, 2021 08:20
i2s vim3l
cd /boot/dtb
cp kvim3l_linux.dtb kvim3l_linux.dtb.org
dtc -Idtb kvim3l_linux.dtb > kvim3l_linux.dts
dtc -Idtb kvim3l_linux.dtb > kvim3l_linux.dts.org
# need to change this node aml-audio-card,dai-link@0 / codec
# need only output i2s
# grep -B19 -A4 "sound-dai = <0x71 0x71 0x73>;" kvim3l_linux.dts
sed "s/sound-dai = <0x71 0x71 0x73>;/sound-dai = <0x71>;/" kvim3l_linux.dts.org > kvim3l_linux.dts
dtc -Odtb kvim3l_linux.dts > kvim3l_linux.dtb
# DONE
@hyphop
hyphop / advanced XZ compression (XZE).md
Last active July 16, 2021 11:10
advanced XZ compression (XZE)