This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
CPUS=9 | |
function build { | |
cat << EOF > .config | |
CONFIG_TARGET_${TARGET}=y | |
CONFIG_TARGET_MULTI_PROFILE=y | |
CONFIG_TARGET_ALL_PROFILES=y | |
CONFIG_TARGET_PER_DEVICE_ROOTFS=y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
yesno() { | |
local prompt="$1" | |
local default="${2:-n}" | |
local input | |
while [ 1 ]; do | |
printf "%s y/n [%s] > " "$prompt" "$default" | |
read input |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
KERNEL=$1 | |
PATCHVER=$2 | |
[ -z "$1" -o -z "$2" ] && { | |
echo "usage: refresh_kernel.sh <version> <release>" | |
echo "example: refresh_kernel.sh 3.18 3.18.30" | |
exit 1 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
___ ___ _________ _ | |
/ _ \ | \/ || ___ \ | | | |
/ /_\ \| . . || |_/ / ___ ___ | |_ | |
| _ || |\/| || ___ \ / _ \ / _ \ | __| | |
| | | || | | || |_/ /| (_) || (_) || |_ | |
\_| |_/\_| |_/\____/ \___/ \___/ \__| | |
---------------------------------------------------------- | |
Amboot(R) Ambarella(R) Copyright (C) 2004-2014 | |
Boot From: NAND 2048 RC BCH 6bit | |
SYS_CONFIG: 0x3007009A POC: 101 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Below data was collected on: | |
TP-Link TL-WR842ND v1 (AR7241) | |
== JTAG signals == | |
SIGNAL PACKAGE PIN LOCATION ON PCB | |
TDI PIN81 R774 (near U13, right bottom corner) | |
TDO PIN82 R617 (near U13, right bottom corner) | |
TMS PIN84 R561 (near "Internet"/"USB" LEDs) | |
TCK PIN85 R427 (near SOC, between SOC and FLASH chip) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Format: Log Type - Time(microsec) - Message - Optional Info | |
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic | |
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.1-00096 | |
S - IMAGE_VARIANT_STRING=DAABANAZA | |
S - OEM_IMAGE_VERSION_STRING=CRM | |
S - Boot Config, 0x00000021 | |
S - Core 0 Frequency, 0 MHz | |
B - 261 - PBL, Start | |
B - 1339 - bootable_media_detect_entry, Start | |
B - 1679 - bootable_media_detect_success, Start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: target/linux/generic/files/drivers/net/phy/ar8216.c | |
=================================================================== | |
--- target/linux/generic/files/drivers/net/phy/ar8216.c (wersja 39210) | |
+++ target/linux/generic/files/drivers/net/phy/ar8216.c (kopia robocza) | |
@@ -1903,6 +1903,57 @@ | |
return ret; | |
} | |
+static int | |
+ar8xxx_sw_set_disable_all_leds(struct switch_dev *dev, |