Regarding ARM on Genode virt_qemu_arm_v8a

Divya Sharma divyasharma26546 at gmail.com
Sat Mar 11 12:18:56 CET 2023


Thanks Martin and Colin for your help.
I configured the virtio_mmio_nic configuration for virt_qemu_arm_v8a using
[1] archive?
But after that i got stuck in the error
[init] Warning: drivers: no route to service "Uplink" (label="drivers ->
virtio_mmio_nic -> ")
[init -> drivers -> virtio_mmio_nic] Error: Uplink-session creation failed
(ram_quota=3538944, cap_quota=8, mac_address="52:54:00:12:34:56",
tx_buf_size=1638400, rx_buf_size=1638400, label="")

Saying that there is no route for Uplink service because I am not able to
set up that, I also tried to find those scripts mentioned by Colin but I
could not.
I also went for the following command to find the routes but I could not
find the script that needed the modification.

find repos/ -type d -wholename *virtio*
grep -r "src/virtio" repos/


So ,kindly guide me on how to set up the route for the Uplink service and
which are those scripts required to be modified for it.
route

Best,
Divya.




[1] repos/os/recipes/pkg/drivers_nic-virt_qemu_arm_v8a

On Tue, Feb 14, 2023 at 6:38 PM Colin Parker <cvparker at gmail.com> wrote:

> Hello,
>
> some reason. I assume that an image file with this name is not present,
>> but without further information about your sculpt setup (package list,
>> sculpt config, etc.), I cannot say for sure.
>>
>> I just noticed, that the virt qemu NIC driver binary is not named
>> nic_drv but virtio_mmio_nic. Maybe this is it!? Are you using this [1]
>> archive?
>>
>
> From the log:
>
> ROM: [000000004092e000,0000000040987030) mke2fs
> ROM: [00000000411cd000,0000000041213918) ncurses.lib.so
> ROM: [000000004059d000,00000000405fdce8) nic_router             <-- no "nic_drv" above
> ROM: [0000000040e63000,0000000040e64e12) nic_router.xsd
> ROM: [0000000040cfc000,0000000040d4a428) nitpicker
> ...
> ROM: [0000000040119000,00000000401312d0) virtio_mmio_fb_drv
> ROM: [000000004184d000,0000000041863f70) virtio_mmio_input_drv
> ROM: [0000000040d4b000,0000000040d68eb0) virtio_mmio_nic        <----
> ROM: [000000004058a000,000000004058a3fb) virtio_mmio_nic.xsd
> ROM: [000000004030e000,00000000403460c0) wm
>
> Based on the above snippet I think what Martin says must be the case.
> When I have wanted to change the drivers in sculpt, I had to edit the
> sculpt_manager component to launch the component I wanted, using the
> "binary=" attribute. The Genode team may know a better way though. You may
> also need to change default routes to services, which you can obtain from a
> run script that uses virtio_mmio_nic.
>
> Hope it helps!
>
> -CP
>
> _______________________________________________
> Genode users mailing list
> users at lists.genode.org
> https://lists.genode.org/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20230311/18f6ed49/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error
Type: application/octet-stream
Size: 20456 bytes
Desc: not available
URL: <http://lists.genode.org/pipermail/users/attachments/20230311/18f6ed49/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virt_qemu_arm_v8a
Type: application/octet-stream
Size: 4628 bytes
Desc: not available
URL: <http://lists.genode.org/pipermail/users/attachments/20230311/18f6ed49/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: default-virt_qemu_arm_v8a.sculpt
Type: application/octet-stream
Size: 981 bytes
Desc: not available
URL: <http://lists.genode.org/pipermail/users/attachments/20230311/18f6ed49/attachment-0005.obj>


More information about the users mailing list