[PATCH LOCAL/RFC] riscv: defconfig: Add rzfive_defconfig
Lad, Prabhakar
prabhakar.csengg at gmail.com
Fri Oct 11 02:01:08 PDT 2024
Hi Geert,
On Fri, Oct 11, 2024 at 8:26 AM Geert Uytterhoeven <geert at linux-m68k.org> wrote:
>
> Hi Prabhakar,
>
> On Fri, Oct 11, 2024 at 12:19 AM Lad, Prabhakar
> <prabhakar.csengg at gmail.com> wrote:
> > On Thu, Oct 3, 2024 at 1:36 PM Geert Uytterhoeven
> > <geert+renesas at glider.be> wrote:
> > > RZ/Five cannot be supported by the standard RISC-V defconfig due to its
> > > dependency on NONPORTABLE. Hence add a separate defconfig for Renesas
> > > RZ/Five boards.
> > >
> > > Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
> > > ---
> > > Not intended for upstream integration.
> > > To be applied to my topic/renesas-defconfig branch, which already has
> > > arch/arm64/configs/renesas_defconfig.
> > >
> > > Tested with OpenEmbedded nodistro.0 smarc-rzfive (eMMC and nfsroot).
> > >
> > > Any other options that should be enabled/disabled?
> >
> > diff --git a/arch/riscv/configs/rzfive_defconfig
> > b/arch/riscv/configs/rzfive_defconfig
> > index 31483a1d520c..82709dd712e5 100644
> > --- a/arch/riscv/configs/rzfive_defconfig
> > +++ b/arch/riscv/configs/rzfive_defconfig
> > @@ -3,6 +3,7 @@ CONFIG_POSIX_MQUEUE=y
> > CONFIG_NO_HZ_IDLE=y
> > CONFIG_HIGH_RES_TIMERS=y
> > CONFIG_BPF_SYSCALL=y
> > +CONFIG_PREEMPT=y
> > CONFIG_IKCONFIG=y
> > CONFIG_IKCONFIG_PROC=y
> > CONFIG_CGROUPS=y
> > @@ -57,11 +58,7 @@ CONFIG_CAN=y
> > CONFIG_NET_9P=y
> > CONFIG_NET_9P_VIRTIO=y
> > CONFIG_PAGE_POOL_STATS=y
> > -CONFIG_PCI=y
> > -CONFIG_PCIEPORTBUS=y
> > -CONFIG_PCI_HOST_GENERIC=y
> > -CONFIG_PCIE_XILINX=y
> > -CONFIG_PCIE_MICROCHIP_HOST=y
> > +# CONFIG_PCI is not set
>
> Disabling CONFIG_PCI explicitly is not needed.
>
Oh I missed it.
> > CONFIG_DEVTMPFS=y
> > CONFIG_DEVTMPFS_MOUNT=y
> > CONFIG_MTD=y
> > @@ -124,6 +121,7 @@ CONFIG_MFD_DA9062=y
> > CONFIG_RZ_MTU3=y
> > CONFIG_REGULATOR=y
> > CONFIG_REGULATOR_FIXED_VOLTAGE=y
> > +CONFIG_REGULATOR_GPIO=y
> > CONFIG_BACKLIGHT_CLASS_DEVICE=y
> > CONFIG_SOUND=y
> > CONFIG_SND=y
> > @@ -141,8 +139,7 @@ CONFIG_SND_SOC_WM8978=y
> > CONFIG_SND_SIMPLE_CARD=y
> > CONFIG_USB=y
> > CONFIG_USB_OTG=y
> > -CONFIG_USB_XHCI_HCD=y
> > -CONFIG_USB_XHCI_PLATFORM=y
> > +# CONFIG_USB_XHCI_HCD is not set
>
> Disabling CONFIG_USB_XHCI_HCD explicitly is not needed.
>
ahh I missed it.
> Did you run "make savedefconfig"?
> Some more options disappeared after disabling PCI.
>
I didn't savedefconfig, thanks for fixing.
> > CONFIG_USB_EHCI_HCD=y
> > CONFIG_USB_EHCI_HCD_PLATFORM=y
> > CONFIG_USB_OHCI_HCD=y
> > @@ -210,6 +207,7 @@ CONFIG_DEBUG_MEMORY_INIT=y
> > CONFIG_SOFTLOCKUP_DETECTOR=y
> > CONFIG_WQ_WATCHDOG=y
> > CONFIG_WQ_CPU_INTENSIVE_REPORT=y
> > +# CONFIG_SCHED_DEBUG is not set
> > CONFIG_DEBUG_TIMEKEEPING=y
> > CONFIG_DEBUG_RT_MUTEXES=y
> > CONFIG_DEBUG_SPINLOCK=y
> >
> > For some reason when CONFIG_SCHED_DEBUG is enabled, the USB host on
> > CN1 isn't working!
>
> Strange...
>
Indeed.
Cheers,
Prabhakar
More information about the linux-riscv
mailing list