Hi Oleksii,

Oleksii Kuchuk wrote:
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

Send the dump here.
If you can send the section of disassemble code it dumps in
that would help a lot too.

Regards
Greg



(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


--
------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     [email protected]
SnapGear, a McAfee Company                  PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
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