4 ms·
very, very, roughly: - build a rootfs using the poky reference distro (but do it for your arm target). - https://docs.yoctoproject.org/ https://docs.yoctoproj
by fargle 5y ago
very, very, roughly:
- build a rootfs using the poky reference distro (but do it for your arm target).
- https://docs.yoctoproject.org/ https://docs.yoctoproject.org/
- https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html https://docs.yoctoproject.org/brief-yoctoprojectqs/index.htm...
- you'll need to make or get a layer for your machine type. for example, for rpi you'll want: https://github.com/agherzan/meta-raspberrypi https://github.com/agherzan/meta-raspberrypi
bitbake core-image-minimal (or whatever the machine layer wants you to do)
- find the unpacked root image (or unpack the final image). should be like build/tmp/work/<machine>/<blah>-image/1.0-r0/rootfs
- run (note: in the past I used LXC, but lets try podman today)
apt install qemu-user-static podman
podman run -it --rootfs <rootfsloc> /sbin/init