Yocto-STM32MP157C-DK2

Spearitch

New Member
Credits
242
Hello Everyone.
I'm new in this group and new to STM32 Hardware Programming.
I began a new project (Job Project) and I am responsible for the Linux part in it. I am working with an STM32MP157C-DK2.
The main field of the project concerns IoT devices.

As a newly introduced person to this field I want to know if you have some tips workshops and videos to understand the Yocto project distribution because I was told that it is not user-friendly. I don't know what to do with it. every package that I want to install fails to be installed because Yocto does not include some basic Linux commands because it does not support a packet manager.

I am so confused because I am new to Yocto!!!!!!!!

I received a fresh new STM32MP157C-DK2. When I use the lsb_release -a" I got: ST OpenSTLinux - Weston - (A Yocto Project Based Distro)"
Meaning that there is a specific distribution built upon it. Sadly I can't change the distribution for now to Ubuntu or Debian.
Basic commands like "git clone", "apt", ... are not available. But the following website(Buildroot) describes a procedure to install the Buildroot build system using these basic Linux commands. As far I as understood Yocto does not support a packet Manager.

Thanks all.


















Commenter
 


KGIII

Active Member
Credits
1,389
Oh, are you in for a treat!

I went here and checked to see what they have for documentation.


Yeah... Yeah, they don't appear to have documented it all that well.
 

Spearitch

New Member
Credits
242
Oh, are you in for a treat!

I went here and checked to see what they have for documentation.


Yeah... Yeah, they don't appear to have documented it all that well.
Thank You for your response.
But I don't understand what you meant with the link :( can you explain to me what the above link means ? It supports OpenST-Linux yeah but what do youmean ?
 

KGIII

Active Member
Credits
1,389
It means they have poor documentation. The 'in for a treat' was a tongue-in-cheek saying, meaning that it is not going to be easy. Their documentation is nearly non-existent, as you can see at the link I included.
 

Spearitch

New Member
Credits
242
Agreed .. But I found some Interesting Guides. Still ... It's not even clear on how some commands should be run. I followed every single step in the first Link and I got a problem with my MP which does not want to connect through USB. It clearly says " No STM32 Device in DFU Mode connected."
I'm using Ubuntu 18.04 through VM.

According to section 6.2 my MP should connect. The STM32Programmer Software is responding (Version 2.5) but the USB connection isn't possible
The switches at the back of the Board are on the Off mode like it was told in the article.



 

KGIII

Active Member
Credits
1,389
No STM32 Device in DFU Mode connected.
One of the posts here (seemingly from an employee) looks promising:


If possible, I'd avoid running your desktop OS in a VM. I'd suggest installing Ubuntu (or another appropriate distro) on bare metal, perhaps as a dual boot, so that you don't have to deal with any VM-USB quirkiness.
 

Spearitch

New Member
Credits
242
One of the posts here (seemingly from an employee) looks promising:


If possible, I'd avoid running your desktop OS in a VM. I'd suggest installing Ubuntu (or another appropriate distro) on bare metal, perhaps as a dual boot, so that you don't have to deal with any VM-USB quirkiness.
So you were right. It seems like using a VM will only complicate things even more. I installed Ubuntu 18.04 from the Windows Store and I made the same steps indicated in the article. The only tiny difference is that exporting the Path on Windows is done manually through the System properties.

Thanks a lot for the tip that was helpful :D
 


Members online


Top