Forum Discussion
Altera_Forum
Honored Contributor
16 years agoTSE and SGDMA
Hi all, I need help .... I'm porting u-boot (the latest nioswiki release) on a custom board... I have a big problem with altera_tse driver... I can ping my PC from the board but only one time...
Altera_Forum
Honored Contributor
16 years agoHi all, it is very frustrating to see that none can help... but I know it can happen...
I Hope to be useful to some other people with the same or similar problem: the problem is in altera_tse.c (/u-boot/driver/net) in tse_eth_reset (called every time we start a new transfer) rx_gdma cannot be reset with rx_sgdma->control &= ALT_SGDMA_CONTROL_SOFTWARERESET_MSK; rx_sgdma->control &= ALT_SGDMA_CONTROL_SOFTWARERESET_MSK; in my experience that doesn't reset nothing... With: rx_sgdma->control = ALT_SGDMA_CONTROL_SOFTWARERESET_MSK; rx_sgdma->control = ALT_SGDMA_CONTROL_SOFTWARERESET_MSK; you finally reset sgdma and the driver works very well... Hope this help... Bye Carlo