-> https://blog.aheymans.xyz/old-how-to-flash-coreboot-to-the-thinkpad-x60-the-proper-way/ is more up to date
This is a problem since the first code that runs on the CPU comes from there and if we ever want to run coreboot the cpu must start with coreboot code. This write protection is set in the PBR (protect bios range) registers on the southbridge, there is currently no known way to change them back once they are locked by setting the SPI Configuration Lock-Down bit.
# ======================================================== | |
# Setup a Dumb AP, Wired backbone for OpenWRT / LEDE | |
# ======================================================== | |
# Set lan logical interface as bridge (to allow bridge multiple physical interfaces) | |
uci set network.lan.type='bridge' | |
# assign WAN physical interface to LAN (will be available as an additional LAN port now) | |
uci set network.lan.ifname="$(uci get network.lan.ifname) $(uci get network.wan.ifname)" | |
uci del network.wan.ifname | |
# Remove wan logical interface, since we will not need it. | |
uci del network.wan |
Warning: this document has to be updated by pointing to https://github.com/SpenceKonde/ATTinyCore
This note describes the configuration of an ATtiny85 based microcontroller development board named Digispark and similar to the Arduino line. It is available in many online marketplaces for roughly 1 dollar (e.g., Ebay, Amazon, AliExpress) and is shipped fully assembled, including a V-USB interface (a software-only implementation of a low-speed USB device for Atmel's AVR microcontrollers). Coding is similar to Arduino: it uses the familiar Arduino IDE and is already provided with a ready-to-use bootloader (
Wonder why the LED TV screen flicking like crazy and look washed out in white noise? Particularly when you enter the service mode for the first time?
With a wrong v-com
value, the TV screen will look washed out with continue flickering.
When the vcom
value was wrong, you cannot even see the service menu text clearly. The screen just flick like crazy. When you getting close to the correct value of the vcom
, the text on the service menu will became clearer and clearer with a relatively steady background.
In one case, a vcom
value around 0x60
gives better result.
# configure-iis.ps1 | |
# Version: 1.2 | |
# Author: kking124 (https://github.com/kking124) | |
# | |
# Copyright 2016, 2017 | |
# | |
# License: MIT | |
# .SYNOPSIS | |
# Tries to configure IIS as a minimal, secure installation on Windows Server 2008 and later | |
# |
<# | |
.SYNOPSIS | |
MSI-mode utility | |
.DESCRIPTION | |
Main purpose of this script is turning on MSI-mode for all PCI devices in bulk. Script offers four modes which can be selected through following command line arguments: | |
'on' - turning MSI-mode on; | |
'off' - turning MSI-mode off; | |
'reg' - printing reg-file for backup purposes (to save text to reg-file use standard redirection or piplining to comandlet Out-File); | |
- started without command line argument script prints devices capable for MSI-mode. |
lrzsz package needed (debian) which include sz and rz | |
Sending from remote -> local | |
* screen into remote | |
* ctrl-a : zmodem catch | |
* 'sz filename' on the remote (in terminal) | |
Sending from local -> remote | |
* screen into remote | |
* ctrl-a : zmodem catch |
The TX/RX LEDs on the Pro Micro uses the pins PD5 and PB0. | |
You can remove the resistors and use these pins, but you will need to first redefine the TXLED/RXLED pins. | |
In OS X: | |
/Users/USERNAME/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.3/variants/promicro/pins_arduino.h | |
Change these values: | |
#define TX_RX_LED_INIT DDRD |= (1<<5), DDRB |= (1<<0) | |
#define TXLED0 PORTD |= (1<<5) | |
#define TXLED1 PORTD &= ~(1<<5) |
I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).
Use ssh keys and define host aliases in ssh config file (each alias for an account).