[meta-arago,dunfell,3/3] busybox: Enable rtcwake

Message ID 20220322193554.24404-4-reatmon@ti.com
State Superseded
Headers show
Series Adding support for am62xx | expand

Commit Message

Ryan Eatmon March 22, 2022, 7:35 p.m. UTC
From: Nishanth Menon <nm@ti.com>

This is esp useful for testing low power states with a minimal system.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 meta-arago-distro/recipes-core/busybox/busybox/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Nishanth Menon March 22, 2022, 8:51 p.m. UTC | #1
On 14:35-20220322, Ryan Eatmon via lists.yoctoproject.org wrote:
> From: Nishanth Menon <nm@ti.com>
> 
> This is esp useful for testing low power states with a minimal system.
> 
> Signed-off-by: Nishanth Menon <nm@ti.com>
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
>  meta-arago-distro/recipes-core/busybox/busybox/defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-arago-distro/recipes-core/busybox/busybox/defconfig b/meta-arago-distro/recipes-core/busybox/busybox/defconfig
> index 65470bc7..351b80d4 100644
> --- a/meta-arago-distro/recipes-core/busybox/busybox/defconfig
> +++ b/meta-arago-distro/recipes-core/busybox/busybox/defconfig
> @@ -583,7 +583,7 @@ CONFIG_PIVOT_ROOT=y
>  CONFIG_RDATE=y
>  # CONFIG_RDEV is not set
>  # CONFIG_READPROFILE is not set
> -# CONFIG_RTCWAKE is not set
> +CONFIG_RTCWAKE=y
>  # CONFIG_SCRIPT is not set
>  # CONFIG_SCRIPTREPLAY is not set
>  # CONFIG_SETARCH is not set

OR we could use base-image cpio
..
Ryan Eatmon March 23, 2022, 7:10 p.m. UTC | #2
On 3/22/2022 15:51, Nishanth Menon wrote:
> On 14:35-20220322, Ryan Eatmon via lists.yoctoproject.org wrote:
>> From: Nishanth Menon <nm@ti.com>
>>
>> This is esp useful for testing low power states with a minimal system.
>>
>> Signed-off-by: Nishanth Menon <nm@ti.com>
>> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>> ---
>>   meta-arago-distro/recipes-core/busybox/busybox/defconfig | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta-arago-distro/recipes-core/busybox/busybox/defconfig b/meta-arago-distro/recipes-core/busybox/busybox/defconfig
>> index 65470bc7..351b80d4 100644
>> --- a/meta-arago-distro/recipes-core/busybox/busybox/defconfig
>> +++ b/meta-arago-distro/recipes-core/busybox/busybox/defconfig
>> @@ -583,7 +583,7 @@ CONFIG_PIVOT_ROOT=y
>>   CONFIG_RDATE=y
>>   # CONFIG_RDEV is not set
>>   # CONFIG_READPROFILE is not set
>> -# CONFIG_RTCWAKE is not set
>> +CONFIG_RTCWAKE=y
>>   # CONFIG_SCRIPT is not set
>>   # CONFIG_SCRIPTREPLAY is not set
>>   # CONFIG_SETARCH is not set
> 
> OR we could use base-image cpio
> ..
> 

Are you saying we don't need this patch and do it it a different way?  I 
can drop this patch for now...
Nishanth Menon March 24, 2022, 1:14 p.m. UTC | #3
On 14:10-20220323, Ryan Eatmon wrote:
> 
> 
> On 3/22/2022 15:51, Nishanth Menon wrote:
> > On 14:35-20220322, Ryan Eatmon via lists.yoctoproject.org wrote:
> > > From: Nishanth Menon <nm@ti.com>
> > > 
> > > This is esp useful for testing low power states with a minimal system.
> > > 
> > > Signed-off-by: Nishanth Menon <nm@ti.com>
> > > Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> > > ---
> > >   meta-arago-distro/recipes-core/busybox/busybox/defconfig | 2 +-
> > >   1 file changed, 1 insertion(+), 1 deletion(-)
> > > 
> > > diff --git a/meta-arago-distro/recipes-core/busybox/busybox/defconfig b/meta-arago-distro/recipes-core/busybox/busybox/defconfig
> > > index 65470bc7..351b80d4 100644
> > > --- a/meta-arago-distro/recipes-core/busybox/busybox/defconfig
> > > +++ b/meta-arago-distro/recipes-core/busybox/busybox/defconfig
> > > @@ -583,7 +583,7 @@ CONFIG_PIVOT_ROOT=y
> > >   CONFIG_RDATE=y
> > >   # CONFIG_RDEV is not set
> > >   # CONFIG_READPROFILE is not set
> > > -# CONFIG_RTCWAKE is not set
> > > +CONFIG_RTCWAKE=y
> > >   # CONFIG_SCRIPT is not set
> > >   # CONFIG_SCRIPTREPLAY is not set
> > >   # CONFIG_SETARCH is not set
> > 
> > OR we could use base-image cpio
> > ..
> > 
> 
> Are you saying we don't need this patch and do it it a different way?  I can
> drop this patch for now...


for lpm, we could use baseimage cpio itself instead of tiny-image.

Patch

diff --git a/meta-arago-distro/recipes-core/busybox/busybox/defconfig b/meta-arago-distro/recipes-core/busybox/busybox/defconfig
index 65470bc7..351b80d4 100644
--- a/meta-arago-distro/recipes-core/busybox/busybox/defconfig
+++ b/meta-arago-distro/recipes-core/busybox/busybox/defconfig
@@ -583,7 +583,7 @@  CONFIG_PIVOT_ROOT=y
 CONFIG_RDATE=y
 # CONFIG_RDEV is not set
 # CONFIG_READPROFILE is not set
-# CONFIG_RTCWAKE is not set
+CONFIG_RTCWAKE=y
 # CONFIG_SCRIPT is not set
 # CONFIG_SCRIPTREPLAY is not set
 # CONFIG_SETARCH is not set