Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
soc:2011:meteger:journal:week6 [2011/07/03 03:49]
meteger created
soc:2011:meteger:journal:week6 [2011/07/03 04:00]
meteger
Line 12: Line 12:
  
 and compiling the code with gcc -E, which only runs the C preprocessor. Use find and replace to get it into a more polished form. and compiling the code with gcc -E, which only runs the C preprocessor. Use find and replace to get it into a more polished form.
 +
 +====== Day 2 ( June 28 ) ======
 +
 +Today I added the code to initialize tp->​dma_rwctrl. For now I also disabled the code to allocate resources needed for packet reception, as we don't have any other code for receiving packets for now.
 +I tried to send some packets but failed. I noticed that gPXE didn't detect the correct link state and the other machine of the link negotiated to 10MBit/s half duplex while 1000MBit/s full duplex would be possible.
 +To debug the issue I moved all the PHY functions to a new file, tg3_phy.c. After some fixes the other machine was able to detect the link speed correctly, but gPXE still detected the link as down.
  

QR Code
QR Code soc:2011:meteger:journal:week6 (generated for current page)