I found two approaches to generating custom Beaglebone Black image:
- Use GitHub - beagleboard/image-builder: Image builder - this will create rootfs from scratch, installing required packages, but it will also install pre-built kernel and u-boot packages.
- Use Debian: Getting Started with the BeagleBone Black - Linux Guides - Engineering and Component Solution Forum - TechForum │ Digi-Key - this will build u-boot and kernel from source, but download pre-created rootfs (tar.xz).
How can I combine these two approaches to build u-boot and kernel from sources, and also create rootfs from scratch?