Hi Nicholas,

Nicholas Proscia wrote:
> Dave, the code works now, yes.
>
> Juergen, I started from scratch and followed the quickstart guide and I got
> the kernel and filesystem on the mini, so now I can login as root and it
> work out fine. Initially, I did try what you are pointing out, the 4.3.2
> compiler, and it was not working. Then Dave said to use the toolchain, so I
> looked through the toolchain and found the cross-compiler, and I compiled
> my code with that and it worked.

Fine.

> I do have some more questions though. I'm trying to find which outputs are
> PWM outputs, but there doesn't seem to be anything (at least labelled) that
> are PWM outputs. I'm sure it was included in the BSP compilation, but I
> can't seem to find them in /dev (unless it is one of the many ttyx values)
> or /sys/class on the mini. Looking through
> /platform-mini2440/build-target/linux-3.1/arch/arm, there are 2 folders,
> one called plat-samsung, and another called plat-s3c24xx. plat-samsung has
> pwm files, but plat-s2c24xx does not. Which one of these is related to the
> mini, and how can I get pwm working? I found a patch here:
> http://mini2440qt.googlecode.com/files/servo.tar.gz , is this necessary?
> And if so, how do I install a patch? The included instructions are for
> zImage, but I use uImage when transferring the kernel.

I did not take a look into the 'servo.tar.gz', yet. But you can take a look 
into the 
'configs/platform-friendlyarm-mini2440/patches/linux-3.1/add_buzzer.diff' 
patch to get an idea what has to be done to get a working PWM.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

Reply via email to