Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
#!/bin/bash | |
# | |
# deboot.sh | |
# script to build Ubuntu rootfs (for arm64, armhf, powerpc, ppc64el) | |
# | |
# Copyright 2017 knotdevel | |
# Released under the MIT license | |
# http://opensource.org/licenses/mit-license.php | |
# | |
# |
env set bootcmd_usb "run findfdt; usb start; if run loadimage_usb; then run usbboot; fi" | |
env set loadfdt_usb "fatload usb ${usbdev}:${usbpart} ${fdt_addr} ${fdt_file}" | |
env set loadimage_usb "fatload usb ${usbdev}:${usbpart} ${loadaddr} ${image}" | |
env set usbargs "setenv bootargs console=${console},${baudrate} root=${usbroot}" | |
env set usbboot "echo Booting from usb ...; run usbargs; if run loadfdt_usb; then bootz ${loadaddr} - ${fdt_addr}; else echo WARN: Cannot load the DT; fi" | |
env set usbdev 0 | |
env set usbpart 1 | |
env set usbroot "/dev/sda2 rootwait rw" | |
run bootcmd_usb |
#!/bin/sh | |
mkdir ~/tmp | |
cd ~/tmp | |
# See | |
# Typical ARM triples (see "armv7l-linux-gnueabi") | |
# https://bgamari.github.io/posts/2019-06-12-arm-terminology.html | |
# GCC -march options | |
# https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html |
#!/usr/bin/env bash | |
# --slave /usr/bin/$1 $1 /usr/bin/$1-\${version} \\ | |
function register_clang_version { | |
local version=$1 | |
local priority=$2 | |
update-alternatives \ | |
--install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-${version} ${priority} \ |
Gem::Specification.new do |s| | |
# normal spec stuff above | |
s.files = `git ls-files`.split("\n") | |
# get an array of submodule dirs by executing 'pwd' inside each submodule | |
gem_dir = File.expand_path(File.dirname(__FILE__)) + "/" | |
`git submodule --quiet foreach pwd`.split($\).each do |submodule_path| | |
Dir.chdir(submodule_path) do | |
submodule_relative_path = submodule_path.sub gem_dir, "" | |
# issue git ls-files in submodule's directory and |
################################################################################################ | |
There is some long text that needs to be copied into grub in order to boot. | |
You should be able to copy and paste it using minicom if you add a 1 or 2 ms delay to text input | |
Ctrl-A Z Minicom Menu | |
T Terminal Settings | |
F Character tx delay (ms) | |
2 | |
################################################################################################ | |
### Choose your SD Card |