Merge branch '2019-01-18-master-imports'
- Bugfix for SPI environment optimization - Spelling fixes - Remove some defconfigs per various maintainers - Minor db410, bananapi r2 fixes - Bump QEMU to v3.1.0 for most platforms
This commit is contained in:
commit
c4d323793b
33 changed files with 91 additions and 313 deletions
26
.travis.yml
26
.travis.yml
|
@ -63,6 +63,7 @@ env:
|
|||
- BUILD_DIR=build
|
||||
- HOSTCC="cc"
|
||||
- HOSTCXX="c++"
|
||||
- QEMU_VERSION="v3.1.0"
|
||||
|
||||
before_script:
|
||||
# install toolchains based on TOOLCHAIN} variable
|
||||
|
@ -97,7 +98,7 @@ before_script:
|
|||
git clone git://git.qemu.org/qemu.git /tmp/qemu;
|
||||
pushd /tmp/qemu;
|
||||
git submodule update --init dtc &&
|
||||
git checkout v3.0.0 &&
|
||||
git checkout ${QEMU_VERSION} &&
|
||||
./configure --prefix=/tmp/qemu-install --target-list=${QEMU_TARGET} &&
|
||||
make -j4 all install;
|
||||
popd;
|
||||
|
@ -157,7 +158,7 @@ matrix:
|
|||
- name: "buildman arm11 arm7 arm920t arm946es"
|
||||
env:
|
||||
- BUILDMAN="arm11 arm7 arm920t arm946es"
|
||||
- name: "buildman arm926ejs (non-freescale,siemens,atmel,kirkwood,spear)"
|
||||
- name: "buildman arm926ejs (non-NXP,siemens,atmel,kirkwood,spear)"
|
||||
env:
|
||||
- JOB="arm926ejs"
|
||||
BUILDMAN="arm926ejs -x freescale,siemens,atmel,kirkwood,spear"
|
||||
|
@ -167,19 +168,25 @@ matrix:
|
|||
- name: "buildman boundary engicam toradex"
|
||||
env:
|
||||
- BUILDMAN="boundary engicam toradex"
|
||||
- name: "buildman Freescale ARM32"
|
||||
- name: "buildman NXP ARM32"
|
||||
env:
|
||||
- BUILDMAN="freescale -x powerpc,m68k,aarch64"
|
||||
- name: "buildman Freescale AArch64 LS10xx"
|
||||
- name: "buildman NXP AArch64 LS101x"
|
||||
env:
|
||||
- BUILDMAN="freescale&aarch64&&ls1"
|
||||
- name: "buildman Freescale AArch64 LS20xx"
|
||||
- BUILDMAN="freescale&aarch64&ls101"
|
||||
- name: "buildman NXP AArch64 LS104x"
|
||||
env:
|
||||
- BUILDMAN="freescale&aarch64&&ls2"
|
||||
- name: "buildman i.MX6 (non-Freescale)"
|
||||
- BUILDMAN="freescale&aarch64&ls104"
|
||||
- name: "buildman NXP AArch64 LS108x"
|
||||
env:
|
||||
- BUILDMAN="freescale&aarch64&ls108"
|
||||
- name: "buildman NXP AArch64 LS20xx"
|
||||
env:
|
||||
- BUILDMAN="freescale&aarch64&&ls20"
|
||||
- name: "buildman i.MX6 (non-NXP)"
|
||||
env:
|
||||
- BUILDMAN="mx6 -x freescale,toradex,boundary,engicam"
|
||||
- name: "buildman i.MX (non-Freescale,i.MX6,toradex)"
|
||||
- name: "buildman i.MX (non-NXP,i.MX6,toradex)"
|
||||
env:
|
||||
- BUILDMAN="mx -x freescale,mx6,toradex"
|
||||
- name: "buildman k2"
|
||||
|
@ -362,6 +369,7 @@ matrix:
|
|||
- TEST_PY_BD="vexpress_ca15_tc2"
|
||||
TEST_PY_ID="--id qemu"
|
||||
QEMU_TARGET="arm-softmmu"
|
||||
QEMU_VERSION="v3.0.0"
|
||||
BUILDMAN="^vexpress_ca15_tc2$"
|
||||
- name: "test/py vexpress_ca9x4"
|
||||
env:
|
||||
|
|
2
Kconfig
2
Kconfig
|
@ -213,7 +213,7 @@ config PHYS_64BIT
|
|||
help
|
||||
Say Y here to support 64bit physical memory address.
|
||||
This can be used not only for 64bit SoCs, but also for
|
||||
large physical address extention on 32bit SoCs.
|
||||
large physical address extension on 32bit SoCs.
|
||||
|
||||
config BUILD_ROM
|
||||
bool "Build U-Boot as BIOS replacement"
|
||||
|
|
2
Makefile
2
Makefile
|
@ -893,7 +893,7 @@ cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \
|
|||
>$(MKIMAGEOUTPUT) $(if $(KBUILD_VERBOSE:0=), && cat $(MKIMAGEOUTPUT))
|
||||
|
||||
quiet_cmd_mkfitimage = MKIMAGE $@
|
||||
cmd_mkfitimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -f $(U_BOOT_ITS) -E $@ -p $(CONFIG_FIT_EXTERNAL_OFFSET)\
|
||||
cmd_mkfitimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -f $(U_BOOT_ITS) -E -p $(CONFIG_FIT_EXTERNAL_OFFSET) $@\
|
||||
>$(MKIMAGEOUTPUT) $(if $(KBUILD_VERBOSE:0=), && cat $(MKIMAGEOUTPUT))
|
||||
|
||||
quiet_cmd_cat = CAT $@
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* pdu001.dts
|
||||
*
|
||||
|
@ -7,6 +6,8 @@
|
|||
* Copyright (C) 2018 EETS GmbH - http://www.eets.ch/
|
||||
*
|
||||
* Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
@ -17,7 +18,7 @@
|
|||
|
||||
/ {
|
||||
model = "EETS,PDU001";
|
||||
compatible = "eets,pdu001", "ti,am33xx";
|
||||
compatible = "ti,am33xx";
|
||||
|
||||
chosen {
|
||||
stdout-path = &uart3;
|
||||
|
@ -303,12 +304,12 @@
|
|||
clock-frequency = <100000>;
|
||||
|
||||
board_24aa025e48: board_24aa025e48@50 {
|
||||
compatible = "microchip,24aa025e48";
|
||||
compatible = "atmel,24c02";
|
||||
reg = <0x50>;
|
||||
};
|
||||
|
||||
backplane_24aa025e48: backplane_24aa025e48@53 {
|
||||
compatible = "microchip,24aa025e48";
|
||||
compatible = "atmel,24c02";
|
||||
reg = <0x53>;
|
||||
};
|
||||
|
||||
|
@ -372,8 +373,8 @@
|
|||
ti,pindir-d0-out-d1-in;
|
||||
status = "okay";
|
||||
|
||||
cfaf240320a032t {
|
||||
compatible = "orise,otm3225a";
|
||||
display-controller@0 {
|
||||
compatible = "orisetech,otm3225a";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <1000000>;
|
||||
// SPI mode 3
|
||||
|
@ -532,16 +533,24 @@
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&davinci_mdio_default>;
|
||||
status = "okay";
|
||||
|
||||
ethphy0: ethernet-phy@0 {
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
ethphy1: ethernet-phy@1 {
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
&cpsw_emac0 {
|
||||
phy_id = <&davinci_mdio>, <0>;
|
||||
phy-handle = <ðphy0>;
|
||||
phy-mode = "mii";
|
||||
dual_emac_res_vlan = <1>;
|
||||
};
|
||||
|
||||
&cpsw_emac1 {
|
||||
phy_id = <&davinci_mdio>, <1>;
|
||||
phy-handle = <ðphy1>;
|
||||
phy-mode = "mii";
|
||||
dual_emac_res_vlan = <2>;
|
||||
};
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
|
||||
serial@78b0000 {
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ config TARGET_RPI
|
|||
support BCM2836/BCM2837-based Raspberry Pis such as the RPi 2 and
|
||||
RPi 3 due to different peripheral address maps.
|
||||
|
||||
This option creates a build targetting the ARM1176 ISA.
|
||||
This option creates a build targeting the ARM1176 ISA.
|
||||
select BCM2835
|
||||
|
||||
config TARGET_RPI_0_W
|
||||
|
@ -57,7 +57,7 @@ config TARGET_RPI_0_W
|
|||
This is required for U-Boot to operate correctly, even if you only
|
||||
care about the HDMI/usbkbd console.
|
||||
|
||||
This option creates a build targetting the ARMv7/AArch32 ISA.
|
||||
This option creates a build targeting the ARMv7/AArch32 ISA.
|
||||
select BCM2835
|
||||
|
||||
config TARGET_RPI_2
|
||||
|
@ -80,7 +80,7 @@ config TARGET_RPI_2
|
|||
arm_loader: emmc clock depends on core clock See:
|
||||
https://github.com/raspberrypi/firmware/issues/572".
|
||||
|
||||
This option creates a build targetting the ARMv7/AArch32 ISA.
|
||||
This option creates a build targeting the ARMv7/AArch32 ISA.
|
||||
select BCM2836
|
||||
|
||||
config TARGET_RPI_3_32B
|
||||
|
@ -96,7 +96,7 @@ config TARGET_RPI_3_32B
|
|||
required for U-Boot to operate correctly, even if you only care
|
||||
about the HDMI/usbkbd console.
|
||||
|
||||
This option creates a build targetting the ARMv7/AArch32 ISA.
|
||||
This option creates a build targeting the ARMv7/AArch32 ISA.
|
||||
select BCM2837_32B
|
||||
|
||||
config TARGET_RPI_3
|
||||
|
@ -124,7 +124,7 @@ config TARGET_RPI_3
|
|||
duplicated here. The VC FW enhancement is tracked in
|
||||
https://github.com/raspberrypi/firmware/issues/579.
|
||||
|
||||
This option creates a build targetting the ARMv8/AArch64 ISA.
|
||||
This option creates a build targeting the ARMv8/AArch64 ISA.
|
||||
select BCM2837_64B
|
||||
|
||||
endchoice
|
||||
|
|
|
@ -39,11 +39,11 @@ static const char *apq8016_get_function_name(struct udevice *dev,
|
|||
static const char *apq8016_get_pin_name(struct udevice *dev,
|
||||
unsigned int selector)
|
||||
{
|
||||
if (selector < 130) {
|
||||
if (selector < 122) {
|
||||
snprintf(pin_name, MAX_PIN_NAME_LEN, "GPIO_%u", selector);
|
||||
return pin_name;
|
||||
} else {
|
||||
return msm_pinctrl_pins[selector - 130];
|
||||
return msm_pinctrl_pins[selector - 122];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -53,7 +53,7 @@ static unsigned int apq8016_get_function_mux(unsigned int selector)
|
|||
}
|
||||
|
||||
struct msm_pinctrl_data apq8016_data = {
|
||||
.pin_count = 140,
|
||||
.pin_count = 133,
|
||||
.functions_count = ARRAY_SIZE(msm_pinctrl_functions),
|
||||
.get_function_name = apq8016_get_function_name,
|
||||
.get_function_mux = apq8016_get_function_mux,
|
||||
|
|
|
@ -28,7 +28,7 @@ config ACPI_PM1_BASE
|
|||
hex
|
||||
default 0xe400
|
||||
help
|
||||
ACPI Power Managment 1 (PM1) i/o-mapped base address.
|
||||
ACPI Power Management 1 (PM1) i/o-mapped base address.
|
||||
This device is defined in ACPI specification, with 16 bytes in size.
|
||||
|
||||
endif
|
||||
|
|
|
@ -84,7 +84,7 @@ config ACPI_PM1_BASE
|
|||
hex
|
||||
default 0x1000
|
||||
help
|
||||
ACPI Power Managment 1 (PM1) i/o-mapped base address.
|
||||
ACPI Power Management 1 (PM1) i/o-mapped base address.
|
||||
This device is defined in ACPI specification, with 16 bytes in size.
|
||||
|
||||
config ACPI_PBLK_BASE
|
||||
|
|
|
@ -14,3 +14,22 @@ int board_init(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int mmc_get_boot_dev(void)
|
||||
{
|
||||
int g_mmc_devid = -1;
|
||||
char *uflag = (char *)0x81DFFFF0;
|
||||
if (strncmp(uflag,"eMMC",4)==0) {
|
||||
g_mmc_devid = 0;
|
||||
printf("Boot From Emmc(id:%d)\n\n", g_mmc_devid);
|
||||
} else {
|
||||
g_mmc_devid = 1;
|
||||
printf("Boot From SD(id:%d)\n\n", g_mmc_devid);
|
||||
}
|
||||
return g_mmc_devid;
|
||||
}
|
||||
|
||||
int mmc_get_env_dev(void)
|
||||
{
|
||||
return mmc_get_boot_dev();
|
||||
}
|
||||
|
|
|
@ -6,7 +6,4 @@ F: include/configs/am335x_evm.h
|
|||
F: configs/am335x_boneblack_defconfig
|
||||
F: configs/am335x_boneblack_vboot_defconfig
|
||||
F: configs/am335x_evm_defconfig
|
||||
F: configs/am335x_evm_nor_defconfig
|
||||
F: configs/am335x_evm_norboot_defconfig
|
||||
F: configs/am335x_evm_spiboot_defconfig
|
||||
F: configs/am335x_evm_usbspl_defconfig
|
||||
|
|
|
@ -4,7 +4,6 @@ S: Maintained
|
|||
F: board/ti/am43xx/
|
||||
F: include/configs/am43xx_evm.h
|
||||
F: configs/am43xx_evm_defconfig
|
||||
F: configs/am43xx_evm_ethboot_defconfig
|
||||
F: configs/am43xx_evm_qspiboot_defconfig
|
||||
F: configs/am43xx_evm_usbhost_boot_defconfig
|
||||
F: configs/am43xx_evm_rtconly_defconfig
|
||||
|
|
|
@ -10,7 +10,7 @@ config SYS_CONFIG_NAME
|
|||
default "work_92105"
|
||||
|
||||
config CMD_HD44760
|
||||
bool "Enable 'hd44780' LCD-control comand"
|
||||
bool "Enable 'hd44780' LCD-control command"
|
||||
help
|
||||
This controls the LCD driver.
|
||||
|
||||
|
|
|
@ -519,8 +519,8 @@ static int mtd_name_complete(int argc, char * const argv[], char last_char,
|
|||
}
|
||||
#endif /* CONFIG_AUTO_COMPLETE */
|
||||
|
||||
static char mtd_help_text[] =
|
||||
#ifdef CONFIG_SYS_LONGHELP
|
||||
static char mtd_help_text[] =
|
||||
"- generic operations on memory technology devices\n\n"
|
||||
"mtd list\n"
|
||||
"mtd read[.raw][.oob] <name> <addr> [<off> [<size>]]\n"
|
||||
|
@ -541,9 +541,8 @@ static char mtd_help_text[] =
|
|||
"\t\t* must be a multiple of a block for erase\n"
|
||||
"\t\t* must be a multiple of a page otherwise (special case: default is a page with dump)\n"
|
||||
"\n"
|
||||
"The .dontskipff option forces writing empty pages, don't use it if unsure.\n"
|
||||
"The .dontskipff option forces writing empty pages, don't use it if unsure.\n";
|
||||
#endif
|
||||
"";
|
||||
|
||||
U_BOOT_CMD_WITH_SUBCMDS(mtd, "MTD utils", mtd_help_text,
|
||||
U_BOOT_SUBCMD_MKENT(list, 1, 1, do_mtd_list),
|
||||
|
|
|
@ -608,7 +608,7 @@ config SPL_PAYLOAD
|
|||
default "tpl/u-boot-with-tpl.bin" if TPL
|
||||
default "u-boot.bin"
|
||||
help
|
||||
Payload for SPL boot. For backward compability, default to
|
||||
Payload for SPL boot. For backward compatibility, default to
|
||||
u-boot.bin, i.e. RAW image without any header. In case of
|
||||
TPL, tpl/u-boot-with-tpl.bin. For new boards, suggest to
|
||||
use u-boot.img.
|
||||
|
|
|
@ -1,50 +0,0 @@
|
|||
CONFIG_ARM=y
|
||||
CONFIG_ARCH_OMAP2PLUS=y
|
||||
CONFIG_TI_COMMON_CMD_OPTIONS=y
|
||||
CONFIG_AM33XX=y
|
||||
CONFIG_SPL=y
|
||||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT"
|
||||
CONFIG_BOOTCOMMAND="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; run envboot; run distro_bootcmd"
|
||||
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
CONFIG_ARCH_MISC_INIT=y
|
||||
CONFIG_SPL_MUSB_NEW_SUPPORT=y
|
||||
# CONFIG_SPL_NAND_SUPPORT is not set
|
||||
CONFIG_SPL_OS_BOOT=y
|
||||
CONFIG_AUTOBOOT_KEYED=y
|
||||
CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
|
||||
CONFIG_AUTOBOOT_DELAY_STR="d"
|
||||
CONFIG_AUTOBOOT_STOP_STR=" "
|
||||
CONFIG_CMD_SPL=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
CONFIG_BOOTCOUNT_LIMIT=y
|
||||
CONFIG_DFU_TFTP=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
CONFIG_USB_FUNCTION_FASTBOOT=y
|
||||
CONFIG_FASTBOOT_FLASH=y
|
||||
CONFIG_FASTBOOT_FLASH_MMC_DEV=1
|
||||
CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
|
||||
CONFIG_MMC_OMAP_HS=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
CONFIG_MII=y
|
||||
CONFIG_DRIVER_TI_CPSW=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_OMAP3_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_MUSB_HOST=y
|
||||
CONFIG_USB_MUSB_GADGET=y
|
||||
CONFIG_USB_MUSB_DSPS=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0451
|
||||
CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
|
||||
CONFIG_USB_ETHER=y
|
||||
CONFIG_USBNET_HOST_ADDR="de:ad:be:af:00:00"
|
||||
CONFIG_LZO=y
|
||||
CONFIG_OF_LIBFDT=y
|
|
@ -37,6 +37,7 @@ CONFIG_MISC=y
|
|||
CONFIG_DM_MMC=y
|
||||
CONFIG_MMC_OMAP_HS=y
|
||||
CONFIG_NAND=y
|
||||
CONFIG_DM_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
CONFIG_DM_ETH=y
|
||||
|
@ -44,6 +45,7 @@ CONFIG_PHY_GIGE=y
|
|||
CONFIG_MII=y
|
||||
CONFIG_DRIVER_TI_CPSW=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_DM_SPI=y
|
||||
CONFIG_OMAP3_SPI=y
|
||||
CONFIG_TIMER=y
|
||||
CONFIG_OMAP_TIMER=y
|
||||
|
|
|
@ -1,52 +0,0 @@
|
|||
CONFIG_ARM=y
|
||||
CONFIG_ARCH_OMAP2PLUS=y
|
||||
CONFIG_TI_COMMON_CMD_OPTIONS=y
|
||||
CONFIG_AM33XX=y
|
||||
CONFIG_NOR=y
|
||||
CONFIG_SPL=y
|
||||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_BOOTCOMMAND="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; run envboot; run distro_bootcmd"
|
||||
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
CONFIG_ARCH_MISC_INIT=y
|
||||
CONFIG_SPL_MTD_SUPPORT=y
|
||||
CONFIG_SPL_MUSB_NEW_SUPPORT=y
|
||||
CONFIG_SPL_OS_BOOT=y
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_SPL_NAND_OFS=0x00080000
|
||||
CONFIG_CMD_NAND=y
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
CONFIG_CMD_MTDPARTS=y
|
||||
CONFIG_MTDIDS_DEFAULT="nand0=nand.0"
|
||||
CONFIG_MTDPARTS_DEFAULT="mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),128k(NAND.SPL.backup2),128k(NAND.SPL.backup3),256k(NAND.u-boot-spl-os),1m(NAND.u-boot),128k(NAND.u-boot-env),128k(NAND.u-boot-env.backup1),8m(NAND.kernel),-(NAND.file-system)"
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
CONFIG_BOOTCOUNT_LIMIT=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_NAND=y
|
||||
CONFIG_DFU_RAM=y
|
||||
CONFIG_USB_FUNCTION_FASTBOOT=y
|
||||
CONFIG_MMC_OMAP_HS=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_FLASH_CFI_DRIVER=y
|
||||
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
||||
CONFIG_FLASH_CFI_MTD=y
|
||||
CONFIG_SYS_FLASH_PROTECTION=y
|
||||
CONFIG_SYS_FLASH_CFI=y
|
||||
CONFIG_NAND=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
CONFIG_MII=y
|
||||
CONFIG_DRIVER_TI_CPSW=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_OMAP3_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_MUSB_HOST=y
|
||||
CONFIG_USB_MUSB_GADGET=y
|
||||
CONFIG_USB_MUSB_DSPS=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0451
|
||||
CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
|
||||
CONFIG_USB_ETHER=y
|
||||
CONFIG_LZO=y
|
||||
CONFIG_OF_LIBFDT=y
|
|
@ -1,49 +0,0 @@
|
|||
CONFIG_ARM=y
|
||||
# CONFIG_SYS_THUMB_BUILD is not set
|
||||
CONFIG_ARCH_OMAP2PLUS=y
|
||||
CONFIG_SYS_TEXT_BASE=0x08000000
|
||||
CONFIG_TI_COMMON_CMD_OPTIONS=y
|
||||
CONFIG_AM33XX=y
|
||||
CONFIG_NOR=y
|
||||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_NOR_BOOT=y
|
||||
CONFIG_BOOTCOMMAND="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; run envboot; run distro_bootcmd"
|
||||
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
CONFIG_ARCH_MISC_INIT=y
|
||||
CONFIG_BOARD_EARLY_INIT_F=y
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
CONFIG_CMD_MTDPARTS=y
|
||||
CONFIG_MTDIDS_DEFAULT="nor0=physmap-flash.0"
|
||||
CONFIG_MTDPARTS_DEFAULT="mtdparts=physmap-flash.0:512k(u-boot),128k(u-boot-env1),128k(u-boot-env2),4m(kernel),-(rootfs)"
|
||||
CONFIG_ENV_IS_IN_FLASH=y
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
CONFIG_USB_FUNCTION_FASTBOOT=y
|
||||
CONFIG_MMC_OMAP_HS=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_MTD_DEVICE=y
|
||||
CONFIG_FLASH_CFI_DRIVER=y
|
||||
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
||||
CONFIG_FLASH_CFI_MTD=y
|
||||
CONFIG_SYS_FLASH_PROTECTION=y
|
||||
CONFIG_SYS_FLASH_CFI=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
CONFIG_MII=y
|
||||
CONFIG_DRIVER_TI_CPSW=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_OMAP3_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_MUSB_HOST=y
|
||||
CONFIG_USB_MUSB_GADGET=y
|
||||
CONFIG_USB_MUSB_DSPS=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0451
|
||||
CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
|
||||
CONFIG_USB_ETHER=y
|
||||
CONFIG_USBNET_HOST_ADDR="de:ad:be:af:00:00"
|
||||
CONFIG_LZO=y
|
||||
CONFIG_OF_LIBFDT=y
|
|
@ -1,47 +0,0 @@
|
|||
CONFIG_ARM=y
|
||||
CONFIG_ARCH_OMAP2PLUS=y
|
||||
CONFIG_TI_COMMON_CMD_OPTIONS=y
|
||||
CONFIG_AM33XX=y
|
||||
CONFIG_SPL=y
|
||||
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
||||
CONFIG_SPL_SPI_SUPPORT=y
|
||||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_SYS_EXTRA_OPTIONS="SPI_BOOT"
|
||||
CONFIG_SPI_BOOT=y
|
||||
CONFIG_BOOTCOMMAND="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; run envboot; run distro_bootcmd"
|
||||
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
CONFIG_ARCH_MISC_INIT=y
|
||||
CONFIG_SPL_MUSB_NEW_SUPPORT=y
|
||||
# CONFIG_SPL_NAND_SUPPORT is not set
|
||||
CONFIG_SPL_SPI_LOAD=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
CONFIG_CMD_MTDPARTS=y
|
||||
CONFIG_MTDIDS_DEFAULT="nor0=m25p80-flash.0"
|
||||
CONFIG_MTDPARTS_DEFAULT="mtdparts=m25p80-flash.0:128k(SPL),512k(u-boot),128k(u-boot-env1),128k(u-boot-env2),3464k(kernel),-(rootfs)"
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
CONFIG_BOOTCOUNT_LIMIT=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
CONFIG_USB_FUNCTION_FASTBOOT=y
|
||||
CONFIG_MMC_OMAP_HS=y
|
||||
CONFIG_MTD_DEVICE=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
CONFIG_MII=y
|
||||
CONFIG_DRIVER_TI_CPSW=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_OMAP3_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_MUSB_HOST=y
|
||||
CONFIG_USB_MUSB_GADGET=y
|
||||
CONFIG_USB_MUSB_DSPS=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0451
|
||||
CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
|
||||
CONFIG_USB_ETHER=y
|
||||
CONFIG_LZO=y
|
||||
CONFIG_OF_LIBFDT=y
|
|
@ -43,6 +43,7 @@ CONFIG_DM_MMC=y
|
|||
# CONFIG_MMC_HW_PARTITIONING is not set
|
||||
CONFIG_MMC_OMAP_HS=y
|
||||
CONFIG_NAND=y
|
||||
CONFIG_DM_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
CONFIG_DM_ETH=y
|
||||
|
@ -50,6 +51,7 @@ CONFIG_PHY_GIGE=y
|
|||
CONFIG_MII=y
|
||||
CONFIG_DRIVER_TI_CPSW=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_DM_SPI=y
|
||||
CONFIG_OMAP3_SPI=y
|
||||
CONFIG_TIMER=y
|
||||
CONFIG_OMAP_TIMER=y
|
||||
|
|
|
@ -45,6 +45,7 @@ CONFIG_DM_MMC=y
|
|||
# CONFIG_MMC_HW_PARTITIONING is not set
|
||||
CONFIG_MMC_OMAP_HS=y
|
||||
CONFIG_NAND=y
|
||||
CONFIG_DM_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
CONFIG_DM_ETH=y
|
||||
|
@ -52,6 +53,7 @@ CONFIG_PHY_GIGE=y
|
|||
CONFIG_MII=y
|
||||
CONFIG_DRIVER_TI_CPSW=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_DM_SPI=y
|
||||
CONFIG_OMAP3_SPI=y
|
||||
CONFIG_TIMER=y
|
||||
CONFIG_OMAP_TIMER=y
|
||||
|
|
|
@ -50,6 +50,5 @@ CONFIG_SPL_DM_REGULATOR=y
|
|||
CONFIG_DM_REGULATOR_FIXED=y
|
||||
CONFIG_DM_REGULATOR_TPS65910=y
|
||||
CONFIG_CONS_INDEX=4
|
||||
CONFIG_SPI=y
|
||||
# CONFIG_USE_TINY_PRINTF is not set
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -1,64 +0,0 @@
|
|||
CONFIG_ARM=y
|
||||
CONFIG_ARCH_OMAP2PLUS=y
|
||||
CONFIG_AM43XX=y
|
||||
CONFIG_SPL=y
|
||||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1"
|
||||
# CONFIG_USE_BOOTCOMMAND is not set
|
||||
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||
# CONFIG_MISC_INIT_R is not set
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
# CONFIG_SPL_SYS_MALLOC_SIMPLE is not set
|
||||
CONFIG_SPL_ETH_SUPPORT=y
|
||||
CONFIG_SPL_MTD_SUPPORT=y
|
||||
CONFIG_SPL_NET_SUPPORT=y
|
||||
CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL"
|
||||
CONFIG_SPL_OS_BOOT=y
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_SPL_NAND_OFS=0x00100000
|
||||
CONFIG_CMD_SPL_WRITE_SIZE=0x40000
|
||||
CONFIG_CMD_ASKENV=y
|
||||
CONFIG_CMD_EEPROM=y
|
||||
CONFIG_CMD_DFU=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_GPIO=y
|
||||
CONFIG_CMD_GPT=y
|
||||
CONFIG_CMD_I2C=y
|
||||
CONFIG_CMD_MMC=y
|
||||
CONFIG_CMD_NAND=y
|
||||
CONFIG_CMD_SF=y
|
||||
CONFIG_CMD_SPI=y
|
||||
CONFIG_CMD_USB=y
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
CONFIG_CMD_EXT4_WRITE=y
|
||||
CONFIG_CMD_MTDPARTS=y
|
||||
CONFIG_MTDIDS_DEFAULT="nand0=nand.0"
|
||||
CONFIG_MTDPARTS_DEFAULT="mtdparts=nand.0:256k(NAND.SPL),256k(NAND.SPL.backup1),256k(NAND.SPL.backup2),256k(NAND.SPL.backup3),512k(NAND.u-boot-spl-os),1m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup1),7m(NAND.kernel),-(NAND.file-system)"
|
||||
CONFIG_ENV_IS_IN_FAT=y
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
CONFIG_DFU_SF=y
|
||||
CONFIG_MMC_OMAP_HS=y
|
||||
CONFIG_NAND=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_MACRONIX=y
|
||||
CONFIG_MII=y
|
||||
CONFIG_DRIVER_TI_CPSW=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_TI_QSPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_XHCI_HCD=y
|
||||
CONFIG_USB_XHCI_DWC3=y
|
||||
CONFIG_USB_DWC3=y
|
||||
CONFIG_USB_DWC3_GADGET=y
|
||||
CONFIG_USB_DWC3_OMAP=y
|
||||
CONFIG_USB_DWC3_PHY_OMAP=y
|
||||
CONFIG_OMAP_USB_PHY=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0403
|
||||
CONFIG_USB_GADGET_PRODUCT_NUM=0xbd00
|
||||
CONFIG_USB_GADGET_DOWNLOAD=y
|
||||
CONFIG_OF_LIBFDT=y
|
|
@ -29,6 +29,7 @@ CONFIG_CMD_FS_GENERIC=y
|
|||
CONFIG_OF_SEPARATE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="mt7623n-bananapi-bpi-r2"
|
||||
CONFIG_NET_RANDOM_ETHADDR=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_REGMAP=y
|
||||
CONFIG_SYSCON=y
|
||||
# CONFIG_BLOCK_CACHE is not set
|
||||
|
|
|
@ -66,7 +66,7 @@ static char *print_efiname(gpt_entry *pte)
|
|||
return name;
|
||||
}
|
||||
|
||||
static efi_guid_t system_guid = PARTITION_SYSTEM_GUID;
|
||||
static const efi_guid_t system_guid = PARTITION_SYSTEM_GUID;
|
||||
|
||||
static inline int is_bootable(gpt_entry *p)
|
||||
{
|
||||
|
|
|
@ -232,7 +232,7 @@ config OF_ISA_BUS
|
|||
Is this option is enabled then support for the ISA bus will
|
||||
be included for addresses read from DT. This is something that
|
||||
should be known to be required or not based upon the board
|
||||
being targetted, and whether or not it makes use of an ISA bus.
|
||||
being targeted, and whether or not it makes use of an ISA bus.
|
||||
|
||||
The bus is matched based upon its node name equalling "isa". The
|
||||
busses #address-cells should equal 2, with the first cell being
|
||||
|
|
|
@ -157,9 +157,9 @@ config SYS_I2C_MESON
|
|||
config SYS_I2C_MXC
|
||||
bool "NXP MXC I2C driver"
|
||||
help
|
||||
Add support for the NXP I2C driver. This supports upto for bus
|
||||
channels and operating on standard mode upto 100 kbits/s and fast
|
||||
mode upto 400 kbits/s.
|
||||
Add support for the NXP I2C driver. This supports up to four bus
|
||||
channels and operating on standard mode up to 100 kbits/s and fast
|
||||
mode up to 400 kbits/s.
|
||||
|
||||
if SYS_I2C_MXC
|
||||
config SYS_I2C_MXC_I2C1
|
||||
|
@ -363,7 +363,7 @@ config SYS_I2C_ROCKCHIP
|
|||
help
|
||||
Add support for the Rockchip I2C driver. This is used with various
|
||||
Rockchip parts such as RK3126, RK3128, RK3036 and RK3288. All chips
|
||||
have several I2C ports and all are provided, controled by the
|
||||
have several I2C ports and all are provided, controlled by the
|
||||
device tree.
|
||||
|
||||
config SYS_I2C_SANDBOX
|
||||
|
|
|
@ -146,7 +146,7 @@ config PINCTRL_PIC32
|
|||
Supports individual pin selection and configuration for each
|
||||
remappable peripheral available on Microchip PIC32
|
||||
SoCs. This driver is controlled by a device tree node which
|
||||
contains both GPIO defintion and pin control functions.
|
||||
contains both GPIO definition and pin control functions.
|
||||
|
||||
config PINCTRL_QCA953X
|
||||
bool "QCA/Athores qca953x pin control driver"
|
||||
|
|
|
@ -65,6 +65,6 @@ config DISPLAY_ROCKCHIP_MIPI
|
|||
help
|
||||
This enables Mobile Industry Processor Interface(MIPI) display
|
||||
support. The mipi controller and dphy on rk3288& rk3399 support
|
||||
16,18, 24 bits per pixel with upto 2k resolution ratio.
|
||||
16,18, 24 bits per pixel with up to 2k resolution ratio.
|
||||
|
||||
endif
|
||||
|
|
2
env/sf.c
vendored
2
env/sf.c
vendored
|
@ -98,7 +98,7 @@ static int spi_flash_read_env(struct spi_flash *flash, u32 offset, size_t len,
|
|||
u32 addr = 0;
|
||||
u32 page_size = flash->page_size;
|
||||
|
||||
memset(buf, 0x0, len);
|
||||
memset(buf, 0xff, len);
|
||||
for (int i = 0; i < len / page_size; ++i) {
|
||||
int ret = spi_flash_read(flash, offset, page_size,
|
||||
&((char *)buf)[addr]);
|
||||
|
|
|
@ -58,4 +58,7 @@
|
|||
#define CONFIG_IPADDR 192.168.1.1
|
||||
#define CONFIG_SERVERIP 192.168.1.2
|
||||
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
#define CONFIG_ENV_OFFSET 0x100000
|
||||
|
||||
#endif
|
||||
|
|
|
@ -147,7 +147,7 @@ config SPL_TINY_MEMSET
|
|||
The faster memset() is the arch-specific one (if available) enabled
|
||||
by CONFIG_USE_ARCH_MEMSET. If that is not enabled, we can still get
|
||||
better performance by writing a word at a time. But in very
|
||||
size-constrained envrionments even this may be too big. Enable this
|
||||
size-constrained environments even this may be too big. Enable this
|
||||
option to reduce code size slightly at the cost of some speed.
|
||||
|
||||
config TPL_TINY_MEMSET
|
||||
|
@ -156,7 +156,7 @@ config TPL_TINY_MEMSET
|
|||
The faster memset() is the arch-specific one (if available) enabled
|
||||
by CONFIG_USE_ARCH_MEMSET. If that is not enabled, we can still get
|
||||
better performance by writing a word at a time. But in very
|
||||
size-constrained envrionments even this may be too big. Enable this
|
||||
size-constrained environments even this may be too big. Enable this
|
||||
option to reduce code size slightly at the cost of some speed.
|
||||
|
||||
config RBTREE
|
||||
|
|
Loading…
Reference in a new issue