• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

****ty instructions for new KB adapter

Karajan

Banned via Warnings
Joined
Feb 20, 2013
Messages
519
TO create new thingy:
get this http://www.elinux.org/BeagleBoardUbuntu#eMMC:_BeagleBone_Black
unzip with 7zip
get this http://sourceforge.net/projects/win32diskimager/files/latest/download
use this to write it to a 4+gb sd http://circuitco.com/support/index.php?title=Win32_Disk_Imager
flash it
ubuntu, temppwd

run
/bin/sh /boot/uboot/tools/ubuntu/small-lxde-desktop.sh to get lxde

restart and ****


apt-get install build-essential
apt-get vim
apt-get lynx
//etc


create a code directory wait you might just be able to unzip the package i attached and skip to the add to profile stuff.
git clone https://github.com/beagleboard/am335x_pru_package

go to /am335x_pru_package/pru_sw/app_loader/interface
make CROSS_COMPILE=""
go to pru_sw/utile/thing and do source ./linuxbuild (call pasm pasm_2 maybe)

modprobe uio_pruss

add to profile:
export SLOTS=/sys/devices/bone_capemgr.8/slots (might be .9, check your directory)
export PINS=/sys/kernel/debug/pinctrl/44e10800.pinmux/pins
then . ~/.profile

Create Device Tree

If dtc doenst exist, or doesnt work remove the old and then
wget -c https://raw.github.com/RobertCNelson/tools/master/pkgs/dtc.sh
chmod +x dtc.sh
./dtc.sh

Build device tree:
dtc -O dtb -o [NAME]-00A0.dtbo -b 0 -@ [NAME].dts
dtc -O dtb -o PRU-GPIO-Enable-00A0.dtbo -b 0 -@ PRU-GPIO-Enable.dts
or /usr/local/bin/dtc -O dtb -o PRU-GPIO-Enable-00A0.dtbo -b 0 -@ PRU-GPIO-Enable.dts

Copy it to /lib/firmware
cp [NAME]-00A0.dtbo /lib/firmware

apply the change to the device tree while in firmware:
echo [NAME] > $SLOTS (to remove it, cat $SLOTS to get the number, then do echo -number > $SLOTS)

Get SDL:
apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev


Every time you START UP:
sudo su
modprobe uio_pruss
. ~/.profile
in /lib/firmware
echo PRU-GPIO-Enable > $SLOTS
you can run now, go back to the code dir and run ./pjx74v2

===============================================
so just message me on FB for the code folder since it is too big to upload here
 

Karajan

Banned via Warnings
Joined
Feb 20, 2013
Messages
519
A lot of this stuff can probably be skipped or ignored cause i will just give you the whole folder with the gpio and pru stuff. Eh just give me your email address and i'll send you things
 
Top Bottom