@dipenp: Thank you. I am trying it again following your instructions.
and “target_specific.mk” ? it seems to belong to a separate SPE folder “rt-aux-cpu-demo”, doesn’t it?
And how to undestand the last line of the instruction? 5.Short GPIO pins of the 40 pin header J30 pin 16 and pin 32, this should print out “GPIO input irq triggered” message since pin 16 is configured as OUT which drives the pin 32 which is configured as INPUT and also has interrupt enabled.
How to run the sample? how to read from pin16?
From the tutorial:"GPIO application demonstrates how to access/manipulate Always On (AON) GPIOs from the SPE/AON processor. Make sure that the kernel/bootloader is not accessing these GPIOs (Usually, this can be done by modifying the device tree file) and no external module is connected to the Jetson expansion header. Compilation of this demo app can be controlled by ENABLE_GPIO_APP flag in the soc/*/ target_specific.mk file.
"
what call should print the message" GPIO input irq triggered" ?
what command needs to be executed to print the message?
how to run the app app/gpio-app.c?
It needs to be built first, right? via editing target_specific.mk ? and then how to execute building of it?
the same “make TARGET=t19x” ? executed from the make TARGET=t19x folder?
but it created just a bin file for transferring as spe_t194.bin.
wat will be the sample app file binary?
it worked as per the instruction step in my case. However it required to manually specify the path to the eabi. Moreover, I found a way to install the eabi via apt-get as I remember, which h I did not test though.
From instruction:
export TOP=<path to root directory where rt-aux-cpu-demo, hwinc and freertos related sources/directories reside>
export CROSS_COMPILE=<path to installed cross compiler>/gcc-arm-none-eabi-4_8-2014q3/bin/arm-none-eabi-
export OUTDIR=${TOP}/out
export FREERTOS_DIR=${TOP}/FreeRTOSV8.1.2/FreeRTOS/Source
export FREERTOS_COMMON_DIR=${TOP}/freertos-common
cd rt-aux-cpu-demo
To build for Jetson AGX
make TARGET=t19x
Thank you! Do you mind share how you install the eabi specifically? What I did is just download the linux version of the arm-gcc from the link in the instruction and untar it. Did you do anything else aside from that?