Hi,

On 16.06.2016 22:06, Guido Witmond wrote:
> - with Nova, I don't see the serial console output, however, it serves
> pages just as fast as FOC; any ideas how to configure it to get the Nova
> console output?

please try to add the following patch (see steps below) to your foc
build directory and re-run. You should get some message of the form:

...
using comport xxx

L4 Bootstrapper
...

What does the comport is in your case ?

If it is 1,2,3 or 4 then the io_ports are 0x3f8, 02f8, 0x3e8, 0x2e8 -
otherwise the shown value is already the io_port.

The i/o port value you may add manually to the nova kernel in
contrib/nova-<hash>/src/kernel/nova/src/console_serial.cpp in
Console_serial(). Set "base" to your value and remove the if base statement.

Does it help ?

Cheers,

Alex.




Step 1: patch foc

In genode/contrib/foc-<hash>/src/kernel/foc apply the patch:

patch -p1 < foc.patch

Step 2: remove bootstrap code in foc build directory manually

rm -rf genode/build/<foc_x86_64/bootstrap

Step 3: rebuild your foc seetup and re-run
diff --git a/l4/pkg/bootstrap/server/src/platform/x86_pc.cc b/l4/pkg/bootstrap/server/src/platform/x86_pc.cc
index 2e66c73..1863bd4 100644
--- a/l4/pkg/bootstrap/server/src/platform/x86_pc.cc
+++ b/l4/pkg/bootstrap/server/src/platform/x86_pc.cc
@@ -624,6 +624,8 @@ public:
 
         if (init_uart(comport, comirq, &du))
           printf("UART init failed\n");
+        else
+          printf("using comport %x\n", comport);
       }
   }
 

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to