--- bsp/pentagram/1w/1w-gpio.cfg | 1 + bsp/pentagram/1w/1w-gpio.scc | 5 ++++ bsp/pentagram/1w/1w-slaves.cfg | 19 ++++++++++++ bsp/pentagram/1w/1w-slaves.scc | 5 ++++ bsp/pentagram/1w/1w.cfg | 2 ++ bsp/pentagram/debug/others.cfg | 4 +-- bsp/pentagram/hw_i2c.cfg | 2 -- bsp/pentagram/media/video_out.cfg | 15 +++++----- bsp/pentagram/media/video_out.cfg.orig | 12 -------- bsp/pentagram/media/video_out.cfg.test | 16 ---------- bsp/pentagram/net/sw_net.cfg | 7 ++++- bsp/pentagram/pentagram-debug.scc | 8 +++-- bsp/pentagram/pentagram-non_hardware.cfg | 2 +- bsp/pentagram/pentagram-standard.scc | 24 +++++++-------- bsp/pentagram/pentagram-tiny.scc | 6 +++- bsp/pentagram/pentagram.cfg | 38 +++++++++++++++++++----- bsp/pentagram/pentagram.scc | 2 +- bsp/pentagram/{wifi => sdio}/sdio.cfg | 0 bsp/pentagram/sdio/sdio.scc | 4 +++ bsp/pentagram/sensors/hw_thermal.cfg | 6 +++- bsp/pentagram/sound.cfg | 30 +++++++++++++++++++ bsp/pentagram/sound.cfg.mod | 30 +++++++++++++++++++ bsp/pentagram/sound.cfg.ok | 30 +++++++++++++++++++ bsp/pentagram/sound.scc | 4 +++ bsp/pentagram/spi/sp_nand.cfg | 1 + bsp/pentagram/spi/sp_spi.cfg | 2 +- bsp/pentagram/spi/spi.cfg | 3 +- bsp/pentagram/{noswap.cfg => swap_n.cfg} | 0 bsp/pentagram/swap_y.cfg | 1 + bsp/pentagram/systemd_features.cfg | 5 ++++ bsp/pentagram/systemd_features.scc | 2 ++ bsp/pentagram/usb/usb.cfg | 8 ----- bsp/pentagram/wifi/no_other_vendors.cfg | 15 ---------- bsp/pentagram/wifi/tppg2_brcm.cfg | 8 ----- bsp/pentagram/wifi/tppg2_brcm.scc | 5 ---- bsp/pentagram/wifi/wext.cfg | 14 --------- 36 files changed, 217 insertions(+), 119 deletions(-) create mode 100644 bsp/pentagram/1w/1w-gpio.cfg create mode 100644 bsp/pentagram/1w/1w-gpio.scc create mode 100644 bsp/pentagram/1w/1w-slaves.cfg create mode 100644 bsp/pentagram/1w/1w-slaves.scc create mode 100644 bsp/pentagram/1w/1w.cfg delete mode 100644 bsp/pentagram/media/video_out.cfg.orig delete mode 100644 bsp/pentagram/media/video_out.cfg.test rename bsp/pentagram/{wifi => sdio}/sdio.cfg (100%) create mode 100644 bsp/pentagram/sdio/sdio.scc create mode 100644 bsp/pentagram/sound.cfg create mode 100644 bsp/pentagram/sound.cfg.mod create mode 100644 bsp/pentagram/sound.cfg.ok create mode 100644 bsp/pentagram/sound.scc rename bsp/pentagram/{noswap.cfg => swap_n.cfg} (100%) create mode 100644 bsp/pentagram/swap_y.cfg create mode 100644 bsp/pentagram/systemd_features.cfg create mode 100644 bsp/pentagram/systemd_features.scc delete mode 100644 bsp/pentagram/wifi/no_other_vendors.cfg delete mode 100644 bsp/pentagram/wifi/tppg2_brcm.cfg delete mode 100644 bsp/pentagram/wifi/tppg2_brcm.scc delete mode 100644 bsp/pentagram/wifi/wext.cfg
diff --git a/bsp/pentagram/1w/1w-gpio.cfg b/bsp/pentagram/1w/1w-gpio.cfg new file mode 100644 index 00000000..ba7c7ebc --- /dev/null +++ b/bsp/pentagram/1w/1w-gpio.cfg @@ -0,0 +1 @@ +CONFIG_W1_MASTER_GPIO=m diff --git a/bsp/pentagram/1w/1w-gpio.scc b/bsp/pentagram/1w/1w-gpio.scc new file mode 100644 index 00000000..0eebefe9 --- /dev/null +++ b/bsp/pentagram/1w/1w-gpio.scc @@ -0,0 +1,5 @@ +define KFEATURE_DESCRIPTION "1-Wire GPIO-based master" +define KFEATURE_COMPATIBILITY all + +kconf hardware 1w.cfg +kconf hardware 1w-gpio.cfg diff --git a/bsp/pentagram/1w/1w-slaves.cfg b/bsp/pentagram/1w/1w-slaves.cfg new file mode 100644 index 00000000..0a6808ba --- /dev/null +++ b/bsp/pentagram/1w/1w-slaves.cfg @@ -0,0 +1,19 @@ +CONFIG_W1_SLAVE_THERM=m +CONFIG_W1_SLAVE_SMEM=m +CONFIG_W1_SLAVE_DS2405=m +CONFIG_W1_SLAVE_DS2408=m +CONFIG_W1_SLAVE_DS2408_READBACK=m +CONFIG_W1_SLAVE_DS2413=m +CONFIG_W1_SLAVE_DS2406=m +CONFIG_W1_SLAVE_DS2423=m +CONFIG_W1_SLAVE_DS2805=m +CONFIG_W1_SLAVE_DS2430=m +CONFIG_W1_SLAVE_DS2431=m +CONFIG_W1_SLAVE_DS2433=m +CONFIG_W1_SLAVE_DS2433_CRC=m +CONFIG_W1_SLAVE_DS2438=m +CONFIG_W1_SLAVE_DS250X=m +CONFIG_W1_SLAVE_DS2780=m +CONFIG_W1_SLAVE_DS2781=m +CONFIG_W1_SLAVE_DS28E04=m +CONFIG_W1_SLAVE_DS28E17=m diff --git a/bsp/pentagram/1w/1w-slaves.scc b/bsp/pentagram/1w/1w-slaves.scc new file mode 100644 index 00000000..08373c90 --- /dev/null +++ b/bsp/pentagram/1w/1w-slaves.scc @@ -0,0 +1,5 @@ +define KFEATURE_DESCRIPTION "1-Wire slaves" +define KFEATURE_COMPATIBILITY all + +kconf hardware 1w.cfg +kconf hardware 1w-slaves.cfg diff --git a/bsp/pentagram/1w/1w.cfg b/bsp/pentagram/1w/1w.cfg new file mode 100644 index 00000000..0d79ce69 --- /dev/null +++ b/bsp/pentagram/1w/1w.cfg @@ -0,0 +1,2 @@ +CONFIG_W1=m +CONFIG_W1_CON=m diff --git a/bsp/pentagram/debug/others.cfg b/bsp/pentagram/debug/others.cfg index 5ba047b1..cb72f4c2 100644 --- a/bsp/pentagram/debug/others.cfg +++ b/bsp/pentagram/debug/others.cfg @@ -5,7 +5,7 @@ # CONFIG_HAVE_DMA_API_DEBUG is not set # CONFIG_BLK_DEBUG_FS is not set # CONFIG_PM_DEBUG is not set -# # CONFIG_PM_ADVANCED_DEBUG is not set +# CONFIG_PM_ADVANCED_DEBUG is not set # CONFIG_PM_SLEEP_DEBUG is not set # CONFIG_CAN_DEBUG_DEVICES is not set # CONFIG_BT_DEBUGFS is not set @@ -13,7 +13,7 @@ # CONFIG_DEV_COREDUMP is not set # CONFIG_WANT_DEV_COREDUMP is not set -## here +# there # CONFIG_DEBUG_DRIVER is not set # CONFIG_SPI_DEBUG is not set # CONFIG_DEBUG_GPIO is not set diff --git a/bsp/pentagram/hw_i2c.cfg b/bsp/pentagram/hw_i2c.cfg index 6b6b61f8..a9df47df 100644 --- a/bsp/pentagram/hw_i2c.cfg +++ b/bsp/pentagram/hw_i2c.cfg @@ -1,8 +1,6 @@ CONFIG_I2C_SUNPLUS=y CONFIG_I2C_CHARDEV=y -CONFIG_I2C_SMBUS=y CONFIG_I2C_ALGOBIT=y CONFIG_I2C_GPIO=y CONFIG_I2C_BOARDINFO=y -CONFIG_REGMAP_I2C=y # CONFIG_I2C_COMPAT is not set diff --git a/bsp/pentagram/media/video_out.cfg b/bsp/pentagram/media/video_out.cfg index 75224ec5..51e4d8d2 100644 --- a/bsp/pentagram/media/video_out.cfg +++ b/bsp/pentagram/media/video_out.cfg @@ -4,13 +4,14 @@ CONFIG_VIDEO_V4L2=y CONFIG_VIDEOBUF2_CORE=y CONFIG_VIDEOBUF2_MEMOPS=y CONFIG_VIDEOBUF2_VMALLOC=y +# sp7021 SoC specific CONFIG_VIDEO_SP7021_DISP=y CONFIG_FB_SP7021=y +# CONFIG_FB_SP7021_DEBUG is not set CONFIG_VIDEO_SP_HDMITX=y -## CONFIG_HDMI_MODE=y -## for test -## CONFIG_FB_SP7021_DEBUG=y - -## requires SCL and SDA - test later -#CONFIG_HPD_DETECTION=y -#CONFIG_EDID_READ=y +# requires SCL and SDA - test later +# CONFIG_HPD_DETECTION is not set +# CONFIG_EDID_READ is not set +# if !EDID_READ && VIDEO_SP_HDMTX - choose mode manually: +CONFIG_HDMI_MODE=y +# CONFIG_DVI_MODE is not set diff --git a/bsp/pentagram/media/video_out.cfg.orig b/bsp/pentagram/media/video_out.cfg.orig deleted file mode 100644 index 4eb276b4..00000000 --- a/bsp/pentagram/media/video_out.cfg.orig +++ /dev/null @@ -1,12 +0,0 @@ -CONFIG_FB=y -CONFIG_VIDEO_DEV=y -CONFIG_VIDEO_V4L2=y -CONFIG_VIDEOBUF2_CORE=y -CONFIG_VIDEOBUF2_MEMOPS=y -CONFIG_VIDEOBUF2_VMALLOC=y -CONFIG_VIDEO_SP7021_DISP=y -CONFIG_FB_SP7021=y -CONFIG_VIDEO_SP_HDMITX=y -## CONFIG_HDMI_MODE=y -## for test -## CONFIG_FB_SP7021_DEBUG=y \ No newline at end of file diff --git a/bsp/pentagram/media/video_out.cfg.test b/bsp/pentagram/media/video_out.cfg.test deleted file mode 100644 index 172a95a7..00000000 --- a/bsp/pentagram/media/video_out.cfg.test +++ /dev/null @@ -1,16 +0,0 @@ -CONFIG_FB=y -CONFIG_VIDEO_DEV=y -CONFIG_VIDEO_V4L2=y -CONFIG_VIDEOBUF2_CORE=y -CONFIG_VIDEOBUF2_MEMOPS=y -CONFIG_VIDEOBUF2_VMALLOC=y -CONFIG_VIDEO_SP7021_DISP=y -CONFIG_FB_SP7021=y -CONFIG_VIDEO_SP_HDMITX=y -# requires SCL and SDA -CONFIG_HPD_DETECTION=y -CONFIG_EDID_READ=y -# support for EDID need? -CONFIG_FB_DDC=y -# for test -CONFIG_FB_SP7021_DEBUG=y diff --git a/bsp/pentagram/net/sw_net.cfg b/bsp/pentagram/net/sw_net.cfg index 16788a70..029c8f24 100644 --- a/bsp/pentagram/net/sw_net.cfg +++ b/bsp/pentagram/net/sw_net.cfg @@ -6,6 +6,8 @@ CONFIG_PACKET=y CONFIG_PACKET_DIAG=y CONFIG_UNIX=y CONFIG_INET=y +CONFIG_TUN=m +CONFIG_TAP=m CONFIG_IP_MULTICAST=y CONFIG_IP_PNP=y @@ -23,5 +25,8 @@ CONFIG_NETLINK_DIAG=y CONFIG_CAN=m CONFIG_CAIF=y -CONFIG_CAN_MCP25XXFD=y # CONFIG_NETFILTER is not set + +CONFIG_CAN_MCP251XFD=y +# debug +# CONFIG_CAN_MCP251XFD_SANITY is not set diff --git a/bsp/pentagram/pentagram-debug.scc b/bsp/pentagram/pentagram-debug.scc index c1ed3cba..3bf44832 100644 --- a/bsp/pentagram/pentagram-debug.scc +++ b/bsp/pentagram/pentagram-debug.scc @@ -6,6 +6,10 @@ include pentagram-standard.scc include debug/printk.scc +include debug/dyndbg.scc + #include debug/axi_mon.scc -#include debug/pins0.scc -#include debug/pins9.scc +include debug/pins0.scc +include debug/pins9.scc + +include features/ftrace/ftrace.scc diff --git a/bsp/pentagram/pentagram-non_hardware.cfg b/bsp/pentagram/pentagram-non_hardware.cfg index 792d6005..417f7b76 100644 --- a/bsp/pentagram/pentagram-non_hardware.cfg +++ b/bsp/pentagram/pentagram-non_hardware.cfg @@ -1 +1 @@ -# +CONFIG_TMPFS=y diff --git a/bsp/pentagram/pentagram-standard.scc b/bsp/pentagram/pentagram-standard.scc index 8ae7131d..602b2b28 100644 --- a/bsp/pentagram/pentagram-standard.scc +++ b/bsp/pentagram/pentagram-standard.scc @@ -5,15 +5,11 @@ define KARCH arm include pentagram-tiny.scc #include ktypes/standard/standard.scc -# defined in .bbappend -#include cfg/rpi-ovls/ovls.scc -#include cfg/rpi-ovls/ovls-4.19.scc - # default policy for standard kernels #include features/latencytop/latencytop.scc #include features/profiling/profiling.scc -include cfg/systemd_features.scc +include systemd_features.scc # not for tiny (cgroups for limits + process isolation) include features/cgroups.scc include features/namespaces/namespaces.scc @@ -23,12 +19,13 @@ include features/leds/leds.scc include usb/usb.scc include usb/customers.scc -include wifi/tppg2_brcm.scc include bt/bt.scc include spi/sp_nornand.scc include spi/sp_spi.scc +include sdio/sdio.scc + # ICM #include input/sp_icm.scc @@ -46,15 +43,16 @@ include media/video_usb.scc include ui/vt.scc include ui/gconsole.scc -#include sensors/thermal.scc -#include sensors/hwmon.scc +include sensors/hw_thermal.scc +include sensors/hwmon.scc include features/can/can.scc include features/fuse/fuse.scc -# temporary there -#include debug/pins0.scc -#include debug/pins9.scc -include debug/dyndbg.scc -include debug/printk.scc +include features/uio/uio.scc +#include features/netfilter/netfilter.scc + +include sound.scc +include 1w/1w-gpio.scc +include 1w/1w-slaves.scc diff --git a/bsp/pentagram/pentagram-tiny.scc b/bsp/pentagram/pentagram-tiny.scc index a9747fb3..254d2877 100644 --- a/bsp/pentagram/pentagram-tiny.scc +++ b/bsp/pentagram/pentagram-tiny.scc @@ -7,7 +7,7 @@ branch pentagram include pentagram.scc -include cfg/systemd_features.scc +include systemd_features.scc # not for tiny (cgroups for limits + process isolation) include features/cgroups.scc include features/namespaces/namespaces.scc @@ -26,3 +26,7 @@ kconf non-hardware fs/ext4.cfg include watchdog/sp.scc include sw_nls.scc + +# enabled for -debug. even in NOP mode it takes 12% of performance. +# https://elinux.org/images/4/4b/Bird-Ftrace.pdf +include features/ftrace/ftrace-function-tracer-disable.scc diff --git a/bsp/pentagram/pentagram.cfg b/bsp/pentagram/pentagram.cfg index 9f4ff708..0e51d169 100644 --- a/bsp/pentagram/pentagram.cfg +++ b/bsp/pentagram/pentagram.cfg @@ -51,8 +51,6 @@ CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1 CONFIG_MAGIC_SYSRQ_SERIAL=y CONFIG_SCHED_INFO=y CONFIG_SCHEDSTATS=y -# required for BLK_CGROUP -CONFIG_CFQ_GROUP_IOSCHED=y # CONFIG_MEMCG_SWAP_ENABLED is not set CONFIG_HIGHMEM=y @@ -64,9 +62,6 @@ CONFIG_HAVE_ARCH_SECCOMP_FILTER=y CONFIG_CHECKPOINT_RESTORE=y -# is it required? -CONFIG_BUILD_BIN2C=y - CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CRYPTO_USER_API_HASH=y @@ -77,7 +72,6 @@ CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_MODVERSIONS=y -CONFIG_UEVENT_HELPER_PATH="" CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y @@ -87,7 +81,7 @@ CONFIG_CEPH_LIB_USE_DNS_RESOLVER=y CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_CHR_DEV_SG=y -CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_LOOP=m CONFIG_INPUT_POLLDEV=y CONFIG_INPUT_SPARSEKMAP=y @@ -117,5 +111,35 @@ CONFIG_HIDRAW=y CONFIG_CRYPTO_DEV_SP=y CONFIG_CRYPTO_SHA256=y +# Inter Processor Communication driver +CONFIG_MAILBOX=y +CONFIG_SP_IPC=y + +CONFIG_REMOTEPROC=y +CONFIG_SUNPLUS_REMOTEPROC=y +CONFIG_RPMSG_CHAR=y +CONFIG_RPMSG_TTY=y CONFIG_EARLY_PRINTK=y + +# for pppd +CONFIG_PPP=m +CONFIG_PPP_MULTILINK=y +CONFIG_PPP_FILTER=y +CONFIG_PPP_ASYNC=m +CONFIG_PPP_SYNC_TTY=m +CONFIG_PPP_DEFLATE=m +CONFIG_PPP_BSDCOMP=m +CONFIG_PPP_MPPE=m +CONFIG_PPPOE=m +CONFIG_NET_IPGRE_DEMUX=y +CONFIG_PPTP=m +CONFIG_SLIP=m +CONFIG_SLIP_COMPRESSED=y +CONFIG_SLIP_SMART=y +CONFIG_SLIP_MODE_SLIP6=y + +# fs encryption +CONFIG_FS_ENCRYPTION=y +CONFIG_ENCRYPTED_KEYS=y +CONFIG_CRYPTO_SEQIV=y diff --git a/bsp/pentagram/pentagram.scc b/bsp/pentagram/pentagram.scc index 24e0da7c..cbcfc304 100644 --- a/bsp/pentagram/pentagram.scc +++ b/bsp/pentagram/pentagram.scc @@ -11,4 +11,4 @@ include hw_emmc.scc include cmdline/def.scc -kconf non-hardware noswap.cfg +kconf non-hardware swap_y.cfg diff --git a/bsp/pentagram/wifi/sdio.cfg b/bsp/pentagram/sdio/sdio.cfg similarity index 100% rename from bsp/pentagram/wifi/sdio.cfg rename to bsp/pentagram/sdio/sdio.cfg diff --git a/bsp/pentagram/sdio/sdio.scc b/bsp/pentagram/sdio/sdio.scc new file mode 100644 index 00000000..66b13b56 --- /dev/null +++ b/bsp/pentagram/sdio/sdio.scc @@ -0,0 +1,4 @@ +define KFEATURE_DESCRIPTION "Enable SunPlus SDIO" +define KFEATURE_COMPATIBILITY board + +kconf hardware sdio.cfg diff --git a/bsp/pentagram/sensors/hw_thermal.cfg b/bsp/pentagram/sensors/hw_thermal.cfg index dec7186f..f922ce4d 100644 --- a/bsp/pentagram/sensors/hw_thermal.cfg +++ b/bsp/pentagram/sensors/hw_thermal.cfg @@ -1,5 +1,9 @@ CONFIG_THERMAL=y -CONFIG_SP7021_THERMAL=y +CONFIG_THERMAL_STATISTICS=y +CONFIG_SUNPLUS_SP7021_THERMAL=y +# enable for 5.10 +# _SUNPLUS_THERMAL is not set + # THERMAL_WRITABLE_TRIPS # CPU_THERMAL # CLOCK_THERMAL diff --git a/bsp/pentagram/sound.cfg b/bsp/pentagram/sound.cfg new file mode 100644 index 00000000..bd2e7ddf --- /dev/null +++ b/bsp/pentagram/sound.cfg @@ -0,0 +1,30 @@ +CONFIG_SND_SOC=y +CONFIG_SND_SOC_SUNPLUS=y +# some parts of cfg/sound.cfg +CONFIG_SOUND=y +CONFIG_SND=y +CONFIG_SND_TIMER=m +CONFIG_SND_HRTIMER=m +CONFIG_SND_SEQ_HRTIMER_DEFAULT=y +CONFIG_SND_PCM=m +CONFIG_SND_COMPRESS_OFFLOAD=m +CONFIG_SND_HWDEP=m +CONFIG_SND_RAWMIDI=m +CONFIG_SND_PCM_TIMER=y +CONFIG_SND_SUPPORT_OLD_API=y +CONFIG_SND_PROC_FS=y +CONFIG_SND_VERBOSE_PROCFS=y +CONFIG_SND_DRIVERS=y +CONFIG_SND_SEQUENCER=m +CONFIG_SND_SEQ_MIDI=m +CONFIG_SND_SEQ_MIDI_EVENT=m +CONFIG_SND_OPL3_LIB_SEQ=m +CONFIG_SND_OPL3_LIB=m +CONFIG_SND_ALOOP=m +CONFIG_SND_SIMPLE_CARD_UTILS=m +CONFIG_SND_SIMPLE_CARD=m +CONFIG_SND_HDA_PREALLOC_SIZE=64 +CONFIG_SND_ARM=y +CONFIG_SND_SPI=y +CONFIG_SND_USB=y +CONFIG_SND_USB_AUDIO=m diff --git a/bsp/pentagram/sound.cfg.mod b/bsp/pentagram/sound.cfg.mod new file mode 100644 index 00000000..022c74eb --- /dev/null +++ b/bsp/pentagram/sound.cfg.mod @@ -0,0 +1,30 @@ +CONFIG_SND_SOC=y +CONFIG_SND_SOC_SUNPLUS=y +# some parts of cfg/sound.cfg +CONFIG_SOUND=m +CONFIG_SND=m +CONFIG_SND_TIMER=m +CONFIG_SND_HRTIMER=m +CONFIG_SND_SEQ_HRTIMER_DEFAULT=y +CONFIG_SND_PCM=m +CONFIG_SND_COMPRESS_OFFLOAD=m +CONFIG_SND_HWDEP=m +CONFIG_SND_RAWMIDI=m +CONFIG_SND_PCM_TIMER=y +CONFIG_SND_SUPPORT_OLD_API=y +CONFIG_SND_PROC_FS=y +CONFIG_SND_VERBOSE_PROCFS=y +CONFIG_SND_DRIVERS=y +CONFIG_SND_SEQUENCER=m +CONFIG_SND_SEQ_MIDI=m +CONFIG_SND_SEQ_MIDI_EVENT=m +CONFIG_SND_OPL3_LIB_SEQ=m +CONFIG_SND_OPL3_LIB=m +CONFIG_SND_ALOOP=m +CONFIG_SND_SIMPLE_CARD_UTILS=m +CONFIG_SND_SIMPLE_CARD=m +CONFIG_SND_HDA_PREALLOC_SIZE=64 +CONFIG_SND_ARM=y +CONFIG_SND_SPI=y +CONFIG_SND_USB=y +CONFIG_SND_USB_AUDIO=m diff --git a/bsp/pentagram/sound.cfg.ok b/bsp/pentagram/sound.cfg.ok new file mode 100644 index 00000000..bd2e7ddf --- /dev/null +++ b/bsp/pentagram/sound.cfg.ok @@ -0,0 +1,30 @@ +CONFIG_SND_SOC=y +CONFIG_SND_SOC_SUNPLUS=y +# some parts of cfg/sound.cfg +CONFIG_SOUND=y +CONFIG_SND=y +CONFIG_SND_TIMER=m +CONFIG_SND_HRTIMER=m +CONFIG_SND_SEQ_HRTIMER_DEFAULT=y +CONFIG_SND_PCM=m +CONFIG_SND_COMPRESS_OFFLOAD=m +CONFIG_SND_HWDEP=m +CONFIG_SND_RAWMIDI=m +CONFIG_SND_PCM_TIMER=y +CONFIG_SND_SUPPORT_OLD_API=y +CONFIG_SND_PROC_FS=y +CONFIG_SND_VERBOSE_PROCFS=y +CONFIG_SND_DRIVERS=y +CONFIG_SND_SEQUENCER=m +CONFIG_SND_SEQ_MIDI=m +CONFIG_SND_SEQ_MIDI_EVENT=m +CONFIG_SND_OPL3_LIB_SEQ=m +CONFIG_SND_OPL3_LIB=m +CONFIG_SND_ALOOP=m +CONFIG_SND_SIMPLE_CARD_UTILS=m +CONFIG_SND_SIMPLE_CARD=m +CONFIG_SND_HDA_PREALLOC_SIZE=64 +CONFIG_SND_ARM=y +CONFIG_SND_SPI=y +CONFIG_SND_USB=y +CONFIG_SND_USB_AUDIO=m diff --git a/bsp/pentagram/sound.scc b/bsp/pentagram/sound.scc new file mode 100644 index 00000000..54fefa5f --- /dev/null +++ b/bsp/pentagram/sound.scc @@ -0,0 +1,4 @@ +define KFEATURE_DESCRIPTION "Enable SunPlus sound SoC" +define KFEATURE_COMPATIBILITY board + +kconf hardware sound.cfg diff --git a/bsp/pentagram/spi/sp_nand.cfg b/bsp/pentagram/spi/sp_nand.cfg index b57d0e49..54e672b8 100644 --- a/bsp/pentagram/spi/sp_nand.cfg +++ b/bsp/pentagram/spi/sp_nand.cfg @@ -2,3 +2,4 @@ CONFIG_MTD_NAND_CORE=y CONFIG_MTD_RAW_NAND=y CONFIG_MTD_NAND_SUNPLUS=y CONFIG_MTD_CMDLINE_PARTS=y +CONFIG_MTD_SPI_NAND=y diff --git a/bsp/pentagram/spi/sp_spi.cfg b/bsp/pentagram/spi/sp_spi.cfg index 227e6768..9a770f72 100644 --- a/bsp/pentagram/spi/sp_spi.cfg +++ b/bsp/pentagram/spi/sp_spi.cfg @@ -7,4 +7,4 @@ CONFIG_SPI_SPIDEV=y CONFIG_SPI_BITBANG=y CONFIG_SPI_GPIO=y # temporary there -CONFIG_SPI_DEBUG=y +# _SPI_DEBUG=y diff --git a/bsp/pentagram/spi/spi.cfg b/bsp/pentagram/spi/spi.cfg index bce18109..9599e51a 100644 --- a/bsp/pentagram/spi/spi.cfg +++ b/bsp/pentagram/spi/spi.cfg @@ -1,4 +1,3 @@ CONFIG_SPI=y -# for rtc, iio, serial, pinctrl, codecs... +# enable for rtc, iio, serial, pinctrl, codecs... CONFIG_REGMAP_SPI=y - diff --git a/bsp/pentagram/noswap.cfg b/bsp/pentagram/swap_n.cfg similarity index 100% rename from bsp/pentagram/noswap.cfg rename to bsp/pentagram/swap_n.cfg diff --git a/bsp/pentagram/swap_y.cfg b/bsp/pentagram/swap_y.cfg new file mode 100644 index 00000000..38565471 --- /dev/null +++ b/bsp/pentagram/swap_y.cfg @@ -0,0 +1 @@ +CONFIG_SWAP=y diff --git a/bsp/pentagram/systemd_features.cfg b/bsp/pentagram/systemd_features.cfg new file mode 100644 index 00000000..6f1dbfd8 --- /dev/null +++ b/bsp/pentagram/systemd_features.cfg @@ -0,0 +1,5 @@ +CONFIG_AUTOFS4_FS=y +CONFIG_FB_NOTIFY=y +CONFIG_FSNOTIFY=y +CONFIG_DNOTIFY=y +CONFIG_INOTIFY_USER=y diff --git a/bsp/pentagram/systemd_features.scc b/bsp/pentagram/systemd_features.scc new file mode 100644 index 00000000..2c0d8c31 --- /dev/null +++ b/bsp/pentagram/systemd_features.scc @@ -0,0 +1,2 @@ +kconf non-hardware cfg/systemd.cfg +kconf non-hardware systemd_features.cfg diff --git a/bsp/pentagram/usb/usb.cfg b/bsp/pentagram/usb/usb.cfg index bfa6ca05..e1cecda8 100644 --- a/bsp/pentagram/usb/usb.cfg +++ b/bsp/pentagram/usb/usb.cfg @@ -4,15 +4,7 @@ CONFIG_USB_STORAGE=y CONFIG_USB_GADGET=y CONFIG_GADGET_USB0=y -CONFIG_USB_GADGET_SUNPLUS=y CONFIG_USB_GADGET_PORT0_ENABLED=y -CONFIG_USB_HOST_ENUM_RETRY=y -CONFIG_USB_MULTIPLE_RESET_PROBLEM_WORKAROUND=y -CONFIG_USB_HOST_NOT_FINISH_QTD_WHEN_DISC_WORKAROUND=y -CONFIG_USB_BAD_DEVICE_INFO=y -CONFIG_USB_LOGO_TEST=y -CONFIG_USB_HOST_RESET_SP=y -CONFIG_USB_OHCI_MSI_WORKAROUND=y CONFIG_USB_USE_PLATFORM_RESOURCE=y CONFIG_USB_EHCI_HCD=y diff --git a/bsp/pentagram/wifi/no_other_vendors.cfg b/bsp/pentagram/wifi/no_other_vendors.cfg deleted file mode 100644 index e3c3ecb0..00000000 --- a/bsp/pentagram/wifi/no_other_vendors.cfg +++ /dev/null @@ -1,15 +0,0 @@ -# CONFIG_WLAN_VENDOR_ADMTEK is not set -# CONFIG_WLAN_VENDOR_ATH is not set -# CONFIG_WLAN_VENDOR_ATMEL is not set -# CONFIG_WLAN_VENDOR_BROADCOM is not set -# CONFIG_WLAN_VENDOR_CISCO is not set -# CONFIG_WLAN_VENDOR_INTEL is not set -# CONFIG_WLAN_VENDOR_INTERSIL is not set -# CONFIG_WLAN_VENDOR_MEDIATEK is not set -# CONFIG_WLAN_VENDOR_RALINK is not set -# CONFIG_WLAN_VENDOR_REALTEK is not set -# CONFIG_RTL_CARDS is not set -# CONFIG_WLAN_VENDOR_RSI is not set -# CONFIG_WLAN_VENDOR_ST is not set -# CONFIG_WLAN_VENDOR_TI is not set -# CONFIG_WLAN_VENDOR_ZYDAS is not set diff --git a/bsp/pentagram/wifi/tppg2_brcm.cfg b/bsp/pentagram/wifi/tppg2_brcm.cfg deleted file mode 100644 index 54baa9ca..00000000 --- a/bsp/pentagram/wifi/tppg2_brcm.cfg +++ /dev/null @@ -1,8 +0,0 @@ -# development driver -CONFIG_BCMDHD=m -CONFIG_BCMDHD_FW_PATH="/lib/firmware/brcm/fw_bcm43456c5_ag.bin" -CONFIG_BCMDHD_NVRAM_PATH="/lib/firmware/brcm/nvram_ap6256.txt" -CONFIG_BCMDHD_WEXT=y -CONFIG_BCMDHD_SDIO=y -CONFIG_BCMDHD_SDIO_IRQ=y -# CONFIG_CFG80211_REQUIRE_SIGNED_REGDB is not set diff --git a/bsp/pentagram/wifi/tppg2_brcm.scc b/bsp/pentagram/wifi/tppg2_brcm.scc deleted file mode 100644 index a51c576a..00000000 --- a/bsp/pentagram/wifi/tppg2_brcm.scc +++ /dev/null @@ -1,5 +0,0 @@ -include features/wifi/wifi-common.scc -kconf hardware sdio.cfg -kconf hardware no_other_vendors.cfg -kconf hardware tppg2_brcm.cfg -kconf non-hardware wext.cfg diff --git a/bsp/pentagram/wifi/wext.cfg b/bsp/pentagram/wifi/wext.cfg deleted file mode 100644 index b35cecf9..00000000 --- a/bsp/pentagram/wifi/wext.cfg +++ /dev/null @@ -1,14 +0,0 @@ -# wireless extensions -CONFIG_WIRELESS_EXT=y -CONFIG_WEXT_PRIV=y -CONFIG_WEXT_CORE=y -CONFIG_WEXT_PROC=y -CONFIG_WEXT_SPY=y -CONFIG_CFG80211_WEXT=y -CONFIG_LIB80211=m -CONFIG_LIB80211_CRYPT_WEP=m -CONFIG_LIB80211_CRYPT_CCMP=m -CONFIG_LIB80211_CRYPT_TKIP=m -CONFIG_HOSTAP=m - -# CONFIG_CFG80211_REQUIRE_SIGNED_REGDB is not set -- 2.30.9
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12779): https://lists.yoctoproject.org/g/linux-yocto/message/12779 Mute This Topic: https://lists.yoctoproject.org/mt/99626005/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-