mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 17:58:23 +00:00
1d2c0506d3
Move (and rename) the following CONFIG options to Kconfig: CONFIG_DAVINCI_MMC (renamed to CONFIG_MMC_DAVINCI) CONFIG_OMAP_HSMMC (renamed to CONFIG_MMC_OMAP_HS) CONFIG_MXC_MMC (renamed to CONFIG_MMC_MXC) CONFIG_MXS_MMC (renamed to CONFIG_MMC_MXS) CONFIG_TEGRA_MMC (renamed to CONFIG_MMC_SDHCI_TEGRA) CONFIG_SUNXI_MMC (renamed to CONFIG_MMC_SUNXI) They are the same option names as used in Linux. This commit was created as follows: [1] Rename the options with the following command: find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \ -type f -print | xargs sed -i -e ' s/CONFIG_DAVINCI_MMC/CONFIG_MMC_DAVINCI/g s/CONFIG_OMAP_HSMMC/CONFIG_MMC_OMAP_HS/g s/CONFIG_MXC_MMC/CONFIG_MMC_MXC/g s/CONFIG_MXS_MMC/CONFIG_MMC_MXS/g s/CONFIG_TEGRA_MMC/CONFIG_MMC_SDHCI_TEGRA/g s/CONFIG_SUNXI_MMC/CONFIG_MMC_SUNXI/g ' [2] Commit the changes [3] Create entries in driver/mmc/Kconfig. (copied from Linux) [4] Move the options with the following command tools/moveconfig.py -y -r HEAD \ MMC_DAVINCI MMC_OMAP_HS MMC_MXC MMC_MXS MMC_SDHCI_TEGRA MMC_SUNXI [5] Sort and align drivers/mmc/Makefile for readability Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Marek Vasut <marex@denx.de> |
||
---|---|---|
.. | ||
Kconfig | ||
legoev3.c | ||
MAINTAINERS | ||
Makefile | ||
README |
Summary ======= LEGO MINDSTORMS EV3 is a toy robot produced by the LEGO Group. It is based on the davinci da850 evm. The EV3 has a 16MB spi flash and a SDHC microSD card reader. Booting ======= The EV3 contains a bootloader in EEPROM that loads u-boot.bin from address 0x0 of the spi flash memory. Using the default configuration, u-boot will check to see if there is a boot.scr file on the first FAT partition of the mmc. If there is, it will run the script and boot the kernel from the uImage file also in the FAT partition. Otherwise, it will load a kernel and rootfs from the flash. The kernel must be stored at address 0x50000 on the flash and have a maximum size of 3MiB. The rootfs must be a squasfs image and stored at 0x350000 in the flash and have a maximum size of 9.3MiB. The flash starting at 0xCB0000 is reserved for user data. Writing image to flash ====================== The EEPROM contains a program for uploading an image file to the flash memory. The program is started by holding down the right button on the EV3 when powering it on. You can also `run fwupdateboot` in the u-boot shell to reboot into this mode. The image can then be uploaded using the official LEGO MINDSTORMS EV3 software or a 3rd party program capable of uploading a firmware file. If you are booting from the microSD card, it is enough to just write uboot.bin to the flash. If you are not using a microSD card, you will need to create an image file using the layout described above.