Category Archives: Devices Hacking
How to build an ARM HPC cluster
Background
Nowadays ARM-based servers are being applied to many scenarios, so we are going to port some workload to the minimal ARM SoC with NVIDIA GPU to evaluate the feasibility of production usage.
P
… Read more...PetaLinux/Pynq in QEMU HowTo
Background
Before stepping into the virtio acceleration, we will build and run a Linux(PetaLinux) in FPGA.
Despite the poor performance of simulation in X86, it’s very convenient to create POC.
We … Read more...
P4 Network with Xilinx FPGA
0. Background
As we all know, P4 is about to be the future of OpenFlow 2.0, and to achieve an totally software defined network with programmable control plane and data plane.
1. Basic Knowledge
Since we&… Read more...
Design of Fault Tolerance x86 Server with FPGA or QEMU
1. Background
Since the MicroBlaze provides the lockstep feature, so finally we can make a POC.
2. MicroBlaze FT Test
3. Server FT Test via MicroBlaze FT controller
4. QEMU with COLO
[1] Triple Modular Red… Read more...
Software Defined Radio Device/Software/Application Guide
注意:本文内容仅限于实验室安全测试目的,禁止用于任何商业或违反当地法律法规的活动。
不管是较贵的Ettus还是入门的HackRF,抑或是最初级的RTL-SDR设备,都可以使用这篇教程中的绝大部分内容。
https://www.gnuradio.org/grcon/grcon17/presentations/
https://www.gnuradio.org/grcon/grcon18/… Read more...
Boost Virtualization Performance with Xilinx/Intel FPGA
UPDATE: 老王的笔记中也总结了一些关于devconf的内容。
This article is just a collection of ideas and posts.
Recently I was doing some performance-tunning of QEMU/KVM with kinds of pure-software ways. However, it ended with… Read more...
Porting KVM to NVIDIA Jetson Nano
因为Jetson如果作为边缘设备,那么我们需要进一步探索虚拟化在其上的可能性,从而使FT有更容易的路线可走,还有既然它的芯片是PCIE的,那理应可以透传。
参考:https://elinux.org/Jetson/Nano/Upstream
什么build rootfs、uboot之类的就不要了,那是后期嵌入式的活,我们在现有环境上build kernel即可。
1. 准备环境
访问链接https://d… Read more...
NVIDIA Jetson End-User Guide
本文将以NVIDIA Jetson为硬件基础,为你展现NVIDIA的力量,可以将其作为Jetson Nano的入门参考手册(教程)。
1. 入门篇
入门篇的有两章内容,来自NVIDIA JETSON包装盒自带的内容。
1.1. 准备环境
Ref.1: https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit
Ref.… Read more...
Build NetLogo for ARM(NVIDIA-JETSON-NANO)
本文主要目的为测试这块板子的性能,看看其是否有作为边缘节点的能力。
Env
Ubuntu 18.04(jetson-nano-sd-r32.1-2019-03-18)
Prepare
openflow & openvswitch in openwrt
I’ve got a NetGear R6300 V2 in hand.
As you already know, installing openvswitch in openwrt is very simple now. But for openflow, you need rebuild the openwrt image.
Install openvswitch
In any open… Read more...
eZ430-Chronos入手
入手的是433Mhz,相当于国际版。
关于官方介绍可至eZ430-chronos查阅。
下载Control Center for Windows
下载Control Center for Linux
然后将toolkit的USBRF插入PC,选择控制台中的ACC标签并“start ap,腕表选择“#”号键至ACC,再按下键即可于控制台中显示加速度传感器数值。
同样PPT为按键映射,SYNC为时间设置,TFB… Read more...
how to lock/unlock/root nexus 5
今日入手Nexus5美版(D820)
blahblahblah…
好吧,开始unlock以及root
先下载这个包,里面包含CM的镜像,unlock/lock的apk
http://cloud.lofyer.org/public.php?service=files&t=af14640b4f32d2e491d80a117db2bbe9
下载完成后,同时按住音量上下键再按开机,进入boot… Read more...
LeapMotion controlled X4
两者都入手已经一个月了,可平时有些忙(惰者多忙),也就只零零散散准备了一些资料,还没开始整合。
整个流程大概是这个我用文字描述的粗略的样子:
空间建模:获取飞行器初始坐标,与leapmotion的可视区域进行map。
一级控制:leapmotion获得的手掌运动信息(可预处理)进入arduino通过nfr2401发送给X4,进行粗略运动指令传达。
二级控制:根据摄像头采集的飞行器位置数据与手掌位置信息对比… Read more...
Leapmotion 相关
在Windows中
夹持器与四轴飞行器都是Arduino-Based,通信就用串口。
代码放在git.lofyer.org
感觉VS好难。。试试在gentoo下驱动leapmotion
在Gentoo下使用,这个方式应该适用于所有非debian系
先下载sdk包,下载后解压。
看到里面有个deb的包,用alien转化为tar包
LeapMotion 入手,晒一下开箱以及基本操作
Leap Motion Relative
已经在官网注册并下载了sdk(windows、linux,我没Mac),设备不出意外下个月到。
等到了再更新文章,到时会更新sdk配置,与arduino交互的相关代码。
可控的目前想到了飞行器、机械手(夹持器 – -)。… Read more...
Using Gpu in Pi
We had a wiki here.
http://elinux.org/RPi_Xorg_rpi_Driver#Design
And vc sdk on github. It’s also in /opt/vc.
https://github.com/raspberrypi
X using gpu.
https://github.com/simonjhall/fbdev_exa
Playbac… Read more...
Arduino IO生成波形的问题
1 2 3 4 |
DigitalWrite(pin,HIGH); DELAY(10); DigitalWrite(pin,LOW) DELAY(10); |
观察波形(上升沿触发)频率是51Hz,峰值为0.520V(使用外接电源的情况下,USB作电源为0.505V)。
除掉市电滤波的… Read more...
arduino+cpuload+serial+led
https://github.com/lofyer/arduino-hostcpuload-led
用libgtop2的库,已完成。
注意:
数据以ascii类型传输,调用led时转化为int
cpu利用率算式:
1 |
(float) |