* [Buildroot] [PATCH] configs/imx6ullevk_defconfig: bump Linux to 6.6.4 and U-Boot to 2023.10
@ 2023-12-07 12:07 Giulio Benetti
2023-12-07 12:07 ` [Buildroot] [PATCH] configs/freescale_imx6ullevk_defconfig: bump Linux and U-Boot to lf-6.1.36-2.1.0 Giulio Benetti
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Giulio Benetti @ 2023-12-07 12:07 UTC (permalink / raw)
To: buildroot; +Cc: Fabio Estevam, Giulio Benetti, Fabrice Goucem
Let's also enable NXP firmware package to let latest SDMA firmware to be
loaded. To achieve this we also need to enable dynamic eudev to let it
to load the firmware.
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
configs/imx6ullevk_defconfig | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/configs/imx6ullevk_defconfig b/configs/imx6ullevk_defconfig
index b507d1c0d6..662ef0270e 100644
--- a/configs/imx6ullevk_defconfig
+++ b/configs/imx6ullevk_defconfig
@@ -3,8 +3,8 @@ BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_FPU_NEON_VFPV4=y
-# Linux headers same as kernel, a 6.1 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
+# Linux headers same as kernel, a 6.6 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
# system
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
@@ -12,17 +12,17 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
# kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.12"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.4"
BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ull-14x14-evk"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="nxp/imx/imx6ull-14x14-evk"
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
# bootloader
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="mx6ull_14x14_evk"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.01"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y
@@ -36,3 +36,12 @@ BR2_PACKAGE_HOST_MTOOLS=y
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
+
+# NXP firmware package for SDMA Firmware
+BR2_PACKAGE_FREESCALE_IMX=y
+BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6UL=y
+BR2_PACKAGE_FIRMWARE_IMX=y
+
+# For automatic kernel module loading
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
+
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread* [Buildroot] [PATCH] configs/freescale_imx6ullevk_defconfig: bump Linux and U-Boot to lf-6.1.36-2.1.0
2023-12-07 12:07 [Buildroot] [PATCH] configs/imx6ullevk_defconfig: bump Linux to 6.6.4 and U-Boot to 2023.10 Giulio Benetti
@ 2023-12-07 12:07 ` Giulio Benetti
2023-12-07 12:24 ` [Buildroot] [PATCH] configs/imx6ullevk_defconfig: bump Linux to 6.6.4 and U-Boot to 2023.10 Fabio Estevam
2023-12-09 14:57 ` Peter Korsgaard
2 siblings, 0 replies; 6+ messages in thread
From: Giulio Benetti @ 2023-12-07 12:07 UTC (permalink / raw)
To: buildroot; +Cc: Fabio Estevam, Giulio Benetti, Fabrice Goucem
Let's also enable NXP firmware package to let latest SDMA firmware to be
loaded. To achieve this we also need to enable dynamic eudev to let it
to load the firmware.
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
board/freescale/imx6ullevk/linux_sdma.fragment | 1 +
configs/freescale_imx6ullevk_defconfig | 11 ++++++++---
2 files changed, 9 insertions(+), 3 deletions(-)
create mode 100644 board/freescale/imx6ullevk/linux_sdma.fragment
diff --git a/board/freescale/imx6ullevk/linux_sdma.fragment b/board/freescale/imx6ullevk/linux_sdma.fragment
new file mode 100644
index 0000000000..6f1c8b4313
--- /dev/null
+++ b/board/freescale/imx6ullevk/linux_sdma.fragment
@@ -0,0 +1 @@
+CONFIG_IMX_SDMA=m
diff --git a/configs/freescale_imx6ullevk_defconfig b/configs/freescale_imx6ullevk_defconfig
index db4fa69f71..fd4254edbf 100644
--- a/configs/freescale_imx6ullevk_defconfig
+++ b/configs/freescale_imx6ullevk_defconfig
@@ -1,21 +1,26 @@
BR2_arm=y
BR2_cortex_a7=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
BR2_ROOTFS_POST_IMAGE_SCRIPT="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-5.15.71-2.2.0)/linux-imx-lf-5.15.71-2.2.0.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-6.1.36-2.1.0)/linux-imx-lf-6.1.36-2.1.0.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="imx_v7"
+BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/freescale/imx6ullevk/linux_sdma.fragment"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ull-14x14-evk"
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+BR2_PACKAGE_FREESCALE_IMX=y
+BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6UL=y
+BR2_PACKAGE_FIRMWARE_IMX=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="mx6ull_14x14_evk"
BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
-BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-5.15.71-2.2.0)/uboot-imx-lf-5.15.71-2.2.0.tar.gz"
+BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-6.1.36-2.1.0)/uboot-imx-lf-6.1.36-2.1.0.tar.gz"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
BR2_TARGET_UBOOT_FORMAT_IMX=y
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] configs/imx6ullevk_defconfig: bump Linux to 6.6.4 and U-Boot to 2023.10
2023-12-07 12:07 [Buildroot] [PATCH] configs/imx6ullevk_defconfig: bump Linux to 6.6.4 and U-Boot to 2023.10 Giulio Benetti
2023-12-07 12:07 ` [Buildroot] [PATCH] configs/freescale_imx6ullevk_defconfig: bump Linux and U-Boot to lf-6.1.36-2.1.0 Giulio Benetti
@ 2023-12-07 12:24 ` Fabio Estevam
2023-12-09 14:57 ` Peter Korsgaard
2 siblings, 0 replies; 6+ messages in thread
From: Fabio Estevam @ 2023-12-07 12:24 UTC (permalink / raw)
To: Giulio Benetti; +Cc: Fabrice Goucem, buildroot
Hi Giulio,
On Thu, Dec 7, 2023 at 9:07 AM Giulio Benetti
<giulio.benetti@benettiengineering.com> wrote:
>
> Let's also enable NXP firmware package to let latest SDMA firmware to be
> loaded. To achieve this we also need to enable dynamic eudev to let it
> to load the firmware.
>
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Thanks for the patch.
Reviewed-by: Fabio Estevam <festevam@gmail.com>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] configs/imx6ullevk_defconfig: bump Linux to 6.6.4 and U-Boot to 2023.10
2023-12-07 12:07 [Buildroot] [PATCH] configs/imx6ullevk_defconfig: bump Linux to 6.6.4 and U-Boot to 2023.10 Giulio Benetti
2023-12-07 12:07 ` [Buildroot] [PATCH] configs/freescale_imx6ullevk_defconfig: bump Linux and U-Boot to lf-6.1.36-2.1.0 Giulio Benetti
2023-12-07 12:24 ` [Buildroot] [PATCH] configs/imx6ullevk_defconfig: bump Linux to 6.6.4 and U-Boot to 2023.10 Fabio Estevam
@ 2023-12-09 14:57 ` Peter Korsgaard
2023-12-09 15:06 ` Giulio Benetti
2 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2023-12-09 14:57 UTC (permalink / raw)
To: Giulio Benetti; +Cc: Fabrice Goucem, Fabio Estevam, buildroot
>>>>> "Giulio" == Giulio Benetti <giulio.benetti@benettiengineering.com> writes:
> Let's also enable NXP firmware package to let latest SDMA firmware to be
> loaded. To achieve this we also need to enable dynamic eudev to let it
> to load the firmware.
Why is that? I thought request_firmware() nowadays didn't need any help
from user space to fetch files from /lib/firmware?
Is it because this is requested very early before the rootfs is mounted?
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] configs/imx6ullevk_defconfig: bump Linux to 6.6.4 and U-Boot to 2023.10
2023-12-09 14:57 ` Peter Korsgaard
@ 2023-12-09 15:06 ` Giulio Benetti
2023-12-09 15:10 ` Peter Korsgaard
0 siblings, 1 reply; 6+ messages in thread
From: Giulio Benetti @ 2023-12-09 15:06 UTC (permalink / raw)
To: Peter Korsgaard; +Cc: Fabio Estevam, Fabrice Goucem, buildroot
Hi Peter,
On 09/12/23 15:57, Peter Korsgaard wrote:
>>>>>> "Giulio" == Giulio Benetti <giulio.benetti@benettiengineering.com> writes:
>
> > Let's also enable NXP firmware package to let latest SDMA firmware to be
> > loaded. To achieve this we also need to enable dynamic eudev to let it
> > to load the firmware.
>
> Why is that? I thought request_firmware() nowadays didn't need any help
> from user space to fetch files from /lib/firmware?
>
> Is it because this is requested very early before the rootfs is mounted?
Exactly, if the driver is built-in Linux it's too early to search rootfs
because it's not mounted.
Of course during drivers' probe()s and all kernel calls using dma will
use ROM SDMA Firmware until SDMA Firmware is loaded from rootfs so those
calls will have worse performances.
Of course NXP Firmware can't be embedded into Linux because it's
proprietary and license doesn't allow us to do that.
Kind regards
--
Giulio Benetti
CEO&CTO@Benetti Engineering sas
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] configs/imx6ullevk_defconfig: bump Linux to 6.6.4 and U-Boot to 2023.10
2023-12-09 15:06 ` Giulio Benetti
@ 2023-12-09 15:10 ` Peter Korsgaard
0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2023-12-09 15:10 UTC (permalink / raw)
To: Giulio Benetti; +Cc: Fabio Estevam, Fabrice Goucem, buildroot
>>>>> "Giulio" == Giulio Benetti <giulio.benetti@benettiengineering.com> writes:
> Hi Peter,
> On 09/12/23 15:57, Peter Korsgaard wrote:
>>>>>>> "Giulio" == Giulio Benetti <giulio.benetti@benettiengineering.com> writes:
>> > Let's also enable NXP firmware package to let latest SDMA
>> firmware to be
>> > loaded. To achieve this we also need to enable dynamic eudev to let it
>> > to load the firmware.
>> Why is that? I thought request_firmware() nowadays didn't need any
>> help
>> from user space to fetch files from /lib/firmware?
>> Is it because this is requested very early before the rootfs is
>> mounted?
> Exactly, if the driver is built-in Linux it's too early to search rootfs
> because it's not mounted.
> Of course during drivers' probe()s and all kernel calls using dma will
> use ROM SDMA Firmware until SDMA Firmware is loaded from rootfs so those
> calls will have worse performances.
> Of course NXP Firmware can't be embedded into Linux because it's
> proprietary and license doesn't allow us to do that.
OK. Committed after extending the commit message to explain that, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-12-09 15:11 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-07 12:07 [Buildroot] [PATCH] configs/imx6ullevk_defconfig: bump Linux to 6.6.4 and U-Boot to 2023.10 Giulio Benetti
2023-12-07 12:07 ` [Buildroot] [PATCH] configs/freescale_imx6ullevk_defconfig: bump Linux and U-Boot to lf-6.1.36-2.1.0 Giulio Benetti
2023-12-07 12:24 ` [Buildroot] [PATCH] configs/imx6ullevk_defconfig: bump Linux to 6.6.4 and U-Boot to 2023.10 Fabio Estevam
2023-12-09 14:57 ` Peter Korsgaard
2023-12-09 15:06 ` Giulio Benetti
2023-12-09 15:10 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox