Skip to content

Instantly share code, notes, and snippets.

View rpardini's full-sized avatar
😶‍🌫️
Lost

Ricardo Pardini rpardini

😶‍🌫️
Lost
View GitHub Profile
@rpardini
rpardini / gist:e9dee9913d5b2064e6f00732cc843472
Created June 5, 2024 18:57
NanoPC T6 LTS - Kwiboo 24.04 on eMMC
DDR Version V1.08 20220617
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
Manufacturer ID:0x1 Samsung
CH0 RX Vref:31.7%, TX Vref:23.8%,21.8%
CH1 RX Vref:30.7%, TX Vref:24.8%,21.8%
CH2 RX Vref:32.7%, TX Vref:22.8%,22.8%
@rpardini
rpardini / gist:8fab8f69968923a60f84258bb679723d
Created June 5, 2024 18:13
NanoPC T6 LTS - factory eMMC blobs, Armbian SD with Kwiboo 24.07 tree - no boot
DDR 9fffbe1e78 cym 24/02/04-10:09:20,fwver: v1.16
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
Manufacturer ID:0x1
CH0 RX Vref:28.9%, TX Vref:23.8%,21.8%
CH1 RX Vref:28.5%, TX Vref:24.8%,21.8%
CH2 RX Vref:29.3%, TX Vref:22.8%,22.8%
@rpardini
rpardini / nanopct6_oob_emmc_plus_Armbian_vendor_on_SD__fixed.txt
Created June 5, 2024 14:00
NanoPC T6 LTS - Fixed boot with from-factory eMMC blobs and Armbian SD, by disabling OPTEE in uboot defconfig
DDR 9fffbe1e78 cym 24/02/04-10:09:20,fwver: v1.16
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
Manufacturer ID:0x1
CH0 RX Vref:28.9%, TX Vref:23.8%,21.8%
CH1 RX Vref:28.5%, TX Vref:24.8%,21.8%
CH2 RX Vref:29.3%, TX Vref:23.8%,22.8%
@rpardini
rpardini / nanopct6_oob_emmc_plus_Armbian_vendor_on_SD__noboot.txt
Created June 5, 2024 13:16
NanoPC T6 LTS - No boot with vendor OOB eMMC + Armbian vendor on SDCard
DDR 9fffbe1e78 cym 24/02/04-10:09:20,fwver: v1.16
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
Manufacturer ID:0x1
CH0 RX Vref:28.9%, TX Vref:22.8%,21.8%
CH1 RX Vref:28.5%, TX Vref:24.8%,21.8%
CH2 RX Vref:29.3%, TX Vref:22.8%,22.8%
@rpardini
rpardini / bootlog-nanopct6lts.txt
Created June 5, 2024 11:08
NanoPCT6 LTS OOB UART bootlog first boot
DDR 9fffbe1e78 cym 24/02/04-10:09:20,fwver: v1.16
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
Manufacturer ID:0x1
CH0 RX Vref:28.9%, TX Vref:23.8%,22.8%
CH1 RX Vref:28.9%, TX Vref:24.8%,21.8%
CH2 RX Vref:29.3%, TX Vref:22.8%,22.8%
@rpardini
rpardini / sample-fragment.sh
Created May 6, 2021 05:03
Example sample-fragment.sh produced by Armbian
# Sample Armbian build system fragment with all hooks.
# This file is auto-generated from the build system.
# Please, always use the latest available version of this file as a starting point for your own fragments.
# Read more about the build extensibility system at https://todo
#### *give the config a chance to override the family/arch defaults*
### This hook is called after the family configuration ("sources/families/xxx.conf") is sourced.
### Since the family can override values from the user configuration and the board configuration,
### it is often used to in turn override those.
post_family_config__be_more_awesome() {
@rpardini
rpardini / hooks.auto.docs.md
Created May 6, 2021 05:00
Example hooks.auto.docs.md

Armbian build system extensibility documentation

  • This documentation is auto-generated.

Hooks

  • Hooks are listed in the order they are called.

post_family_config

give the config a chance to override the family/arch defaults

This hook is called after the family configuration (sources/families/xxx.conf) is sourced. Since the family can override values from the user configuration and the board configuration, it is often used to in turn override those.

@rpardini
rpardini / if_.sh
Created December 27, 2017 13:19
Fixed/patched if_ munin plugin for xenial
#!/bin/bash
# -*- sh -*-
: << =cut
=head1 NAME
if_ - Wildcard-plugin to monitor traffic and errors on network
interfaces.
@rpardini
rpardini / setupYubikey.sh
Created December 13, 2017 11:06
Automated-ish setup of Yubikey for SSH logins (replace ssh-agent with gpg-agent from brew)
#! /bin/bash
set -e
GPGCONF_PATH=$(which gpgconf)
if [[ "$GPGCONF_PATH" != "/usr/local/bin/gpgconf" ]]; then
echo "You don't have gnupg installed from brew, lets install it."
brew install gnupg pinentry-mac ykpers
else