Skip to content

Instantly share code, notes, and snippets.

View MartijnBraam's full-sized avatar

Martijn Braam MartijnBraam

View GitHub Profile
<?php
class BrixITEmployee {
public static $number = "0592 20 10 74";
public static $email = "martijn@brixit.nl";
public static $requirements = [
"programming::php",
"programming::html",
"programming::css",
];
diff --git a/Makefile b/Makefile
index 9f07699..f7e5680 100644
--- a/Makefile
+++ b/Makefile
@@ -192,13 +192,8 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \
# "make" in the configured kernel build directory always uses that.
# Default value for CROSS_COMPILE is not to prefix executables
# Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
-#ARCH ?= $(SUBARCH)
-CROSS_COMPILE ?= arm-linux-androideabi-
diff --git a/Makefile b/Makefile
index f7e5680..9f07699 100644
--- a/Makefile
+++ b/Makefile
@@ -192,8 +192,13 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \
# "make" in the configured kernel build directory always uses that.
# Default value for CROSS_COMPILE is not to prefix executables
# Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
-ARCH ?= $(SUBARCH)
-CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%)
setenv mmcnum 0
setenv mmcpart 1
setenv mmctype ext2
setenv bootargs init=/init.sh rw earlyprintk=serial,ttyS0,115200 console=tty0 console=ttyS0,115200
echo Loading kernel
ext2load mmc 0 0x48000000 uImage-postmarketos-stable
echo Loading device tree
ext2load mmc 0 0x49000000 postmarketos-stable.dtb
echo Loading initramfs
$ qemu-arm -d help
Log items (comma separated):
out_asm show generated host assembly code for each compiled TB
in_asm show target assembly code for each compiled TB
op show micro ops for each compiled TB
op_opt show micro ops after optimization
op_ind show micro ops before indirect lowering
int show interrupts/exceptions in short format
exec show trace before each executed TB (lots of logs)
cpu show CPU registers before entering a TB (lots of logs)
image: "python:3.5"
before_script:
- apt-get update -qq
- apt-get install -y -qq shellcheck qemu-system-x86
- pip install flake8 pytest-cov python-coveralls
wiki:
script:
- test/check_devices_in_wiki.py
string "IconName"
variant string "battery-caution-symbolic"
)
]
method return time=1527125652.932377 sender=:1.28 -> destination=:1.23 serial=293 reply_serial=240
variant boolean true
method call time=1527125652.932477 sender=:1.23 -> destination=org.freedesktop.UPower serial=241 path=/org/freedesktop/UPower/devices/DisplayDevice; interface=org.freedesktop.DBus.Properties; member=Get
string "org.freedesktop.UPower.Device"
string "State"
method return time=1527125652.932600 sender=:1.28 -> destination=:1.23 serial=294 reply_serial=241
03:25:32.841 :0 WRN QObject: Cannot create children for a parent that is in a different thread.
(Parent is QApplication(0xbef23994), parent's thread is QThread(0xb4eb39d0), current thread is QThread(0x486960)
03:25:32.842 :0 WRN QObject::installEventFilter(): Cannot filter events for objects in a different thread.
03:25:32.843 :0 WRN QObject: Cannot create children for a parent that is in a different thread.
(Parent is QApplication(0xbef23994), parent's thread is QThread(0xb4eb39d0), current thread is QThread(0x486960)
03:25:32.866 :0 DBG Loaded plugin "/usr/lib/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemKWaylandPlugin.so" for platform "wayland"
03:25:33.559 :0 WRN QObject: Cannot create children for a parent that is in a different thread.
(Parent is QApplication(0xbef23994), parent's thread is QThread(0xb4eb39d0), current thread is QThread(0x486960)
03:25:33.560 :0 WRN QObject::installEventFilter(): Cannot filter events for objects in a different thread.
03:25:33.565 :0 DBG Using Wayland-
>>> telepathy-ofono: abuild 3.2.0_rc1-r1
>>> telepathy-ofono: Checking sanity of /home/pmos/build/APKBUILD...
>>> telepathy-ofono: Cleaning temporary build dirs...
>>> telepathy-ofono: Fetching https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/telepathy-ofono/0.2+17.04.20161109-0ubuntu1/telepathy-ofono_0.2+17.04.20161109.orig.tar.gz
>>> telepathy-ofono: Fetching https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/telepathy-ofono/0.2+17.04.20161109-0ubuntu1/telepathy-ofono_0.2+17.04.20161109.orig.tar.gz
>>> telepathy-ofono: Checking sha512sums...
telepathy-ofono_0.2+17.04.20161109.orig.tar.gz: OK
>>> telepathy-ofono: Unpacking /var/cache/distfiles/telepathy-ofono_0.2+17.04.20161109.orig.tar.gz...
-- The C compiler identification is GNU 6.4.0
-- The CXX compiler identification is GNU 6.4.0
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
174K 90M ACCEPT all any any anywhere anywhere ctstate RELATED,ESTABLISHED
8556 684K ACCEPT all lo any anywhere anywhere
0 0 DROP all any any anywhere anywhere ctstate INVALID
0 0 ACCEPT tcp any any anywhere anywhere tcp dpt:http
0 0 ACCEPT tcp any any anywhere anywhere tcp dpt:https
0 0 ACCEPT tcp any any anywhere anywhere tcp dpt:ssh
6 480 ACCEPT tcp any any anywhere anywhere tcp dpt:smtp
0 0 ACCEPT tcp any any anywhere anywhere tcp dpt:imap2