Re: Questions about Installing SDK

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

 



Hi Walter,

Yes, generally speaking, you should end-up with aarch64 binaries which aren't
specific to your board (this is generally not true for 32 bits arm
architectures, where we see more species...)

That said, it may still depend on what your binaries do :). H3 and M3 are
slightly different and in particular, nothing ensures that kernel configurations
are the same in both AGL builds. So you may still have some glitches, depending
on how "low" your app is poking...

If you stay in upper layers, using AGL APIs and/or high level services, it
*MUST* work because this is the intended goal: build once, deploy on all
platforms with the same SoC architecture.

In extreme cases, you may have to adjust your behavior based on runtime
detection ("am I on M3 or H3???"). For that, the API agl-server-platform-info
[1] will certainly help.

Regarding hardware detection service, you can also watch [2].

I also have something cooking on a hardware detection service and exposure
through agl-service-platform-info here [3], but this is not in AGL yet.

HTH

[1] https://git.automotivelinux.org/apps/agl-service-platform-info/
[2] https://jira.automotivelinux.org/browse/SPEC-720
[3]
https://github.com/iotbzh/meta-iot-bzh/tree/master/meta-agl-early/recipes-core/platform-hardware-info
---
Stephane Desneux - CTO - IoT.bzh
stephane.desneux@xxxxxxx - www.iot.bzh

On 21/03/2019 20:51, Kopacz, Walter wrote:
> Hi all,
> 
>  
> 
> Thanks for the tips I’ll try them now. Another question about the SDK in
> general, I am using the Renesas H3 board but will the SDK for the M3 work for
> building applications for both boards?
> 
>  
> 
> Thanks,
> 
> Walter
> 
>  
> 
> *From:*Raquel Medina [mailto:raquel.medina@xxxxxxxxxxxx]
> *Sent:* Wednesday, March 20, 2019 6:22 PM
> *To:* Kopacz, Walter <Walter.Kopacz@xxxxxxxxxxxxxxxxxxxxxxx>
> *Cc:* Thierry Bultel <thierry.bultel@xxxxxxx>;
> automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
> *Subject:* Re:  Questions about Installing SDK
> 
>  
> 
>  
> 
>  
> 
> On Wed, Mar 20, 2019 at 5:09 PM Kopacz, Walter <Walter.Kopacz@xxxxxxxxxxxxxxxx
> <mailto:Walter.Kopacz@xxxxxxxxxxxxxxxx>> wrote:
> 
>     Hi Thierry,
> 
>      
> 
>     It is a physical machine and I just went through the logs and found nothing
>     about it being out of memory. Any idea what else it could be?
> 
>      
> 
> Hi Walter,
> 
>    You could try building it in text mode (not in a graphical terminal). I
> haven't had your problem building for agl, but I had a similar issue on a
> different project, and building in text mode helped then.
> 
> ~raquel
> 
>  
> 
>     -Walter
> 
>      
> 
>     *From:* automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx
>     <mailto:automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx>
>     [mailto:automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx
>     <mailto:automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx>] *On
>     Behalf Of *Thierry Bultel
>     *Sent:* Wednesday, March 20, 2019 6:32 AM
>     *To:* automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
>     <mailto:automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx>
>     *Subject:* Re:  Questions about Installing SDK
> 
>      
> 
>     Hi Walter,
> 
>     despite of the fact that bitbake is famous for its outrageous memory & cpu
>     usage,
>     this should not crash your machine. Are you using a physical machine, or a
>     virtualized one ?
> 
>     A a beginning, when you reboot after a crash, you should have a look in the
>     previous system logs (/var/log/messages.1 or similar)
>     and seek for 'oom' (out of memory). That would give a clue.
> 
>     Then, on a physical machine, I would perform a memtest to check if you have
>     a problem with
>     your memory banks.
> 
>     Best regards,
>     Thierry
> 
>     On 03/19/2019 06:06 PM, Kopacz, Walter wrote:
> 
>         Hello,
> 
>          
> 
>         I am currently having some trouble installing the SDK. I am currently
>         running AGL 7.0.0 on a Renesas H3 Premier board. I was able to build the
>         agl-demo-platform image and it is running fine. However, when I try to
>         build the agl-demo-platform-crosssdk image my computer freezes up the
>         point where I have to unplug it from the power supply to get it to
>         restart. Has anyone else had this issue?
> 
>          
> 
>         Also I noticed there are some files in the SDK folder from my original
>         build. Should I be able to install the SDK from those? I have tried and
>         it has failed with several errors saying it failed to locate files. Do I
>         need to actually perform a build inside the docker container for this to
>         work?
> 
>          
> 
>         Thanks and Regards,
> 
>         Walter
> 
> 
> 
>         _______________________________________________
> 
>         automotive-discussions mailing list
> 
>         automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx <mailto:automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx>
> 
>         https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions
> 
>      
> 
>     _______________________________________________
>     automotive-discussions mailing list
>     automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
>     <mailto:automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx>
>     https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions
> 
> 
> _______________________________________________
> automotive-discussions mailing list
> automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
> https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions
> 
_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions




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

  Powered by Linux