Forum Discussion
Altera_Forum
Honored Contributor
19 years agoEPCS Flash
I am really a newbie to linux in general. I am working on a custom board that has an epcs64 device attached. From within cgi code wrote in "c" I need to access the epcs flash device and be able to ...
Altera_Forum
Honored Contributor
19 years agoI have successfully modified the epcs_map.c file for my file partitions. However I seem to have run myself into more trouble. I want to be able to use netflash to update my epcs flash, but I am not finding much for documentation for netflash. Also, I struggled through compiling netflash (might have made a mistake fixing problems with the source code) and I tried this.
netflash -r /dev/mtd0 192.168.1.100 (source file) My results were this netflash: ioclt(BMGETSIZEB) failed, error=25 I also am trying to get tftp working also, but I appear to have something wronge there too. The cross compile app seems to work okay but I can never get a response back. Using ethereal I see the tftp request go out, but the response I see coming back is "port unreachable". If I tftp from a computer to the board, in ethereal again I seen the tftp request leave and I see a response back from uclinux that says "port unreachable". Any thoughts would be helpful.