public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Jesse Taube <mr.bossman075@gmail.com>
Cc: u-boot@lists.denx.de, jagan@amarulasolutions.com,
	hdegoede@redhat.com, sjg@chromium.org, icenowy@aosc.io,
	marek.behun@nic.cz, festevam@denx.de, narmstrong@baylibre.com,
	tharvey@gateworks.com, christianshewitt@gmail.com,
	pbrobinson@gmail.com, jernej.skrabec@gmail.com, hs@denx.de,
	samuel@sholland.org, arnaud.ferraris@gmail.com,
	giulio.benetti@benettiengineering.com,
	thirtythreeforty@gmail.com
Subject: Re: [PATCH v3 10/10] configs: sunxi: Add support for Lichee Pi Nano
Date: Sat, 29 Jan 2022 23:00:52 +0000	[thread overview]
Message-ID: <20220129230052.69c8a178@slackpad.fritz.box> (raw)
In-Reply-To: <20220129152309.1567937-11-Mr.Bossman075@gmail.com>

On Sat, 29 Jan 2022 10:23:09 -0500
Jesse Taube <mr.bossman075@gmail.com> wrote:

> From: Icenowy Zheng <icenowy@aosc.io>
> 
> The Lichee Pi Nano is a board based on the F1C100s.
> Add defconfigs for it.

Looks very nice now, many thanks!

> 
> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
> Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>

Reviewed-by: Andre Przywara <andre.przywara@arm.com>

Cheers,
Andre

> ---
> V1->V2:
> * Add SKIP_LOWLEVEL_INIT_ONLY
> * Remove spi defconfig
> V2->V3:
> * Move SYS_MALLOC_F_LEN to kconf and format it
> * Move SYS_LOAD_ADDR to kconf and format it
> * Move SYS_TEXT_BASE to kconf and format it
> 
> ---
>  Kconfig                         |  8 +++++---
>  boot/Kconfig                    |  7 ++++---
>  configs/licheepi_nano_defconfig | 11 +++++++++++
>  3 files changed, 20 insertions(+), 6 deletions(-)
>  create mode 100644 configs/licheepi_nano_defconfig
> 
> diff --git a/Kconfig b/Kconfig
> index c46f4fce86..ef4e350ea8 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -246,9 +246,10 @@ config SYS_MALLOC_F_LEN
>  config SYS_MALLOC_LEN
>  	hex "Define memory for Dynamic allocation"
>  	default 0x2000000 if ARCH_ROCKCHIP || ARCH_OMAP2PLUS || ARCH_MESON
> -	default 0x4020000 if ARCH_SUNXI && !MACH_SUN8I_V3S
>  	default 0x200000 if ARCH_BMIPS || X86
> -	default 0x220000 if ARCH_SUNXI && MACH_SUN8I_V3S
> +	default 0x120000 if MACH_SUNIV
> +	default 0x220000 if MACH_SUN8I_V3S
> +	default 0x4020000 if ARCH_SUNXI
>  	default 0x400000
>  	help
>  	  This defines memory to be allocated for Dynamic allocation
> @@ -391,8 +392,9 @@ config SYS_LOAD_ADDR
>  	hex "Address in memory to use by default"
>  	default 0x01000000 if ARCH_SOCFPGA
>  	default 0x02000000 if PPC || X86
> +	default 0x81000000 if MACH_SUNIV
>  	default 0x22000000 if MACH_SUN9I
> -	default 0x42000000 if ARCH_SUNXI && !MACH_SUN9I
> +	default 0x42000000 if ARCH_SUNXI
>  	default 0x82000000 if ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
>  	default 0x82000000 if ARCH_MX6 && (MX6SL || MX6SLL  || MX6SX || MX6UL || MX6ULL)
>  	default 0x12000000 if ARCH_MX6 && !(MX6SL || MX6SLL  || MX6SX || MX6UL || MX6ULL)
> diff --git a/boot/Kconfig b/boot/Kconfig
> index f1ce576ab2..d16acfe563 100644
> --- a/boot/Kconfig
> +++ b/boot/Kconfig
> @@ -351,9 +351,10 @@ config SYS_TEXT_BASE
>  	depends on HAVE_SYS_TEXT_BASE
>  	default 0x0 if POSITION_INDEPENDENT
>  	default 0x80800000 if ARCH_OMAP2PLUS || ARCH_K3
> -	default 0x4a000000 if ARCH_SUNXI && !MACH_SUN9I && !MACH_SUN8I_V3S
> -	default 0x2a000000 if ARCH_SUNXI && MACH_SUN9I
> -	default 0x42e00000 if ARCH_SUNXI && MACH_SUN8I_V3S
> +	default 0x81700000 if MACH_SUNIV
> +	default 0x2a000000 if MACH_SUN9I
> +	default 0x42e00000 if MACH_SUN8I_V3S
> +	default 0x4a000000 if ARCH_SUNXI
>  	hex "Text Base"
>  	help
>  	  The address in memory that U-Boot will be running from, initially.
> diff --git a/configs/licheepi_nano_defconfig b/configs/licheepi_nano_defconfig
> new file mode 100644
> index 0000000000..ecec869d18
> --- /dev/null
> +++ b/configs/licheepi_nano_defconfig
> @@ -0,0 +1,11 @@
> +CONFIG_ARM=y
> +CONFIG_ARCH_SUNXI=y
> +CONFIG_MACH_SUNIV=y
> +CONFIG_SKIP_LOWLEVEL_INIT_ONLY=y
> +CONFIG_SPL_SKIP_LOWLEVEL_INIT_ONLY=y
> +CONFIG_DRAM_CLK=156
> +CONFIG_SYS_DCACHE_OFF=y
> +CONFIG_DRAM_ZQ=0
> +# CONFIG_VIDEO_SUNXI is not set
> +CONFIG_DEFAULT_DEVICE_TREE="suniv-f1c100s-licheepi-nano"
> +CONFIG_SPL=y


      reply	other threads:[~2022-01-29 23:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-29 15:22 [PATCH v3 00/10] Add support for SUNIV and F1C100s Jesse Taube
2022-01-29 15:23 ` [PATCH v3 01/10] arm: arm926ej-s: start.S: port save_boot_params support from armv7 code Jesse Taube
2022-01-29 15:23 ` [PATCH v3 02/10] mach-sunxi: Move timer code to mach folder Jesse Taube
2022-01-29 22:58   ` Andre Przywara
2022-01-29 15:23 ` [PATCH v3 03/10] arm: arm926ej-s: Add sunxi code Jesse Taube
2022-01-29 15:23 ` [PATCH v3 04/10] ARM: sunxi: Add clock and uart to sunxi headers Jesse Taube
2022-01-29 15:23 ` [PATCH v3 05/10] sunxi: Add F1C100s DRAM initial support Jesse Taube
2022-01-29 15:23 ` [PATCH v3 06/10] sunxi: board: Add support for SUNIV Jesse Taube
2022-01-29 15:23 ` [PATCH v3 07/10] configs: sunxi: Add common SUNIV header Jesse Taube
2022-01-29 15:23 ` [PATCH v3 08/10] mach-sunxi: Add support for SUNIV architecture Jesse Taube
2022-01-29 22:59   ` Andre Przywara
2022-01-29 15:23 ` [PATCH v3 09/10] ARM: dts: suniv: Add device tree files and bindings for F1C100s Jesse Taube
2022-01-29 23:00   ` Andre Przywara
2022-01-29 15:23 ` [PATCH v3 10/10] configs: sunxi: Add support for Lichee Pi Nano Jesse Taube
2022-01-29 23:00   ` Andre Przywara [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220129230052.69c8a178@slackpad.fritz.box \
    --to=andre.przywara@arm.com \
    --cc=arnaud.ferraris@gmail.com \
    --cc=christianshewitt@gmail.com \
    --cc=festevam@denx.de \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=hdegoede@redhat.com \
    --cc=hs@denx.de \
    --cc=icenowy@aosc.io \
    --cc=jagan@amarulasolutions.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=marek.behun@nic.cz \
    --cc=mr.bossman075@gmail.com \
    --cc=narmstrong@baylibre.com \
    --cc=pbrobinson@gmail.com \
    --cc=samuel@sholland.org \
    --cc=sjg@chromium.org \
    --cc=tharvey@gateworks.com \
    --cc=thirtythreeforty@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox