Skip to content

Instantly share code, notes, and snippets.

rclone --min-age 30d move ./ /Volumes/easystore-2 -P --log-file=rclone.log
qemu-system-x86_64 -accel hvf -m 256 -kernel bzImage -append "root=/dev/vda" -serial stdio -cpu host -drive id=disk0,file=bigtuna-core-image-qemux86-64.ext4,if=none,format=raw -device virtio-blk,drive=disk0
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
pylint3 xterm
/dts-v1/;
/ {
#address-cells = <0x2>;
#size-cells = <0x2>;
compatible = "ti,my19", "ti,am5728", "ti,dra74", "ti,dra7";
interrupt-parent = <0x1>;
model = "my19";
chosen {
$ repo grep packagegroup-core-buildessential
poky/meta/conf/distro/include/distro_alias.inc:DISTRO_PN_ALIAS_pn-packagegroup-core-buildessential = "OE-Core"
poky/meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb:RDEPENDS_packagegroup-core-buildessential = "\
poky/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb: packagegroup-core-buildessential \
poky/meta/recipes-extended/images/core-image-kernel-dev.bb:KERNEL_DEV_TOOLS ?= "packagegroup-core-tools-profile packagegroup-core-buildessential kernel-devsrc"
poky/meta-arago/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb: packagegroup-core-buildessential \
poky/meta-linaro/meta-linaro/recipes-linaro/images/linaro-image-lamp.bb: packagegroup-core-buildessential \
poky/meta-linaro/meta-linaro/recipes-linaro/images/linaro-image-lng.bb: packagegroup-core-buildessential \

Keybase proof

I hereby claim:

  • I am adam-lee on github.
  • I am adamyhlee (https://keybase.io/adamyhlee) on keybase.
  • I have a public key whose fingerprint is 1564 E7A0 7B1D 5E3A 07EF 583D 6B41 2567 EDE9 0C60

To claim this, I am signing this object:

f3ca10dde49043fbbb055854278b26954b549b36 is the first bad commit
commit f3ca10dde49043fbbb055854278b26954b549b36
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Wed Apr 22 09:44:36 2015 -0700
Revert "mm: avoid tail page refcounting on non-THP compound pages"
This reverts commit 8d63d99a5dfbdb997d12dd3c07b2070ca723db3b.
It causes in VM mapping refcount errors:
load mmc 0:2 ${loadaddr} boot/vmlinuz-4.1.13-ti-r34
load mmc 0:2 ${fdtaddr} boot/dtbs/4.1.13-ti-r34/am335x-pepper-43c.dtb
load mmc 0:2 ${rdaddr} boot/initrd.img-4.1.13-ti-r34
setenv rdsize ${filesize}
bootm ${loadadr} - ${fdtaddr}
load mmc 0:1 ${loadaddr} uimage
@adam-lee
adam-lee / Running-QT5-with-SGX-on-Gumstix-Pepper.md
Last active October 9, 2015 00:58
Running-QT5-with-SGX-on-Gumstix-Pepper.md

Enabling SGX (hardware accelerated graphics) on Pepper SBC is straight forward with Gumstix Yocto Project. Note that SGX does not support X11.

The custom, SGX enabled, image builds on the development branch of the Gumstix Yocto Project. A couple things need to be modified to add TI's Graphics SDK (v5) and Qt5-SGX demo applications. So be sure to set up the Yocto Project build environment first. Note that you need the development branch. The master branch has not been updated with necessary kernel patches.

Now you can make necessary changes to add SGX, build an image, and boot your device:

  1. Uncomment these lines from local.conf located in build/conf/:
    # Specify SGX GFX providers for Pepper
    PREFERRED_PROVIDER_virt
    

###QtCreator Remote Development And Deployment with SDK

####Install On Ubuntu 15.04's PPA has an outdated version of QtCreator (3.1.1). Remote deploy and debug do not work with the version of QT5 included in meta-qt5 (qt5.4.3). Instead, we will use an up-to-date version from Qt.io.The web installer from qt.io (https://www.qt.io/download/) lets you pick the version of QTCreator (3.4.2 in this case) you want. The binary of the web installer is named qt-unified-linux-x64-online.run for a system running 64bit Ubuntu 14.04. Download the installer suitable for your workstation. The installer lets you pick the version of QT5. Make sure to choose Qt5.4 to match with meta-qt5. Also note that you will have to create an account for Qt to install.

qt5-web-install

####Configuration We will configure QtCreator with