Part Number: BEAGLEBK
first of all the good news, cross compile on Suse Linux PC works fine ( no error messages ).
I'm using the following script:
#! /bin/bash export ARCH=arm export CROSS_COMPILE=<path to>/ti-processor-sdk-linux-am335x-evm-04.03.00.05/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- export LD_LIBRARY_PATH=<path to libudev.so.0>:$LD_LIBRARY_PATH make distclean make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- tisdk_beaglebk-evm_defconfig make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig make zImage make modules make ARCH=arm am335x-boneblack.dtb
With menuconfig I check only if AD converters are selected (M), Dallas 1 wire (M) and the PRU units.
Was everything as expected, no need to modify.
The script is running a couple of minutes on I7 PC. No errors.
Now my question:
1.) Do I have to modify am335x-boneblack.dts ? Expecting it's based on my .config / tisdk_beaglebk-evm_defconfig. 4 AD channels are described. Concerning the PRU I'm unsure, because there is a section for pru, but the pin / mode mapping looks like a HDMI / LCD configuration. Not sure if and how pru1 is described. I need P8_39 .... P8_46 as pruout.
2.) Dallas 1-wire should be handled by a loadable kernel module. Do I have to modify the am335x-boneblack.dts for that?
Have to scp the files from Suse Linux PC to BeagleBone. zImage and the .dtb to /boot
and the modules?
Thanks for help
PS trying to execute the same script directly on BeagleBone ... up to now it still works, will see