moreil ([info]moreil) wrote,
@ 2008-06-26 19:55:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
Yak shaving.
So I built a 1-wire master board for the NGW100.

Which has an
I2C interface.

Which means that the kernel on the NGW100 needs to be upgraded to get the new i2c drivers that can handle it.

Which means I need to compile a new kernel for it.

Which means I need an AVR32 tool chain.

Which there aren't convenient packages for F9, so I need to compile them.

And then the kernel image is part of the root jffs2 image for the NGW100, so I need the root environment as well.

Which means compiling all components such as busybox et al.

Which is why I'm watching the best part of a gigabyte of source code compile, all so I can upgrade the 2 megabyte kernel, so I can run a 12 line program, which will produce 2 bytes of output (current temperature).

Yay.

The only bright spot in this is that compiles go amazingly fast on modern quad-core machines.



(6 comments) - (Post a new comment)

v4l2 driver
(Anonymous)
2008-08-03 10:48 pm UTC (link)
hello,

I'd like to ask u something and hope that u would help me.

I did the compiling-things and the board has already a new kernel (2.6.25.10.atmel.2) with the patch for ISI:
http://avr32linux.org/twiki/bin/view/Main/AtmelIsiDriver

but I am still confused, the board still doesnt have /dev/video0.
Must I create that? Is by reboot, the new module isnt loaded automatic?

thanks a lot for your help

Best Reagards,
cieks0301addyahoo.com

(Reply to this) (Thread)

Re: v4l2 driver
[info]moreil
2008-08-03 11:30 pm UTC (link)
Sorry, really no idea. I'm not using the video output. I'm guessing you need to explicitly configure the video given that there's a wide variety of hardware it will drive.

(Reply to this) (Parent)

1 Wire Board
[info]apineda
2008-09-08 09:18 pm UTC (link)
Hi there,

I have been working with the NGW100 and the Buildroot is fairly straight forward. I used the information from this site and was successful:

http://www.yagarto.de/howto/avr32ngw100/index.html

If you have any questions, I will be glad to help.

I have developed a daughterboard with ULN2803s and MAX1204 ADC converters, but did not include I2C support.

Would you be willing to sell me 1 of your extra 1-wire boards? (populated or otherwise) It looks nice and it would save me some time. Also, I don't have the ability to do surface mount components. Do you do this yourself or have it done by a PCB company. Any thoughts would be appreciated.

Regards,
Andy

(Reply to this) (Thread)

Re: 1 Wire Board
[info]moreil
2008-09-08 09:24 pm UTC (link)
You can have the eaglecad files if you like? I got Olimex to make them (which cost around ~$USD40 I seem to recall).

I do have some spare PCBs around, but I'm dubious about selling them (mostly due to the hassle factor).

Note that doing surface mount components is much easier than doing through-hole components. You just need to get solder paste (in a syringe. you don't need much), and an SMD re-work station (fancy hot-air gun) which sell for ~$USD100 these days.

I find I can solder up an SMD board _much_ faster than I got a through hole board. And it's neater and more reliable to boot. http://sparkfun.com has some nice tutorials on doing it.

(Reply to this) (Parent)(Thread)

Re: 1 Wire Board
[info]apineda
2008-09-08 10:42 pm UTC (link)
Thanks for the quick reply. I guess I am just going to bite the bullet and try my hand at Surface Mount. The fact that you think it is faster than through-hole got me excited enough to overcome my hesitation. I had read that using a heat gun was tricky due to the small parts flying away, but I guess with practice that is not an issue.

Thanks for the offer of the Eagle schematics, but the layout seems easy enough.

Good luck on your projects and thanks for all the good info. Your write ups are very clear and they will save me quite a bit of learning curve and time.

Regards,
Andy

(Reply to this) (Parent)(Thread)

Re: 1 Wire Board
[info]moreil
2008-09-08 11:10 pm UTC (link)
The parts flying away thing is an occasional mistake I made at the beginning.

Couple of things make it a non-issue.

#1. Solder paste is sticky. It's effectively a (weak) glue holding parts to the board.

#2. You want hot _slow_ air. Typically an SMD rework station will let you set the air temperature and flow rate. In general, you want the air hotter and slower than you might otherwise think.

I blew away a couple of parts when I first started doing it, but I can't remember the last time it was an issue now.

(Reply to this) (Parent)


(6 comments) - (Post a new comment)

Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…