From patchwork Mon Apr 6 15:51:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karl Palsson X-Patchwork-Id: 237265 List-Id: U-Boot discussion From: karlp at tweak.net.au (Karl Palsson) Date: Mon, 6 Apr 2020 15:51:39 +0000 Subject: [PATCH 1/2] sunxi: allow bigger images for all Message-ID: <20200406155140.29854-1-karlp@tweak.net.au> No reason to limit bigger images to 64bit targets, it's quite easy to go over the limit with a kernel+initramfs Signed-off-by: Karl Palsson --- include/configs/sunxi-common.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 0ef289fd64..ef5b1d866e 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -31,9 +31,7 @@ # define CONFIG_MACH_TYPE_COMPAT_REV 1 #endif -#ifdef CONFIG_ARM64 #define CONFIG_SYS_BOOTM_LEN (32 << 20) -#endif /* Serial & console */ #define CONFIG_SYS_NS16550_SERIAL From patchwork Mon Apr 6 15:51:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karl Palsson X-Patchwork-Id: 237266 List-Id: U-Boot discussion From: karlp at tweak.net.au (Karl Palsson) Date: Mon, 6 Apr 2020 15:51:40 +0000 Subject: [PATCH 2/2] sunxi: defconfig for FriendlyArm nanopi-duo2 In-Reply-To: <20200406155140.29854-1-karlp@tweak.net.au> References: <20200406155140.29854-1-karlp@tweak.net.au> Message-ID: <20200406155140.29854-2-karlp@tweak.net.au> Nothing standout, but provide a defconfig that matches the dts available for this board. Effectively identical to the nanopi_neo_air. Signed-off-by: Karl Palsson --- configs/nanopi_duo2_defconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 configs/nanopi_duo2_defconfig diff --git a/configs/nanopi_duo2_defconfig b/configs/nanopi_duo2_defconfig new file mode 100644 index 0000000000..e81141fa0d --- /dev/null +++ b/configs/nanopi_duo2_defconfig @@ -0,0 +1,11 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_SPL=y +CONFIG_MACH_SUN8I_H3=y +CONFIG_DRAM_CLK=408 +# CONFIG_VIDEO_DE2 is not set +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_CONSOLE_MUX=y +CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-nanopi-duo2" +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_OHCI_HCD=y