Re: vm-basic-pci demo is not working for arm64

Mohamed Dawod <[email protected]> Tue, 22 Oct 2024 10:36:03 +0300
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <CADFpuPJQk0MumGfwmfaYEa++u-L-x8Q4mCyYE+xUXu_1625dBQ@mail.gmail.com>
I upgraded L4 version to 24.08 instead of 23.10 because 24.08 contains the
missing virt-arm_virt-64_pci.dts file.
I'm building for arm64 and when I run the demo VM-basic-pci, I got the
following error !
I didn't change anything in the dts/dtb or ned scripts excepting the typo
of

>  overlay = "-drom/virt-pci.dtbo"


What is the problem here ?

[image: image.png]

On Mon, Oct 21, 2024 at 11:35 AM Philipp Eppelt <
[email protected]> wrote:

> Hi Mohamed,
>
> can you please check your arm64 build tree and look into the folder
> 'assets/dtb/'? There should be links to all the .dtb files of uvmm. The
> link of
> the file in question on my machine is:
>
>
> [...]/.build-arm64/pkg/uvmm/configs/dts/OBJ-arm64_armv8a-std-l4f/virt-arm_virt-64_pci.dtb
>
> If the file is missing in the linked folder, please check the
> corresponding
> source directory:
>
> <src>/pkg/uvmm/configs/dts/
>
> If virt-arm_virt-64_pci.dts isn't in there, you can download it from our
> development version of L4Re on github and recompile the uvmm package.
>
>
> https://github.com/kernkonzept/uvmm/blob/master/configs/dts/virt-arm_virt-64_pci.dts
>
> If the file is there, please check that '<arm64-build>/assets' directory
> is in
> your MODULE_SEARCH_PATH.
>
> Let me know, if this solves the missing file problem.
>
> Cheers,
> Philipp
>
>
>
> Am 20.10.24 um 09:20 schrieb Mohamed Dawod:
> > Thanks Matthias
> > I'm going to fix the typo of *virt-pci.dtbo*.
> > What about the missing file *dtb/virt-arm_virt-64_pci.dtb *?
> >
> >
> > On Tue, Oct 15, 2024 at 11:58 PM Matthias Lange <
> [email protected]
> > <mailto:[email protected]>> wrote:
> >
> >     Hi Mohamed,
> >
> >     On [15-10-2024 16:59], Mohamed Dawod wrote:
> >      > Hi,
> >      > I was trying to run the L4 demo *vm-basic-pci* for *arm64* using
> the command
> >      > $ make qemu E=vm-basic-pci
> >      > but It didn't work because of the missing 2 files :
> >      > * virt-arm_virt-64_pci.dtb : which is requested by the
> *modules.list* file
> >      > in the line :
> >      >
> >      > > module[arch=arm64,fname=virt-pci.dtb]
>  dtb/virt-arm_virt-64_pci.dtb
> >      >
> >      > * virt-pci.dtbo : which is requested by the *vm-basic-pci.cfg* by
> the
> >      > configuration
> >      >
> >      > > if (L4.Info.arch() == "arm64") then
> >      > >    dt = "-drom/.fdt"
> >      > >    overlay = "*-drom/virt-pci.dtbo*"
> >
> >     This is actually a typo. Please change this line to
> >
> >        overlay = "-drom/virt-pci.dtb"
> >
> >     Best,
> >     Matthias.
> >
> >      > > else
> >      > >    dt = "-drom/virt-pci.dtb"
> >      > >    overlay = ""
> >      > > end
> >      >
> >      >
> >      > I searched for both files in the whole *l4re-snapshot-23.10.1*
> directory
> >      > but I couldn't find them
> >      > Where can I find those necessary files to run *vm-basic-pc*i demo?
> >      >
> >      > Thanks in advance,
> >      > Regards
> >      >
> >      > --
> >      > Mohamed Dawod
> >      > *Software Engineer,* Cairo Egypt
> >      >
> >      > --
> >      >
> >      >
> >      > *Driving Innovation! Visit our website www.avelabs.com
> >     <http://www.avelabs.com>
> >      > <http://www.avelabs.com/ <http://www.avelabs.com/>>*, to read
> Avelabs
> >     Confidentiality Notice, follow
> >      > this link: http://www.avelabs.com/email/disclaimer.html
> >     <http://www.avelabs.com/email/disclaimer.html>
> >      > <http://www.avelabs.com/email/disclaimer.html
> >     <http://www.avelabs.com/email/disclaimer.html>>
> >      >
> >
> >      > _______________________________________________
> >      > l4-hackers mailing list -- [email protected]
> >     <mailto:[email protected]>
> >      > To unsubscribe send an email to
> [email protected]
> >     <mailto:[email protected]>
> >
> >
> >     --
> >     Get started with L4Re in 3 days - register now for our workshop in
> October!
> >
> >     Visit https://www.kernkonzept.com/workshop-getting-started-with-l4re
> >     <https://www.kernkonzept.com/workshop-getting-started-with-l4re> to
> learn
> >     more.
> >
> >     --
> >     Matthias Lange                      phone: +49 (0) 351-41 888 614
> >     Customer Engineer Specialist        web: https://www.kernkonzept.com
> >     <https://www.kernkonzept.com>
> >
> >     Kernkonzept GmbH
> >     Buchenstraße 16b
> >     01097 Dresden
> >
> >     Geschäftsführer: Dr.-Ing. Michael Hohmuth
> >     Registergericht: Amtsgericht Dresden
> >     Handelsregister: HRB 31129
> >
> >     You might not be working when I am and that's ok! Please make sure
> to only
> >     reply when it suits you. Mails can wait.
> >
> >
> >
> > *Driving Innovation! Visit our website www.avelabs.com
> > <http://www.avelabs.com/>*, to read Avelabs Confidentiality Notice,
> follow this
> > link: http://www.avelabs.com/email/disclaimer.html
> > <http://www.avelabs.com/email/disclaimer.html>
> >
> > _______________________________________________
> > l4-hackers mailing list -- [email protected]
> > To unsubscribe send an email to [email protected]
>
> --
> [email protected] - Tel. 0351-41 883 221
> http://www.kernkonzept.com
>
> Kernkonzept GmbH.  Sitz: Dresden.  Amtsgericht Dresden, HRB 31129.
> Geschäftsführer: Dr.-Ing. Michael Hohmuth
> _______________________________________________
> l4-hackers mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>

-- 


*Driving Innovation! Visit our website www.avelabs.com 
<http://www.avelabs.com/>*, to read Avelabs Confidentiality Notice, follow 
this link: http://www.avelabs.com/email/disclaimer.html 
<http://www.avelabs.com/email/disclaimer.html>

_______________________________________________
l4-hackers mailing list -- [email protected]
To unsubscribe send an email to [email protected]
image.png (image/png, 111.4 KB) - not displayed