mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-25 20:07:17 +00:00
Merge branch '2021-09-10-assorted-TI-updates'
- A number of TI platform bugfixes
This commit is contained in:
commit
78528b3e7e
37 changed files with 120 additions and 89 deletions
|
@ -380,28 +380,24 @@
|
|||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ti,hwmods = "usb_otg_hs";
|
||||
status = "disabled";
|
||||
|
||||
usb_ctrl_mod: control@44e10620 {
|
||||
compatible = "ti,am335x-usb-ctrl-module";
|
||||
reg = <0x44e10620 0x10
|
||||
0x44e10648 0x4>;
|
||||
reg-names = "phy_ctrl", "wakeup";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
usb0_phy: usb-phy@47401300 {
|
||||
compatible = "ti,am335x-usb-phy";
|
||||
reg = <0x47401300 0x100>;
|
||||
reg-names = "phy";
|
||||
status = "disabled";
|
||||
ti,ctrl_mod = <&usb_ctrl_mod>;
|
||||
#phy-cells = <0>;
|
||||
};
|
||||
|
||||
usb0: usb@47401000 {
|
||||
compatible = "ti,musb-am33xx";
|
||||
status = "disabled";
|
||||
reg = <0x47401400 0x400
|
||||
0x47401000 0x200>;
|
||||
reg-names = "mc", "control";
|
||||
|
@ -443,14 +439,12 @@
|
|||
compatible = "ti,am335x-usb-phy";
|
||||
reg = <0x47401b00 0x100>;
|
||||
reg-names = "phy";
|
||||
status = "disabled";
|
||||
ti,ctrl_mod = <&usb_ctrl_mod>;
|
||||
#phy-cells = <0>;
|
||||
};
|
||||
|
||||
usb1: usb@47401800 {
|
||||
compatible = "ti,musb-am33xx";
|
||||
status = "disabled";
|
||||
reg = <0x47401c00 0x400
|
||||
0x47401800 0x200>;
|
||||
reg-names = "mc", "control";
|
||||
|
|
|
@ -186,14 +186,14 @@
|
|||
};
|
||||
|
||||
&mcbsp1 {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
#sound-dai-cells = <0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mcbsp1_pins>;
|
||||
};
|
||||
|
||||
&mcbsp2 {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
#sound-dai-cells = <0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mcbsp2_pins>;
|
||||
|
|
|
@ -193,7 +193,7 @@
|
|||
};
|
||||
|
||||
&dss {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&dss_dpi_pins>;
|
||||
|
|
|
@ -742,7 +742,7 @@
|
|||
};
|
||||
|
||||
&dss {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&dss_pins>;
|
||||
|
|
|
@ -752,7 +752,7 @@
|
|||
};
|
||||
|
||||
&dss {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&dss_pins>;
|
||||
|
|
|
@ -528,13 +528,13 @@
|
|||
};
|
||||
|
||||
&dss {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
|
||||
vdda_video-supply = <&ldoln_reg>;
|
||||
};
|
||||
|
||||
&hdmi {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
vdda-supply = <&ldo4_reg>;
|
||||
|
||||
port {
|
||||
|
@ -545,7 +545,7 @@
|
|||
};
|
||||
|
||||
&pcie1_rc {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
|
|
|
@ -405,7 +405,7 @@
|
|||
&aemif {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&nand_pins>;
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
cs3 {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <1>;
|
||||
|
|
|
@ -501,7 +501,7 @@
|
|||
};
|
||||
|
||||
&dcan1 {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
pinctrl-names = "default", "sleep", "active";
|
||||
pinctrl-0 = <&dcan1_pins_sleep>;
|
||||
pinctrl-1 = <&dcan1_pins_sleep>;
|
||||
|
|
|
@ -430,7 +430,7 @@
|
|||
};
|
||||
|
||||
&dcan1 {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
pinctrl-names = "default", "sleep", "active";
|
||||
pinctrl-0 = <&dcan1_pins_sleep>;
|
||||
pinctrl-1 = <&dcan1_pins_sleep>;
|
||||
|
@ -499,11 +499,11 @@
|
|||
};
|
||||
|
||||
&dss {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&hdmi {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
|
||||
port {
|
||||
hdmi_out: endpoint {
|
||||
|
|
|
@ -59,6 +59,10 @@
|
|||
u-boot,dm-spl;
|
||||
};
|
||||
|
||||
&main_mmc1_pins_default {
|
||||
u-boot,dm-spl;
|
||||
};
|
||||
|
||||
&main_usb0_pins_default {
|
||||
u-boot,dm-spl;
|
||||
};
|
||||
|
|
|
@ -280,7 +280,7 @@
|
|||
/delete-property/ assigned-clocks;
|
||||
/delete-property/ assigned-clock-parents;
|
||||
clocks = <&clk_19_2mhz>;
|
||||
clock-names = "usb2_refclk";
|
||||
clock-names = "ref";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&main_usbss0_pins_default>;
|
||||
ti,vbus-divider;
|
||||
|
|
|
@ -142,7 +142,7 @@
|
|||
};
|
||||
|
||||
&mdio {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
ethphy0: ethernet-phy@0 {
|
||||
compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
|
||||
reg = <0>;
|
||||
|
|
|
@ -170,7 +170,7 @@
|
|||
};
|
||||
|
||||
&mdio {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
ethphy0: ethernet-phy@0 {
|
||||
compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22";
|
||||
reg = <0>;
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
};
|
||||
|
||||
&mdio {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
ethphy0: ethernet-phy@0 {
|
||||
compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
|
||||
reg = <0>;
|
||||
|
|
|
@ -379,7 +379,7 @@
|
|||
};
|
||||
|
||||
&dss {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <
|
||||
|
@ -396,7 +396,7 @@
|
|||
};
|
||||
|
||||
&venc {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
|
||||
vdda-supply = <&vdac>;
|
||||
|
||||
|
|
|
@ -353,7 +353,7 @@
|
|||
};
|
||||
|
||||
&dss {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&dss_dpi_pins>;
|
||||
|
@ -367,7 +367,7 @@
|
|||
};
|
||||
|
||||
&venc {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
|
||||
vdda-supply = <&vdac>;
|
||||
|
||||
|
@ -380,7 +380,7 @@
|
|||
};
|
||||
|
||||
&gpmc {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
ranges = <0 0 0x30000000 0x1000000>; /* CS0 space, 16MB */
|
||||
|
||||
/* Chip select 0 */
|
||||
|
|
|
@ -248,7 +248,7 @@
|
|||
};
|
||||
|
||||
&dss {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
|
||||
port {
|
||||
dpi_out: endpoint {
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
};
|
||||
|
||||
&dss {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
port {
|
||||
dpi_out: endpoint {
|
||||
remote-endpoint = <&lcd_in>;
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
};
|
||||
|
||||
&ssi {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
|
||||
clocks = <&ssi_ssr_fck>,
|
||||
<&ssi_sst_fck>,
|
||||
|
|
|
@ -153,7 +153,7 @@
|
|||
};
|
||||
|
||||
&ssi {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
|
||||
clocks = <&ssi_ssr_fck>,
|
||||
<&ssi_sst_fck>,
|
||||
|
|
|
@ -546,7 +546,7 @@
|
|||
};
|
||||
|
||||
&dss {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
|
||||
port {
|
||||
dpi_out: endpoint {
|
||||
|
@ -557,12 +557,12 @@
|
|||
};
|
||||
|
||||
&dsi2 {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
vdd-supply = <&vcxio>;
|
||||
};
|
||||
|
||||
&hdmi {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
vdda-supply = <&vdac>;
|
||||
|
||||
port {
|
||||
|
|
|
@ -648,11 +648,11 @@
|
|||
};
|
||||
|
||||
&dss {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dsi1 {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
vdd-supply = <&vcxio>;
|
||||
|
||||
port {
|
||||
|
@ -677,7 +677,7 @@
|
|||
};
|
||||
|
||||
&dsi2 {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
vdd-supply = <&vcxio>;
|
||||
|
||||
port {
|
||||
|
@ -702,7 +702,7 @@
|
|||
};
|
||||
|
||||
&hdmi {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
vdda-supply = <&vdac>;
|
||||
|
||||
port {
|
||||
|
|
|
@ -743,11 +743,11 @@
|
|||
};
|
||||
|
||||
&dss {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&hdmi {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
|
||||
/* vdda-supply populated in board specific dts file */
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <spl.h>
|
||||
#include <fdt_support.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <env.h>
|
||||
|
@ -60,6 +61,37 @@ int board_fit_config_name_match(const char *name)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SPL_BUILD) && CONFIG_IS_ENABLED(USB_STORAGE)
|
||||
static int fixup_usb_boot(const void *fdt_blob)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
switch (spl_boot_device()) {
|
||||
case BOOT_DEVICE_USB:
|
||||
/*
|
||||
* If the boot mode is host, fixup the dr_mode to host
|
||||
* before cdns3 bind takes place
|
||||
*/
|
||||
ret = fdt_find_and_setprop((void *)fdt_blob,
|
||||
"/bus@f4000/cdns-usb@f900000/usb@f400000",
|
||||
"dr_mode", "host", 5, 0);
|
||||
if (ret)
|
||||
printf("%s: fdt_find_and_setprop() failed:%d\n",
|
||||
__func__, ret);
|
||||
fallthrough;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
void spl_perform_fixups(struct spl_image_info *spl_image)
|
||||
{
|
||||
fixup_usb_boot(spl_image->fdt_addr);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_TI_I2C_BOARD_DETECT
|
||||
int do_board_detect(void)
|
||||
{
|
||||
|
|
|
@ -31,6 +31,7 @@ CONFIG_CMD_SPL=y
|
|||
# CONFIG_CMD_SETEXPR is not set
|
||||
CONFIG_BOOTP_DNS2=y
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_SPL_OF_CONTROL=y
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_BOOTP_DNS2=y
|
|||
CONFIG_CMD_MTDPARTS=y
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_SPL_OF_CONTROL=y
|
||||
CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2 am335x-pocketbeagle"
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
# CONFIG_ENV_IS_IN_FAT is not set
|
||||
|
|
|
@ -97,6 +97,8 @@ CONFIG_CLK=y
|
|||
CONFIG_SPL_CLK=y
|
||||
CONFIG_CLK_CCF=y
|
||||
CONFIG_CLK_TI_SCI=y
|
||||
CONFIG_SYS_DFU_DATA_BUF_SIZE=0x40000
|
||||
CONFIG_SYS_DFU_MAX_FILE_SIZE=0x800000
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
CONFIG_DFU_SF=y
|
||||
|
|
|
@ -53,6 +53,7 @@ CONFIG_SPL_SPI_LOAD=y
|
|||
CONFIG_SYS_SPI_U_BOOT_OFFS=0x80000
|
||||
CONFIG_SPL_USB_GADGET=y
|
||||
CONFIG_SPL_DFU=y
|
||||
CONFIG_SYS_DFU_DATA_BUF_SIZE=0x40000
|
||||
CONFIG_SPL_YMODEM_SUPPORT=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_DFU=y
|
||||
|
|
|
@ -96,6 +96,8 @@ CONFIG_CLK_TI_SCI=y
|
|||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
CONFIG_DFU_SF=y
|
||||
CONFIG_SYS_DFU_DATA_BUF_SIZE=0x20000
|
||||
CONFIG_SYS_DFU_MAX_FILE_SIZE=0x800000
|
||||
CONFIG_DMA_CHANNELS=y
|
||||
CONFIG_TI_K3_NAVSS_UDMA=y
|
||||
CONFIG_USB_FUNCTION_FASTBOOT=y
|
||||
|
|
|
@ -51,6 +51,7 @@ CONFIG_SPL_SPI_LOAD=y
|
|||
CONFIG_SYS_SPI_U_BOOT_OFFS=0x80000
|
||||
CONFIG_SPL_USB_GADGET=y
|
||||
CONFIG_SPL_DFU=y
|
||||
CONFIG_SYS_DFU_DATA_BUF_SIZE=0x5000
|
||||
CONFIG_SPL_YMODEM_SUPPORT=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_DFU=y
|
||||
|
|
|
@ -10,6 +10,7 @@ CONFIG_TARGET_OMAP3_EVM=y
|
|||
CONFIG_SPL_SYS_MALLOC_F_LEN=0x400
|
||||
CONFIG_SPL=y
|
||||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_BOOTCOMMAND="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run envboot; run distro_bootcmd"
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_DEFAULT_FDT_FILE="omap3-evm.dtb"
|
||||
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||
|
|
|
@ -96,6 +96,34 @@
|
|||
"${bootdir}/${name_fit}\0" \
|
||||
"partitions=" PARTS_DEFAULT
|
||||
|
||||
#define EXTRA_ENV_AM642_BOARD_SETTING_USBMSC \
|
||||
"args_usb=run finduuid;setenv bootargs console=${console} " \
|
||||
"${optargs} " \
|
||||
"root=PARTUUID=${uuid} rw " \
|
||||
"rootfstype=${mmcrootfstype}\0" \
|
||||
"init_usb=run args_all args_usb\0" \
|
||||
"get_fdt_usb=load usb ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \
|
||||
"get_overlay_usb=" \
|
||||
"fdt address ${fdtaddr};" \
|
||||
"fdt resize 0x100000;" \
|
||||
"for overlay in $name_overlays;" \
|
||||
"do;" \
|
||||
"load usb ${bootpart} ${dtboaddr} ${bootdir}/${overlay} && " \
|
||||
"fdt apply ${dtboaddr};" \
|
||||
"done;\0" \
|
||||
"get_kern_usb=load usb ${bootpart} ${loadaddr} " \
|
||||
"${bootdir}/${name_kern}\0" \
|
||||
"get_fit_usb=load usb ${bootpart} ${addr_fit} " \
|
||||
"${bootdir}/${name_fit}\0" \
|
||||
"usbboot=setenv boot usb;" \
|
||||
"setenv bootpart 0:2;" \
|
||||
"usb start;" \
|
||||
"run findfdt;" \
|
||||
"run init_usb;" \
|
||||
"run get_kern_usb;" \
|
||||
"run get_fdt_usb;" \
|
||||
"run run_kern\0"
|
||||
|
||||
#define EXTRA_ENV_DFUARGS \
|
||||
DFU_ALT_INFO_MMC \
|
||||
DFU_ALT_INFO_EMMC \
|
||||
|
@ -108,7 +136,8 @@
|
|||
DEFAULT_MMC_TI_ARGS \
|
||||
EXTRA_ENV_AM642_BOARD_SETTINGS \
|
||||
EXTRA_ENV_AM642_BOARD_SETTINGS_MMC \
|
||||
EXTRA_ENV_DFUARGS
|
||||
EXTRA_ENV_DFUARGS \
|
||||
EXTRA_ENV_AM642_BOARD_SETTING_USBMSC
|
||||
|
||||
/* Now for the remaining common defines */
|
||||
#include <configs/ti_armv7_common.h>
|
||||
|
|
|
@ -155,9 +155,7 @@
|
|||
#define EXTRA_ENV_CONFIG_MAIN_CPSW0_QSGMII_PHY
|
||||
#endif
|
||||
|
||||
/* set default dfu_bufsiz to 128KB (sector size of OSPI) */
|
||||
#define EXTRA_ENV_DFUARGS \
|
||||
"dfu_bufsiz=0x20000\0" \
|
||||
DFU_ALT_INFO_MMC \
|
||||
DFU_ALT_INFO_EMMC \
|
||||
DFU_ALT_INFO_RAM \
|
||||
|
|
|
@ -50,9 +50,6 @@
|
|||
#endif /* CONFIG_SPL_OS_BOOT */
|
||||
#endif /* CONFIG_MTD_RAW_NAND */
|
||||
|
||||
#define MEM_LAYOUT_ENV_SETTINGS \
|
||||
DEFAULT_LINUX_BOOT_ENV
|
||||
|
||||
#define BOOTENV_DEV_LEGACY_MMC(devtypeu, devtypel, instance) \
|
||||
"bootcmd_" #devtypel #instance "=" \
|
||||
"setenv mmcdev " #instance "; " \
|
||||
|
@ -88,8 +85,12 @@
|
|||
|
||||
#include <config_distro_bootcmd.h>
|
||||
|
||||
#include <environment/ti/mmc.h>
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
MEM_LAYOUT_ENV_SETTINGS \
|
||||
DEFAULT_LINUX_BOOT_ENV \
|
||||
DEFAULT_MMC_TI_ARGS \
|
||||
DEFAULT_FIT_TI_ARGS \
|
||||
"fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \
|
||||
"mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \
|
||||
"mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \
|
||||
|
@ -102,42 +103,6 @@
|
|||
"bootubivol=rootfs\0" \
|
||||
"bootubipart=rootfs\0" \
|
||||
"optargs=\0" \
|
||||
"mmcdev=0\0" \
|
||||
"mmcpart=2\0" \
|
||||
"mmcroot=/dev/mmcblk0p2 rw\0" \
|
||||
"mmcrootfstype=ext4 rootwait\0" \
|
||||
"mmcargs=setenv bootargs console=${console} " \
|
||||
"${mtdparts} " \
|
||||
"${optargs} " \
|
||||
"root=${mmcroot} " \
|
||||
"rootfstype=${mmcrootfstype}\0" \
|
||||
"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
|
||||
"ext4bootenv=ext4load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootenv}\0" \
|
||||
"importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
|
||||
"env import -t ${loadaddr} ${filesize}\0" \
|
||||
"mmcbootenv=setenv bootpart ${mmcdev}:${mmcpart}; " \
|
||||
"mmc dev ${mmcdev}; " \
|
||||
"if mmc rescan; then " \
|
||||
"run loadbootenv && run importbootenv; " \
|
||||
"run ext4bootenv && run importbootenv; " \
|
||||
"if test -n $uenvcmd; then " \
|
||||
"echo Running uenvcmd ...; " \
|
||||
"run uenvcmd; " \
|
||||
"fi; " \
|
||||
"fi\0" \
|
||||
"loadimage=ext4load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
|
||||
"loaddtb=ext4load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \
|
||||
"mmcboot=run mmcbootenv; " \
|
||||
"if run loadimage && run loaddtb; then " \
|
||||
"echo Booting ${bootdir}/${bootfile} from mmc ${bootpart} ...; " \
|
||||
"run mmcargs; " \
|
||||
"if test ${bootfile} = uImage; then " \
|
||||
"bootm ${loadaddr} - ${fdtaddr}; " \
|
||||
"fi; " \
|
||||
"if test ${bootfile} = zImage; then " \
|
||||
"bootz ${loadaddr} - ${fdtaddr}; " \
|
||||
"fi; " \
|
||||
"fi\0" \
|
||||
"nandroot=ubi0:rootfs ubi.mtd=rootfs rw noinitrd\0" \
|
||||
"nandrootfstype=ubifs rootwait\0" \
|
||||
"nandargs=setenv bootargs console=${console} " \
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
#define DFU_ALT_INFO_RAM \
|
||||
"dfu_alt_info_ram=" \
|
||||
"tispl.bin ram 0x80080000 0x100000;" \
|
||||
"u-boot.img ram 0x81000000 0x100000\0" \
|
||||
"tispl.bin ram 0x80080000 0x200000;" \
|
||||
"u-boot.img ram 0x81000000 0x400000\0" \
|
||||
|
||||
#endif /* __TI_DFU_H */
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#define DEFAULT_MMC_TI_ARGS \
|
||||
"mmcdev=0\0" \
|
||||
"mmcrootfstype=ext4 rootwait\0" \
|
||||
"finduuid=part uuid mmc ${bootpart} uuid\0" \
|
||||
"finduuid=part uuid ${boot} ${bootpart} uuid\0" \
|
||||
"args_mmc=run finduuid;setenv bootargs console=${console} " \
|
||||
"${optargs} " \
|
||||
"root=PARTUUID=${uuid} rw " \
|
||||
|
|
|
@ -67,8 +67,8 @@ cat << __HEADER_EOF
|
|||
arch = "arm32";
|
||||
compression = "none";
|
||||
os = "DM";
|
||||
load = <0xa0000000>;
|
||||
entry = <0xa0000000>;
|
||||
load = <0x89000000>;
|
||||
entry = <0x89000000>;
|
||||
};
|
||||
spl {
|
||||
description = "SPL (64-bit)";
|
||||
|
|
Loading…
Add table
Reference in a new issue