Building DPDK on Raspberry Pi 3

I'm trying to build DPDK on Raspberry Pi 3 but couldn't do it on Raspbian since it's a 32-bit OS. DPDK uses several assembler instructions for ARM 8 that are only valid on 64-bit OS. So my effort starts with installing a 64-bit OS. I found SUSE has released 64-bit Linux for Raspberry Pi 3:https://en.opensuse.org/HCL:Raspberry_Pi3 I started with this OS image. Choosing the Image Three versions of distributions are avalable for Raspberry Pi 3: openSUSE Leap openSUSE Tumbleweed non-upstream openSUSE Tumbleweed I tried openSUSE Leap first, but could not zypper update. Then I tried openSUSE Tumbleweed. This worked fine. There are four variations of images: JeOS image (Just Enough OS)…

Improvement of Analog2.0 LFO

The schematic above represents the latest Analog2.0 LFO circuit. This circuit has a long-existing problem. The oscillation affects the power supply and that causes instability in VCO pitch; You would hear the VCO pitch shifting along with the LFO’s oscillation. I’ve tried eliminating this problem.

BeagleBone Green: Enable CAN on Startup

Three steps: Enable CAN overlay by configuring cape manager Configure network interface Install startup program 1. Enable CAN overlay Add following line in /etc/default/capemgr CAPE=BB-DCAN1 2. Configure network interface Add following lines in /etc/network/interfaces auto can0 iface can0 inet manual pre-up /sbin/ip link set $IFACE type can bitrate 1000000 listen-only off up /sbin/ifconfig $IFACE up down /sbin/ifconfig $IFACE down 3. Install startup program Setting the CAN interface to /etc/network/interface does not enable the CAN interface on startup for some reason. In order to workaround this problem, I installed a startup program as follows. Following link was helpful: Running a script on Beaglebone Black boot/ startup The startup script to run…

BeagleBoneGreen: Disabling Wi-Fi Power Management Permanently

The operating system is Debian. This is a dirty solution but it does work anyway. root@beaglebone:~# cat /etc/pm/power.d/wlan0_pm_off #!/bin/bash [ -x /sbin/iwconfig ] || exit 0 [ -n "`/sbin/iwconfig 2>/dev/null | grep wlan0`" ] || exit 0 /sbin/iwconfig wlan0 power off root@beaglebone:~# crontab -l | grep -v "^#" */1 * * * * /etc/pm/power.d/wlan0_pm_off root@beaglebone:~# iwconfig wlan0 wlan0 IEEE 802.11abgn ESSID:"*****" ... Power Management:off ...

Test CAN connection between BeagleBone and MIDI/CAN converter

1. Enabled CAN at 1Mbps on BeagleBone: Following operations seem to be necessary every BeagleBone boot. TBD to setup auto configuration on startup. root@beaglebone:~# echo BB-DCAN1 > /sys/devices/platform/bone_capemgr/slots root@beaglebone:~# ip link set can0 up type can bitrate 500000 root@beaglebone:~# ip link set can0 up type can bitrate 1000000 root@beaglebone:~# ifconfig can0 can0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00             UP RUNNING NOARP  MTU:16  Metric:1           RX packets:2 errors:0 dropped:2 overruns:0 frame:0           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:10            RX bytes:16 (16.0 B)  TX bytes:0 (0.0…