beagleboard / am335x_pru_package

332 stars 181 forks source link

pasm: command not found #67

Open LuXiuneng opened 6 years ago

LuXiuneng commented 6 years ago

I wonder if this is the correct way of installing pasm & prussdrv

  1. root@beaglebone:/home/debian# git clone https://github.com/beagleboard/am335x_pru_package.git
  2. root@beaglebone:/home/debian# cd am335x_pru_package/
  3. root@beaglebone:/home/debian/am335x_pru_package# make

I've done this but then when I tried to run a blink.p file, it says, "pasm: command not found"

LuXiuneng commented 6 years ago

Fixed. Refer to "ExploreBeaglebone" P546 Add the corresponding libraries, include files and assembler to their respective BBB dictionaries.

pra-dan commented 2 years ago

The problem is the incomplete process. After make, run sudo make install. You'll see something like

[sudo] password for debian: 
install -m 0755 -d /usr/local/bin
install -m 0755 pru_sw/utils/pasm /usr/local/bin
cd pru_sw/app_loader/interface && CROSS_COMPILE= make install
make[1]: Entering directory '/home/debian/am335x_pru_package/pru_sw/app_loader/interface'
install -m 0755 -d /usr/local/lib
install -m 0755 -d /usr/local/include
install -m 0644 ../lib/* /usr/local/lib
install -m 0644 ../include/prussdrv.h ../include/pruss_intc_mapping.h /usr/local/include
make[1]: Leaving directory '/home/debian/am335x_pru_package/pru_sw/app_loader/interface'

You can probably close this issue now