From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 10/10] configs/freescale_ls1028ardb*: new board
Date: Mon, 25 Nov 2019 23:17:36 +0100 [thread overview]
Message-ID: <20191125231736.59b1eb19@windsurf> (raw)
In-Reply-To: <20191121102324.35225-11-jerry.huang@nxp.com>
Hello,
On Thu, 21 Nov 2019 18:23:24 +0800
Changming Huang <jerry.huang@nxp.com> wrote:
> diff --git a/board/freescale/ls1028ardb/genimage.xspi.cfg.template b/board/freescale/ls1028ardb/genimage.xspi.cfg.template
> new file mode 100644
> index 0000000000..14d75a17f3
> --- /dev/null
> +++ b/board/freescale/ls1028ardb/genimage.xspi.cfg.template
> @@ -0,0 +1,53 @@
> +# Minimal QSPI image for the NXP boards Template
> +#
> +# We mimic the .sdcard NXP's image format:
> +# * the SD card must have 4 kB free space at the beginning,
SD card ? But this file is about creating an image for a QSPI flash.
> +# * U-Boot is dumped as is,
> +# * a single root filesystem partition is required (ext2, ext3 or ext4)
I don't see the root filesystem in this genimage configuration file
> diff --git a/configs/freescale_ls1028ardb-emmc_defconfig b/configs/freescale_ls1028ardb-emmc_defconfig
To be honest, I'm not sure we want 3 different configurations for this
board. Can we pick just one ?
> new file mode 100644
> index 0000000000..c34db6cb0b
> --- /dev/null
> +++ b/configs/freescale_ls1028ardb-emmc_defconfig
> @@ -0,0 +1,136 @@
> +# Architecture
> +BR2_aarch64=y
> +BR2_cortex_a72=y
> +
> +# Filesystem
> +BR2_TARGET_ROOTFS_EXT2=y
> +BR2_TARGET_ROOTFS_EXT2_4=y
> +BR2_TARGET_ROOTFS_EXT2_GZIP=y
> +BR2_TARGET_ROOTFS_EXT2_SIZE="500M"
Keep the default size and compression.
> +
> +# Hostname and issue
> +BR2_TARGET_GENERIC_HOSTNAME="LS1028ARDB"
> +
> +# Linux headers same as kernel
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
> +
> +# toolchain
> +BR2_TOOLCHAIN_EXTERNAL=y
Please stick to using the internal toolchain for defconfigs.
> +# bootloader
> +BR2_TARGET_UBOOT=y
> +BR2_TARGET_UBOOT_FORMAT_DTB_BIN=y
> +BR2_TARGET_UBOOT_BOARDNAME="ls1028ardb_tfa"
> +BR2_TARGET_UBOOT_CUSTOM_GIT=y
> +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://source.codeaurora.org/external/qoriq/qoriq-components/u-boot"
> +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="LSDK-19.09"
> +BR2_TARGET_UBOOT_NEEDS_DTC=y
> +BR2_TARGET_UBOOT_FORMAT_BIN=n
> +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
> +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-dtb.bin"
> +BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE=y
> +BR2_TARGET_UBOOT_ENVIMAGE=y
> +BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="board/freescale/ls1028ardb/u-boot-environment-emmc.txt"
> +BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x2000"
> +
> +# Kernel
> +BR2_LINUX_KERNEL=y
> +BR2_LINUX_KERNEL_CUSTOM_GIT=y
> +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://source.codeaurora.org/external/qoriq/qoriq-components/linux"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="LSDK-19.09-V4.19"
> +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
> +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm64/configs/lsdk.config"
> +BR2_LINUX_KERNEL_DTS_SUPPORT=y
> +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-ls1028a-rdb"
> +BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y
> +BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="Image"
> +
> +# Serial port config
> +BR2_TARGET_GENERIC_GETTY=y
> +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
> +
> +# required tools to create the microSD image
> +BR2_PACKAGE_HOST_DOSFSTOOLS=y
> +BR2_PACKAGE_HOST_GENIMAGE=y
> +BR2_PACKAGE_HOST_MTOOLS=y
> +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/ls/post-image.sh"
> +BR2_ROOTFS_POST_SCRIPT_ARGS="$(LINUX_DIR) $(TOPDIR) $(UBOOT_DIR)"
> +
> +# busybox setting
> +#BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/freescale/common/ls/busybox.config"
> +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
> +
> +# packages for rcw
> +BR2_PACKAGE_HOST_RCW=y
> +BR2_PACKAGE_HOST_RCW_ATF=y
> +BR2_PACKAGE_HOST_RCW_BOOT_MODE="emmc"
> +BR2_PACKAGE_HOST_RCW_BIN="ls1028ardb/R_SQPP_0x85bb/rcw_1300_emmcboot.bin"
> +
> +#Display port firmware
> +BR2_PACKAGE_FSL_QORIQ_CADENCE_DP_FW=y
> +
> +# basic packages and tools
> +BR2_PACKAGE_MTD=y
> +BR2_PACKAGE_MTD_MTD_DEBUG=y
> +BR2_PACKAGE_SYSSTAT=y
> +BR2_PACKAGE_E2FSPROGS=y
> +BR2_PACKAGE_RT_TESTS=y
> +BR2_PACKAGE_OPENSSH=y
> +BR2_PACKAGE_OPENSSL=y
> +BR2_PACKAGE_WGET=y
> +
> +# docker packages
> +BR2_PACKAGE_DOCKER_CONTAINERD=y
> +BR2_PACKAGE_DOCKER_ENGINE=y
> +BR2_PACKAGE_DOCKER_ENGINE_DAEMON=y
> +BR2_PACKAGE_DOCKER_ENGINE_EXPERIMENTAL=y
> +BR2_PACKAGE_DOCKER_ENGINE_DRIVER_BTRFS=y
> +BR2_PACKAGE_DOCKER_ENGINE_DRIVER_DEVICEMAPPER=y
> +BR2_PACKAGE_DOCKER_ENGINE_DRIVER_VFS=y
> +BR2_PACKAGE_UTIL_LINUX_LIBMOUNT=y
> +BR2_PACKAGE_CGROUPFS_MOUNT=y
> +BR2_PACKAGE_LIBCGROUP=y
Please remove all extra packages: keep only Busybox in the target
filesystem. We want minimal defconfigs, that only build the bootloader,
kernel and a minimal root filesystem.
Thanks!
Thmas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-11-25 22:17 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-21 10:23 [Buildroot] [PATCH v2 0/9] new board ls1028ardb introduced Changming Huang
2019-11-21 10:23 ` [Buildroot] [PATCH v2 01/10] package/freescale-qoriq: new package directory Changming Huang
2019-11-25 21:13 ` Thomas Petazzoni
2019-11-26 2:49 ` [Buildroot] [EXT] " Jerry Huang
2019-11-21 10:23 ` [Buildroot] [PATCH v2 02/10] package/freescale-qoriq/fsl-qoriq-rcw: move rcw into freescale-qoriq and rename it Changming Huang
2019-11-21 10:34 ` Michael Walle
2019-11-21 10:42 ` [Buildroot] [EXT] " Jerry Huang
2019-11-25 21:15 ` [Buildroot] " Thomas Petazzoni
2019-11-26 3:25 ` [Buildroot] [EXT] " Jerry Huang
2019-11-21 10:23 ` [Buildroot] [PATCH v2 03/10] package/freescale-qoriq/fsl-qoriq-rcw: upgrade the rcw version to LSDK-19.09 Changming Huang
2019-11-25 21:17 ` Thomas Petazzoni
2019-11-26 3:51 ` [Buildroot] [EXT] " Jerry Huang
2019-11-21 10:23 ` [Buildroot] [PATCH v2 04/10] package/freescale-qoriq/fsl-qoriq-rcw: add target rcw binary support Changming Huang
2019-11-25 21:23 ` Thomas Petazzoni
2019-11-26 4:33 ` [Buildroot] [EXT] " Jerry Huang
2019-11-21 10:23 ` [Buildroot] [PATCH v2 05/10] boot/arm-trusted-firmware: Add option BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE Changming Huang
2019-11-22 9:11 ` Sergey Matyukevich
2019-11-22 9:24 ` [Buildroot] [EXT] " Jerry Huang
2019-11-25 21:59 ` [Buildroot] " Thomas Petazzoni
2019-11-21 10:23 ` [Buildroot] [PATCH v2 06/10] boot/arm-trusted-firmware: Add RCW support Changming Huang
2019-11-22 9:19 ` Sergey Matyukevich
2019-11-22 9:31 ` [Buildroot] [EXT] " Jerry Huang
2019-11-25 22:09 ` [Buildroot] " Thomas Petazzoni
2019-11-26 7:06 ` [Buildroot] [EXT] " Jerry Huang
2019-11-26 7:34 ` Jerry Huang
2019-11-21 10:23 ` [Buildroot] [PATCH v2 07/10] package/freescale-qoriq/fsl-qoriq-cadence-dp-fw: new package Changming Huang
2019-11-21 10:42 ` Michael Walle
2019-11-21 11:04 ` [Buildroot] [EXT] " Jerry Huang
2019-11-22 10:41 ` Jerry Huang
2019-11-21 10:51 ` [Buildroot] " Michael Walle
2019-11-21 11:09 ` [Buildroot] [EXT] " Jerry Huang
2019-11-22 10:40 ` Jerry Huang
2019-11-22 11:00 ` Michael Walle
2019-11-25 2:40 ` Jerry Huang
2019-11-22 11:05 ` Thomas Petazzoni
2019-11-25 6:25 ` Jerry Huang
2019-11-25 22:12 ` [Buildroot] " Thomas Petazzoni
2019-11-26 8:09 ` [Buildroot] [EXT] " Jerry Huang
2019-11-26 9:21 ` Michael Walle
2019-11-26 10:13 ` Jerry Huang
2019-11-26 9:29 ` Michael Walle
2019-11-26 10:12 ` Thomas Petazzoni
2019-11-26 10:31 ` Michael Walle
2019-11-26 12:10 ` Jerry Huang
2019-11-21 10:23 ` [Buildroot] [PATCH v2 08/10] package/freescale-qoriq/fsl-qoriq-rcw:Enable IIC5_PMUX and CLK_OUT_PMUX for GPIO Changming Huang
2019-11-25 22:13 ` Thomas Petazzoni
2019-11-26 8:15 ` [Buildroot] [EXT] " Jerry Huang
2019-11-21 10:23 ` [Buildroot] [PATCH v2 09/10] board/freescale/common/ls: Add standard post image script for Layerscape processors Changming Huang
2019-11-21 10:23 ` [Buildroot] [PATCH v2 10/10] configs/freescale_ls1028ardb*: new board Changming Huang
2019-11-25 22:17 ` Thomas Petazzoni [this message]
2019-11-26 12:02 ` [Buildroot] [EXT] " Jerry Huang
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=20191125231736.59b1eb19@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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