2020-03-05 02:44 AM
Hello all,
I have a STM32MP157C-DK2, and I want to use the minimal st-image-core.
I have been able to use/build "st-image-weston", and when its starts, I can see my board on the local network, ifconfig says me eth0 has an ip address and I can ssh it.
When I build "st-image-core", and successfully boot the board, I can't see it on lan. ifconfig doesnt show eth0.
Can someone tell me why?
command used:
DISTRO=openstlinux-weston MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh
bitbake st-image-weston
DISTRO=openstlinux-weston MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh
bitbake st-image-core
Solved! Go to Solution.
2020-03-05 08:39 AM
Well,
after a little struggle and dive inside available ST distribution package, i managed to make things work.
I have to edit st-image-core.bb and add the line
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-networkd-configuration', '', d)} \
or (i think) we can add
packagegroup-framework-tools \
in the same file, but it will add 'lot' of others things.
All is fine, the image-core is a 'simple' image, so not all linux things are included
Bye
2020-03-05 08:39 AM
Well,
after a little struggle and dive inside available ST distribution package, i managed to make things work.
I have to edit st-image-core.bb and add the line
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-networkd-configuration', '', d)} \
or (i think) we can add
packagegroup-framework-tools \
in the same file, but it will add 'lot' of others things.
All is fine, the image-core is a 'simple' image, so not all linux things are included
Bye