Host Kernel: rawhide 4.13.0-0.rc6.git4.2.fc28.x86_64 (on Fedora 24)
QEMU is mainline built from sources: QEMU emulator version 2.10.50 (v2.10.0-105-g223cd0e)
Guest: clear-17460-kvm.img (which has vsock support)
| // gcc -o drmgl Linux_DRM_OpenGLES.c `pkg-config --cflags --libs libdrm` -lgbm -lEGL -lGLESv2 | |
| /* | |
| * Copyright (c) 2012 Arvin Schnell <arvin.schnell@gmail.com> | |
| * Copyright (c) 2012 Rob Clark <rob@ti.com> | |
| * Copyright (c) 2017 Miouyouyou <Myy> <myy@miouyouyou.fr> | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a | |
| * copy of this software and associated documentation files (the "Software"), | |
| * to deal in the Software without restriction, including without limitation |
Vsocks are a means of providing socket communication (either stream or datagram) directly between VMs and their host operating system. The host and each VM have a 32 bit CID (Context IDentifier) and may connect or bind to a 32 bit port number. Ports < 1024 are privileged ports.
| # | |
| # Copyright (C) 2009-2011 The Android-x86 Open Source Project | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
This document details extra that were needed to build the rpi cross-compiler on MSYS2. The original instructions are located on gurucodings.
This cross-compiler has been created targeting the Raspbian Wheezy OS which is based on Debian Wheezy with special support for the Raspberry PI architecture. The version that was installed on my rpi is 2014-06-20-wheezy-raspbian.
Here the version of the various tools currently present in this version of Raspbian (Guest OS):
| #!/usr/bin/env bash | |
| # bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2013-07-11 | |
| # | |
| # _______________| netspeed : check download speed via command line. | |
| # | |
| # Usage: netspeed [tokyo, london, usw, use, east, west, URL] | |
| # ^default U.S. west coast. | |
| # [ -speed_KB/sec ] | |
| # ^negation activates the Mbps converter. | |
| # |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # This is how I used it: | |
| # $ cat ~/.bash_history | python bash-to-zsh-hist.py >> ~/.zsh_history | |
| import sys | |
| import time | |
| ping ya.ru # проверка интернета | |
| timedatectl set-ntp true | |
| wifi-menu -o # настройка wifi соединения | |
| fdisk -l # смотрим диски |