1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-08-31 16:22:36 +02:00

configs: Customize configs for my boards

Signed-off-by: Ondrej Jirman <megous@megous.com>
This commit is contained in:
Ondrej Jirman
2020-04-12 23:05:49 +02:00
parent b78a65b952
commit 1bbe71c431
8 changed files with 250 additions and 12 deletions

View File

@@ -282,11 +282,11 @@ config MACH_SUN9I
config MACH_SUN50I
bool "sun50i (Allwinner A64)"
select ARM64
select SPI
select DM_I2C
select DM_SPI if SPI
select DM_SPI_FLASH
select PHY_SUN4I_USB
# select SPI
# select DM_I2C
# select DM_SPI if SPI
# select DM_SPI_FLASH
# select PHY_SUN4I_USB
select SUN6I_PRCM
select SUNXI_DE2
select SUNXI_GEN_SUN6I

View File

@@ -12,3 +12,28 @@ CONFIG_MMC0_CD_PIN="PF6"
# CONFIG_SPL_DOS_PARTITION is not set
# CONFIG_SPL_EFI_PARTITION is not set
CONFIG_DEFAULT_DEVICE_TREE="sun50i-h6-orangepi-3"
# CONFIG_SUN8I_EMAC is not set
# CONFIG_NET is not set
# CONFIG_DM_ETH is not set
# CONFIG_CMD_NET is not set
# CONFIG_CMD_DHCP is not set
# CONFIG_CMD_PXE is not set
# CONFIG_CMD_NFS is not set
# CONFIG_CMD_MII is not set
# CONFIG_CMD_PING is not set
# CONFIG_DISTRO_DEFAULTS is not set
CONFIG_CMD_FAT=y
CONFIG_CMD_FS_GENERIC=y
CONFIG_CMD_PART=y
CONFIG_HUSH_PARSER=y
CONFIG_BOOTDELAY=1
CONFIG_ISO_PARTITION=y
CONFIG_SYS_CONSOLE_INFO_QUIET=y
CONFIG_CMD_BOOTM=y
CONFIG_LZ4=y
CONFIG_FIT=y
# CONFIG_CMD_BOOTEFI is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_EFI_LOADER is not set
# CONFIG_CMD_NVEDIT_EFI is not set
CONFIG_FIXUP_BDADDR="brcm,bcm4345c5"

View File

@@ -8,3 +8,27 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-one"
CONFIG_SUN8I_EMAC=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
# CONFIG_SUN8I_EMAC is not set
# CONFIG_NET is not set
# CONFIG_DM_ETH is not set
# CONFIG_CMD_NET is not set
# CONFIG_CMD_DHCP is not set
# CONFIG_CMD_PXE is not set
# CONFIG_CMD_NFS is not set
# CONFIG_CMD_MII is not set
# CONFIG_CMD_PING is not set
# CONFIG_DISTRO_DEFAULTS is not set
CONFIG_CMD_BOOTZ=y
CONFIG_CMD_FAT=y
CONFIG_CMD_FS_GENERIC=y
CONFIG_CMD_PART=y
CONFIG_HUSH_PARSER=y
CONFIG_BOOTDELAY=1
CONFIG_ISO_PARTITION=y
CONFIG_CMD_BOOTM=y
CONFIG_LZ4=y
CONFIG_FIT=y
# CONFIG_CMD_BOOTEFI is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_EFI_LOADER is not set
# CONFIG_CMD_NVEDIT_EFI is not set

View File

@@ -13,3 +13,27 @@ CONFIG_SUN8I_EMAC=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_MUSB_GADGET=y
# CONFIG_SUN8I_EMAC is not set
# CONFIG_NET is not set
# CONFIG_DM_ETH is not set
# CONFIG_CMD_NET is not set
# CONFIG_CMD_DHCP is not set
# CONFIG_CMD_PXE is not set
# CONFIG_CMD_NFS is not set
# CONFIG_CMD_MII is not set
# CONFIG_CMD_PING is not set
# CONFIG_DISTRO_DEFAULTS is not set
CONFIG_CMD_FAT=y
CONFIG_CMD_FS_GENERIC=y
CONFIG_CMD_PART=y
CONFIG_HUSH_PARSER=y
CONFIG_BOOTDELAY=1
CONFIG_ISO_PARTITION=y
CONFIG_SYS_CONSOLE_INFO_QUIET=y
CONFIG_CMD_BOOTM=y
CONFIG_LZ4=y
CONFIG_FIT=y
# CONFIG_CMD_BOOTEFI is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_EFI_LOADER is not set
# CONFIG_CMD_NVEDIT_EFI is not set

View File

@@ -10,3 +10,30 @@ CONFIG_SUN8I_EMAC=y
CONFIG_SY8106A_POWER=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
# CONFIG_SUN8I_EMAC is not set
# CONFIG_NET is not set
# CONFIG_DM_ETH is not set
# CONFIG_CMD_NET is not set
# CONFIG_CMD_DHCP is not set
# CONFIG_CMD_PXE is not set
# CONFIG_CMD_NFS is not set
# CONFIG_CMD_MII is not set
# CONFIG_CMD_PING is not set
# CONFIG_DISTRO_DEFAULTS is not set
CONFIG_CMD_BOOTZ=y
CONFIG_CMD_FAT=y
CONFIG_CMD_FS_GENERIC=y
CONFIG_CMD_PART=y
CONFIG_HUSH_PARSER=y
CONFIG_BOOTDELAY=1
CONFIG_ISO_PARTITION=y
CONFIG_SY8106A_VOUT1_VOLT=1320
CONFIG_SYS_CLK_FREQ=1296000000
CONFIG_SYS_CONSOLE_INFO_QUIET=y
CONFIG_CMD_BOOTM=y
CONFIG_LZ4=y
CONFIG_FIT=y
# CONFIG_CMD_BOOTEFI is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_EFI_LOADER is not set
# CONFIG_CMD_NVEDIT_EFI is not set

View File

@@ -6,16 +6,80 @@ CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y
CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y
CONFIG_DRAM_CLK=552
CONFIG_DRAM_ZQ=3881949
#CONFIG_DRAM_ODT_EN=y ???
CONFIG_MMC0_CD_PIN=""
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
CONFIG_SPL_SPI_SUNXI=y
CONFIG_NR_DRAM_BANKS=1
CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pinephone"
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
# CONFIG_CMD_FLASH is not set
# CONFIG_SPL_DOS_PARTITION is not set
# CONFIG_SPL_EFI_PARTITION is not set
CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pinephone"
CONFIG_SUN8I_EMAC=n
CONFIG_USB_EHCI_HCD=n
CONFIG_USB_OHCI_HCD=n
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
# CONFIG_CMD_FLASH is not set
# CONFIG_SUN8I_EMAC is not set
# CONFIG_NET is not set
# CONFIG_DM_ETH is not set
# CONFIG_CMD_NET is not set
# CONFIG_CMD_DHCP is not set
# CONFIG_CMD_PXE is not set
# CONFIG_CMD_NFS is not set
# CONFIG_CMD_MII is not set
# CONFIG_CMD_PING is not set
# CONFIG_CMD_LOADB is not set
# CONFIG_CMD_LOADS is not set
# CONFIG_DISTRO_DEFAULTS is not set
# CONFIG_CMD_BOOTZ is not set
CONFIG_CMD_FAT=y
CONFIG_CMD_FS_GENERIC=y
CONFIG_CMD_PART=y
CONFIG_HUSH_PARSER=y
CONFIG_ENV_IS_NOWHERE=y
# CONFIG_ENV_IS_IN_FAT is not set
# CONFIG_DISPLAY_CPUINFO is not set
# CONFIG_DISPLAY_BOARDINFO is not set
# CONFIG_DISPLAY_BOARDINFO_LATE is not set
CONFIG_SYS_CONSOLE_INFO_QUIET=y
CONFIG_BOOTDELAY=0
#CONFIG_CMD_MYDBG=y
CONFIG_PINEPHONE_LEDS=y
CONFIG_SPL_SERIAL_SUPPORT=n
CONFIG_DM_SPI_FLASH=n
CONFIG_SPI_FLASH=n
CONFIG_PHY=n
CONFIG_PHY_SUN4I_USB=n
CONFIG_SPI=n
CONFIG_DM_SPI=n
CONFIG_SPI_MEM=n
CONFIG_FAT_WRITE=n
CONFIG_SHA1=n
CONFIG_SHA256=n
CONFIG_MD5=n
CONFIG_LZMA=n
CONFIG_GZIP=n
CONFIG_ZLIB=n
CONFIG_MMC_WRITE=n
CONFIG_DM_SPI_FLASH=n
CONFIG_CMD_LZMADEC=n
CONFIG_CMD_UNZIP=n
CONFIG_BOOTM_NETBSD=n
CONFIG_BOOTM_PLAN9=n
CONFIG_BOOTM_RTEMS=n
CONFIG_BOOTM_VXWORKS=n
CONFIG_FIT_ENABLE_SHA256_SUPPORT=n
CONFIG_CMD_BOOTM=y
CONFIG_LZ4=y
CONFIG_FIT=y
# CONFIG_CMD_BOOTEFI is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_EFI_LOADER is not set
# CONFIG_CMD_NVEDIT_EFI is not set
# CONFIG_PRE_CONSOLE_BUFFER is not set
# CONFIG_SERIAL_PRESENT is not set
# CONFIG_SPL_SERIAL_PRESENT is not set
# CONFIG_SPL_BANNER_PRINT is not set
# CONFIG_SPL_DISPLAY_PRINT is not set
# CONFIG_VIDEO_DE2 is not set

View File

@@ -40,4 +40,15 @@ CONFIG_CMD_BOOTZ=y
#CONFIG_USB0_VBUS_PIN="PG12"
#CONFIG_USB0_VBUS_DET="PG1"
#CONFIG_USB0_ID_DET="PG2"
CONFIG_CMD_BOOTM=y
CONFIG_LZ4=y
CONFIG_FIT=y
# CONFIG_CMD_BOOTEFI is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_EFI_LOADER is not set
# CONFIG_CMD_NVEDIT_EFI is not set
# CONFIG_PRE_CONSOLE_BUFFER is not set
# CONFIG_SERIAL_PRESENT is not set
# CONFIG_SPL_SERIAL_PRESENT is not set
# CONFIG_SPL_BANNER_PRINT is not set
# CONFIG_SPL_DISPLAY_PRINT is not set

View File

@@ -19,3 +19,66 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_MUSB_GADGET=y
CONFIG_USB_FUNCTION_MASS_STORAGE=y
# CONFIG_SUN8I_EMAC is not set
# CONFIG_NET is not set
# CONFIG_DM_ETH is not set
# CONFIG_CMD_NET is not set
# CONFIG_CMD_DHCP is not set
# CONFIG_CMD_PXE is not set
# CONFIG_CMD_NFS is not set
# CONFIG_CMD_MII is not set
# CONFIG_CMD_PING is not set
# CONFIG_CMD_LOADB is not set
# CONFIG_CMD_LOADS is not set
# CONFIG_DISTRO_DEFAULTS is not set
CONFIG_CMD_BOOTZ=y
CONFIG_CMD_FAT=y
CONFIG_CMD_FS_GENERIC=y
CONFIG_CMD_PART=y
CONFIG_HUSH_PARSER=y
CONFIG_ENV_IS_NOWHERE=y
# CONFIG_ENV_IS_IN_FAT is not set
# CONFIG_DISPLAY_CPUINFO is not set
# CONFIG_DISPLAY_BOARDINFO is not set
# CONFIG_DISPLAY_BOARDINFO_LATE is not set
CONFIG_SYS_CONSOLE_INFO_QUIET=y
#CONFIG_SPL_LOGLEVEL=8
#CONFIG_LOG_CONSOLE=y
#CONFIG_LOGLEVEL=8
#CONFIG_LOG_MAX_LEVEL=7
#CONFIG_LOG=y
CONFIG_BOOTDELAY=0
CONFIG_CMD_MYDBG=y
CONFIG_AXP_GPIO_LDO0_VOLT=3100
CONFIG_CMD_I2C=y
CONFIG_DM_I2C=y
CONFIG_I2C0_ENABLE=y
CONFIG_DM_TOUCHPANEL=y
CONFIG_EDT_FT5X06_TOUCHPANEL=y
CONFIG_CMD_TOUCH=y
CONFIG_CMD_TMENU=y
CONFIG_BACKLIGHT_PWM=y
CONFIG_PWM_SUNXI=y
CONFIG_DM_PWM=y
CONFIG_AXP_SW_ON=y
CONFIG_VIDEO_LCD_DCLK_PHASE=0
CONFIG_VIDEO_LCD_PANEL_LVDS=y
CONFIG_CMD_BMP=y
CONFIG_CMD_AXP=y
CONFIG_SYS_CLK_FREQ=1800000000
CONFIG_AXP_DCDC2_VOLT=1080
CONFIG_AXP_DCDC3_VOLT=1080
CONFIG_CMD_BOOTM=y
CONFIG_LZ4=y
CONFIG_FIT=y
# CONFIG_CMD_BOOTEFI is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_EFI_LOADER is not set
# CONFIG_CMD_NVEDIT_EFI is not set
# CONFIG_PRE_CONSOLE_BUFFER is not set
# CONFIG_SERIAL_PRESENT is not set
# CONFIG_SPL_SERIAL_PRESENT is not set
# CONFIG_SPL_BANNER_PRINT is not set
# CONFIG_SPL_DISPLAY_PRINT is not set
# CONFIG_VIDEO_DE2 #is not set
CONFIG_FIXUP_BDADDR="brcm,bcm20702a1"