hi all,
Iam porting ti-sdk-am335x-evm-05.06 code to our custom board our board is hanging the problem iam facing is
once I enter the function omap_mmc_init(int dev_index)
reason of hanging: based on my observation in function in from omap_mmc_init() present in omap_hsmmc.c
before calling mmc_register(); function their is an assignment takes place to mmc structure declared in mmc.h.
that is
mmc->fmin = 400000;
that is overwritting the address present in mmc_devices structure inside a function
which is a double linked list structure. that contains address of previous and next nodes.
In my case this assignment causing mmc_devices->previous to been overwrriten by mmc->fmin before entring into function list_add_tail(); present in file include/linux/list.h.
That is address is replaced by value 400000 which will become invalid address. cause the process to hang.
if any solution please mailto:krishnegowda.c@3i-corporation.com
thanks all,
krishnegowda.c