c62dd8e415b12cc7f9a362db23cd384caf77ff03
Implements the alternative boot operation for eMMCs. Note the limitations of the help. This is mostly useful for testing purposes if you set up the boot partition configuration correctly. Usage: $ sudo dd if=/dev/mmcblk2boot0 of=bootdatammcblk count=2 2+0 records in 2+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00482308 s, 212 kB/s $ sudo ./mmc boot_operation bootdata /dev/mmcblk2 $ diff -s bootdata bootdatammcblk Files bootdata and bootdatammcblk are identical Signed-off-by: Christian Loehle <cloehle@hyperstone.com> Reviewed-by: Avri Altman <avri.altman@wdc.com> Link: https://lore.kernel.org/r/f999a7ed7bb645948ac74d5d5341e913@hyperstone.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
MMC tools (mmc-utils) ===================== mmc-utils is a tool for configuring MMC storage devices from userspace. Contribution guidelines ----------------------- The project works using a mailing list patch submission process, similar to the process used for the Linux kernel itself. One can document themselves by reading how to submit a patch in the official Linux kernel documentation: https://www.kernel.org/doc/html/latest/process/submitting-patches.html Not all sections apply but it should be a good way to get started. A patch should be sent as a mail (not as an attachement, see documentation above) to the linux-mmc@vger.kernel.org mailing list with maintainers as Cc recipients. Maintainers ----------- Avri Altman <avri.altman@wdc.com> Ulf Hansson <ulf.hansson@linaro.org> License ------- This project is licensed under GPL-2.0-only.