diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2015-01-16 16:59:04 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2016-04-08 11:17:32 +0900 |
commit | a8e8a4825d505fff6de1fd79ccc5241e9dbdc98b (patch) | |
tree | e19bb1e7affa71c842fc0d38c9754c180f66cf7b | |
parent | 4371239babc47ea0e432bee64a1d5ba007a17231 (diff) | |
download | u-boot-a8e8a4825d505fff6de1fd79ccc5241e9dbdc98b.tar.gz u-boot-a8e8a4825d505fff6de1fd79ccc5241e9dbdc98b.tar.bz2 u-boot-a8e8a4825d505fff6de1fd79ccc5241e9dbdc98b.zip |
Odroid-XU3: adjust to support Tizen requirements
This patch includes changes required to boot Tizen,
by varoius authors:
arm: exynos5420: Adding support for board_usb_{init|cleanup}() functions
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
samsung: common: board: call dwc3_uboot_exit() for boards with DWC3
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
config: Odroid-XU3: Support DFU download
Signed-off-by: Inha Song <ideal.song@samsung.com>
smdk5420: Add dfu_alt_info settings interface for support DFU download
Signed-off-by: Inha Song <ideal.song@samsung.com>
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
config: Odroid-XU3: Enable dwc3 usb gadget
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
config: Odroid-XU3: Add default dfu device environment
Signed-off-by: Inha Song <ideal.song@samsung.com>
usb: config: odroid XU3: Enable UMS (Mass Storage) gadget
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Odroid-XU3: Enable check board signature when download bootloader
Signed-off-by: Inha Song <ideal.song@samsung.com>
odroid-xu3: config: add platform autoboot command
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Odroid-XU3: Set rootfs device number to 0
Signed-off-by: Inha Song <ideal.song@samsung.com>
-rw-r--r-- | include/configs/odroid_xu3.h | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/include/configs/odroid_xu3.h b/include/configs/odroid_xu3.h index 500f0f9d4f..431c7a5943 100644 --- a/include/configs/odroid_xu3.h +++ b/include/configs/odroid_xu3.h @@ -10,11 +10,13 @@ #include "exynos5420-common.h" #include <configs/exynos5-common.h> +#include <samsung/platform_boot.h> #undef CONFIG_ENV_IS_IN_SPI_FLASH #define CONFIG_IDENT_STRING " for ODROID-XU3" #define CONFIG_BOARD_COMMON +#define CONFIG_SIG #define CONFIG_SYS_SDRAM_BASE 0x40000000 #define CONFIG_SYS_TEXT_BASE 0x43E00000 @@ -80,6 +82,7 @@ /* UMS */ #define CONFIG_G_DNL_UMS_VENDOR_NUM 0x0525 #define CONFIG_G_DNL_UMS_PRODUCT_NUM 0xA4A5 +#define CONFIG_USB_GADGET_MASS_STORAGE #define CONFIG_USB_FUNCTION_MASS_STORAGE #define CONFIG_CMD_USB_MASS_STORAGE @@ -87,6 +90,13 @@ #undef CONFIG_EXYNOS_TMU #undef CONFIG_TMU_CMD_DTT +/* Partitions name for Tizen 3.0 */ +#define PARTS_BOOT "boot" +#define PARTS_ROOT "platform" +#define PARTS_DATA "system-data" +#define PARTS_USER "user" +#define PARTS_MODULES "modules" + #define CONFIG_DFU_ALT_SYSTEM \ "uImage fat 0 1;" \ "zImage fat 0 1;" \ @@ -97,8 +107,11 @@ "exynos5422-odroidxu3.dtb fat 0 1;" \ "exynos5422-odroidxu3-lite.dtb fat 0 1;" \ "exynos5422-odroidxu4.dtb fat 0 1;" \ - "boot part 0 1;" \ - "root part 0 2\0" + ""PARTS_BOOT" part 0 1;" \ + ""PARTS_ROOT" part 0 2;" \ + ""PARTS_DATA" part 0 3;" \ + ""PARTS_USER" part 0 5;" \ + ""PARTS_MODULES" part 0 6\0" #define CONFIG_DFU_ALT_BOOT_EMMC \ "u-boot raw 0x3e 0x800 mmcpart 1;" \ @@ -135,7 +148,8 @@ EXYNOS_DEVICE_SETTINGS \ EXYNOS_FDTFILE_SETTING \ MEM_LAYOUT_ENV_SETTINGS \ - BOOTENV \ + PLATFORM_BOOT_INFO \ + "checkboard=\0" \ "bootdelay=0\0" \ "rootfstype=ext4\0" \ "console=" CONFIG_DEFAULT_CONSOLE \ @@ -145,6 +159,9 @@ "mmcrootdev=0\0" \ "mmcbootpart=1\0" \ "mmcrootpart=2\0" \ + "dfu_usb_con=0\0" \ + "dfu_interface=mmc\0" \ + "dfu_device=" __stringify(CONFIG_MMC_DEFAULT_DEV) "\0" \ "dfu_alt_system="CONFIG_DFU_ALT_SYSTEM \ "dfu_alt_info=Autoset by THOR/DFU command run.\0" |