Skip to content

Instantly share code, notes, and snippets.

@RobertCNelson
RobertCNelson / BB-BONE-LCD7-01-00A3.diff
Created March 21, 2016 22:15
BB-BONE-LCD7-01-00A3.dts
diff --git a/src/arm/BB-BONE-LCD7-01-00A3.dts b/src/arm/BB-BONE-LCD7-01-00A3.dts
index 2e35341..b04f66f 100644
--- a/src/arm/BB-BONE-LCD7-01-00A3.dts
+++ b/src/arm/BB-BONE-LCD7-01-00A3.dts
@@ -48,7 +48,6 @@
"P9.15", /* keys: gpio1_16 LEFT */
"P9.23", /* keys: gpio1_17 RIGHT */
"P9.16", /* keys: gpio1_19 UP */
- "P9.30", /* keys: gpio3_16 DOWN */
"P9.21", /* keys: gpio0_3 ENTER */
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;
#include "am33xx.dtsi"
setenv fdtfile am335x-boneblack-wireless.dtb ; setenv mmcdev 0 ; setenv interface usb ; setenv mmcpart 1 ; setenv bootpart ${mmcdev}:${mmcpart} ; ${interface} start ; ${interface} dev ${mmcdev}
load ${interface} ${bootpart} ${loadaddr} /boot/uEnv.txt ; env import -t ${loadaddr} ${filesize}
setenv oldroot /dev/sda${mmcpart} ; setenv bootdir /boot ; setenv bootfile vmlinuz-${uname_r} ; run loadimage
setenv fdtdir /boot/dtbs/${uname_r} ; run loadfdt ; setenv cmdline coherent_pool=1M quiet ; run args_mmc_old ;echo debug: [${bootargs}] ... ; bootz ${loadaddr} - ${fdtaddr}
U-Boot SPL 2016.03-00001-gd12d09f (Mar 17 2016 - 16:16:15)
Trying to boot from MMC
bad magic
U-Boot 2016.03-00001-gd12d09f (Mar 17 2016 - 16:16:15 -0500), Build: jenkins-github_Bootloader-Builder-351
Watchdog enabled
I2C: ready
DRAM: 512 MiB
avrdude.exe: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf"
Using Port : COM5
Using Programmer : wiring
Overriding Baud Rate : 115200
@RobertCNelson
RobertCNelson / firmware-original.txt
Last active August 24, 2016 22:19
drop ti calibrate
01 6D 54 00 00 EF BE 01 71 54 AD DE 00 00 00 00 00 00 00 00 00 00 00 00 01 99 01 FE F9 E2 B8 A1 BB CE E8 03 FE F8 00 FF
03 FC FD FC 02 FB FD F5 01 FB FD F2 00 FB FC 01 02 FD FC 06 02 FC FE 08 00 FD FD 08 FD 08 0B 0D 0F 12 15 18 1C 21 26 2B
32 37 00 3F 00 49 00 54 00 5E 00 6C 00 75 00 84 00 90 00 9D 00 AC 00 B7 00 63 00 03 FD 07 08 09 0B 0D 10 13 15 1A 1D 23
28 2D 00 32 00 3B 00 42 00 4A 00 57 00 5C 00 68 00 75 00 80 00 8D 00 A1 00 AA 00 08 FD 06 09 09 0C 0F 10 14 18 1A 1F 25
2A 2F 00 39 00 3B 00 45 00 4E 00 59 00 61 00 71 00 79 00 87 00 96 00 A4 00 B2 00 07 FD 07 09 0A 0C 0F 11 14 18 1C 1F 26
2B 31 00 35 00 40 00 46 00 4E 00 5C 00 60 00 6E 00 7B 00 85 00 94 00 A7 00 AB 00 0B FD 07 0A 09 0D 0F 12 14 1A 1B 21 26
2C 31 00 3C 00 3D 00 47 00 51 00 5C 00 64 00 74 00 80 00 8F 00 A2 00 AF 00 BE 00 0A FD 07 0A 0A 0D 0F 11 15 19 1C 21 26
2C 33 00 39 00 41 00 48 00 52 00 5F 00 69 00 7B 00 89 00 9E 00 B0 00 CF 00 B4 00 0C FD 07 0A 0B 0E 10 12 16 1A 1
@RobertCNelson
RobertCNelson / fix.sh
Last active September 2, 2016 13:23 — forked from T4cC0re/fix.sh
Permanently fix VMWare kernel module sources for Kernel 4.6+ and (re-)build them (can be run multiple times)
#!/usr/bin/env bash
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
KMAJ="$(uname -r | cut -d. -f1)"
KMIN="$(uname -r | cut -d. -f2)"
if [ "${KMAJ}" != "4" ]; then
echo "This script has to be run on a 4.x kernel." 1>&2
debian@beaglebone:~$ sudo netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 1550/apache2
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 463/dnsmasq
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 943/sshd
tcp6 0 0 :::80 :::* LISTEN 1/init
tcp6 0 0 :::53 :::* LISTEN 463/dnsmasq
tcp6 0 0 :::22 :::* LISTEN 943/sshd
tcp6 0 0 :::1880 :::* LISTEN 1/init
@RobertCNelson
RobertCNelson / rc.pvr
Last active October 5, 2016 00:02
bbb sgx
debian@beaglebone:~$ cat /etc/init.d/rc.pvr
#!/bin/sh
#@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
#@License MIT
# The contents of this file are subject to the MIT license as set out below.
#
# 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 the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Oct 17 17:42:15 beaglebone kernel: g_multi gadget: high-speed config #1: Multifunction with RNDIS
Oct 17 17:42:15 beaglebone kernel: IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
Oct 17 17:42:15 beaglebone connmand[334]: usb0 {add} route fe80:: gw :: scope 0 <UNIVERSE>
Oct 17 17:42:15 beaglebone connmand[334]: usb0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
Oct 17 17:42:15 beaglebone connmand[334]: usb0 {newlink} index 3 address B0:D5:CC:FC:03:FE mtu 1500
Oct 17 17:42:15 beaglebone connmand[334]: usb0 {newlink} index 3 operstate 6 <UP>
Oct 17 17:42:15 beaglebone connmand[334]: Ignoring interface usb0 (filtered)
Oct 17 17:42:16 beaglebone avahi-daemon[367]: Joining mDNS multicast group on interface usb0.IPv6 with address fe80::b2d5:ccff:fefc:3fe.
Oct 17 17:42:16 beaglebone avahi-daemon[367]: New relevant interface usb0.IPv6 for mDNS.
Oct 17 17:42:16 beaglebone avahi-daemon[367]: Registering new address record for fe80::b2d5:ccff:fefc:3fe on usb0.*.