EHCI Debug Gadget & ChromeOS Flashrom on BBB in Arch Linux

su root
cd

EHCI Debug Gadget

pacman -Syu wget
reboot
wget http://www.coreboot.org/images/8/88/Ehci-debug-gadget-patches.tar.gz
tar -xzf Ehci-debug-gadget-patches.tar.gz
cp usbdebug-gadget/g_dbgp.ko /lib/modules/`uname -r`/kernel/drivers/usb/gadget
cat /dev/ttyGS0

ChromeOS Flashrom

pacman -Syu git make gcc dtc
git clone https://chromium.googlesource.com/chromiumos/third_party/flashrom -b firmware-nyan-5771.B
cd flashrom
make CONFIG_SATAMV=0 CONFIG_LINUX_I2C=yes NOWARNERROR=yes CONFIG_LINUX_SPI=yes
cd
echo BB-SPIDEV0 > /sys/devices/platform/bone_capemgr/slots
flashrom/flashrom -p linux_spi:dev=/dev/spidev1.0

 

Leave a Reply