[RFC v4 08/10] RISC-V: add erizo_generic_defconfig
Antony Pavlov
antonynpavlov at gmail.com
Sat Sep 30 05:38:59 PDT 2017
On Fri, 29 Sep 2017 14:29:21 +0200
Oleksij Rempel <linux at rempel-privat.de> wrote:
> Am 29.09.2017 um 01:12 schrieb Antony Pavlov:
> > Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> > ---
> > arch/riscv/configs/erizo_generic_defconfig | 55 ++++++++++++++++++++++++++++++
> > 1 file changed, 55 insertions(+)
> >
> > diff --git a/arch/riscv/configs/erizo_generic_defconfig b/arch/riscv/configs/erizo_generic_defconfig
> > new file mode 100644
> > index 000000000..8ccad8934
> > --- /dev/null
> > +++ b/arch/riscv/configs/erizo_generic_defconfig
> > @@ -0,0 +1,55 @@
> > +CONFIG_32BIT=y
> > +CONFIG_BUILTIN_DTB=y
> > +CONFIG_BUILTIN_DTB_NAME="erizo_generic"
> > +# CONFIG_GLOBALVAR is not set
> > +CONFIG_TEXT_BASE=0x80000000
> > +CONFIG_MEMORY_LAYOUT_FIXED=y
> > +CONFIG_STACK_BASE=0x800e0000
> > +CONFIG_STACK_SIZE=0x20000
> > +CONFIG_MALLOC_BASE=0x80100000
> > +CONFIG_MALLOC_SIZE=0x100000
> > +CONFIG_MALLOC_TLSF=y
> > +CONFIG_PANIC_HANG=y
> > +CONFIG_HUSH_FANCY_PROMPT=y
> > +CONFIG_CMDLINE_EDITING=y
> > +CONFIG_AUTO_COMPLETE=y
> > +# CONFIG_ERRNO_MESSAGES is not set
> > +# CONFIG_TIMESTAMP is not set
> > +# CONFIG_BOOTM is not set
> > +# CONFIG_ENV_HANDLING is not set
> > +CONFIG_POLLER=y
> > +CONFIG_DEBUG_LL=y
> > +CONFIG_LONGHELP=y
> > +CONFIG_CMD_IOMEM=y
> > +CONFIG_CMD_IMD=y
> > +CONFIG_CMD_MEMINFO=y
> > +CONFIG_CMD_GO=y
> > +CONFIG_CMD_LOADY=y
> > +CONFIG_CMD_CMP=y
> > +CONFIG_CMD_MD5SUM=y
> > +CONFIG_CMD_SHA1SUM=y
> > +CONFIG_CMD_MSLEEP=y
> > +CONFIG_CMD_SLEEP=y
> > +CONFIG_CMD_MEMTEST=y
> > +CONFIG_CMD_MM=y
> > +CONFIG_CMD_FLASH=y
> > +CONFIG_CMD_GPIO=y
> > +CONFIG_CMD_I2C=y
> > +CONFIG_CMD_SPI=y
> > +CONFIG_CMD_OF_DUMP=y
> > +CONFIG_CMD_TIME=y
> > +CONFIG_CMD_DHRYSTONE=y
> > +CONFIG_OFDEVICE=y
> > +CONFIG_DRIVER_SERIAL_NS16550=y
> > +CONFIG_DRIVER_SPI_GPIO=y
> > +CONFIG_I2C=y
> > +CONFIG_I2C_GPIO=y
> > +CONFIG_MTD=y
> > +# CONFIG_MTD_OOB_DEVICE is not set
> > +CONFIG_MTD_M25P80=y
> > +CONFIG_CLOCKSOURCE_DUMMY_RATE=60000
> > +CONFIG_EEPROM_AT25=y
> > +CONFIG_EEPROM_AT24=y
>
> hm... none of it seems to be in devicetree. Do you need this eeproms?
My bad! These options used in development branch.
In my RICS-V TODO list I have the 'add support for Opencores I2C and SPI IP-blocks' record.
At the moment I work on testing bitbanged SPI and I2C on real FPGA boards.
Next I will try to use Opencores I2C and SPI IP-blocks instead of GPIO bitbang.
>
> > +CONFIG_GPIO_GENERIC_PLATFORM=y
> > +# CONFIG_PINCTRL is not set
> > +CONFIG_DIGEST_CRC32_GENERIC=y
> >
--
Best regards,
Antony Pavlov
More information about the barebox
mailing list