Hi,
I've created custom BBB image with the Buildroot.
My build:
Buildroot: 2017.02-rc1
Toolchain: gcc-linaro-5.4.1-2017.01-x86_64_arm-linux-gnueabihf
Kernel: 4.8.11 (omap2plus + modified em335x-boneblack.dtb)
U-boot: 2017.03-rc2 + patch: //
rcn-ee.com/repos/git/u-boot-patches/v2017.03-rc2/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch=> MLO + uImage.img copied to SD card with the following commands
sudo dd if=./u-boot/MLO of=${DISK} count=1 seek=1 bs=128k
sudo dd if=./u-boot/u-boot.img of=${DISK} count=2 seek=1 bs=384k
My build is working just fine when booted from a SD card.
My problem:
The next step would be to flash the image into eMMC but I do not know how to do it.
I have tried to find a simple tool that could be used to flash/copy image into eMMC - so far no success.
1. I have found the flashing script "bbb-eMMC-flasher-eewiki-ext4.sh" by Robert C Nelson.
Only problem is that there is the following requirement:
#This script assumes, these packages are installed, as network may not be setup
#dosfstools initramfs-tools rsync u-boot-tools
I'm able to find all packages except the "initramsfs-tools" from the Buildroot. As a Linux noob I do not know how to install the "initramfs-tools" to my RFS image => cannot use the script.
2. Then I've found the "Beagle Bone Black Linux Flash System" from here:
http://ungureanuvladvictor.github.io/BBBlfs/But, I have not managed to get it build. The Bbblfs seems to be quite old (2013) so I do not know would it even work any more?
So folks, are suggestions/hints how to flash custom image into eMMC of BBB/BBG?
- hints how to install initramfs-tools to custom image?
- hints about steps needed to get the Bbbfls to build?
- something else?
BR
-timo-