Oops, I have not noticed so obvious difference beetwen (char*) and 'l'
suffix... Thanks))

But, still it does not work correctly. Each time it tries to translate
the char, there is a BAD KERNEL TRAP, with illegal address to call
(actually NULL). And input does not react in any way at all.
I have not traced it yet, but it seems that it cannot find irq handler
or something like that... Well, as I am still working with mcf5407, I
will try to figure out what happens.

Yours sincerely,
Oleksii Kuchuk



2009/3/20 Greg Ungerer <[email protected]>:
> Hi Oleksii,
>
> I didn't convert that code very carefully when I did this :-)
>
> The old code use 8bit access, this is a 32bit write. To do the same
> it should be:
>
>    writeb(MCFSIM_ICR_LEVEL6 | MCFSIM_ICR_PRI1, MCF_MBAR + MCFSIM_UART1ICR);
>
>
> A patch to that file (arch/m68knommu/platform/5407/config.c) is
> attached that fixes this.
>
> Can you try this out, and see if it works now?
>
> Regards
> Greg
>
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to