mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Linux: Add initialising script and required overlays and firmware
This commit is contained in:
parent
f11f0d9f2a
commit
73d42f3e33
BIN
Tools/Linux_HAL_Essentials/BB-BONE-PRU-05-00A0.dtbo
Normal file
BIN
Tools/Linux_HAL_Essentials/BB-BONE-PRU-05-00A0.dtbo
Normal file
Binary file not shown.
BIN
Tools/Linux_HAL_Essentials/BB-BONE-PRU-06-00A0.dtbo
Normal file
BIN
Tools/Linux_HAL_Essentials/BB-BONE-PRU-06-00A0.dtbo
Normal file
Binary file not shown.
BIN
Tools/Linux_HAL_Essentials/BB-SPI0-SWP-01-00A0.dtbo
Normal file
BIN
Tools/Linux_HAL_Essentials/BB-SPI0-SWP-01-00A0.dtbo
Normal file
Binary file not shown.
BIN
Tools/Linux_HAL_Essentials/BB-SPI1-SWP-01-00A0.dtbo
Normal file
BIN
Tools/Linux_HAL_Essentials/BB-SPI1-SWP-01-00A0.dtbo
Normal file
Binary file not shown.
16
Tools/Linux_HAL_Essentials/startup.sh
Executable file
16
Tools/Linux_HAL_Essentials/startup.sh
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
if [ "`echo $1`" = "load" ]; then
|
||||||
|
echo "Loading Test_Capes..."
|
||||||
|
cp BB-SPI0-SWP-01-00A0.dtbo /lib/firmware/
|
||||||
|
cp BB-SPI1-SWP-01-00A0.dtbo /lib/firmware/
|
||||||
|
cp BB-BONE-PRU-05-00A0.dtbo /lib/firmware/
|
||||||
|
cp testpru0 /lib/firmware
|
||||||
|
cp testpru1 /lib/firmware
|
||||||
|
echo BB-BONE-PRU-05 > /sys/devices/bone_capemgr.*/slots
|
||||||
|
echo BB-SPI0-SWP-01 > /sys/devices/bone_capemgr.*/slots
|
||||||
|
echo BB-SPI1-SWP-01 > /sys/devices/bone_capemgr.*/slots
|
||||||
|
dmesg | grep "SPI"
|
||||||
|
dmesg | grep "PRU"
|
||||||
|
else
|
||||||
|
echo "Usage:"
|
||||||
|
echo " ./startup.sh load : to load the capes"
|
||||||
|
fi
|
BIN
Tools/Linux_HAL_Essentials/testpru0
Normal file
BIN
Tools/Linux_HAL_Essentials/testpru0
Normal file
Binary file not shown.
BIN
Tools/Linux_HAL_Essentials/testpru1
Normal file
BIN
Tools/Linux_HAL_Essentials/testpru1
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user