There's a bit more duplication / overlap in these BSPs than
is ideal, but i've gone ahead and merged them.

At some point, I'll try and compare these to the similar
feature fragments and see if we can tweak things for the
common ones.

Bruce

In message: [linux-yocto] [kernel-cache yocto-5.10][PATCH] sp7021 BSP update 
for 5.10
on 19/06/2023 Dvorkin Dmitry wrote:

> ---
>  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/bt/bt.cfg                       |  28 ++++
>  bsp/pentagram/bt/bt.scc                       |   1 +
>  bsp/pentagram/cmdline/def.cfg                 |   4 +
>  bsp/pentagram/cmdline/def.scc                 |   1 +
>  bsp/pentagram/cmdline/nfs.cfg                 |   1 +
>  bsp/pentagram/cmdline/nfs.scc                 |   1 +
>  bsp/pentagram/debug/acct_bsd.cfg              |   1 +
>  bsp/pentagram/debug/acct_nl.cfg               |   4 +
>  bsp/pentagram/debug/axi_mon.cfg               |   1 +
>  bsp/pentagram/debug/axi_mon.scc               |   4 +
>  bsp/pentagram/debug/dyndbg.cfg                |   1 +
>  bsp/pentagram/debug/dyndbg.scc                |   1 +
>  bsp/pentagram/debug/others.cfg                |  32 ++++
>  bsp/pentagram/debug/pinctl.cfg                |   1 +
>  bsp/pentagram/debug/pins0.scc                 |   1 +
>  bsp/pentagram/debug/pins9.scc                 |   6 +
>  bsp/pentagram/debug/printk.cfg                |   4 +
>  bsp/pentagram/debug/printk.scc                |   1 +
>  bsp/pentagram/debug/sppctl.cfg                |   1 +
>  bsp/pentagram/fs/ext4.cfg                     |   1 +
>  bsp/pentagram/fs/fat.cfg                      |  13 ++
>  bsp/pentagram/fs/for_all.cfg                  |   1 +
>  bsp/pentagram/fs/nfs.cfg                      |  23 +++
>  bsp/pentagram/fs/squash.cfg                   |  14 ++
>  bsp/pentagram/fs/ubi.cfg                      |   3 +
>  bsp/pentagram/hw_emmc.cfg                     |   2 +
>  bsp/pentagram/hw_emmc.scc                     |   4 +
>  bsp/pentagram/hw_i2c.cfg                      |   6 +
>  bsp/pentagram/hw_i2c.scc                      |   5 +
>  bsp/pentagram/hw_nvmem.cfg                    |   2 +
>  bsp/pentagram/hw_nvmem.scc                    |   4 +
>  bsp/pentagram/hw_pwm.cfg                      |   4 +
>  bsp/pentagram/hw_pwm.scc                      |   5 +
>  bsp/pentagram/hw_sdio.scc                     |   4 +
>  bsp/pentagram/input/sp_icm.cfg                |   1 +
>  bsp/pentagram/input/sp_icm.scc                |   1 +
>  bsp/pentagram/make_later.cfg                  | 145 ++++++++++++++++++
>  bsp/pentagram/media/general.cfg               |   3 +
>  bsp/pentagram/media/video_out.cfg             |  17 ++
>  bsp/pentagram/media/video_out.scc             |   5 +
>  bsp/pentagram/media/video_sen.cfg             |  10 ++
>  bsp/pentagram/media/video_sen.scc             |   5 +
>  bsp/pentagram/media/video_usb.cfg             |   8 +
>  bsp/pentagram/media/video_usb.scc             |   2 +
>  bsp/pentagram/net/hw_net.cfg                  |  30 ++++
>  bsp/pentagram/net/hw_net.scc                  |   5 +
>  bsp/pentagram/net/sw_net.cfg                  |  32 ++++
>  bsp/pentagram/net/sw_net.scc                  |   1 +
>  bsp/pentagram/pentagram-debug.scc             |  15 ++
>  bsp/pentagram/pentagram-non_hardware.cfg      |   1 +
>  bsp/pentagram/pentagram-standard.scc          |  58 +++++++
>  bsp/pentagram/pentagram-tiny.scc              |  32 ++++
>  bsp/pentagram/pentagram.cfg                   | 145 ++++++++++++++++++
>  bsp/pentagram/pentagram.scc                   |  14 ++
>  bsp/pentagram/pm.cfg                          |  10 ++
>  bsp/pentagram/pm.scc                          |   4 +
>  bsp/pentagram/sdio/sdio.cfg                   |   1 +
>  bsp/pentagram/sdio/sdio.scc                   |   4 +
>  bsp/pentagram/sensors/hw_thermal.cfg          |  10 ++
>  bsp/pentagram/sensors/hw_thermal.scc          |   4 +
>  bsp/pentagram/sensors/hwmon.cfg               |   1 +
>  bsp/pentagram/sensors/hwmon.scc               |   2 +
>  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                 |   5 +
>  bsp/pentagram/spi/sp_nand.scc                 |   4 +
>  bsp/pentagram/spi/sp_nor.cfg                  |   3 +
>  bsp/pentagram/spi/sp_nor.scc                  |   4 +
>  bsp/pentagram/spi/sp_nornand.scc              |   6 +
>  bsp/pentagram/spi/sp_spi.cfg                  |  10 ++
>  bsp/pentagram/spi/sp_spi.scc                  |   2 +
>  bsp/pentagram/spi/spi-slave.cfg               |   3 +
>  bsp/pentagram/spi/spi-slave.scc               |   1 +
>  bsp/pentagram/spi/spi.cfg                     |   3 +
>  bsp/pentagram/spi/spi.scc                     |   1 +
>  bsp/pentagram/sw_nls.cfg                      |   5 +
>  bsp/pentagram/sw_nls.scc                      |   1 +
>  bsp/pentagram/swap_n.cfg                      |   1 +
>  bsp/pentagram/swap_y.cfg                      |   1 +
>  bsp/pentagram/systemd_features.cfg            |   5 +
>  bsp/pentagram/systemd_features.scc            |   2 +
>  bsp/pentagram/testing.cfg                     |  19 +++
>  bsp/pentagram/testing.scc                     |   1 +
>  bsp/pentagram/ui/gconsole.cfg                 |   7 +
>  bsp/pentagram/ui/gconsole.scc                 |   1 +
>  bsp/pentagram/ui/qt.cfg                       |   3 +
>  bsp/pentagram/ui/qt.scc                       |   1 +
>  bsp/pentagram/ui/vt.cfg                       |   3 +
>  bsp/pentagram/ui/vt.scc                       |   1 +
>  bsp/pentagram/usb/customers.cfg               |   1 +
>  bsp/pentagram/usb/customers.scc               |   5 +
>  bsp/pentagram/usb/nousb.cfg                   |   8 +
>  bsp/pentagram/usb/nousb.scc                   |   1 +
>  bsp/pentagram/usb/usb.cfg                     |  18 +++
>  bsp/pentagram/usb/usb.scc                     |   6 +
>  bsp/pentagram/usb/usb_otg.cfg                 |   5 +
>  bsp/pentagram/watchdog/sp.cfg                 |   1 +
>  bsp/pentagram/watchdog/sp.scc                 |   2 +
>  bsp/pentagram/watchdog/watchdog.cfg           |   2 +
>  .../pentagram-sc7021-achip.dtsi.liber.patch   |  17 ++
>  bsp/pentagram/wifi/tppg1_libe.cfg             |   3 +
>  bsp/pentagram/wifi/tppg1_libe.scc             |   7 +
>  109 files changed, 1046 insertions(+)
>  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
>  create mode 100644 bsp/pentagram/bt/bt.cfg
>  create mode 100644 bsp/pentagram/bt/bt.scc
>  create mode 100644 bsp/pentagram/cmdline/def.cfg
>  create mode 100644 bsp/pentagram/cmdline/def.scc
>  create mode 100644 bsp/pentagram/cmdline/nfs.cfg
>  create mode 100644 bsp/pentagram/cmdline/nfs.scc
>  create mode 100644 bsp/pentagram/debug/acct_bsd.cfg
>  create mode 100644 bsp/pentagram/debug/acct_nl.cfg
>  create mode 100644 bsp/pentagram/debug/axi_mon.cfg
>  create mode 100644 bsp/pentagram/debug/axi_mon.scc
>  create mode 100644 bsp/pentagram/debug/dyndbg.cfg
>  create mode 100644 bsp/pentagram/debug/dyndbg.scc
>  create mode 100644 bsp/pentagram/debug/others.cfg
>  create mode 100644 bsp/pentagram/debug/pinctl.cfg
>  create mode 100644 bsp/pentagram/debug/pins0.scc
>  create mode 100644 bsp/pentagram/debug/pins9.scc
>  create mode 100644 bsp/pentagram/debug/printk.cfg
>  create mode 100644 bsp/pentagram/debug/printk.scc
>  create mode 100644 bsp/pentagram/debug/sppctl.cfg
>  create mode 100644 bsp/pentagram/fs/ext4.cfg
>  create mode 100644 bsp/pentagram/fs/fat.cfg
>  create mode 100644 bsp/pentagram/fs/for_all.cfg
>  create mode 100644 bsp/pentagram/fs/nfs.cfg
>  create mode 100644 bsp/pentagram/fs/squash.cfg
>  create mode 100644 bsp/pentagram/fs/ubi.cfg
>  create mode 100644 bsp/pentagram/hw_emmc.cfg
>  create mode 100644 bsp/pentagram/hw_emmc.scc
>  create mode 100644 bsp/pentagram/hw_i2c.cfg
>  create mode 100644 bsp/pentagram/hw_i2c.scc
>  create mode 100644 bsp/pentagram/hw_nvmem.cfg
>  create mode 100644 bsp/pentagram/hw_nvmem.scc
>  create mode 100644 bsp/pentagram/hw_pwm.cfg
>  create mode 100644 bsp/pentagram/hw_pwm.scc
>  create mode 100644 bsp/pentagram/hw_sdio.scc
>  create mode 100644 bsp/pentagram/input/sp_icm.cfg
>  create mode 100644 bsp/pentagram/input/sp_icm.scc
>  create mode 100644 bsp/pentagram/make_later.cfg
>  create mode 100644 bsp/pentagram/media/general.cfg
>  create mode 100644 bsp/pentagram/media/video_out.cfg
>  create mode 100644 bsp/pentagram/media/video_out.scc
>  create mode 100644 bsp/pentagram/media/video_sen.cfg
>  create mode 100644 bsp/pentagram/media/video_sen.scc
>  create mode 100644 bsp/pentagram/media/video_usb.cfg
>  create mode 100644 bsp/pentagram/media/video_usb.scc
>  create mode 100644 bsp/pentagram/net/hw_net.cfg
>  create mode 100644 bsp/pentagram/net/hw_net.scc
>  create mode 100644 bsp/pentagram/net/sw_net.cfg
>  create mode 100644 bsp/pentagram/net/sw_net.scc
>  create mode 100644 bsp/pentagram/pentagram-debug.scc
>  create mode 100644 bsp/pentagram/pentagram-non_hardware.cfg
>  create mode 100644 bsp/pentagram/pentagram-standard.scc
>  create mode 100644 bsp/pentagram/pentagram-tiny.scc
>  create mode 100644 bsp/pentagram/pentagram.cfg
>  create mode 100644 bsp/pentagram/pentagram.scc
>  create mode 100644 bsp/pentagram/pm.cfg
>  create mode 100644 bsp/pentagram/pm.scc
>  create mode 100644 bsp/pentagram/sdio/sdio.cfg
>  create mode 100644 bsp/pentagram/sdio/sdio.scc
>  create mode 100644 bsp/pentagram/sensors/hw_thermal.cfg
>  create mode 100644 bsp/pentagram/sensors/hw_thermal.scc
>  create mode 100644 bsp/pentagram/sensors/hwmon.cfg
>  create mode 100644 bsp/pentagram/sensors/hwmon.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
>  create mode 100644 bsp/pentagram/spi/sp_nand.cfg
>  create mode 100644 bsp/pentagram/spi/sp_nand.scc
>  create mode 100644 bsp/pentagram/spi/sp_nor.cfg
>  create mode 100644 bsp/pentagram/spi/sp_nor.scc
>  create mode 100644 bsp/pentagram/spi/sp_nornand.scc
>  create mode 100644 bsp/pentagram/spi/sp_spi.cfg
>  create mode 100644 bsp/pentagram/spi/sp_spi.scc
>  create mode 100644 bsp/pentagram/spi/spi-slave.cfg
>  create mode 100644 bsp/pentagram/spi/spi-slave.scc
>  create mode 100644 bsp/pentagram/spi/spi.cfg
>  create mode 100644 bsp/pentagram/spi/spi.scc
>  create mode 100644 bsp/pentagram/sw_nls.cfg
>  create mode 100644 bsp/pentagram/sw_nls.scc
>  create mode 100644 bsp/pentagram/swap_n.cfg
>  create mode 100644 bsp/pentagram/swap_y.cfg
>  create mode 100644 bsp/pentagram/systemd_features.cfg
>  create mode 100644 bsp/pentagram/systemd_features.scc
>  create mode 100644 bsp/pentagram/testing.cfg
>  create mode 100644 bsp/pentagram/testing.scc
>  create mode 100644 bsp/pentagram/ui/gconsole.cfg
>  create mode 100644 bsp/pentagram/ui/gconsole.scc
>  create mode 100644 bsp/pentagram/ui/qt.cfg
>  create mode 100644 bsp/pentagram/ui/qt.scc
>  create mode 100644 bsp/pentagram/ui/vt.cfg
>  create mode 100644 bsp/pentagram/ui/vt.scc
>  create mode 100644 bsp/pentagram/usb/customers.cfg
>  create mode 100644 bsp/pentagram/usb/customers.scc
>  create mode 100644 bsp/pentagram/usb/nousb.cfg
>  create mode 100644 bsp/pentagram/usb/nousb.scc
>  create mode 100644 bsp/pentagram/usb/usb.cfg
>  create mode 100644 bsp/pentagram/usb/usb.scc
>  create mode 100644 bsp/pentagram/usb/usb_otg.cfg
>  create mode 100644 bsp/pentagram/watchdog/sp.cfg
>  create mode 100644 bsp/pentagram/watchdog/sp.scc
>  create mode 100644 bsp/pentagram/watchdog/watchdog.cfg
>  create mode 100644 bsp/pentagram/wifi/pentagram-sc7021-achip.dtsi.liber.patch
>  create mode 100644 bsp/pentagram/wifi/tppg1_libe.cfg
>  create mode 100644 bsp/pentagram/wifi/tppg1_libe.scc
> 
> 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/bt/bt.cfg b/bsp/pentagram/bt/bt.cfg
> new file mode 100644
> index 00000000..685292fe
> --- /dev/null
> +++ b/bsp/pentagram/bt/bt.cfg
> @@ -0,0 +1,28 @@
> +CONFIG_RFKILL=m
> +
> +CONFIG_BT=m
> +CONFIG_BT_BREDR=y
> +CONFIG_BT_HIDP=m
> +CONFIG_BT_HS=y
> +CONFIG_BT_LE=y
> +CONFIG_BT_DEBUGFS=y
> +# ?
> +CONFIG_BT_RFCOMM=m
> +CONFIG_BT_RFCOMM_TTY=y
> +CONFIG_BT_BNEP=m
> +CONFIG_BT_BNEP_MC_FILTER=y
> +CONFIG_BT_BNEP_PROTO_FILTER=y
> +
> +# BT drivers
> +CONFIG_BT_INTEL=m
> +CONFIG_BT_HCIBCM203X=m
> +CONFIG_BT_HCIBTUSB=m
> +# CONFIG_BT_HCIBTUSB_BCM is not set
> +# for bluetooth microphone
> +CONFIG_INPUT_UINPUT=y
> +CONFIG_UHID=y
> +
> +CONFIG_BT_HCIUART=y
> +CONFIG_SERIAL_DEV_BUS=y
> +CONFIG_BT_HCIUART_H4=y
> +CONFIG_BT_HCIUART_BCM=y
> diff --git a/bsp/pentagram/bt/bt.scc b/bsp/pentagram/bt/bt.scc
> new file mode 100644
> index 00000000..bebfe40f
> --- /dev/null
> +++ b/bsp/pentagram/bt/bt.scc
> @@ -0,0 +1 @@
> +kconf non-hardware bt.cfg
> diff --git a/bsp/pentagram/cmdline/def.cfg b/bsp/pentagram/cmdline/def.cfg
> new file mode 100644
> index 00000000..2352ee32
> --- /dev/null
> +++ b/bsp/pentagram/cmdline/def.cfg
> @@ -0,0 +1,4 @@
> +CONFIG_CMDLINE="root=/dev/ram rw init=/init console=ttyS0,115200 earlyprintk 
> mem=512M@0x0"
> +
> +CONFIG_FW_LOADER_USER_HELPER=y
> +CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
> diff --git a/bsp/pentagram/cmdline/def.scc b/bsp/pentagram/cmdline/def.scc
> new file mode 100644
> index 00000000..c6028d5a
> --- /dev/null
> +++ b/bsp/pentagram/cmdline/def.scc
> @@ -0,0 +1 @@
> +kconf non-hardware def.cfg
> diff --git a/bsp/pentagram/cmdline/nfs.cfg b/bsp/pentagram/cmdline/nfs.cfg
> new file mode 100644
> index 00000000..e5d70a63
> --- /dev/null
> +++ b/bsp/pentagram/cmdline/nfs.cfg
> @@ -0,0 +1 @@
> +CONFIG_CMDLINE="console=ttyS0,115200 ip=dhcp ethaddr=02:01:02:03:04:08 
> root=/dev/nfs rw nfsroot=192.168.77.88:/mnt/tppg2,rsize=1280"
> diff --git a/bsp/pentagram/cmdline/nfs.scc b/bsp/pentagram/cmdline/nfs.scc
> new file mode 100644
> index 00000000..567cefa5
> --- /dev/null
> +++ b/bsp/pentagram/cmdline/nfs.scc
> @@ -0,0 +1 @@
> +kconf non-hardware nfs.cfg
> diff --git a/bsp/pentagram/debug/acct_bsd.cfg 
> b/bsp/pentagram/debug/acct_bsd.cfg
> new file mode 100644
> index 00000000..b9a49660
> --- /dev/null
> +++ b/bsp/pentagram/debug/acct_bsd.cfg
> @@ -0,0 +1 @@
> +CONFIG_BSD_PROCESS_ACCT=y
> diff --git a/bsp/pentagram/debug/acct_nl.cfg b/bsp/pentagram/debug/acct_nl.cfg
> new file mode 100644
> index 00000000..50152394
> --- /dev/null
> +++ b/bsp/pentagram/debug/acct_nl.cfg
> @@ -0,0 +1,4 @@
> +CONFIG_TASKSTATS=y
> +CONFIG_TASK_DELAY_ACCT=y
> +CONFIG_TASK_XACCT=y
> +CONFIG_TASK_IO_ACCOUNTING=y
> diff --git a/bsp/pentagram/debug/axi_mon.cfg b/bsp/pentagram/debug/axi_mon.cfg
> new file mode 100644
> index 00000000..ff8dc605
> --- /dev/null
> +++ b/bsp/pentagram/debug/axi_mon.cfg
> @@ -0,0 +1 @@
> +CONFIG_SUNPLUS_AXI_MONITOR=y
> diff --git a/bsp/pentagram/debug/axi_mon.scc b/bsp/pentagram/debug/axi_mon.scc
> new file mode 100644
> index 00000000..10a531c2
> --- /dev/null
> +++ b/bsp/pentagram/debug/axi_mon.scc
> @@ -0,0 +1,4 @@
> +define KFEATURE_DESCRIPTION "Enable SunPlus AXI monitor"
> +define KFEATURE_COMPATIBILITY board
> +
> +kconf non-hardware axi_mon.cfg
> diff --git a/bsp/pentagram/debug/dyndbg.cfg b/bsp/pentagram/debug/dyndbg.cfg
> new file mode 100644
> index 00000000..5698f5eb
> --- /dev/null
> +++ b/bsp/pentagram/debug/dyndbg.cfg
> @@ -0,0 +1 @@
> +CONFIG_DYNAMIC_DEBUG=y
> diff --git a/bsp/pentagram/debug/dyndbg.scc b/bsp/pentagram/debug/dyndbg.scc
> new file mode 100644
> index 00000000..ce8673bb
> --- /dev/null
> +++ b/bsp/pentagram/debug/dyndbg.scc
> @@ -0,0 +1 @@
> +kconf non-hardware dyndbg.cfg
> diff --git a/bsp/pentagram/debug/others.cfg b/bsp/pentagram/debug/others.cfg
> new file mode 100644
> index 00000000..cb72f4c2
> --- /dev/null
> +++ b/bsp/pentagram/debug/others.cfg
> @@ -0,0 +1,32 @@
> +# CONFIG_STACKTRACE is not set
> +# CONFIG_DEBUG_PREEMPT is not set
> +# CONFIG_IRQ_DOMAIN_DEBUG is not set
> +# CONFIG_SLUB_DEBUG is not set
> +# 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_SLEEP_DEBUG is not set
> +# CONFIG_CAN_DEBUG_DEVICES is not set
> +# CONFIG_BT_DEBUGFS is not set
> +
> +# CONFIG_DEV_COREDUMP is not set
> +# CONFIG_WANT_DEV_COREDUMP is not set
> +
> +# there 
> +# CONFIG_DEBUG_DRIVER is not set
> +# CONFIG_SPI_DEBUG is not set
> +# CONFIG_DEBUG_GPIO is not set
> +# CONFIG_DEBUG_INFO is not set
> +# CONFIG_DEBUG_KERNEL is not set
> +
> +# additional
> +CONFIG_CONNECTOR=m
> +CONFIG_PROC_EVENTS=y
> +# CONFIG_TRACEPOINTS is not set
> +# CONFIG_EVENT_TRACING is not set
> +
> +# this ?
> +# CONFIG_DEBUG_ALIGN_RODATA is not set
> +
> +CONFIG_KALLSYMS_ALL=y
> diff --git a/bsp/pentagram/debug/pinctl.cfg b/bsp/pentagram/debug/pinctl.cfg
> new file mode 100644
> index 00000000..c44cecdf
> --- /dev/null
> +++ b/bsp/pentagram/debug/pinctl.cfg
> @@ -0,0 +1 @@
> +CONFIG_DEBUG_PINCTRL=y
> diff --git a/bsp/pentagram/debug/pins0.scc b/bsp/pentagram/debug/pins0.scc
> new file mode 100644
> index 00000000..dd6751ca
> --- /dev/null
> +++ b/bsp/pentagram/debug/pins0.scc
> @@ -0,0 +1 @@
> +kconf non-hardware pinctl.cfg
> diff --git a/bsp/pentagram/debug/pins9.scc b/bsp/pentagram/debug/pins9.scc
> new file mode 100644
> index 00000000..31db94a0
> --- /dev/null
> +++ b/bsp/pentagram/debug/pins9.scc
> @@ -0,0 +1,6 @@
> +define KFEATURE_DESCRIPTION "Enable SunPlus PinCTRL debug"
> +define KFEATURE_COMPATIBILITY board
> +
> +kconf non-hardware printk.cfg
> +kconf non-hardware pinctl.cfg
> +kconf non-hardware sppctl.cfg
> diff --git a/bsp/pentagram/debug/printk.cfg b/bsp/pentagram/debug/printk.cfg
> new file mode 100644
> index 00000000..7d7b10ff
> --- /dev/null
> +++ b/bsp/pentagram/debug/printk.cfg
> @@ -0,0 +1,4 @@
> +CONFIG_PRINTK_TIME=y
> +CONFIG_EARLY_PRINTK=y
> +# for long dbg info
> +CONFIG_LOG_BUF_SHIFT=20
> diff --git a/bsp/pentagram/debug/printk.scc b/bsp/pentagram/debug/printk.scc
> new file mode 100644
> index 00000000..66bcd1d1
> --- /dev/null
> +++ b/bsp/pentagram/debug/printk.scc
> @@ -0,0 +1 @@
> +kconf non-hardware printk.cfg
> diff --git a/bsp/pentagram/debug/sppctl.cfg b/bsp/pentagram/debug/sppctl.cfg
> new file mode 100644
> index 00000000..9c27e1c2
> --- /dev/null
> +++ b/bsp/pentagram/debug/sppctl.cfg
> @@ -0,0 +1 @@
> +CONFIG_PINCTRL_SPPCTL_DEBUG=y
> diff --git a/bsp/pentagram/fs/ext4.cfg b/bsp/pentagram/fs/ext4.cfg
> new file mode 100644
> index 00000000..7f2f33f2
> --- /dev/null
> +++ b/bsp/pentagram/fs/ext4.cfg
> @@ -0,0 +1 @@
> +CONFIG_EXT4_FS=y
> diff --git a/bsp/pentagram/fs/fat.cfg b/bsp/pentagram/fs/fat.cfg
> new file mode 100644
> index 00000000..47563a71
> --- /dev/null
> +++ b/bsp/pentagram/fs/fat.cfg
> @@ -0,0 +1,13 @@
> +CONFIG_FAT_FS=y
> +# CONFIG_MSDOS_FS is not set
> +CONFIG_VFAT_FS=y
> +CONFIG_FAT_DEFAULT_CODEPAGE=437
> +CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
> +# CONFIG_FAT_DEFAULT_UTF8 is not set
> +CONFIG_EXFAT_FS=y
> +CONFIG_EXFAT_DISCARD=y
> +CONFIG_EXFAT_DELAYED_SYNC=y
> +# CONFIG_EXFAT_KERNEL_DEBUG is not set
> +# CONFIG_EXFAT_DEBUG_MSG is not set
> +CONFIG_EXFAT_DEFAULT_CODEPAGE=437
> +CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
> diff --git a/bsp/pentagram/fs/for_all.cfg b/bsp/pentagram/fs/for_all.cfg
> new file mode 100644
> index 00000000..b25744a6
> --- /dev/null
> +++ b/bsp/pentagram/fs/for_all.cfg
> @@ -0,0 +1 @@
> +CONFIG_FS_POSIX_ACL=y
> \ No newline at end of file
> diff --git a/bsp/pentagram/fs/nfs.cfg b/bsp/pentagram/fs/nfs.cfg
> new file mode 100644
> index 00000000..f511d886
> --- /dev/null
> +++ b/bsp/pentagram/fs/nfs.cfg
> @@ -0,0 +1,23 @@
> +CONFIG_FILE_LOCKING=y
> +CONFIG_MANDATORY_FILE_LOCKING=y
> +CONFIG_NFS_FS=y
> +CONFIG_NFS_V2=y
> +CONFIG_NFS_DEF_FILE_IO_SIZE=4096
> +CONFIG_NFS_V3=y
> +CONFIG_NFS_V4=y
> +CONFIG_NFS_V4_1=y
> +CONFIG_NFS_V4_2=y
> +CONFIG_PNFS_FILE_LAYOUT=y
> +CONFIG_PNFS_FLEXFILE_LAYOUT=y
> +CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org"
> +CONFIG_NFS_USE_KERNEL_DNS=y
> +CONFIG_GRACE_PERIOD=y
> +CONFIG_LOCKD=y
> +CONFIG_LOCKD_V4=y
> +CONFIG_NFS_COMMON=y
> +CONFIG_SUNRPC=y
> +CONFIG_SUNRPC_GSS=y
> +CONFIG_SUNRPC_BACKCHANNEL=y
> +CONFIG_OID_REGISTRY=y
> +# additional
> +CONFIG_ROOT_NFS=y
> diff --git a/bsp/pentagram/fs/squash.cfg b/bsp/pentagram/fs/squash.cfg
> new file mode 100644
> index 00000000..563edf85
> --- /dev/null
> +++ b/bsp/pentagram/fs/squash.cfg
> @@ -0,0 +1,14 @@
> +CONFIG_SQUASHFS=y
> +CONFIG_SQUASHFS_FILE_CACHE=y
> +# CONFIG_SQUASHFS_FILE_DIRECT is not set
> +CONFIG_SQUASHFS_DECOMP_SINGLE=y
> +# CONFIG_SQUASHFS_DECOMP_MULTI is not set
> +# CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU is not set
> +# CONFIG_SQUASHFS_XATTR is not set
> +CONFIG_SQUASHFS_ZLIB=y
> +# CONFIG_SQUASHFS_LZ4 is not set
> +CONFIG_SQUASHFS_LZO=y
> +# CONFIG_SQUASHFS_XZ is not set
> +# CONFIG_SQUASHFS_4K_DEVBLK_SIZE is not set
> +# CONFIG_SQUASHFS_EMBEDDED is not set
> +CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
> diff --git a/bsp/pentagram/fs/ubi.cfg b/bsp/pentagram/fs/ubi.cfg
> new file mode 100644
> index 00000000..c62b1b4b
> --- /dev/null
> +++ b/bsp/pentagram/fs/ubi.cfg
> @@ -0,0 +1,3 @@
> +CONFIG_MTD=y
> +CONFIG_MTD_UBI=y
> +CONFIG_UBIFS_FS=y
> diff --git a/bsp/pentagram/hw_emmc.cfg b/bsp/pentagram/hw_emmc.cfg
> new file mode 100644
> index 00000000..4eab9dac
> --- /dev/null
> +++ b/bsp/pentagram/hw_emmc.cfg
> @@ -0,0 +1,2 @@
> +CONFIG_MMC=y
> +CONFIG_SP_EMMC=y
> diff --git a/bsp/pentagram/hw_emmc.scc b/bsp/pentagram/hw_emmc.scc
> new file mode 100644
> index 00000000..12b5bcb3
> --- /dev/null
> +++ b/bsp/pentagram/hw_emmc.scc
> @@ -0,0 +1,4 @@
> +define KFEATURE_DESCRIPTION "Enable SunPlus EMMC"
> +define KFEATURE_COMPATIBILITY board
> +
> +kconf hardware hw_emmc.cfg
> diff --git a/bsp/pentagram/hw_i2c.cfg b/bsp/pentagram/hw_i2c.cfg
> new file mode 100644
> index 00000000..a9df47df
> --- /dev/null
> +++ b/bsp/pentagram/hw_i2c.cfg
> @@ -0,0 +1,6 @@
> +CONFIG_I2C_SUNPLUS=y
> +CONFIG_I2C_CHARDEV=y
> +CONFIG_I2C_ALGOBIT=y
> +CONFIG_I2C_GPIO=y
> +CONFIG_I2C_BOARDINFO=y
> +# CONFIG_I2C_COMPAT is not set
> diff --git a/bsp/pentagram/hw_i2c.scc b/bsp/pentagram/hw_i2c.scc
> new file mode 100644
> index 00000000..a569317e
> --- /dev/null
> +++ b/bsp/pentagram/hw_i2c.scc
> @@ -0,0 +1,5 @@
> +define KFEATURE_DESCRIPTION "Enable SunPlus I2C"
> +define KFEATURE_COMPATIBILITY board
> +
> +#include features/i2c/i2cdev.scc
> +kconf hardware hw_i2c.cfg
> diff --git a/bsp/pentagram/hw_nvmem.cfg b/bsp/pentagram/hw_nvmem.cfg
> new file mode 100644
> index 00000000..f9eb7853
> --- /dev/null
> +++ b/bsp/pentagram/hw_nvmem.cfg
> @@ -0,0 +1,2 @@
> +CONFIG_NVMEM=y
> +CONFIG_NVMEM_SUNPLUS_OCOTP=y
> diff --git a/bsp/pentagram/hw_nvmem.scc b/bsp/pentagram/hw_nvmem.scc
> new file mode 100644
> index 00000000..adacf304
> --- /dev/null
> +++ b/bsp/pentagram/hw_nvmem.scc
> @@ -0,0 +1,4 @@
> +define KFEATURE_DESCRIPTION "Enable SunPlus OTP"
> +define KFEATURE_COMPATIBILITY board
> +
> +kconf hardware hw_nvmem.cfg
> diff --git a/bsp/pentagram/hw_pwm.cfg b/bsp/pentagram/hw_pwm.cfg
> new file mode 100644
> index 00000000..56214c2e
> --- /dev/null
> +++ b/bsp/pentagram/hw_pwm.cfg
> @@ -0,0 +1,4 @@
> +CONFIG_PWM=y
> +CONFIG_PWM_SYSFS=y
> +CONFIG_INPUT_PWM_BEEPER=y
> +CONFIG_PWM_SUNPLUS=y
> diff --git a/bsp/pentagram/hw_pwm.scc b/bsp/pentagram/hw_pwm.scc
> new file mode 100644
> index 00000000..9d9c4d2e
> --- /dev/null
> +++ b/bsp/pentagram/hw_pwm.scc
> @@ -0,0 +1,5 @@
> +define KFEATURE_DESCRIPTION "Enable SunPlus PWM"
> +define KFEATURE_COMPATIBILITY board
> +
> +include features/pwm/pwm.scc
> +kconf hardware hw_pwm.cfg
> diff --git a/bsp/pentagram/hw_sdio.scc b/bsp/pentagram/hw_sdio.scc
> new file mode 100644
> index 00000000..1ad16974
> --- /dev/null
> +++ b/bsp/pentagram/hw_sdio.scc
> @@ -0,0 +1,4 @@
> +define KFEATURE_DESCRIPTION "Enable SunPlus SDIO"
> +define KFEATURE_COMPATIBILITY board
> +
> +kconf hardware wifi/sdio.cfg
> diff --git a/bsp/pentagram/input/sp_icm.cfg b/bsp/pentagram/input/sp_icm.cfg
> new file mode 100644
> index 00000000..b0aa19fc
> --- /dev/null
> +++ b/bsp/pentagram/input/sp_icm.cfg
> @@ -0,0 +1 @@
> +CONFIG_SP_ICM=y
> diff --git a/bsp/pentagram/input/sp_icm.scc b/bsp/pentagram/input/sp_icm.scc
> new file mode 100644
> index 00000000..6c3a1bd4
> --- /dev/null
> +++ b/bsp/pentagram/input/sp_icm.scc
> @@ -0,0 +1 @@
> +kconf hardware sp_icm.cfg
> diff --git a/bsp/pentagram/make_later.cfg b/bsp/pentagram/make_later.cfg
> new file mode 100644
> index 00000000..ef4a0856
> --- /dev/null
> +++ b/bsp/pentagram/make_later.cfg
> @@ -0,0 +1,145 @@
> +#
> +CONFIG_ARM=y
> +CONFIG_ARCH_PENTAGRAM=y
> +CONFIG_MACH_PENTAGRAM_SP7021_ACHIP=y
> +# CONFIG_MACH_PENTAGRAM_SP7021_BCHIP is not set
> +CONFIG_THUMB2_KERNEL=y
> +CONFIG_VFP=y
> +CONFIG_VFPv3=y
> +CONFIG_NEON=y
> +
> +CONFIG_IRQ_DOMAIN_HIERARCHY=y
> +CONFIG_ARCH_HAS_TICK_BROADCAST=y
> +CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
> +CONFIG_NO_HZ_COMMON=y
> +CONFIG_NO_HZ_IDLE=y
> +CONFIG_HIGH_RES_TIMERS=y
> +CONFIG_HAVE_ARM_ARCH_TIMER=y
> +
> +CONFIG_SYSCTL_SYSCALL=y
> +CONFIG_SYSVIPC=y
> +CONFIG_PERF_EVENTS=y
> +CONFIG_SLAB=y
> +
> +CONFIG_EMBEDDED=y
> +CONFIG_CC_OPTIMIZE_FOR_SIZE=y
> +CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
> +CONFIG_STRICT_MODULE_RWX=y
> +CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT=y
> +CONFIG_STRICT_KERNEL_RWX=y
> +CONFIG_BLK_DEV_INITRD=y
> +CONFIG_FRAME_VECTOR=y
> +
> +CONFIG_ZBOOT_ROM_TEXT=0x98307000
> +CONFIG_ZBOOT_ROM_BSS=0x03400000
> +CONFIG_AUTO_ZRELADDR=y
> +
> +CONFIG_PREEMPT_RCU=y
> +
> +CONFIG_SMP=y
> +CONFIG_PREEMPT=y
> +# CONFIG_DEBUG_PREEMPT is not set
> +CONFIG_HOTPLUG_CPU=y
> +CONFIG_DMA_SHARED_BUFFER=y
> +# CONFIG_SUNPLUS_QTEST_CBDMA is not set
> +CONFIG_MAGIC_SYSRQ=y
> +CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
> +CONFIG_MAGIC_SYSRQ_SERIAL=y
> +CONFIG_SCHED_INFO=y
> +CONFIG_SCHEDSTATS=y
> +
> +# CONFIG_MEMCG_SWAP_ENABLED is not set
> +
> +# move to debug?
> +CONFIG_HAVE_HW_BREAKPOINT=y
> +CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
> +
> +# is it required?
> +CONFIG_BUILD_BIN2C=y
> +
> +CONFIG_IKCONFIG=y
> +CONFIG_IKCONFIG_PROC=y
> +CONFIG_CRYPTO_XTS=m
> +
> +# move to net?
> +CONFIG_NETDEVICES=y
> +CONFIG_NET=y
> +CONFIG_BPF=y
> +CONFIG_NET_NS=y
> +CONFIG_PACKET=y
> +CONFIG_PACKET_DIAG=y
> +CONFIG_UNIX=y
> +CONFIG_INET=y
> +CONFIG_IP_MULTICAST=y
> +CONFIG_IP_PNP=y
> +CONFIG_IP_PNP_DHCP=y
> +CONFIG_IP_PNP_BOOTP=y
> +CONFIG_IP_PNP_RARP=y
> +CONFIG_NET_IPIP=m
> +CONFIG_STP=m
> +CONFIG_BRIDGE=m
> +CONFIG_HAVE_NET_DSA=y
> +CONFIG_VLAN_8021Q=m
> +CONFIG_DNS_RESOLVER=y
> +CONFIG_NETLINK_DIAG=y
> +CONFIG_CAIF=y
> +CONFIG_BT_INTEL=m
> +CONFIG_BT_HCIBTUSB=m
> +CONFIG_LIB80211=m
> +# move to net? /
> +
> +CONFIG_MODULES=y
> +CONFIG_MODULE_UNLOAD=y
> +CONFIG_MODVERSIONS=y
> +
> +CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
> +CONFIG_DEVTMPFS=y
> +CONFIG_DEVTMPFS_MOUNT=y
> +CONFIG_DEV_COREDUMP=y
> +CONFIG_WANT_DEV_COREDUMP=y
> +
> +CONFIG_CEPH_LIB=y
> +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_INPUT_POLLDEV=y
> +CONFIG_INPUT_SPARSEKMAP=y
> +CONFIG_INPUT_EVDEV=y
> +
> +# CONFIG_IOMMU_SUPPORT is not set
> +
> +# CONFIG_INPUT_KEYBOARD is not set
> +# CONFIG_INPUT_MOUSE is not set
> +CONFIG_INPUT_MISC=y
> +# CONFIG_LEGACY_PTYS is not set
> +# CONFIG_HW_RANDOM is not set
> +
> +CONFIG_MEDIA_CAMERA_SUPPORT=y
> +CONFIG_MEDIA_USB_SUPPORT=y
> +CONFIG_USB_VIDEO_CLASS=y
> +CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
> +CONFIG_MEDIA_SUBDRV_AUTOSELECT=y
> +
> +CONFIG_HIDRAW=y
> +
> +CONFIG_FB=y
> +CONFIG_VIDEO_DEV=y
> +CONFIG_VIDEO_V4L2=y
> +CONFIG_VIDEOBUF2_CORE=y
> +CONFIG_VIDEOBUF2_MEMOPS=y
> +CONFIG_VIDEOBUF2_VMALLOC=y
> +CONFIG_FB_SP7021=y
> +CONFIG_VIDEO_SP_HDMITX=y
> +# CONFIG_MODE_SELECT is not set
> +# HPD can't work on hdmi_tx3 and _tx2 (bug)
> +# CONFIG_HPD_DETECTION is not set
> +
> +# CONFIG_XZ_DEC_X86 is not set
> +# CONFIG_XZ_DEC_POWERPC is not set
> +# CONFIG_XZ_DEC_IA64 is not set
> +# CONFIG_XZ_DEC_SPARC is not set
> +# CONFIG_XZ_DEC_BCJ is not set
> diff --git a/bsp/pentagram/media/general.cfg b/bsp/pentagram/media/general.cfg
> new file mode 100644
> index 00000000..15301332
> --- /dev/null
> +++ b/bsp/pentagram/media/general.cfg
> @@ -0,0 +1,3 @@
> +CONFIG_MEDIA_SUPPORT=y
> +CONFIG_MEDIA_CAMERA_SUPPORT=y
> +CONFIG_V4L_PLATFORM_DRIVERS=y
> diff --git a/bsp/pentagram/media/video_out.cfg 
> b/bsp/pentagram/media/video_out.cfg
> new file mode 100644
> index 00000000..51e4d8d2
> --- /dev/null
> +++ b/bsp/pentagram/media/video_out.cfg
> @@ -0,0 +1,17 @@
> +CONFIG_FB=y
> +CONFIG_VIDEO_DEV=y
> +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
> +# 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.scc 
> b/bsp/pentagram/media/video_out.scc
> new file mode 100644
> index 00000000..4a2cd770
> --- /dev/null
> +++ b/bsp/pentagram/media/video_out.scc
> @@ -0,0 +1,5 @@
> +define KFEATURE_DESCRIPTION "Enable SunPlus FB output"
> +define KFEATURE_COMPATIBILITY board
> +
> +kconf hardware general.cfg
> +kconf hardware video_out.cfg
> diff --git a/bsp/pentagram/media/video_sen.cfg 
> b/bsp/pentagram/media/video_sen.cfg
> new file mode 100644
> index 00000000..f06cef69
> --- /dev/null
> +++ b/bsp/pentagram/media/video_sen.cfg
> @@ -0,0 +1,10 @@
> +CONFIG_SUNPLUS_VIDEO_SENSOR_SUPPORT=y
> +CONFIG_VIDEO_SENSOR_OV5647=m
> +# CONFIG_OV5647_640x480 is not set
> +CONFIG_OV5647_1280x960=y
> +# CONFIG_OV5647_2592x1944 is not set
> +CONFIG_VIDEO_SENSOR_OV9281=m
> +CONFIG_VIDEO_SENSOR_OV9281_ISP=m
> +CONFIG_VIDEO_SENSOR_GC0310=m
> +CONFIG_GC0310_RAW8=y
> +CONFIG_GC0310_YUY2 is not set
> diff --git a/bsp/pentagram/media/video_sen.scc 
> b/bsp/pentagram/media/video_sen.scc
> new file mode 100644
> index 00000000..3c9fe998
> --- /dev/null
> +++ b/bsp/pentagram/media/video_sen.scc
> @@ -0,0 +1,5 @@
> +define KFEATURE_DESCRIPTION "Enable SunPlus video sensor"
> +define KFEATURE_COMPATIBILITY board
> +
> +kconf hardware general.cfg
> +kconf hardware video_sen.cfg
> diff --git a/bsp/pentagram/media/video_usb.cfg 
> b/bsp/pentagram/media/video_usb.cfg
> new file mode 100644
> index 00000000..ce0cc14f
> --- /dev/null
> +++ b/bsp/pentagram/media/video_usb.cfg
> @@ -0,0 +1,8 @@
> +CONFIG_MEDIA_SUPPORT=y
> +CONFIG_MEDIA_CAMERA_SUPPORT=y
> +CONFIG_MEDIA_USB_SUPPORT=y
> +CONFIG_USB_VIDEO_CLASS=y
> +CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
> +CONFIG_MEDIA_SUBDRV_AUTOSELECT=y
> +
> +CONFIG_USB_GSPCA=m
> diff --git a/bsp/pentagram/media/video_usb.scc 
> b/bsp/pentagram/media/video_usb.scc
> new file mode 100644
> index 00000000..287fa918
> --- /dev/null
> +++ b/bsp/pentagram/media/video_usb.scc
> @@ -0,0 +1,2 @@
> +kconf hardware general.cfg
> +kconf hardware video_usb.cfg
> diff --git a/bsp/pentagram/net/hw_net.cfg b/bsp/pentagram/net/hw_net.cfg
> new file mode 100644
> index 00000000..31115936
> --- /dev/null
> +++ b/bsp/pentagram/net/hw_net.cfg
> @@ -0,0 +1,30 @@
> +CONFIG_NET_VENDOR_SUNPLUS=y
> +CONFIG_DYNAMIC_MODE_SWITCHING_BY_SYSFS=y
> +CONFIG_RESET_CONTROLLER=y
> +
> +# CONFIG_NET_VENDOR_ALACRITECH is not set
> +# CONFIG_NET_VENDOR_AMAZON is not set
> +# CONFIG_NET_VENDOR_AQUANTIA is not set
> +# CONFIG_NET_VENDOR_ARC is not set
> +# CONFIG_NET_VENDOR_BROADCOM is not set
> +# CONFIG_NET_VENDOR_CIRRUS is not set
> +# CONFIG_NET_VENDOR_EZCHIP is not set
> +# CONFIG_NET_VENDOR_FARADAY is not set
> +# CONFIG_NET_VENDOR_HISILICON is not set
> +# CONFIG_NET_VENDOR_INTEL is not set
> +# CONFIG_NET_VENDOR_MARVELL is not set
> +# CONFIG_NET_VENDOR_MICREL is not set
> +# CONFIG_NET_VENDOR_MICROCHIP is not set
> +# CONFIG_NET_VENDOR_NATSEMI is not set
> +# CONFIG_NET_VENDOR_NETRONOME is not set
> +# CONFIG_NET_VENDOR_QUALCOMM is not set
> +# CONFIG_NET_VENDOR_RENESAS is not set
> +# CONFIG_NET_VENDOR_ROCKER is not set
> +# CONFIG_NET_VENDOR_SAMSUNG is not set
> +# CONFIG_NET_VENDOR_SEEQ is not set
> +# CONFIG_NET_VENDOR_SOLARFLARE is not set
> +# CONFIG_NET_VENDOR_SMSC is not set
> +# CONFIG_NET_VENDOR_STMICRO is not set
> +# CONFIG_NET_VENDOR_VIA is not set
> +# CONFIG_NET_VENDOR_WIZNET is not set
> +# CONFIG_NET_VENDOR_SYNOPSYS is not set
> diff --git a/bsp/pentagram/net/hw_net.scc b/bsp/pentagram/net/hw_net.scc
> new file mode 100644
> index 00000000..6e18e1f1
> --- /dev/null
> +++ b/bsp/pentagram/net/hw_net.scc
> @@ -0,0 +1,5 @@
> +define KFEATURE_DESCRIPTION "Enable SunPlus Ethernet"
> +define KFEATURE_COMPATIBILITY board
> +
> +include features/net/net.scc
> +kconf hardware hw_net.cfg
> diff --git a/bsp/pentagram/net/sw_net.cfg b/bsp/pentagram/net/sw_net.cfg
> new file mode 100644
> index 00000000..029c8f24
> --- /dev/null
> +++ b/bsp/pentagram/net/sw_net.cfg
> @@ -0,0 +1,32 @@
> +CONFIG_NETDEVICES=y
> +CONFIG_NET=y
> +CONFIG_BPF=y
> +CONFIG_NET_NS=y
> +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
> +CONFIG_IP_PNP_DHCP=y
> +CONFIG_IP_PNP_BOOTP=y
> +CONFIG_IP_PNP_RARP=y
> +CONFIG_NET_IPIP=m
> +
> +CONFIG_STP=m
> +CONFIG_BRIDGE=m
> +CONFIG_HAVE_NET_DSA=y
> +CONFIG_VLAN_8021Q=m
> +CONFIG_DNS_RESOLVER=y
> +CONFIG_NETLINK_DIAG=y
> +CONFIG_CAN=m
> +CONFIG_CAIF=y
> +
> +# CONFIG_NETFILTER is not set
> +
> +CONFIG_CAN_MCP251XFD=y
> +# debug
> +# CONFIG_CAN_MCP251XFD_SANITY is not set
> diff --git a/bsp/pentagram/net/sw_net.scc b/bsp/pentagram/net/sw_net.scc
> new file mode 100644
> index 00000000..1e679417
> --- /dev/null
> +++ b/bsp/pentagram/net/sw_net.scc
> @@ -0,0 +1 @@
> +kconf non-hardware sw_net.cfg
> diff --git a/bsp/pentagram/pentagram-debug.scc 
> b/bsp/pentagram/pentagram-debug.scc
> new file mode 100644
> index 00000000..3bf44832
> --- /dev/null
> +++ b/bsp/pentagram/pentagram-debug.scc
> @@ -0,0 +1,15 @@
> +define KMACHINE pentagram
> +define KTYPE debug
> +define KARCH arm
> +
> +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 features/ftrace/ftrace.scc
> diff --git a/bsp/pentagram/pentagram-non_hardware.cfg 
> b/bsp/pentagram/pentagram-non_hardware.cfg
> new file mode 100644
> index 00000000..417f7b76
> --- /dev/null
> +++ b/bsp/pentagram/pentagram-non_hardware.cfg
> @@ -0,0 +1 @@
> +CONFIG_TMPFS=y
> diff --git a/bsp/pentagram/pentagram-standard.scc 
> b/bsp/pentagram/pentagram-standard.scc
> new file mode 100644
> index 00000000..602b2b28
> --- /dev/null
> +++ b/bsp/pentagram/pentagram-standard.scc
> @@ -0,0 +1,58 @@
> +define KMACHINE pentagram
> +define KTYPE standard
> +define KARCH arm
> +
> +include pentagram-tiny.scc
> +#include ktypes/standard/standard.scc
> +
> +# default policy for standard kernels
> +#include features/latencytop/latencytop.scc
> +#include features/profiling/profiling.scc
> +
> +include systemd_features.scc
> +# not for tiny (cgroups for limits + process isolation)
> +include features/cgroups.scc
> +include features/namespaces/namespaces.scc
> +
> +include features/leds/leds.scc
> +
> +include usb/usb.scc
> +include usb/customers.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
> +
> +kconf non-hardware fs/for_all.cfg
> +kconf non-hardware fs/fat.cfg
> +#kconf non-hardware fs/squash.cfg
> +kconf non-hardware fs/ubi.cfg
> +#kconf non-hardware fs/nfs.cfg
> +
> +include media/video_out.scc
> +#include media/video_sen.scc
> +include media/video_usb.scc
> +
> +#include ui/qt.scc
> +include ui/vt.scc
> +include ui/gconsole.scc
> +
> +include sensors/hw_thermal.scc
> +include sensors/hwmon.scc
> +
> +include features/can/can.scc
> +
> +include features/fuse/fuse.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
> new file mode 100644
> index 00000000..254d2877
> --- /dev/null
> +++ b/bsp/pentagram/pentagram-tiny.scc
> @@ -0,0 +1,32 @@
> +define KMACHINE pentagram
> +define KTYPE tiny
> +define KARCH arm
> +
> +include ktypes/tiny/tiny.scc
> +branch pentagram
> +
> +include pentagram.scc
> +
> +include systemd_features.scc
> +# not for tiny (cgroups for limits + process isolation)
> +include features/cgroups.scc
> +include features/namespaces/namespaces.scc
> +
> +#include pm.scc
> +
> +include hw_pwm.scc
> +include hw_nvmem.scc
> +include hw_i2c.scc
> +
> +include net/hw_net.scc
> +include net/sw_net.scc
> +
> +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
> new file mode 100644
> index 00000000..0e51d169
> --- /dev/null
> +++ b/bsp/pentagram/pentagram.cfg
> @@ -0,0 +1,145 @@
> +#
> +CONFIG_ARM=y
> +CONFIG_ARCH_PENTAGRAM=y
> +CONFIG_MACH_PENTAGRAM_SP7021_ACHIP=y
> +# CONFIG_MACH_PENTAGRAM_SP7021_BCHIP is not set
> +CONFIG_THUMB2_KERNEL=y
> +CONFIG_VFP=y
> +CONFIG_VFPv3=y
> +CONFIG_NEON=y
> +
> +CONFIG_IRQ_DOMAIN_HIERARCHY=y
> +CONFIG_ARCH_HAS_TICK_BROADCAST=y
> +CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
> +CONFIG_NO_HZ_COMMON=y
> +CONFIG_NO_HZ_IDLE=y
> +CONFIG_HIGH_RES_TIMERS=y
> +CONFIG_HAVE_ARM_ARCH_TIMER=y
> +
> +CONFIG_SYSCTL_SYSCALL=y
> +CONFIG_SYSVIPC=y
> +CONFIG_PERF_EVENTS=y
> +CONFIG_SLAB=y
> +
> +CONFIG_EMBEDDED=y
> +CONFIG_CC_OPTIMIZE_FOR_SIZE=y
> +CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
> +CONFIG_STRICT_MODULE_RWX=y
> +CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT=y
> +CONFIG_STRICT_KERNEL_RWX=y
> +CONFIG_BLK_DEV_INITRD=y
> +CONFIG_FRAME_VECTOR=y
> +
> +CONFIG_DEBUG_SP_UART=y
> +CONFIG_DEBUG_LL=y
> +CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S"
> +
> +CONFIG_ZBOOT_ROM_TEXT=0x98307000
> +CONFIG_ZBOOT_ROM_BSS=0x03400000
> +CONFIG_AUTO_ZRELADDR=y
> +
> +CONFIG_PREEMPT_RCU=y
> +
> +CONFIG_SMP=y
> +CONFIG_PREEMPT=y
> +# CONFIG_DEBUG_PREEMPT is not set
> +CONFIG_HOTPLUG_CPU=y
> +CONFIG_DMA_SHARED_BUFFER=y
> +# CONFIG_SUNPLUS_QTEST_CBDMA is not set
> +CONFIG_MAGIC_SYSRQ=y
> +CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
> +CONFIG_MAGIC_SYSRQ_SERIAL=y
> +CONFIG_SCHED_INFO=y
> +CONFIG_SCHEDSTATS=y
> +
> +# CONFIG_MEMCG_SWAP_ENABLED is not set
> +CONFIG_HIGHMEM=y
> +CONFIG_SECCOMP=y
> +
> +# move to debug?
> +CONFIG_HAVE_HW_BREAKPOINT=y
> +CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
> +
> +CONFIG_CHECKPOINT_RESTORE=y
> +
> +CONFIG_IKCONFIG=y
> +CONFIG_IKCONFIG_PROC=y
> +CONFIG_CRYPTO_USER_API_HASH=y
> +CONFIG_CRYPTO_CTS=m
> +CONFIG_CRYPTO_XTS=m
> +
> +CONFIG_MODULES=y
> +CONFIG_MODULE_UNLOAD=y
> +CONFIG_MODVERSIONS=y
> +
> +CONFIG_DEVTMPFS=y
> +CONFIG_DEVTMPFS_MOUNT=y
> +
> +CONFIG_CEPH_LIB=y
> +CONFIG_CEPH_LIB_USE_DNS_RESOLVER=y
> +
> +CONFIG_SCSI=y
> +CONFIG_BLK_DEV_SD=y
> +CONFIG_CHR_DEV_SG=y
> +CONFIG_BLK_DEV_LOOP=m
> +
> +CONFIG_INPUT_POLLDEV=y
> +CONFIG_INPUT_SPARSEKMAP=y
> +CONFIG_INPUT_EVDEV=y
> +
> +# for PINCTRL_SPPCTL
> +CONFIG_PINMUX=y
> +CONFIG_PINCTRL=y
> +# for pinconf_generic_dt_node_to_map_pin
> +CONFIG_GENERIC_PINCONF=y
> +
> +# CONFIG_IOMMU_SUPPORT is not set
> +
> +CONFIG_INPUT_KEYBOARD=y
> +# CONFIG_INPUT_MOUSE is not set
> +CONFIG_INPUT_MISC=y
> +# CONFIG_LEGACY_PTYS is not set
> +# CONFIG_HW_RANDOM is not set
> +
> +CONFIG_HIDRAW=y
> +
> +# CONFIG_XZ_DEC_X86 is not set
> +# CONFIG_XZ_DEC_POWERPC is not set
> +# CONFIG_XZ_DEC_IA64 is not set
> +# CONFIG_XZ_DEC_SPARC is not set
> +# CONFIG_XZ_DEC_BCJ is not set
> +
> +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
> new file mode 100644
> index 00000000..cbcfc304
> --- /dev/null
> +++ b/bsp/pentagram/pentagram.scc
> @@ -0,0 +1,14 @@
> +kconf hardware pentagram.cfg
> +kconf non-hardware pentagram-non_hardware.cfg
> +
> +#include features/usb-net/usb-net.scc
> +#include features/input/input.scc
> +#include cfg/usb-mass-storage.scc
> +
> +include testing.scc
> +
> +include hw_emmc.scc
> +
> +include cmdline/def.scc
> +
> +kconf non-hardware swap_y.cfg
> diff --git a/bsp/pentagram/pm.cfg b/bsp/pentagram/pm.cfg
> new file mode 100644
> index 00000000..7c17b463
> --- /dev/null
> +++ b/bsp/pentagram/pm.cfg
> @@ -0,0 +1,10 @@
> +# arch/arm/mach-pentagram/ {Kconfig,sc7021.c}
> +CONFIG_SP_PARTIAL_CLKEN=y
> +# in sc7021 defconfig
> +CONFIG_SUSPEND=y
> +CONFIG_SUSPEND_FREEZER=y
> +CONFIG_PM=y
> +CONFIG_PM_SLEEP=y
> +CONFIG_PM_SLEEP_SMP=y
> +CONFIG_PM_CLK=y
> +CONFIG_ARM_CPU_SUSPEND=y
> diff --git a/bsp/pentagram/pm.scc b/bsp/pentagram/pm.scc
> new file mode 100644
> index 00000000..f27eb3a3
> --- /dev/null
> +++ b/bsp/pentagram/pm.scc
> @@ -0,0 +1,4 @@
> +define KFEATURE_DESCRIPTION "Enable SunPlus PowerManagement"
> +define KFEATURE_COMPATIBILITY board
> +
> +kconf hardware pm.cfg
> diff --git a/bsp/pentagram/sdio/sdio.cfg b/bsp/pentagram/sdio/sdio.cfg
> new file mode 100644
> index 00000000..c33096aa
> --- /dev/null
> +++ b/bsp/pentagram/sdio/sdio.cfg
> @@ -0,0 +1 @@
> +CONFIG_SP_SDV2=y
> 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
> new file mode 100644
> index 00000000..f922ce4d
> --- /dev/null
> +++ b/bsp/pentagram/sensors/hw_thermal.cfg
> @@ -0,0 +1,10 @@
> +CONFIG_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
> +# DEVFREQ_THERMAL
> diff --git a/bsp/pentagram/sensors/hw_thermal.scc 
> b/bsp/pentagram/sensors/hw_thermal.scc
> new file mode 100644
> index 00000000..81b82e9d
> --- /dev/null
> +++ b/bsp/pentagram/sensors/hw_thermal.scc
> @@ -0,0 +1,4 @@
> +define KFEATURE_DESCRIPTION "Enable SunPlus thermal functions"
> +define KFEATURE_COMPATIBILITY board
> +
> +kconf hardware hw_thermal.cfg
> diff --git a/bsp/pentagram/sensors/hwmon.cfg b/bsp/pentagram/sensors/hwmon.cfg
> new file mode 100644
> index 00000000..ff2b3294
> --- /dev/null
> +++ b/bsp/pentagram/sensors/hwmon.cfg
> @@ -0,0 +1 @@
> +CONFIG_HWMON=y
> diff --git a/bsp/pentagram/sensors/hwmon.scc b/bsp/pentagram/sensors/hwmon.scc
> new file mode 100644
> index 00000000..403fcdad
> --- /dev/null
> +++ b/bsp/pentagram/sensors/hwmon.scc
> @@ -0,0 +1,2 @@
> +include hw_thermal.scc
> +kconf non-hardware hwmon.cfg
> 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
> new file mode 100644
> index 00000000..54e672b8
> --- /dev/null
> +++ b/bsp/pentagram/spi/sp_nand.cfg
> @@ -0,0 +1,5 @@
> +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_nand.scc b/bsp/pentagram/spi/sp_nand.scc
> new file mode 100644
> index 00000000..715d8fe7
> --- /dev/null
> +++ b/bsp/pentagram/spi/sp_nand.scc
> @@ -0,0 +1,4 @@
> +define KFEATURE_DESCRIPTION "Enable SunPlus SPI NAND"
> +define KFEATURE_COMPATIBILITY board
> +
> +kconf hardware sp_nand.cfg
> diff --git a/bsp/pentagram/spi/sp_nor.cfg b/bsp/pentagram/spi/sp_nor.cfg
> new file mode 100644
> index 00000000..c2cfe801
> --- /dev/null
> +++ b/bsp/pentagram/spi/sp_nor.cfg
> @@ -0,0 +1,3 @@
> +CONFIG_MTD_SPI_NOR=y
> +CONFIG_SPI_SUNPLUS_SPI=y
> +# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
> diff --git a/bsp/pentagram/spi/sp_nor.scc b/bsp/pentagram/spi/sp_nor.scc
> new file mode 100644
> index 00000000..cf27ec64
> --- /dev/null
> +++ b/bsp/pentagram/spi/sp_nor.scc
> @@ -0,0 +1,4 @@
> +define KFEATURE_DESCRIPTION "Enable SunPlus SPI NOR"
> +define KFEATURE_COMPATIBILITY board
> +
> +kconf hardware sp_nor.cfg
> diff --git a/bsp/pentagram/spi/sp_nornand.scc 
> b/bsp/pentagram/spi/sp_nornand.scc
> new file mode 100644
> index 00000000..8dc7d666
> --- /dev/null
> +++ b/bsp/pentagram/spi/sp_nornand.scc
> @@ -0,0 +1,6 @@
> +define KFEATURE_DESCRIPTION "Enable SunPlus SPI NOR and NAND flash"
> +define KFEATURE_COMPATIBILITY board
> +
> +kconf hardware spi.cfg
> +kconf hardware sp_nor.cfg
> +kconf hardware sp_nand.cfg
> diff --git a/bsp/pentagram/spi/sp_spi.cfg b/bsp/pentagram/spi/sp_spi.cfg
> new file mode 100644
> index 00000000..9a770f72
> --- /dev/null
> +++ b/bsp/pentagram/spi/sp_spi.cfg
> @@ -0,0 +1,10 @@
> +CONFIG_SPI_MASTER=y
> +# <= 4.19
> +#CONFIG_SPI_SUNPLUS_SPI_CONTROLLER=y
> +# >= 5.4
> +CONFIG_SPI_SUNPLUS_SP7021=y
> +CONFIG_SPI_SPIDEV=y
> +CONFIG_SPI_BITBANG=y
> +CONFIG_SPI_GPIO=y
> +# temporary there
> +# _SPI_DEBUG=y
> diff --git a/bsp/pentagram/spi/sp_spi.scc b/bsp/pentagram/spi/sp_spi.scc
> new file mode 100644
> index 00000000..17d35ead
> --- /dev/null
> +++ b/bsp/pentagram/spi/sp_spi.scc
> @@ -0,0 +1,2 @@
> +kconf hardware spi.cfg
> +kconf hardware sp_spi.cfg
> diff --git a/bsp/pentagram/spi/spi-slave.cfg b/bsp/pentagram/spi/spi-slave.cfg
> new file mode 100644
> index 00000000..0138cc3d
> --- /dev/null
> +++ b/bsp/pentagram/spi/spi-slave.cfg
> @@ -0,0 +1,3 @@
> +CONFIG_SPI=y
> +# CONFIG_SPI_DEBUG is not set
> +CONFIG_SPI_SLAVE=y
> diff --git a/bsp/pentagram/spi/spi-slave.scc b/bsp/pentagram/spi/spi-slave.scc
> new file mode 100644
> index 00000000..d7105fbc
> --- /dev/null
> +++ b/bsp/pentagram/spi/spi-slave.scc
> @@ -0,0 +1 @@
> +kconf hardware spi-slave.cfg
> diff --git a/bsp/pentagram/spi/spi.cfg b/bsp/pentagram/spi/spi.cfg
> new file mode 100644
> index 00000000..9599e51a
> --- /dev/null
> +++ b/bsp/pentagram/spi/spi.cfg
> @@ -0,0 +1,3 @@
> +CONFIG_SPI=y
> +# enable for rtc, iio, serial, pinctrl, codecs...
> +CONFIG_REGMAP_SPI=y
> diff --git a/bsp/pentagram/spi/spi.scc b/bsp/pentagram/spi/spi.scc
> new file mode 100644
> index 00000000..493aae40
> --- /dev/null
> +++ b/bsp/pentagram/spi/spi.scc
> @@ -0,0 +1 @@
> +kconf hardware spi.cfg
> diff --git a/bsp/pentagram/sw_nls.cfg b/bsp/pentagram/sw_nls.cfg
> new file mode 100644
> index 00000000..1d43572b
> --- /dev/null
> +++ b/bsp/pentagram/sw_nls.cfg
> @@ -0,0 +1,5 @@
> +CONFIG_NLS_CODEPAGE_437=y
> +CONFIG_NLS_ASCII=y
> +CONFIG_NLS_DEFAULT="iso8859-1"
> +CONFIG_NLS_ISO8859_1=y
> +CONFIG_NLS_UTF8=y
> diff --git a/bsp/pentagram/sw_nls.scc b/bsp/pentagram/sw_nls.scc
> new file mode 100644
> index 00000000..d06f7438
> --- /dev/null
> +++ b/bsp/pentagram/sw_nls.scc
> @@ -0,0 +1 @@
> +kconf non-hardware sw_nls.cfg
> diff --git a/bsp/pentagram/swap_n.cfg b/bsp/pentagram/swap_n.cfg
> new file mode 100644
> index 00000000..63b48154
> --- /dev/null
> +++ b/bsp/pentagram/swap_n.cfg
> @@ -0,0 +1 @@
> +# CONFIG_SWAP is not set
> 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/testing.cfg b/bsp/pentagram/testing.cfg
> new file mode 100644
> index 00000000..1132ddd9
> --- /dev/null
> +++ b/bsp/pentagram/testing.cfg
> @@ -0,0 +1,19 @@
> +# CONFIG_RD_GZIP is not set
> +# CONFIG_RD_BZIP2 is not set
> +# CONFIG_RD_LZMA is not set
> +# CONFIG_RD_XZ is not set
> +# CONFIG_RD_LZO is not set
> +# CONFIG_RD_LZ4 is not set
> +CONFIG_FORCE_MAX_ZONEORDER=12
> +# CONFIG_HWMON is not set
> +# CONFIG_SCHED_DEBUG is not set
> +# separate into other config
> +CONFIG_OVERLAY_FS=y
> +CONFIG_OVERLAY_FS_REDIRECT_DIR=y
> +
> +# CONFIG_KERNEL_BZIP2 is not set
> +# CONFIG_KERNEL_LZMA is not set
> +# CONFIG_KERNEL_XZ is not set
> +# CONFIG_KERNEL_LZO is not set
> +# CONFIG_KERNEL_LZ4 is not set
> +
> diff --git a/bsp/pentagram/testing.scc b/bsp/pentagram/testing.scc
> new file mode 100644
> index 00000000..09a10693
> --- /dev/null
> +++ b/bsp/pentagram/testing.scc
> @@ -0,0 +1 @@
> +kconf non-hardware testing.cfg
> diff --git a/bsp/pentagram/ui/gconsole.cfg b/bsp/pentagram/ui/gconsole.cfg
> new file mode 100644
> index 00000000..a56504fa
> --- /dev/null
> +++ b/bsp/pentagram/ui/gconsole.cfg
> @@ -0,0 +1,7 @@
> +CONFIG_VT_HW_CONSOLE_BINDING=y
> +CONFIG_FRAMEBUFFER_CONSOLE=y
> +CONFIG_FONT_SUPPORT=y
> +CONFIG_FONT_8x8=y
> +CONFIG_FONT_8x16=y
> +#CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
> +CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y
> diff --git a/bsp/pentagram/ui/gconsole.scc b/bsp/pentagram/ui/gconsole.scc
> new file mode 100644
> index 00000000..5e99d1ac
> --- /dev/null
> +++ b/bsp/pentagram/ui/gconsole.scc
> @@ -0,0 +1 @@
> +kconf non-hardware gconsole.cfg
> diff --git a/bsp/pentagram/ui/qt.cfg b/bsp/pentagram/ui/qt.cfg
> new file mode 100644
> index 00000000..f0ae2f40
> --- /dev/null
> +++ b/bsp/pentagram/ui/qt.cfg
> @@ -0,0 +1,3 @@
> +CONFIG_INPUT_MOUSEDEV=y
> +CONFIG_FILE_LOCKING=y
> +CONFIG_FANOTIFY=y
> diff --git a/bsp/pentagram/ui/qt.scc b/bsp/pentagram/ui/qt.scc
> new file mode 100644
> index 00000000..1cdc626c
> --- /dev/null
> +++ b/bsp/pentagram/ui/qt.scc
> @@ -0,0 +1 @@
> +kconf non-hardware qt.cfg
> diff --git a/bsp/pentagram/ui/vt.cfg b/bsp/pentagram/ui/vt.cfg
> new file mode 100644
> index 00000000..765539c0
> --- /dev/null
> +++ b/bsp/pentagram/ui/vt.cfg
> @@ -0,0 +1,3 @@
> +CONFIG_VT=y
> +CONFIG_CONSOLE_TRANSLATIONS=y
> +CONFIG_VT_CONSOLE=y
> diff --git a/bsp/pentagram/ui/vt.scc b/bsp/pentagram/ui/vt.scc
> new file mode 100644
> index 00000000..d643d4ac
> --- /dev/null
> +++ b/bsp/pentagram/ui/vt.scc
> @@ -0,0 +1 @@
> +kconf non-hardware vt.cfg
> diff --git a/bsp/pentagram/usb/customers.cfg b/bsp/pentagram/usb/customers.cfg
> new file mode 100644
> index 00000000..26e0d11a
> --- /dev/null
> +++ b/bsp/pentagram/usb/customers.cfg
> @@ -0,0 +1 @@
> +CONFIG_USB_HUB_USB251XB=m
> diff --git a/bsp/pentagram/usb/customers.scc b/bsp/pentagram/usb/customers.scc
> new file mode 100644
> index 00000000..5b135978
> --- /dev/null
> +++ b/bsp/pentagram/usb/customers.scc
> @@ -0,0 +1,5 @@
> +define KFEATURE_DESCRIPTION "Enable customers-requested USB drivers"
> +define KFEATURE_COMPATIBILITY board
> +
> +include features/usb/usb-base.scc
> +kconf hardware customers.cfg
> diff --git a/bsp/pentagram/usb/nousb.cfg b/bsp/pentagram/usb/nousb.cfg
> new file mode 100644
> index 00000000..00a1306d
> --- /dev/null
> +++ b/bsp/pentagram/usb/nousb.cfg
> @@ -0,0 +1,8 @@
> +# CONFIG_USB is not set
> +# CONFIG_USB_NET_DRIVERS is not set
> +# CONFIG_USB_HID is not set
> +# CONFIG_GEMINI_USB is not set
> +# CONFIG_USB_SUPPORT is not set
> +# CONFIG_USB_OTG is not set
> +# CONFIG_USB_STORAGE is not set
> +# CONFIG_USB_OHCI_LITTLE_ENDIAN is not set
> diff --git a/bsp/pentagram/usb/nousb.scc b/bsp/pentagram/usb/nousb.scc
> new file mode 100644
> index 00000000..22be16da
> --- /dev/null
> +++ b/bsp/pentagram/usb/nousb.scc
> @@ -0,0 +1 @@
> +kconf hardware nousb.cfg
> diff --git a/bsp/pentagram/usb/usb.cfg b/bsp/pentagram/usb/usb.cfg
> new file mode 100644
> index 00000000..e1cecda8
> --- /dev/null
> +++ b/bsp/pentagram/usb/usb.cfg
> @@ -0,0 +1,18 @@
> +CONFIG_SUNPLUS_USB_PHY=y
> +CONFIG_GEMINI_USB=y
> +CONFIG_USB_STORAGE=y
> +
> +CONFIG_USB_GADGET=y
> +CONFIG_GADGET_USB0=y
> +CONFIG_USB_GADGET_PORT0_ENABLED=y
> +CONFIG_USB_USE_PLATFORM_RESOURCE=y
> +
> +CONFIG_USB_EHCI_HCD=y
> +CONFIG_USB_EHCI_TT_NEWSCHED=y
> +CONFIG_USB_EHCI_HCD_PLATFORM=y
> +CONFIG_USB_OHCI_HCD=y
> +CONFIG_USB_OHCI_HCD_PLATFORM=y
> +CONFIG_USB_DEVICE_LOSE_PACKET_AFTER_SET_INTERFACE_WORKAROUND=y
> +CONFIG_USB_DEVICE_EP11_NOT_AUTO_SWITCH_WORKAROUND=y
> +
> +CONFIG_USB_ACM=y
> diff --git a/bsp/pentagram/usb/usb.scc b/bsp/pentagram/usb/usb.scc
> new file mode 100644
> index 00000000..5177f1f0
> --- /dev/null
> +++ b/bsp/pentagram/usb/usb.scc
> @@ -0,0 +1,6 @@
> +define KFEATURE_DESCRIPTION "Enable SunPlus USB"
> +define KFEATURE_COMPATIBILITY board
> +
> +include features/usb/usb-base.scc
> +include features/usb/serial-all.scc
> +kconf hardware usb.cfg
> diff --git a/bsp/pentagram/usb/usb_otg.cfg b/bsp/pentagram/usb/usb_otg.cfg
> new file mode 100644
> index 00000000..eae7fc57
> --- /dev/null
> +++ b/bsp/pentagram/usb/usb_otg.cfg
> @@ -0,0 +1,5 @@
> +CONFIG_USB_OTG=y
> +CONFIG_USB_SUNPLUS_OTG=y
> +CONFIG_USB_LIBCOMPOSITE=y
> +CONFIG_USB_F_SS_LB=y
> +CONFIG_USB_ZERO=y
> diff --git a/bsp/pentagram/watchdog/sp.cfg b/bsp/pentagram/watchdog/sp.cfg
> new file mode 100644
> index 00000000..0b7a3741
> --- /dev/null
> +++ b/bsp/pentagram/watchdog/sp.cfg
> @@ -0,0 +1 @@
> +CONFIG_SUNPLUS_WATCHDOG=y
> diff --git a/bsp/pentagram/watchdog/sp.scc b/bsp/pentagram/watchdog/sp.scc
> new file mode 100644
> index 00000000..dd41263a
> --- /dev/null
> +++ b/bsp/pentagram/watchdog/sp.scc
> @@ -0,0 +1,2 @@
> +kconf non-hardware watchdog.cfg
> +kconf hardware sp.cfg
> diff --git a/bsp/pentagram/watchdog/watchdog.cfg 
> b/bsp/pentagram/watchdog/watchdog.cfg
> new file mode 100644
> index 00000000..2c18544e
> --- /dev/null
> +++ b/bsp/pentagram/watchdog/watchdog.cfg
> @@ -0,0 +1,2 @@
> +CONFIG_WATCHDOG=y
> +CONFIG_WATCHDOG_SYSFS=y
> diff --git a/bsp/pentagram/wifi/pentagram-sc7021-achip.dtsi.liber.patch 
> b/bsp/pentagram/wifi/pentagram-sc7021-achip.dtsi.liber.patch
> new file mode 100644
> index 00000000..4589b7b2
> --- /dev/null
> +++ b/bsp/pentagram/wifi/pentagram-sc7021-achip.dtsi.liber.patch
> @@ -0,0 +1,17 @@
> +--- a/arch/arm/boot/dts/pentagram-sc7021-achip.dtsi  2019-01-31 
> 12:11:46.233165436 +0300
> ++++ a/arch/arm/boot/dts/pentagram-sc7021-achip.dtsi  2019-01-31 
> 12:12:20.932708291 +0300
> +@@ -668,10 +668,12 @@
> +                     clock-names = "sys_pll";
> +                     resets = <&rstc RST_SPI_COMBO_0>;
> +                     spi-max-frequency = <10000000>;
> +-                    spi0: spi@ {
> +-                            compatible = "rohm,dh2228fv";
> ++                    spi0: spi@0 {
> ++                            compatible = "tpsga1000v0";
> +                             reg = <0x0>;
> +                             spi-max-frequency = <10000000>;
> ++                            gpio-reset = <13>;
> ++                            gpio-strap = <14>;
> +                     };
> +             };
> + 
> diff --git a/bsp/pentagram/wifi/tppg1_libe.cfg 
> b/bsp/pentagram/wifi/tppg1_libe.cfg
> new file mode 100644
> index 00000000..4ed4ae50
> --- /dev/null
> +++ b/bsp/pentagram/wifi/tppg1_libe.cfg
> @@ -0,0 +1,3 @@
> +CONFIG_LIBERTAS=m
> +CONFIG_LIBERTAS_SPI=m
> +CONFIG_LIBERTAS_DEBUG=y
> diff --git a/bsp/pentagram/wifi/tppg1_libe.scc 
> b/bsp/pentagram/wifi/tppg1_libe.scc
> new file mode 100644
> index 00000000..e4063429
> --- /dev/null
> +++ b/bsp/pentagram/wifi/tppg1_libe.scc
> @@ -0,0 +1,7 @@
> +include features/wifi/wifi-common.scc
> +include hw_spi.scc
> +kconf hardware other_modules.cfg
> +kconf hardware tppg1_libe.cfg
> +
> +patch pentagram-sc7021-achip.dtsi.liber.patch
> +
> -- 
> 2.30.9
> 

> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12787): 
https://lists.yoctoproject.org/g/linux-yocto/message/12787
Mute This Topic: https://lists.yoctoproject.org/mt/99627649/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/linux-yocto/leave/6687884/21656/624485779/xyzzy
 [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to