Thanks Norman and Martin for details explanation,
I removed the static drivers configuration rules from drivers subsystem and kept the other scripts(like sculpt.run) as it is modified at [1] and got the following log entries in terminal when clicked on wired in Sculpt.
[init -> runtime] child "nic_drv"
[init -> runtime] RAM quota: 20232K
[init -> runtime] cap quota: 266
[init -> runtime] ELF binary: nic_drv -->
[init -> runtime] priority: 2
[init -> runtime] child "nic_router"
[init -> runtime] RAM quota: 9992K
[init -> runtime] cap quota: 266
[init -> runtime] ELF binary: nic_router
[init -> runtime] priority: 2
[init -> runtime] provides service Nic
[init -> runtime] provides service Uplink
Seeing above logs it seems that nic_drv is not able to load the virtio_mmio_nic(instead ELF binary: nic_drv) ELF binary at runtime and mac address allocation, I don't know why.
Also I did further modification [2] [3] to sculpt.run to make it happen which is shown below.
[1]
proc nic_drv { } {
if {[have_board pc]} { return ipxe_nic_drv }
if {[have_board imx8q_evk]} { return fec_nic_drv }
if {[have_board mnt_reform2]} { return fec_nic_drv }
if {[have_board virt_qemu_arm_v8a]} { return virtio_mmio_nic } //added binary
return nic_unavailable
}
[2]
proc virtio_mmio_nic { } { // proc nic_drv -->
if {[have_board pc]} { return ipxe_nic_drv }
if {[have_board imx8q_evk]} { return fec_nic_drv }
if {[have_board mnt_reform2]} { return fec_nic_drv }
if {[have_board virt_qemu_arm_v8a]} { return virtio_mmio_nic } //added binary
return nic_unavailable
}
[3]
<service name="ROM" label="nic_drv"> <parent label="} [virtio_mmio_nic] {"/> </service>
still the progress is the same, not able to set up the network in the sculpt .
Is there anything else that needs to be taken care of or changed ??
Thanks.
DIVYA.