Skip to content

Instantly share code, notes, and snippets.

View tnishinaga's full-sized avatar

Toshifumi NISHINAGA tnishinaga

  • Japan
  • 06:45 (UTC +09:00)
View GitHub Profile
https://github.com/ntfreak/openocd/blob/master/tcl/target/hi6220.cfg
@tnishinaga
tnishinaga / exec_result.md
Last active August 16, 2018 16:23
Raspberry Pi zero上で行列積を計算するコード。
pi@raspberrypi:~/cache_test $ ./a.out 
exec time normal: 42.615200sec
allsum = 134217728
exec time block: 25.836692sec
allsum = 134217728
@tnishinaga
tnishinaga / matrix_dot.c
Created August 15, 2018 16:49
行列の積を求めるテストコード
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#define MAT_A_ROW 512
#define MAT_A_COL 512
#define MAT_B_ROW 512
#define MAT_B_COL 512
@tnishinaga
tnishinaga / Dockerfile
Created July 25, 2018 17:06
Tensorflow build failure log(with bazel 0.15.0) and Dockerfile
FROM linaro/base-arm64-ubuntu:xenial
COPY sources.list /etc/apt/sources.list
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
curl \
libfreetype6-dev \
libhdf5-dev \
#!/bin/sh
docker run --rm -v `pwd`/book:/work vvakame/review:2.5 /bin/sh -c "cd /work && review-pdfmaker config.yml"
sudo chown -R $USER. ./book
tnishinaga@tx230> v4l2-ctl --list-formats-ext -d 2                                                                                                                                                                                           ~
ioctl: VIDIOC_ENUM_FMT
        Index       : 0
        Type        : Video Capture
        Pixel Format: 'MJPG' (compressed)
        Name        : Motion-JPEG
                Size: Discrete 640x480
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 1280x720
@tnishinaga
tnishinaga / fail_dot_config
Last active May 21, 2018 16:22
Failure log on ArchLinux rootfs on SynQuacer
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 4.14.32 Kernel Configuration
#
CONFIG_ARM64=y
CONFIG_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_MMU=y
CONFIG_ARM64_PAGE_SHIFT=12
CONFIG_ARM64_CONT_SHIFT=4
@tnishinaga
tnishinaga / Dockerfile
Last active April 12, 2018 17:14
LLDB build docker image
# for lldb build on arch linux
FROM base/archlinux
RUN pacman -Syu
RUN pacman -S --noconfirm git swig cmake doxygen graphviz llvm clang lldb python2 ninja lld cmake epydoc
# for debug
RUN pacman -S --noconfirm ltrace
@tnishinaga
tnishinaga / memo.md
Created April 8, 2018 12:43
crosstool-ng-1.23 build memo

crosstool-ng-1.23 build

$ date
Sun Apr  8 12:35:16 UTC 2018

$ uname -a
Linux cool-leaf-45 4.13.0-1011-azure #14-Ubuntu SMP Thu Feb 15 16:15:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux