Инструкция основанная на CentOS 7.6
yum install -y git make gcc glib2-devel zlib-devel pixman-devel bison flex
mkdir -p ~/rootfs
# GNU Screen - main configuration file | |
# All other .screenrc files will source this file to inherit settings. | |
# Author: Christian Wills - cwills.sys@gmail.com | |
# Allow bold colors - necessary for some reason | |
attrcolor b ".I" | |
# Tell screen how to set colors. AB = background, AF=foreground | |
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' |
install | |
text | |
cdrom | |
skipx | |
lang en_US.UTF-8 | |
keyboard us | |
timezone UTC | |
rootpw vagrant | |
user --name=vagrant --password=vagrant | |
auth --enableshadow --passalgo=sha512 --kickstart |
SUBSYSTEM=="tty", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", GROUP:="dialout", MODE="0666", SYMLINK+="ttyUSB.ZTEK" |
[root@bcmbuild sim]# ./pcid.sim -h | |
sal_config_refresh: cannot read file: config.bcm, variables not loaded | |
Usage: pcid [-ha] [-p port] [-vPxdilkc] [-G N] [-B N] [-W 64] [-D N] [-R N] <chip> | |
<chip> Chip to emulate, e.g. BCM56504_B0 | |
-h Show help | |
-a List all supported chips | |
-v Verbose mode | |
-p port Specify which port to start PCID server on | |
-P Include PLI register R/W in verbose mode | |
-x Exit when first client disconnects |
# Prefix | |
unbind C-b | |
set -g prefix ` | |
bind ` send-prefix | |
set -g default-terminal "screen-256color" | |
set -g base-index 1 | |
set -g mouse-select-pane on |
#!/bin/bash | |
# Initialize variables | |
resolution="1024x780x24" | |
additional_cmd="ls -l" | |
x11vnc_args="" | |
unixsockonly=0 | |
while getopts "h?r:a:x:fu" opt; do | |
printf " -%s '%s'\n" $OPTION $OPTARG |
micropython for MIPS32
CC="msdk-linux-gcc" CXX="msdk-linux-gcc" ./configure --prefix=$(pwd)/lib1 --host=mips-linux --enable-static=yes --enable-shared=yes
cd ../../ports/unix && PKG_CONFIG_PATH=../../lib/libffi/mips-unknown-elf/ CROSS_COMPILE=msdk-linux- make
$ LD_LIBRARY_PATH=./:$LD_LIBRARY_PATH ./micropython -h
usage: ./micropython [] [-X ] [-c ] []
/ # dmesg | |
[ 0.000000] Booting Linux on physical CPU 0x0 | |
[ 0.000000] Linux version 5.0.9 (root@tionpro28-build) (gcc version 8.2.0 (Ubuntu 8.2.0-7ubuntu1)) #2 Tue Apr 30 09:51:30 UTC 2019 | |
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f | |
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache | |
[ 0.000000] OF: fdt: Machine model: Freescale i.MX28 Evaluation Kit | |
[ 0.000000] Memory policy: Data cache writeback | |
[ 0.000000] On node 0 totalpages: 32768 | |
[ 0.000000] Normal zone: 256 pages used for memmap | |
[ 0.000000] Normal zone: 0 pages reserved |
[40398.092815] usb 1-2: new high-speed USB device number 6 using xhci_hcd
[40398.243708] usb 1-2: New USB device found, idVendor=0e8d, idProduct=2000, bcdDevice= 1.00
[40398.243713] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[40398.243717] usb 1-2: Product: MT65xx Preloader
[40398.243720] usb 1-2: Manufacturer: MediaTek
[40398.875673] cdc_acm 1-2:1.0: Zero length descriptor references
[40398.875680] cdc_acm: probe of 1-2:1.0 failed with error -22
[40398.875731] cdc_acm 1-2:1.1: ttyACM0: USB ACM device