This is an old revision of the document!

Week 3 [ 7 Jun 2010 - 13 Jun 2010 ]

Day 1 [ 7 Jun 2010 ]

Git commit: 52f6bbd8471893361f264d3749b3f8c78df224b2

I managed to get the .irq routine implemented. I'm not sure how to test this, so I'll ask on email. I hope to get another round of feedback from people after which I'll send a patch containing the driver.

Once that was done I did one of those things I hate enjoy so much: manual labor! My old PC was broken into pieces plus I had to go out and get some SATA cables (it had none) because I want to set up a development environment on it too. Since there was no room for it in my room, I had to move the furniture around a bit so it had somewhere to go. Eventually I managed to turn it on and it now boots into its' old OS. Tomorrow I'll format the disk and set up a new Linux distro.

Day 2 [ 8 Jun 2010 ]

Git commit: 1807a8d7b9ca412cb7fa72b457b30cbc33b3069a

So I managed to test the .irq routine today by chainloading undionly.kpxe and it doesn't work :(. It gives a timeout when trying to dhcp. The weird thing is, if I activate debugging then dhcp works. I'll ask about this tomorrow.

Finally, the old PC is set up and lspci revealed that the nVidia NIC I have has a CK804 Ethernet Controller, device id 0x0057, which is currently supported by Linux's forcedeth driver. On tomorrow's list are setting up a driver skeleton for the forcedeth driver and seeking some help on #etherboot regarding pcnet32's .irq.

Day 3 [ 9 Jun 2010 ]


Day 4 [ 10 Jun 2010 ]

pcnet32 git commit: 94c29d96c34aaa97d22664c1f52ba0564d8c2894

forcedeth git commit: 5f415833099737de5af558892488930032a58caf

mdc helped me today to fix the bug I had in my .irq implementation. Well, it wasn't actually there, but in the .transmit, where I disabled the interrupts by mistake. Fixed, and now the .irq works too. I noticed that after chainloading UNDI the driver was really slow. Tomorrow I'll start digging on this and see how other drivers fare.

Also, I set up a basic skeleton for the new forcedeth driver. By the end of the week I want to contact the Linux driver devs and see if they can give me the documentation they had.

QR Code
QR Code soc:2010:andreif:journal:week3 (generated for current page)