[PATCH v2] ARM: configs: npcm7xx: add full function for nuvoton npcm750

Jim Liu jim.t90615 at gmail.com
Tue Jan 10 04:09:20 CET 2023


Hi Tom

thanks for your reply for v1 patch.
i use the top of master to build and test it.
It can build pass and boot.

the log is as below:
------------------------------------------------------------------------------
U-Boot 2023.01-00441-g7b84c973b9-dirty (Jan 10 2023 - 10:51:50 +0800)

CPU: NPCM750 A1 @ Model: Nuvoton npcm750 Development Board (Device Tree)
DRAM:  464 MiB
RNG: NPCM RNG module bind OK
OTP: NPCM OTP module bind OK
AES: NPCM AES module bind OK
SHA: NPCM SHA module bind OK
Core:  222 devices, 24 uclasses, devicetree: separate
WDT:   Started watchdog at 801C without servicing  (60s timeout)
MMC:   sdhci0 at f0842000: 0
Loading Environment from SPIFlash... SF: Detected mx66l51235l with
page size 256 Bytes, erase size 64 KiB, total 64 MiB
OK
In:    serial at 1000
Out:   serial at 1000
Err:   serial at 1000
Net:   eth0: eth at f0825000
Hit any key to stop autoboot:  0
U-Boot>
----------------------------------------------------------------------------

Best regards,
Jim



On Tue, Jan 10, 2023 at 11:04 AM Jim Liu <jim.t90615 at gmail.com> wrote:
>
> Add add full function config for nuvoton npcm750
>
> Signed-off-by: Jim Liu <JJLIU0 at nuvoton.com>
> ---
> Changes for v2:
>    - use top of the master to re-post the patch
> ---
>  configs/poleg_evb_defconfig | 57 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 57 insertions(+)
>
> diff --git a/configs/poleg_evb_defconfig b/configs/poleg_evb_defconfig
> index b7e39eb31f..2d5bfa5e04 100644
> --- a/configs/poleg_evb_defconfig
> +++ b/configs/poleg_evb_defconfig
> @@ -22,12 +22,26 @@ CONFIG_BOOTCOMMAND="run common_bootargs; run romboot"
>  CONFIG_SYS_MAXARGS=32
>  CONFIG_SYS_CBSIZE=256
>  CONFIG_SYS_PBSIZE=280
> +CONFIG_CMD_FUSE=y
>  CONFIG_CMD_GPIO=y
> +CONFIG_CMD_I2C=y
> +CONFIG_CMD_MMC=y
>  CONFIG_CMD_SPI=y
> +CONFIG_CMD_USB=y
> +CONFIG_CMD_USB_MASS_STORAGE=y
> +CONFIG_CMD_WDT=y
> +CONFIG_CMD_DHCP=y
> +CONFIG_CMD_MII=y
> +CONFIG_CMD_PING=y
>  CONFIG_CMD_CACHE=y
> +CONFIG_CMD_RNG=y
>  CONFIG_CMD_UUID=y
> +CONFIG_CMD_HASH=y
> +CONFIG_CMD_FAT=y
>  CONFIG_ENV_OVERWRITE=y
>  CONFIG_ENV_IS_IN_SPI_FLASH=y
> +CONFIG_REGMAP=y
> +CONFIG_SYSCON=y
>  CONFIG_USE_IPADDR=y
>  CONFIG_IPADDR="192.168.0.2"
>  CONFIG_USE_NETMASK=y
> @@ -35,16 +49,59 @@ CONFIG_NETMASK="255.255.255.0"
>  CONFIG_USE_SERVERIP=y
>  CONFIG_SERVERIP="192.168.0.1"
>  CONFIG_CLK=y
> +CONFIG_NPCM_AES=y
> +CONFIG_NPCM_SHA=y
> +CONFIG_NPCM_GPIO=y
> +CONFIG_DM_I2C=y
> +CONFIG_SYS_I2C_NPCM=y
> +CONFIG_MISC=y
> +CONFIG_NPCM_HOST=y
> +CONFIG_MMC_SDHCI=y
> +CONFIG_MMC_SDHCI_NPCM=y
>  CONFIG_DM_SPI_FLASH=y
>  CONFIG_SPI_FLASH_MACRONIX=y
>  CONFIG_SPI_FLASH_WINBOND=y
> +CONFIG_PHY_BROADCOM=y
> +CONFIG_PHY_FIXED=y
> +CONFIG_DM_ETH=y
> +CONFIG_PHY_GIGE=y
> +CONFIG_ETH_DESIGNWARE=y
> +CONFIG_NET_NPCM750=y
> +CONFIG_RGMII=y
> +CONFIG_MII=y
> +CONFIG_PHY=y
> +CONFIG_PHY_NPCM_USB=y
>  CONFIG_PINCTRL=y
>  CONFIG_PINCONF=y
> +CONFIG_PINCTRL_NPCM7XX=y
> +CONFIG_DM_RESET=y
> +CONFIG_DM_RNG=y
> +CONFIG_RNG_NPCM=y
>  CONFIG_DM_SERIAL=y
>  CONFIG_NPCM_SERIAL=y
>  CONFIG_SPI=y
>  CONFIG_DM_SPI=y
> +CONFIG_NPCM_FIU_SPI=y
> +CONFIG_NPCM_PSPI=y
>  CONFIG_SYSRESET=y
>  CONFIG_SYSRESET_WATCHDOG=y
>  CONFIG_TIMER=y
>  CONFIG_NPCM_TIMER=y
> +CONFIG_USB=y
> +CONFIG_USB_EHCI_HCD=y
> +CONFIG_USB_EHCI_NPCM=y
> +CONFIG_USB_OHCI_HCD=y
> +CONFIG_USB_OHCI_NPCM=y
> +CONFIG_USB_STORAGE=y
> +CONFIG_USB_GADGET=y
> +CONFIG_USB_GADGET_MANUFACTURER="Nuvoton"
> +CONFIG_USB_GADGET_VENDOR_NUM=0x0416
> +CONFIG_USB_GADGET_PRODUCT_NUM=0xffff
> +CONFIG_CI_UDC=y
> +CONFIG_USB_GADGET_DOWNLOAD=y
> +# CONFIG_WATCHDOG is not set
> +CONFIG_WDT_NPCM=y
> +CONFIG_LIB_HW_RAND=y
> +CONFIG_SHA_HW_ACCEL=y
> +CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
> +
> --
> 2.17.1
>


More information about the U-Boot mailing list