elphel393.cfg 4.55 KB
Newer Older
1
CONFIG_ELPHEL393=y
2
CONFIG_ELPHEL393_EXTERNAL=M
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
3 4 5 6
CONFIG_COMMON_CLK_SI570=y
CONFIG_COMMON_CLK_SI5338=y
CONFIG_LTC3589=y
CONFIG_VSC330X=y
7
#default hostname for kernel, the default hostname for rootfs is set in the machine config
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
8
CONFIG_DEFAULT_HOSTNAME="elphel393"
9 10
CONFIG_GPIO_XILINX_PS=y
CONFIG_GPIO_PCA953X=y
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
11
CONFIG_RTC_DRV_M41T80=y
12 13 14 15 16 17 18 19 20 21 22 23

CONFIG_CMA=y
CONFIG_DMA_CMA=y
#
# Default contiguous memory area size:
#
CONFIG_CMA_SIZE_MBYTES=16
CONFIG_CMA_SIZE_SEL_MBYTES=y
# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
# CONFIG_CMA_SIZE_SEL_MIN is not set
# CONFIG_CMA_SIZE_SEL_MAX is not set
CONFIG_CMA_ALIGNMENT=8
24 25
#CONFIG_CMA_AREAS=7 #obsolete

Mikhail Karpenko's avatar
Mikhail Karpenko committed
26 27 28 29 30 31 32 33 34
CONFIG_MTD_TESTS=y

#
# AHCI driver related configs
#
CONFIG_ATA=y
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_SATA_AHCI_PLATFORM=y
CONFIG_AHCI_ELPHEL=M
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
35

36 37 38 39 40 41 42 43
CONFIG_DYNAMIC_DEBUG=y

CONFIG_MTD_SPI_NOR=n

CONFIG_MTD_UBI=y
CONFIG_UBIFS_FS=y
CONFIG_UBIFS_FS_ADVANCED_COMPR=n
#CONFIG_UBIFS_FS_LZO=y - default
44
#CONFIG_UBIFS_FS_ZLIB=y - default
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
45 46
CONFIG_MTD_NAND_OTP=y

47 48 49 50
CONFIG_SENSORS_JC42=y

#CONFIG_ELPHEL393_INIT=n

Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
51 52 53 54 55 56 57 58 59 60
CONFIG_ATAGS=n

CONFIG_USB_ULPI=y
CONFIG_USB_ULPI_VIEWPORT=y

CONFIG_USB_CHIPIDEA_HOST=y
CONFIG_USB_CHIPIDEA_DEBUG=n
CONFIG_USB_GPIO_VBUS=n
CONFIG_USB_OTG=n
CONFIG_USB_GADGET=n
61 62

CONFIG_GPIO_PCF857X=y
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
63

64 65 66 67 68 69 70
CONFIG_WIRELESS=y
#CONFIG_HOSTAP=y
#CONFIG_LIB80211=y
#CONFIG_LIB80211_DEBUG=y
#CONFIG_LIB80211_CRYPT_WEP=m
#CONFIG_LIB80211_CRYPT_CCMP=m
#CONFIG_LIB80211_CRYPT_TKIP=m
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
71
#wifi
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
72 73 74 75
CONFIG_CFG80211=y
CONFIG_MAC80211=y
CONFIG_RTL_CARDS=y
CONFIG_RTL8192CU=y
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
76
#https://forums.gentoo.org/viewtopic-t-965024-start-0.html
77
#CONFIG_RFKILL=y
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
78
#CONFIG_RFKILL_INPUT=y
79 80 81 82

# to disable "bootlogd: cannot allocate pseudo tty: No such file or directory"
# https://lists.yoctoproject.org/pipermail/yocto/2013-April/013133.html
CONFIG_LEGACY_PTYS=y
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
83 84

CONFIG_OVERLAY_FS=y
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131

#-------------------

#
# USB port drivers
#
CONFIG_USB_SERIAL=y
# CONFIG_USB_SERIAL_CONSOLE is not set
CONFIG_USB_SERIAL_GENERIC=y
# CONFIG_USB_SERIAL_SIMPLE is not set
# CONFIG_USB_SERIAL_AIRCABLE is not set
# CONFIG_USB_SERIAL_ARK3116 is not set
CONFIG_USB_SERIAL_BELKIN=y
# CONFIG_USB_SERIAL_CH341 is not set
# CONFIG_USB_SERIAL_WHITEHEAT is not set
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
CONFIG_USB_SERIAL_CP210X=y
# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
# CONFIG_USB_SERIAL_EMPEG is not set
# CONFIG_USB_SERIAL_FTDI_SIO is not set
# CONFIG_USB_SERIAL_VISOR is not set
# CONFIG_USB_SERIAL_IPAQ is not set
# CONFIG_USB_SERIAL_IR is not set
# CONFIG_USB_SERIAL_EDGEPORT is not set
# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
# CONFIG_USB_SERIAL_F81232 is not set
CONFIG_USB_SERIAL_GARMIN=y
# CONFIG_USB_SERIAL_IPW is not set
# CONFIG_USB_SERIAL_IUU is not set
# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
# CONFIG_USB_SERIAL_KEYSPAN is not set
# CONFIG_USB_SERIAL_KLSI is not set
# CONFIG_USB_SERIAL_KOBIL_SCT is not set
CONFIG_USB_SERIAL_MCT_U232=y
# CONFIG_USB_SERIAL_METRO is not set
# CONFIG_USB_SERIAL_MOS7720 is not set
# CONFIG_USB_SERIAL_MOS7840 is not set
# CONFIG_USB_SERIAL_MXUPORT is not set
# CONFIG_USB_SERIAL_NAVMAN is not set
CONFIG_USB_SERIAL_PL2303=y
# CONFIG_USB_SERIAL_OTI6858 is not set
# CONFIG_USB_SERIAL_QCAUX is not set
# CONFIG_USB_SERIAL_QUALCOMM is not set
# CONFIG_USB_SERIAL_SPCP8X5 is not set
# CONFIG_USB_SERIAL_SAFE is not set
# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
# CONFIG_USB_SERIAL_SYMBOL is not set
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
132
# CONFIG_USB_SERIAL_TI is not setf
133 134 135 136 137 138 139 140 141 142 143 144
# CONFIG_USB_SERIAL_CYBERJACK is not set
# CONFIG_USB_SERIAL_XIRCOM is not set
CONFIG_USB_SERIAL_WWAN=y
CONFIG_USB_SERIAL_OPTION=y
# CONFIG_USB_SERIAL_OMNINET is not set
# CONFIG_USB_SERIAL_OPTICON is not set
# CONFIG_USB_SERIAL_XSENS_MT is not set
# CONFIG_USB_SERIAL_WISHBONE is not set
# CONFIG_USB_SERIAL_SSU100 is not set
# CONFIG_USB_SERIAL_QT2 is not set
# CONFIG_USB_SERIAL_DEBUG is not set

145 146 147 148 149 150 151
#
# USB audio support
#
CONFIG_SOUND=y
CONFIG_SND=y
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=y
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
152

Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
153
# old Xilinx's driver
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
154 155 156 157 158 159 160
#CONFIG_SERIAL_UARTLITE=y
#CONFIG_SERIAL_UARTLITE_CONSOLE=y

# This option is for FPGA part - why is it listed in the serial port configs?
CONFIG_XILINX_DEVCFG=y

#CONFIG_SERIAL_XILINX_NR_UARTS=1
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
161 162 163 164 165 166 167 168 169 170 171

# old ethernet driver (drivers/net/ethernet/xilinx/xilinx_emacps.c):
CONFIG_XILINX_PS_EMAC=n
CONFIG_XILINX_EMACLITE=n
CONFIG_XILINX_AXI_EMAC=n
# new ethernet driver (drivers/net/ethernet/cadence/macb.c) needs:
#  CONFIG_ETHERNET
#  CONFIG_NET_CADENCE
#  CONFIG_MACB
#  CONFIG_NETDEVICES
#  CONFIG_HAS_DMA
172 173 174 175 176 177

# it is off for zynq in rocko for some reason
#CONFIG_I2C_XILINX=y

# clock from MicroZed
# CONFIG_COMMON_CLK_SI570=n
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
178 179 180

# prints time before bootlog messages
CONFIG_PRINTK_TIME=y
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
181 182 183

# DYNAMIC_DEBUG dep
CONFIG_DEBUG_FS=y
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
184 185 186 187 188

# dm-crypt
CONFIG_MD=y
CONFIG_BLK_DEV_DM=y
CONFIG_DM_CRYPT=y