Re: [linux-yocto] [kernel-cache][sp7021] sp7021 SoC flags update

2022-09-13 Thread Bruce Ashfield
On Fri, Sep 9, 2022 at 5:16 PM Dvorkin Dmitry  wrote:
>
> thank you!
>
> I wanted to comment this parameter for future. Is it allowed? How to do
> it better?

It is allowed, I've done similar things in the past.  It is worth
adding an extra comment around the commented option .. to indicate why
it has been done. That way both the commit log and the .cfg have the
context about why it is commented.

But I have a simpler question .. what branch is this for ?

Bruce

>
> On 09.09.2022 19:50, Paul Gortmaker wrote:
> > [[linux-yocto] [kernel-cache][sp7021] sp7021 SoC flags update] On 
> > 09/09/2022 (Fri 18:24) Dvorkin Dmitry wrote:
> >
> >> ---
> >>   bsp/pentagram/hw_i2c.cfg |  4 ++--
> >>   bsp/pentagram/net/sw_net.cfg |  6 -
> >>   bsp/pentagram/pentagram-debug.scc|  8 +--
> >>   bsp/pentagram/pentagram-standard.scc | 13 +--
> >>   bsp/pentagram/pentagram-tiny.scc |  4 
> >>   bsp/pentagram/pentagram.cfg  | 33 ++--
> >>   bsp/pentagram/sensors/hw_thermal.cfg |  6 -
> >>   bsp/pentagram/spi/sp_spi.cfg |  2 +-
> >>   bsp/pentagram/spi/spi.cfg|  2 +-
> >>   bsp/pentagram/tibbits/40_2.cfg   |  1 +
> >>   bsp/pentagram/tibbits/40_2.scc   |  1 +
> >>   bsp/pentagram/tibbits/42.cfg |  2 ++
> >>   bsp/pentagram/tibbits/42.scc |  2 ++
> >>   bsp/pentagram/tibbits/all.scc|  5 +
> >>   bsp/pentagram/usb/usb.cfg|  9 +---
> >>   bsp/pentagram/wifi/tppg2_brcm.cfg|  2 +-
> >>   16 files changed, 69 insertions(+), 31 deletions(-)
> >>   create mode 100644 bsp/pentagram/tibbits/40_2.cfg
> >>   create mode 100644 bsp/pentagram/tibbits/40_2.scc
> >>   create mode 100644 bsp/pentagram/tibbits/42.cfg
> >>   create mode 100644 bsp/pentagram/tibbits/42.scc
> >>   create mode 100644 bsp/pentagram/tibbits/all.scc
> >>
> >> diff --git a/bsp/pentagram/hw_i2c.cfg b/bsp/pentagram/hw_i2c.cfg
> >> index 6b6b61f8..d59aada9 100644
> >> --- a/bsp/pentagram/hw_i2c.cfg
> >> +++ b/bsp/pentagram/hw_i2c.cfg
> >> @@ -1,8 +1,8 @@
> >>   CONFIG_I2C_SUNPLUS=y
> >>   CONFIG_I2C_CHARDEV=y
> >> -CONFIG_I2C_SMBUS=y
> >> +## CONFIG_I2C_SMBUS=y
> >>   CONFIG_I2C_ALGOBIT=y
> >>   CONFIG_I2C_GPIO=y
> >>   CONFIG_I2C_BOARDINFO=y
> >> -CONFIG_REGMAP_I2C=y
> >> +## CONFIG_REGMAP_I2C=y
> > These double-hash lines aren't one of the accepted formats for a
> > disabled option (assuming that was your goal).
> >
> > If you are working with old and new kernels, the:
> >
> > # CONFIG_FOO is not set
> >
> > is the format in use for decades.  If you are working exclusively with
> > newer kernels, you can also use:
> >
> > CONFIG_FOO=n
> >
> > https://lore.kernel.org/all/20220226123755.85213-1-masahi...@kernel.org/
> >
> > Paul.
> > --
> >
> >>   # CONFIG_I2C_COMPAT is not set
> >> diff --git a/bsp/pentagram/net/sw_net.cfg b/bsp/pentagram/net/sw_net.cfg
> >> index 16788a70..39d03362 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,7 @@ CONFIG_NETLINK_DIAG=y
> >>   CONFIG_CAN=m
> >>   CONFIG_CAIF=y
> >>
> >> -CONFIG_CAN_MCP25XXFD=y
> >> +CONFIG_CAN_MCP251XFD=y
> >>   # CONFIG_NETFILTER is not set
> >> +# debug
> >> +## CONFIG_CAN_MCP251XFD_SANITY=y
> >> 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-standard.scc 
> >> b/bsp/pentagram/pentagram-standard.scc
> >> 

Re: [linux-yocto] [kernel-cache][sp7021] sp7021 SoC flags update

2022-09-09 Thread Dvorkin Dmitry

thank you!

I wanted to comment this parameter for future. Is it allowed? How to do 
it better?


On 09.09.2022 19:50, Paul Gortmaker wrote:

[[linux-yocto] [kernel-cache][sp7021] sp7021 SoC flags update] On 09/09/2022 
(Fri 18:24) Dvorkin Dmitry wrote:


---
  bsp/pentagram/hw_i2c.cfg |  4 ++--
  bsp/pentagram/net/sw_net.cfg |  6 -
  bsp/pentagram/pentagram-debug.scc|  8 +--
  bsp/pentagram/pentagram-standard.scc | 13 +--
  bsp/pentagram/pentagram-tiny.scc |  4 
  bsp/pentagram/pentagram.cfg  | 33 ++--
  bsp/pentagram/sensors/hw_thermal.cfg |  6 -
  bsp/pentagram/spi/sp_spi.cfg |  2 +-
  bsp/pentagram/spi/spi.cfg|  2 +-
  bsp/pentagram/tibbits/40_2.cfg   |  1 +
  bsp/pentagram/tibbits/40_2.scc   |  1 +
  bsp/pentagram/tibbits/42.cfg |  2 ++
  bsp/pentagram/tibbits/42.scc |  2 ++
  bsp/pentagram/tibbits/all.scc|  5 +
  bsp/pentagram/usb/usb.cfg|  9 +---
  bsp/pentagram/wifi/tppg2_brcm.cfg|  2 +-
  16 files changed, 69 insertions(+), 31 deletions(-)
  create mode 100644 bsp/pentagram/tibbits/40_2.cfg
  create mode 100644 bsp/pentagram/tibbits/40_2.scc
  create mode 100644 bsp/pentagram/tibbits/42.cfg
  create mode 100644 bsp/pentagram/tibbits/42.scc
  create mode 100644 bsp/pentagram/tibbits/all.scc

diff --git a/bsp/pentagram/hw_i2c.cfg b/bsp/pentagram/hw_i2c.cfg
index 6b6b61f8..d59aada9 100644
--- a/bsp/pentagram/hw_i2c.cfg
+++ b/bsp/pentagram/hw_i2c.cfg
@@ -1,8 +1,8 @@
  CONFIG_I2C_SUNPLUS=y
  CONFIG_I2C_CHARDEV=y
-CONFIG_I2C_SMBUS=y
+## CONFIG_I2C_SMBUS=y
  CONFIG_I2C_ALGOBIT=y
  CONFIG_I2C_GPIO=y
  CONFIG_I2C_BOARDINFO=y
-CONFIG_REGMAP_I2C=y
+## CONFIG_REGMAP_I2C=y

These double-hash lines aren't one of the accepted formats for a
disabled option (assuming that was your goal).

If you are working with old and new kernels, the:

# CONFIG_FOO is not set

is the format in use for decades.  If you are working exclusively with
newer kernels, you can also use:

CONFIG_FOO=n

https://lore.kernel.org/all/20220226123755.85213-1-masahi...@kernel.org/

Paul.
--


  # CONFIG_I2C_COMPAT is not set
diff --git a/bsp/pentagram/net/sw_net.cfg b/bsp/pentagram/net/sw_net.cfg
index 16788a70..39d03362 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,7 @@ CONFIG_NETLINK_DIAG=y
  CONFIG_CAN=m
  CONFIG_CAIF=y
  
-CONFIG_CAN_MCP25XXFD=y

+CONFIG_CAN_MCP251XFD=y
  # CONFIG_NETFILTER is not set
+# debug
+## CONFIG_CAN_MCP251XFD_SANITY=y
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-standard.scc 
b/bsp/pentagram/pentagram-standard.scc
index 8ae7131d..bad4d5ee 100644
--- a/bsp/pentagram/pentagram-standard.scc
+++ b/bsp/pentagram/pentagram-standard.scc
@@ -46,15 +46,14 @@ 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 tibbits/all.scc
diff --git a/bsp/pentagram/pentagram-tiny.scc b/bsp/pentagram/pentagram-tiny.scc
index a9747fb3..af9564dd 100644
--- a/bsp/pentagram/pentagram-tiny.scc
+++ b/bsp/pentagram/pentagram-tiny.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..c5e2eb2d 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

Re: [linux-yocto] [kernel-cache][sp7021] sp7021 SoC flags update

2022-09-09 Thread Paul Gortmaker
[[linux-yocto] [kernel-cache][sp7021] sp7021 SoC flags update] On 09/09/2022 
(Fri 18:24) Dvorkin Dmitry wrote:

> ---
>  bsp/pentagram/hw_i2c.cfg |  4 ++--
>  bsp/pentagram/net/sw_net.cfg |  6 -
>  bsp/pentagram/pentagram-debug.scc|  8 +--
>  bsp/pentagram/pentagram-standard.scc | 13 +--
>  bsp/pentagram/pentagram-tiny.scc |  4 
>  bsp/pentagram/pentagram.cfg  | 33 ++--
>  bsp/pentagram/sensors/hw_thermal.cfg |  6 -
>  bsp/pentagram/spi/sp_spi.cfg |  2 +-
>  bsp/pentagram/spi/spi.cfg|  2 +-
>  bsp/pentagram/tibbits/40_2.cfg   |  1 +
>  bsp/pentagram/tibbits/40_2.scc   |  1 +
>  bsp/pentagram/tibbits/42.cfg |  2 ++
>  bsp/pentagram/tibbits/42.scc |  2 ++
>  bsp/pentagram/tibbits/all.scc|  5 +
>  bsp/pentagram/usb/usb.cfg|  9 +---
>  bsp/pentagram/wifi/tppg2_brcm.cfg|  2 +-
>  16 files changed, 69 insertions(+), 31 deletions(-)
>  create mode 100644 bsp/pentagram/tibbits/40_2.cfg
>  create mode 100644 bsp/pentagram/tibbits/40_2.scc
>  create mode 100644 bsp/pentagram/tibbits/42.cfg
>  create mode 100644 bsp/pentagram/tibbits/42.scc
>  create mode 100644 bsp/pentagram/tibbits/all.scc
> 
> diff --git a/bsp/pentagram/hw_i2c.cfg b/bsp/pentagram/hw_i2c.cfg
> index 6b6b61f8..d59aada9 100644
> --- a/bsp/pentagram/hw_i2c.cfg
> +++ b/bsp/pentagram/hw_i2c.cfg
> @@ -1,8 +1,8 @@
>  CONFIG_I2C_SUNPLUS=y
>  CONFIG_I2C_CHARDEV=y
> -CONFIG_I2C_SMBUS=y
> +## CONFIG_I2C_SMBUS=y
>  CONFIG_I2C_ALGOBIT=y
>  CONFIG_I2C_GPIO=y
>  CONFIG_I2C_BOARDINFO=y
> -CONFIG_REGMAP_I2C=y
> +## CONFIG_REGMAP_I2C=y

These double-hash lines aren't one of the accepted formats for a
disabled option (assuming that was your goal).

If you are working with old and new kernels, the:

# CONFIG_FOO is not set

is the format in use for decades.  If you are working exclusively with
newer kernels, you can also use:

CONFIG_FOO=n

https://lore.kernel.org/all/20220226123755.85213-1-masahi...@kernel.org/

Paul.
--

>  # CONFIG_I2C_COMPAT is not set
> diff --git a/bsp/pentagram/net/sw_net.cfg b/bsp/pentagram/net/sw_net.cfg
> index 16788a70..39d03362 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,7 @@ CONFIG_NETLINK_DIAG=y
>  CONFIG_CAN=m
>  CONFIG_CAIF=y
>  
> -CONFIG_CAN_MCP25XXFD=y
> +CONFIG_CAN_MCP251XFD=y
>  # CONFIG_NETFILTER is not set
> +# debug
> +## CONFIG_CAN_MCP251XFD_SANITY=y
> 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-standard.scc 
> b/bsp/pentagram/pentagram-standard.scc
> index 8ae7131d..bad4d5ee 100644
> --- a/bsp/pentagram/pentagram-standard.scc
> +++ b/bsp/pentagram/pentagram-standard.scc
> @@ -46,15 +46,14 @@ 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 tibbits/all.scc
> diff --git a/bsp/pentagram/pentagram-tiny.scc 
> b/bsp/pentagram/pentagram-tiny.scc
> index a9747fb3..af9564dd 100644
> --- a/bsp/pentagram/pentagram-tiny.scc
> +++ b/bsp/pentagram/pentagram-tiny.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..c5e2eb2d 100644
> --- a/bsp/pentagram/pentagram.cfg
> +++ b/bsp/pentagram/pentagram.cfg
> @@ -51,8 +51,6 @@ CONFI

[linux-yocto] [kernel-cache][sp7021] sp7021 SoC flags update

2022-09-09 Thread Dvorkin Dmitry
---
 bsp/pentagram/hw_i2c.cfg |  4 ++--
 bsp/pentagram/net/sw_net.cfg |  6 -
 bsp/pentagram/pentagram-debug.scc|  8 +--
 bsp/pentagram/pentagram-standard.scc | 13 +--
 bsp/pentagram/pentagram-tiny.scc |  4 
 bsp/pentagram/pentagram.cfg  | 33 ++--
 bsp/pentagram/sensors/hw_thermal.cfg |  6 -
 bsp/pentagram/spi/sp_spi.cfg |  2 +-
 bsp/pentagram/spi/spi.cfg|  2 +-
 bsp/pentagram/tibbits/40_2.cfg   |  1 +
 bsp/pentagram/tibbits/40_2.scc   |  1 +
 bsp/pentagram/tibbits/42.cfg |  2 ++
 bsp/pentagram/tibbits/42.scc |  2 ++
 bsp/pentagram/tibbits/all.scc|  5 +
 bsp/pentagram/usb/usb.cfg|  9 +---
 bsp/pentagram/wifi/tppg2_brcm.cfg|  2 +-
 16 files changed, 69 insertions(+), 31 deletions(-)
 create mode 100644 bsp/pentagram/tibbits/40_2.cfg
 create mode 100644 bsp/pentagram/tibbits/40_2.scc
 create mode 100644 bsp/pentagram/tibbits/42.cfg
 create mode 100644 bsp/pentagram/tibbits/42.scc
 create mode 100644 bsp/pentagram/tibbits/all.scc

diff --git a/bsp/pentagram/hw_i2c.cfg b/bsp/pentagram/hw_i2c.cfg
index 6b6b61f8..d59aada9 100644
--- a/bsp/pentagram/hw_i2c.cfg
+++ b/bsp/pentagram/hw_i2c.cfg
@@ -1,8 +1,8 @@
 CONFIG_I2C_SUNPLUS=y
 CONFIG_I2C_CHARDEV=y
-CONFIG_I2C_SMBUS=y
+## CONFIG_I2C_SMBUS=y
 CONFIG_I2C_ALGOBIT=y
 CONFIG_I2C_GPIO=y
 CONFIG_I2C_BOARDINFO=y
-CONFIG_REGMAP_I2C=y
+## CONFIG_REGMAP_I2C=y
 # CONFIG_I2C_COMPAT is not set
diff --git a/bsp/pentagram/net/sw_net.cfg b/bsp/pentagram/net/sw_net.cfg
index 16788a70..39d03362 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,7 @@ CONFIG_NETLINK_DIAG=y
 CONFIG_CAN=m
 CONFIG_CAIF=y
 
-CONFIG_CAN_MCP25XXFD=y
+CONFIG_CAN_MCP251XFD=y
 # CONFIG_NETFILTER is not set
+# debug
+## CONFIG_CAN_MCP251XFD_SANITY=y
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-standard.scc 
b/bsp/pentagram/pentagram-standard.scc
index 8ae7131d..bad4d5ee 100644
--- a/bsp/pentagram/pentagram-standard.scc
+++ b/bsp/pentagram/pentagram-standard.scc
@@ -46,15 +46,14 @@ 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 tibbits/all.scc
diff --git a/bsp/pentagram/pentagram-tiny.scc b/bsp/pentagram/pentagram-tiny.scc
index a9747fb3..af9564dd 100644
--- a/bsp/pentagram/pentagram-tiny.scc
+++ b/bsp/pentagram/pentagram-tiny.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..c5e2eb2d 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,30 @@ 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