L4Android and L4Linux parallel on an i.MX53
Adam Lackorzynski
adam at os.inf.tu-dresden.de
Tue Apr 17 00:26:33 CEST 2012
Hi,
On Sun Apr 15, 2012 at 20:58:48 +0200, Tobias Fink wrote:
> I hope I'm not rude asking again for help on the same topic. I'm still
> using the IGEP Board with an OMAP3 processor.
> I'm using the following configuration:
>
> entry L4TF
> kernel fiasco -serial_esc
> roottask moe rom/l4lx_tf.cfg
> module iol4lx_tf.io
> module ankh
> module l4re
> module ned
> module l4lx_tf.cfg
> module io
> module vmlinuz.arm
> module ramdisk-arm.rd
>
> The second Serial Interface seems to initialize. Is my approach
> correct? How can I attach the interface to a process so it gives the
> output to that interface?
Do I understand correctly that L4Linux talks successfully to the UART?
(You're only showing parts of the iol4lx_tf.io file?) Then this would be
a pure Linux thing. Something like this: prog </dev/ttyLv1 >/dev/ttyLv1 2&>1
> [-- octet-filter file type: "ASCII text" --]
>
> hw-root
> {
> NIC => new Device()
> {
> .hid = "smsc911x";
> new-res Mmio(0x4e000000 .. 0x4e000fff);
> new-res Irq(41);
> }
>
> ttyLv1 => new Device()
> {
> .hid = "2nd Console";
> new-res Mmio(0x49020000 .. 0x49020fff);
> new-res Irq(74);
> }
> }
> # Network device Test
> l4linux => new System_bus()
> {
> NIC => wrap(hw-root.NIC);
> }
>
> # Console 2 Test
>
> l4linux => new System_bus()
> {
> Lv1 => wrap(hw-root.ttyLv1);
> }
You should put both devices into the same bus, otherwise the first one
will not appear.
Adam
--
Adam adam at os.inf.tu-dresden.de
Lackorzynski http://os.inf.tu-dresden.de/~adam/
More information about the l4-hackers
mailing list