qshinoの日記

Powershell関係と徒然なこと

2019-06-01から1ヶ月間の記事一覧

TFUG

TFUG Tensor flow User.Groupと言うのがあるらしい。 https://tfug-tokyo.connpass.com/

Jetson Xavier Build bsp kernel cboot

Jetson kernel build Jetson Xavier Driver開発用のkernel build。 github jtagxhubさんのビルド用ツールが良さそうなので、中身を確認する。ツール自体は、Nano, TX2, Xavierに対応する。 git clone xx build により、build/*にツールをclone. build/envset…

CNN の基礎

CNNの基礎 最近AIと言えば、ディープラーニングやCNN / Convolutional Neutal Netorkという言葉と共に語られている。その中でCNNとは何かを基礎から説明したものが中々見つからない。そこで、簡単にまとめる。 CNNの構造例 良くあるCNNの構造 (Convolution N…

pci bus tree

pci bus scan pci bus をscanする方法。 Config Access Type pciのbus scanには2種類のConfig accessが使われる。 Type0 / T0: Bridgeが透過不可のアクセス Type 1 / T2 : Bridgeが透過可のアクセス Type 0 31-11 10-8 7-2 1 0 Devsel func reg 0 0 Type 1 3…

dhclient.leases

dhclienr.eases 本ページは FreeBSD jpman project (man-jp@jp.FreeBSD.org) より寄贈いただきました。 dhclient.leases Section: File Formats (5) Index JM Home Page roff page 名称 dhclient.leases - DHCP クライアントのリースデータベース 解説 Inter…

dhclient

dhclient 本ページは FreeBSD jpman project (man-jp@jp.FreeBSD.org) より寄贈いただきました。 dhclient Section: Maintenance Commands (8) Index JM Home Page roff page 名称 dhclient - 動的ホスト設定プロトコルのクライアント 書式 dhclient [ -Ddq1…

dhcpd options

dhcpd options 本ページは FreeBSD jpman project (man-jp@jp.FreeBSD.org) より寄贈いただきました。 dhcpd-options Section: File Formats (5) Index JM Home Page roff page 名称 dhcp-options - 動的ホスト構成プロトコルのオプション 解説 動的ホスト設…

dhclient.conf

dhclien.conf 本ページは FreeBSD jpman project (man-jp@jp.FreeBSD.org) より寄贈いただきました。 dhclient.conf Section: File Formats (5) Index JM Home Page roff page 名称 dhclient.conf - DHCP クライアント設定ファイル 解説 dhclient.conf ファ…

ntp server and client configurarion

PC

centos7 ntp server yum -y install ntp sudo echo <<EOS >> /etc/ntp.conf restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap EOS centos7 ntp client yum -y install ntp echo <<EOS >> /etc/ntp.conf server 192.168.0.1 iburst EOS centos7 ntp start and en</eos></eos>…

User DMA

Userlevel DMA code ボチボチ解析していく。 まずは、module登録関係。 /** * udmabuf_module_init() */ static int __init udmabuf_module_init(void){ int retval = 0; ida_init(&udmabuf_device_ida); retval = alloc_chrdev_region( &udmabuf_device_num…

pci device linux

PC

pci space access pci 空間には大きく3種類がある。 pci config registers io resource mem resource pci config space は、4Byte read/write。/proc/bus/pci/...をopen(rw)し、リード/ライト/シーク可能。mmapは、x86_64 ubuntu 18.04 で試したが、エラーが…

python pci access

python.portio >>> import portio # level を 3 に設定し、I/O ポートへのアクセスを許可します >>> portio.iopl(3) # 0x2000 から 1 byte を読み出します >>> portio.inb(0x2000) 254 pyhon.mmap >>> import os >>> import mmap # メモリを読込専用で開きま…

Windows pci register access

windowsのpci register access Pci reg access example. #define LSZ sizeof(ULONG) #define HEADERSIZE (FIELD_OFFSET (PCI_COMMON_CONFIG, DeviceSpecific)) / LSZ // The PCI_COMMON_CONFIG structure includes // device specific data. The following /…

Jetson TX1 sd boot

TX1でSD boot sdをext4でフォーマット rootfilesystem をコピー Driver pkgをコピー sudo ./apply_binaries.sh emmc上の /boot/extlinux/extlinux.conf を書き換え。 bootはemmc上のextlinx.confで判断するらしい。 apply_binaries.shが何をしているかは謎 …

Jetson xavier vnc

PC

Jetson Xavier vnc設定 Jetson xavier のvnc serverはデフォルトでは動かない。下記にて動作の報告あり。 File: ~/.config/autostart/vino-server.desktop [Desktop Entry] Type=Application Name=Vino VNC server Exec=/usr/lib/vino/vino-server NoDisplay…

ubuntu18.04のvino vnc server

PC

ubuntu 18.04 vnc serverの使い方 基本的な使い方は標準で立ち上がるdesktopの設定から、共有設定のところで設定する。 設定方法は、下記などを参照。 https://bugs.launchpad.net/ubuntu/+source/unity-control-center/+bug/1741027/comments/11 Zakhar (al…

ubntu デスクトップのリモート操作

ubuntu vnc ubuntu18.04 のvnc。下記環境でリモート1の画面をvncを使ってローカルで見る。 ubuntu vnc server / リモート1 centos7 vncviewer / リモート2 win xming / ローカル ネットワークイメージ。 背景 ubuntuの作業中やログイン前の画面を別のプライ…

気になったサイト

可変レートシェーディングと視線 https://devblogs.nvidia.com/vrs-wrapper/