Saturday, January 26, 2008

Big step forward

My first application using i2c driver was a success. It must be said that the test board was not ideal because of the inputs together with the outputs in one single pcf8574 but I managed to check my proof of concept.

Than it was time to investigate a bit more on my SD card problems. I had to isolate a few possibilities in order to get a clear view.

These were my possible causes of error:

  • SD card read/write wrong on my ubuntu host pc
  • SD card read/write wrong on NGW using u-boot (1.1.4)
  • A faulty distribution of linux using buildroot
So I approached this problem with eliminating as much as possible. I set up a NFS boot from my hard disk on the latop. After seeing the result was fine the old version of u-boot could be more an more the cause. I updated the u-boot holding my hands tight to the table. I restarted the board and saw the u-boot prompt popping up with a fancy 1.3.0 as version. This was great !

I continued in making my kernel and busybox (with fancy prompt) again to be sure I had a new distribution. I put it on the every SD/MMC card I have and guess what all worked properly ! This was indeed a great step forward.

Now I can be sure of the indispensable backup possibilty and the power of making my own distribution if I want too. I continued in configuring the board. I fixed the IP address. A little problem arose with the nameserver but quickly solved by the great avrfreaks forum. One of my next things todo is checking the access point and making it also a fix address. After that I will be able to test the complete network chain. I will do that in writing a small echo server.

Step by step sometimes 2 steps back but if you finally make 10 steps forward it was worth waiting.

1 comment:

JoANJU said...

Using Ubuntu, interested in Computer Science and others??? you are welcome to my blog!!! yours is so interesting

www.joanju.info