Hi Juergen,

Thank you very much. This ptx dist seems to be very powerful and flexible.
Good work!

I almost have all the tools I require. One of the big outstanding items is
documentation or examples for peripheral initialization and control in C.
You have given me an example for the IO control but I still need info on the
following:

- Serial (UART)
- Ethernet
- Timers
- Delays (builtin if any)
- Threads
- Interrupts for all peripheral events

Thank you very much

MC

On Thu, Jun 30, 2011 at 12:18 PM, Juergen Beisert <[email protected]>wrote:

> Hi MC Potgieter,
>
> please find attached two files to get your own application ran at system
> start.
>
> Create a "rules/" directory in your Mini2440 PTXdist project, copy these
> files
> into it and run "ptxdist menuconfig" after that.
>
> These files will create a new menu entry in
>
>      Root Filesystem --->
>         [*] init --->
>            < >   startup script (NEW)
>
> Tick this box to enable it.
>
> Then create a simple script which starts your application you need. Name
> this
> script "startup" and store it in your Mini2440 PTXdist project at the
> location "projectroot/home/" (you must create these directories if they do
> not already exists).
>
> After that, run a "ptxdist go". This will install some new files on your
> target root filesystem:
>
>  - /etc/init.d/startup
>  - /etc/rc.d/S99startup (which points to ../init.d/startup)
>  - /home/startup
>
> If you now start your target, the init process will call your /home/startup
> as
> the last action after bring up the other parts of your system
>
> BTW: By adding new *.in and *.make files in the project's local rules/
> directory you can extend PTXdist according to your own needs.
>
> Regards,
> Juergen
>
> --
> Pengutronix e.K.                              | Juergen Beisert
> |
> Linux Solutions for Science and Industry      | http://www.pengutronix.de/ |
>
-- 
ptxdist mailing list
[email protected]

Reply via email to