Tool/software: Linux
I have a DM38x TI Camera Starter Kit, and I’m using the ipnc_rdk-3.9.1 TI Linux distribution. I’m also running off the NAND flash device.
I want to set the value of a GPIO pin at U-Boot time and have that value preserved (i.e., not rewritten) after Linux begins. The values are correctly set by U-Boot, and by Linux; I can see one of the LEDs on the board is lit. However, there is a gap when the light is off after Linux starts, until maybe 3 seconds goes by.
I determined that I was using the file omap_hwmod_3xxx_data.c file for some of the initialization. I checked out previous forum queries, and found suggestions to remove the value of SYSC_HAS_SOFTRESET from the flags element of struct omap3xxx_gpio_sysc. I also appended the value of HWMOD_INIT_NO_RESET to the flags element of the struct omap3xxx_gpio1_hwmod, and the other omap3xxx gpio hwmod structs. Both of these changes were in the file omap_hwmod_3xxx_data.c.
However, neither of these changes enables Linux to run with my GPIO pin value preserved. Can you help me?
Thanks,
Larry