Troubles building lwip example on hw_rpi

Reinier Millo Sánchez rmillo at ...210...
Sun Nov 23 02:14:36 CET 2014


Hi Norman
Thanks, I have tried with the current master branch and it worked. I 
have tested QT5 examples, and have compiled, but when have tried it on 
the PI does not recognize the mouse.
I have modified the qt5_drivers.inc to allow the QT5 examples run on the 
RPI:

@@ -83,6 +83,9 @@ proc drivers_build_components { feature_arg } {
      lappend_if [use_timer feature]         build_components drivers/timer
      lappend_if [use_usb_drv feature]       build_components drivers/usb
+  # RaspberryPi Platform
+  lappend_if [have_spec platform_rpi] build_components drivers/platform
+
      return $build_components
  }

@@ -218,6 +221,14 @@ proc drivers_start_nodes { feature_arg } {
          }
      }
+  # RaspberryPi Platform
+  append_if [have_spec platform_rpi] start_nodes {
+  <start name="platform_drv">
+    <resource name="RAM" quantum="1M"/>
+    <provides><service name="Platform"/></provides>
+    <config/>
+  </start>}
+
      return $start_nodes
  }
  @@ -243,6 +254,9 @@ proc drivers_boot_modules { feature_arg } {
      lappend_if [use_timer feature]         boot_modules timer
      lappend_if [use_usb_drv feature]       boot_modules usb_drv
+  # RaspberryPi Platform
+  lappend_if [have_spec platform_rpi] boot_modules platform_drv
+
      return $boot_modules
  }

Best regards


On 11/22/2014 11:02 AM, Norman Feske wrote:
> Hi Reinier,
>
> on the Rpi, the NIC driver is provided by the USB driver. So 'make
> drivers/nic' does not produce any meaningul result.
>
> I guess that you are using Genode version where the lwip.run script did
> not support the Rpi, yet. Please check that your branch has the
> following commit (which was merged to master after version 14.08):
>
>
> https://github.com/genodelabs/genode/commit/181d507cf837f1e05c4e352fcbddbc0fda8bea62
>
> Alternatively, you could give the current master branch a try, which is
> known to work.
>
> Cheers
> Norman
>
>

-- 
Lic. Reinier Millo Sánchez
Centro de Estudios de Informática
Universidad Central "Marta Abreu" de Las Villas

"antes de discutir ... respira;
   antes de hablar ... escucha;
  antes de escribir ... piensa;
   antes de herir ... siente;
  antes de rendirte ... intenta;
   antes de morir ... vive"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rmillo.vcf
Type: text/x-vcard
Size: 519 bytes
Desc: not available
URL: <http://lists.genode.org/pipermail/users/attachments/20141122/218c7327/attachment.vcf>


More information about the users mailing list