Re: Porting AGL linux on RISC-V processor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 07, 2022 at 03:58:39PM +0530, Padma Latha wrote:
> Hi Marius vlad,
Hi,
> 
> Thanks for your mail.
> 
> 1.I followed the below link to download and build the AGL source code
> 
> https://wiki.automotivelinux.org/agl-distro/source-code
I don't think I've posted any link to wiki. The links are the bottom of
my initial mail. The wiki ones are quite old and deprecated.

Also, have you seen Scott's reply about this topic?

It's at https://lists.automotivelinux.org/g/agl-dev-community/message/9933?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Acreated%2C0%2Crisc%2C20%2C2%2C0%2C92040032
> 
> 2. At the below steps
> 
>  $ source meta-agl/scripts/aglsetup.sh -m qemux86-64 agl-demo agl-netboot
Using qemux86-64 as machine won't do you any good if trying out riscv
platform.
> 
>   $ bitbake agl-demo-platform
> 
> 
> iam getting errors
> 
> *******************************************************************************************************************************************************************************
> 
> ERROR:
> 
> Dependency loop #1 found:
> 
>   Task
> /local/gpadmalatha/AGL_Linux_porting/external/poky/meta/recipes-bsp/opensbi/opensbi_1.0.bb:do_compile
> (dependent Tasks ['opensbi_1.0.bb:do_configure', 'linux-yocto_5.15.bb:
> do_deploy'])
> 
>   Task
> /local/gpadmalatha/AGL_Linux_porting/external/poky/meta/recipes-bsp/opensbi/opensbi_1.0.bb:do_install
> (dependent Tasks ['opensbi_1.0.bb:do_compile', 'pseudo_git.bb:
> do_populate_sysroot'])
> 
>   Task
> /local/gpadmalatha/AGL_Linux_porting/external/poky/meta/recipes-bsp/opensbi/opensbi_1.0.bb:do_populate_sysroot
> (dependent Tasks ['opensbi_1.0.bb:do_install', 'binutils-cross_2.38.bb:
> do_populate_sysroot'])
> 
>   Task
> /local/gpadmalatha/AGL_Linux_porting/meta-agl/meta-netboot/recipes-core/images/initramfs-netboot-image.bb:do_image_complete
> (dependent Tasks ['u-boot_2022.01.bb:do_populate_sysroot',
> 'opensbi_1.0.bb:do_populate_sysroot',
> 'qemu-helper-native_1.0.bb:do_addto_recipe_sysroot',
> 'initramfs-netboot-image.bb:do_image',
> 'initramfs-netboot-image.bb:do_image_ext4',
> 'qemu-system-native_6.2.0.bb:do_populate_sysroot'])
> 
>   Task
> /local/gpadmalatha/AGL_Linux_porting/external/poky/meta/recipes-kernel/linux/linux-yocto_5.15.bb:do_bundle_initramfs
> (dependent Tasks ['linux-yocto_5.15.bb:do_install',
> 'initramfs-netboot-image.bb:do_image_complete'])
> 
>   Task
> /local/gpadmalatha/AGL_Linux_porting/external/poky/meta/recipes-kernel/linux/linux-yocto_5.15.bb:do_deploy
> (dependent Tasks ['linux-yocto_5.15.bb:do_bundle_initramfs',
> 'linux-yocto_5.15.bb:do_populate_sysroot', 'pigz_2.7.bb:do_populate_sysroot',
> 'depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'linux-yocto_5.15.bb:
> do_packagedata'])
> 
> 
> 
> 
> 
> ERROR: Command execution failed: 1
> 
> 
> 
> Summary: There were 3 ERROR messages, returning a non-zero exit code.
> 
> 
> 
> ***************************************************************************************************************
> 
> 
> are there any other configurations required for this?.
> 
> Do have any idea on this Please let me know,
> 
> Regards,
> Padmalatha G
> 
> 
> 
> On Tue, Jun 28, 2022 at 2:32 PM Marius Vlad <marius.vlad@xxxxxxxxxxxxx>
> wrote:
> 
> > On Tue, Jun 28, 2022 at 06:07:40AM +0000, Padmalatha Gudipally wrote:
> > > Hello Dev Team,
> >
> > Hi Padmalatha,
> > >
> > > I am planning to work on " porting the AGL on RISC-V(64-bit) processor".
> > > Can you please guide me how to download the source code and how to
> > compile AGL source for RISC-V (64-bit) process with configurations? is
> > there any demo application on this?.
> > Automotive Grade Linux, uses the Linux Kernel so if there's anything to
> > port with respect to the kernel that would be a start. There's plently
> > of documentation on the internet about that.
> >
> > Automotive Grade Linux uses yocto/OE to build images for targets, so
> > you'd probably need to investigate if there's a layer (which I suppose
> > it is, see [2]) and attempt to use it to try to generate an image.
> >
> > qemu seems to have support for risc-v so you could probably use that to
> > try it out and see what works and what not. That would be a start a
> > guess.
> >
> > Our documentation at [3] shows how to build/generate an image for other
> > platforms so you'd need to adapt what's there to be able to create one
> > for risc-v.
> >
> > I'd also suggest joinging our dev call, [4], to get some further
> > feedback on the matter.
> >
> > > Can you please share the links which are related to the subject?
> > [1]
> > https://riscv.org/wp-content/uploads/2019/12/12.10-12.50-RISC-V_Summit_Fu_Wei_.pdf
> > [2] https://github.com/riscv/meta-riscv
> > [3]
> > https://docs.automotivelinux.org/en/marlin/#0_Getting_Started/2_Building_AGL_Image/0_Build_Process/
> > [4]
> > https://lists.automotivelinux.org/g/agl-dev-community/viewevent?repeatid=20413&eventid=1503503&calstart=2022-06-28
> > >
> > >
> > >
> > > Thanks and Regards,
> > > Padmalatha G
> > > [
> > https://ceremorphic.com/wp-content/uploads/2022/01/t/images/email_signature-02.png
> > ]<https://ceremorphic.com/>
> > >
> > >
> > >
> > >
> > >
> >
> >
> > 
> >
> >
> >


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9946): https://lists.automotivelinux.org/g/agl-dev-community/message/9946
Mute This Topic: https://lists.automotivelinux.org/mt/92038793/2167316
Group Owner: agl-dev-community+owner@xxxxxxxxxxxxxxxxxxxxxxxxx
Unsubscribe: https://lists.automotivelinux.org/g/agl-dev-community/leave/4543822/2167316/883735764/xyzzy [list-automotive-discussions82@xxxxxxxxxxx]
-=-=-=-=-=-=-=-=-=-=-=-


Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux