U-Boot 1.1.3 (Apr 11 2013 - 17:02:09)
Board: Ralink APSoC DRAM: 64 MB
relocate_code Pointer at: 83fb4000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29
spi device id: ef 40 17 0 0 (40170000)
find flash: W25Q64BV
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"syscall" | |
) | |
func main(){ | |
fd,e1 := syscall.Socket(syscall.AF_NETLINK, syscall.SOCK_DGRAM, syscall.NETLINK_ROUTE) | |
if e1 != nil { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
''' | |
usage: bdist_rpm_r.py packagename [packagename ...] | |
You should use `pip wheel` command that creates whl deps. | |
Note: you should install rpmdevtools, python-devel, gcc, gcc-c++, etc. | |
that will be required during the rpmbuild process. | |
pbr will require git internally. | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yum install -y http://ftp.iij.ad.jp/pub/linux/fedora/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm | |
yum update -y | |
yum install -y rpmdevtools python-devel python-setuptools pytest python-jsonschema python-keyring | |
pkg=python-wheel | |
SRCDIR=$(rpmdev-setuptree -d | head -n 2 | tail -n 1 | awk -e '{print $2}') | |
curl http://pkgs.fedoraproject.org/cgit/$pkg.git/snapshot/$pkg-master.tar.gz | tar zxf - -C $SRCDIR --strip 1 | |
sed -i "s/%global with_python3 1/%if 0%{?fedora}\n%global with_python3 1\n%else\n%global with_python3 0\n%endif/" $SRCDIR/$pkg.spec | |
# or simply, |
run_valgrind.sh output. mozjemalloc looks like in use. horrible result.
==1280== Thread 20 DOM Worker:
==1280== Invalid write of size 4
==1280== at 0x6C3F956: unsigned int const* js::jit::Assembler::GetCF32Target<js::jit::InstructionIterator>(js::jit::InstructionIterator*) (Assembler-arm.cpp:713)
==1280== by 0x6C3FA67: js::jit::Assembler::TraceJumpRelocations(JSTracer*, js::jit::JitCode*, js::jit::CompactBufferReader&) (Assembler-arm.cpp:783)
==1280== by 0x6B42095: js::jit::JitCode::trace(JSTracer*) (Ion.cpp:767)
==1280== by 0x6AD72E3: js::GCMarker::processMarkStackOther(unsigned int, unsigned int) (Marking.cpp:1473)
==1280== by 0x6AD7A4D: js::GCMarker::drainMarkStack(js::SliceBudget&) (Marking.cpp:1810)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://wiki.mozilla.org/WebAPI/KeboardIME | |
https://developer.mozilla.org/en-US/Firefox_OS/Hacking_Firefox_OS/Customizing_the_keyboard | |
https://github.com/CodingFree/CopyPaste | |
https://github.com/pureexe/FXOS_thaikeyboard-4line | |
gaia LOL は marketplace trouble shooting 用に用意された。 | |
https://bugzilla.mozilla.org/show_bug.cgi?id=944641 |
vmware vddk 5.1 https://developercenter.vmware.com/web/sdk/51/vddk を入れる。5.5 には vmware-mount は同梱されていない。
flat表現というのは、ディスクの生の表現らしく、これだと各種ツール(fdiskとか)が使えるらしい。
mkdir /tmp/flatdir
vmware-mount -f vmdisk.vmdk /tmp/flatdir
kpartx -v -a /tmp/flatdir/flat
navigator.mozBle
- scanLEDevice(client_if, is_start:bool)
- connectBle(client_if, device.address, true);
- disconnectBle(client_if, bd_addr, conn_id)
- getIncludeService(conn_id, select_srvc_id, start_incl_srvc_id);
- searchService(conn_id, '')
- readCharacteristic(conn_id, select_srvc_id, select_char_id, auth_req);
- writeCharacteristic(conn_id, select_srvc_id, select_char_id, write_type, len, auth_req, value);
- getCharacteristic(conn_id, select_srvc_id, start_char_id)
- readDescriptor(conn_id, select_srvc_id, select_char_id, select_descr_id, auth_req);
b3 b2 | type | b7 b6 b5 b4 | subtype |
---|---|---|---|
00 | Management | 0000 | Association request |
00 | Management | 0001 | Association response |
00 | Management | 0010 | Reassociation request |
00 | Management | 0011 | Reassociation response |
00 | Management | 0100 | Probe request |
00 | Management | 0101 | Probe response |
00 | Management | 0110 | Timing Advertisement |