mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-11-14 16:52:08 -10:00
configs/freescale_imx95_15x15_frdm: new defconfig
Add defconfig for NXP's IMX95-15x15-FRDM board.
Due to the upstream uboot commit [1], this commit includes a uboot
config fragment to disable CONFIG_EFI_CAPSULE_AUTHENTICATE, to
remove the dependency on the command "cert-to-efi-sig-list", provided
the host efitools package, which is not yet in Buildroot.
[1] fd58c275f6
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Tested-by: Julien Olivain <ju.o@free.fr>
[Julien:
- regenerate defconfig with savedefconfig
- switch to Bootlin external glibc stable toolchain
- add missing BR2_PACKAGE_HOST_DOSFSTOOLS=y
- add missing BR2_PACKAGE_HOST_MTOOLS=y
- unset unneeded BR2_TARGET_ROOTFS_TAR
- add documentation links in readme.txt
- update to lf-6.18.37-2.1.0
- add uboot.fragment, needed after uboot update
- tested on board 700-94879 Rev C3
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
29252fe83e
commit
dc10246725
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c7b92f0da1a154ebabd4425a1627a726d8e0206e8b417d8c87b5a9636b52a3e5 imx-atf-lf-6.18.37-2.1.0.tar.gz
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 352273c5098d73762074997a89537f06994d6a1c2e9d291dd8431dfe4fa0be27 linux-imx-lf-6.18.37-2.1.0.tar.gz
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b9aa6a73f670f02a0903e3298923c3aa802ba3ffb7a53f6c397d28998c3ee8d8 uboot-imx-lf-6.18.37-2.1.0.tar.gz
|
||||
68
board/freescale/imx95-15x15-frdm/readme.txt
Normal file
68
board/freescale/imx95-15x15-frdm/readme.txt
Normal file
@@ -0,0 +1,68 @@
|
||||
***************************
|
||||
NXP i.MX95 15x15 FRDM board
|
||||
***************************
|
||||
|
||||
This file documents the Buildroot support for the i.MX95 15x15 FRDM board.
|
||||
For more information on this board, see [1].
|
||||
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for the i.MX95 15x15 FRDM board:
|
||||
|
||||
make freescale_imx95_15x15_frdm_defconfig
|
||||
|
||||
Build all components:
|
||||
|
||||
make
|
||||
|
||||
When this command completes, the generated image containing everything
|
||||
to boot from the SD card is located in "output/images/sdcard.img".
|
||||
|
||||
|
||||
Create a bootable SD card
|
||||
=========================
|
||||
|
||||
To determine the device associated with the SD card, have a look in the
|
||||
/proc/partitions file:
|
||||
|
||||
cat /proc/partitions
|
||||
|
||||
Buildroot prepares a bootable "sdcard.img" image in the output/images/
|
||||
directory, ready to be dumped on an SD card. Launch the following
|
||||
command as root:
|
||||
|
||||
dd if=output/images/sdcard.img of=/dev/<your-sd-device>
|
||||
|
||||
*** WARNING! This will destroy all the card content. Use with care! ***
|
||||
|
||||
For details about the medium image layout, see the definition in
|
||||
board/freescale/common/imx/genimage.cfg.template_imx9.
|
||||
|
||||
|
||||
Boot the i.MX95 15x15 FRDM board
|
||||
================================
|
||||
|
||||
To boot your newly created system (refer to the i.MX95 15x15 FRDM
|
||||
Documentation [2] for guidance):
|
||||
- insert the SD card in the SD slot of the board;
|
||||
- configure the boot switch as follows:
|
||||
SW1: 11 SW1[1-2] ("USDHC2 4-bit SD3.0" Boot Mode)
|
||||
- connect a USB Type-C cable into the USB-DBG port and connect using
|
||||
a terminal emulator at 115200 bps, 8n1;
|
||||
- power on the board by connecting a USB Type-C cable into the PWR IN
|
||||
Power USB port.
|
||||
|
||||
Note: the debug USB connector presents 4 UARTS (for example
|
||||
/dev/ttyACM[0-3]), the AP UART should be the first one (in the previous
|
||||
example, /dev/ttyACM0), while the SM UART should be the second one
|
||||
(in the previous example, /dev/ttyACM1).
|
||||
|
||||
Enjoy!
|
||||
|
||||
|
||||
References
|
||||
==========
|
||||
[1] https://www.nxp.com/FRDM-IMX95
|
||||
[2] https://www.nxp.com/document/guide/getting-started-with-frdm-imx95:GS-FRDM-IMX95
|
||||
1
board/freescale/imx95-15x15-frdm/uboot.fragment
Normal file
1
board/freescale/imx95-15x15-frdm/uboot.fragment
Normal file
@@ -0,0 +1 @@
|
||||
# CONFIG_EFI_CAPSULE_AUTHENTICATE is not set
|
||||
42
configs/freescale_imx95_15x15_frdm_defconfig
Normal file
42
configs/freescale_imx95_15x15_frdm_defconfig
Normal file
@@ -0,0 +1,42 @@
|
||||
BR2_cortex_a55=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y
|
||||
BR2_GLOBAL_PATCH_DIR="board/freescale/imx95-15x15-frdm/patches"
|
||||
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx95-bootloader-prepare.sh board/freescale/common/imx/post-image.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-6.18.37-2.1.0)/linux-imx-lf-6.18.37-2.1.0.tar.gz"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="imx_v8"
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx95-15x15-frdm"
|
||||
BR2_PACKAGE_FREESCALE_IMX=y
|
||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX95=y
|
||||
BR2_PACKAGE_IMX_OEI=y
|
||||
BR2_PACKAGE_IMX_OEI_TARGET_BOARD="mx95lp4x-15"
|
||||
BR2_PACKAGE_FIRMWARE_ELE_IMX=y
|
||||
BR2_PACKAGE_FIRMWARE_IMX=y
|
||||
BR2_PACKAGE_FIRMWARE_IMX_LPDDR4X=y
|
||||
BR2_PACKAGE_IMX_SM=y
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-atf,lf-6.18.37-2.1.0)/imx-atf-lf-6.18.37-2.1.0.tar.gz"
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx95"
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-6.18.37-2.1.0)/uboot-imx-lf-6.18.37-2.1.0.tar.gz"
|
||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx95_15x15_frdm"
|
||||
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/freescale/imx95-15x15-frdm/uboot.fragment"
|
||||
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
||||
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
|
||||
BR2_TARGET_UBOOT_NEEDS_GNUTLS=y
|
||||
BR2_TARGET_UBOOT_SPL=y
|
||||
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
||||
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||
BR2_PACKAGE_HOST_IMX_MKIMAGE=y
|
||||
BR2_PACKAGE_HOST_MTOOLS=y
|
||||
Reference in New Issue
Block a user