boundarydevices: update/add defconfigs
cover boundarydevices: update/add defconfigs
This series updates boundarydevices defconfigs and also adds support for two new defconfigs -> nitrogen8ulp and nitrogen93.
Chris Dimich (8):
board/boundarydevices: update boot scripts board/boundarydevices: add i.MX 93 support to post-build.sh configs/nitrogen*: bump kernel revision to f789d32c configs/nitrogen*: bump u-boot revision to e3228228 configs/nitrogen8*: bump atf revision to d18357b7 configs/nitrogen8mm_defconfig: add SMARC support configs/nitrogen8ulp: new defconfig configs/nitrogen93: new defconfig
board/boundarydevices/common/boot.cmd | 111 ++++++++++++++------- board/boundarydevices/common/post-build.sh | 6 +- board/boundarydevices/common/upgrade.cmd | 11 ++ configs/nitrogen6sx_defconfig | 4 +- configs/nitrogen6x_defconfig | 4 +- configs/nitrogen7_defconfig | 4 +- configs/nitrogen8m_defconfig | 8 +- configs/nitrogen8mm_defconfig | 10 +- configs/nitrogen8mn_defconfig | 8 +- configs/nitrogen8mp_defconfig | 8 +- configs/nitrogen8ulp_defconfig | 63 ++++++++++++ configs/nitrogen93_defconfig | 60 +++++++++++ 12 files changed, 236 insertions(+), 61 deletions(-) create mode 100644 configs/nitrogen8ulp_defconfig create mode 100644 configs/nitrogen93_defconfig
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/8 board/boundarydevices: update boot scripts
- Add support for i.MX 8ULP and i.MX 93.
--- board/boundarydevices/common/boot.cmd | 111 +++++++++++++++-------- board/boundarydevices/common/upgrade.cmd | 11 +++ 2 files changed, 85 insertions(+), 37 deletions(-)
board/boundarydevices/common/boot.cmd +74 -37
@@ -1,10 +1,13 @@ setenv bootargs '' -m4='' kernelimage=zImage bootcommand=bootz a_base=0x10000000 +if test -z "${imx_cpu}"; then + setexpr imx_cpu sub ".*(..?..?)$" "\\1" "${soc_type}" +fi + #grab 1st 2/3 characters of string setexpr cpu2 sub "^(..?).*" "\\1" "${imx_cpu}" setexpr cpu3 sub "^(..?.?).*" "\\1" "${imx_cpu}"
@@ -18,10 +21,10 @@ elif itest.s x8M == "x${cpu2}"; then a_base=0x40000000 kernelimage=Image bootcommand=booti -fi -if itest.s "x1" == "x${m4enabled}" ; then - run m4boot; - m4='-m4'; +elif itest.s x8U == "x${cpu2}" || itest.s x93 == "${cpu3}"; then + a_base=0x80000000 + kernelimage=Image + bootcommand=booti fi setexpr a_script ${a_base} + 0x00800000
@@ -36,36 +39,72 @@ if itest.s "x" == "x${board}" ; then exit; fi -if itest.s "x" == "x${fdt_file}" ; then - if itest.s x51 == "x${cpu2}" ; then - fdt_file=imx51-${board}${m4}.dtb; - elif itest.s x53 == "x${cpu2}" ; then - fdt_file=imx53-${board}${m4}.dtb; - elif itest.s x6DL == "x${cpu3}" || itest.s x6SO == "x${cpu3}" ; then - fdt_file=imx6dl-${board}.dtb; - elif itest.s x6QP == "x${cpu3}" ; then - fdt_file=imx6qp-${board}.dtb; - elif itest.s x6SX == "x${cpu3}" ; then - fdt_file=imx6sx-${board}${m4}.dtb; - elif itest.s x6UL == "x${cpu3}" ; then - fdt_file=imx6ull-${board}.dtb; - elif itest.s x7D == "x${cpu2}" ; then - fdt_file=imx7d-${board}${m4}.dtb; - elif itest.s x8MM == "x${cpu3}" ; then - fdt_file=imx8mm-${board}${m4}.dtb; - elif itest.s x8MN == "x${cpu3}" ; then - fdt_file=imx8mn-${board}${m4}.dtb; - elif itest.s x8MP == "x${cpu3}" ; then - if itest *0x30360800 == 0x00824310 ; then - fdt_file=imx8mp-a0-${board}${m4}.dtb; - else - fdt_file=imx8mp-${board}${m4}.dtb; - fi - elif itest.s x8MQ == "x${cpu3}" ; then - fdt_file=imx8mq-${board}${m4}.dtb; +if itest.s x51 == "x${cpu2}" ; then + dtb_prefix=imx51; +elif itest.s x53 == "x${cpu2}" ; then + dtb_prefix=imx53; +elif itest.s x6DL == "x${cpu3}" || itest.s x6SO == "x${cpu3}" ; then + dtb_prefix=imx6dl; +elif itest.s x6QP == "x${cpu3}" ; then + dtb_prefix=imx6qp; +elif itest.s x6SX == "x${cpu3}" ; then + dtb_prefix=imx6sx; +elif itest.s x6UL == "x${cpu3}" ; then + dtb_prefix=imx6ull; +elif itest.s x7D == "x${cpu2}" ; then + dtb_prefix=imx7d; +elif itest.s x8MM == "x${cpu3}" ; then + dtb_prefix=imx8mm; +elif itest.s x8MN == "x${cpu3}" ; then + dtb_prefix=imx8mn; +elif itest.s x8MP == "x${cpu3}" ; then + if itest *0x30360800 == 0x00824310 ; then + dtb_prefix=imx8mp-a0; else - fdt_file=imx6q-${board}.dtb; + dtb_prefix=imx8mp; fi +elif itest.s x8MQ == "x${cpu3}" ; then + dtb_prefix=imx8mq; +elif itest.s x8ULP == "x${imx_cpu}" ; then + dtb_prefix=imx8ulp; +elif itest.s x93 == "${cpu3}" ; then + dtb_prefix=imx93; +else + dtb_prefix=imx6q; +fi + +if test ! -z "${mcore_enabled}"; then + if test ! -z "${mcoreboot}"; then + run mcoreboot; + fi + mcore_dtb=1 +fi +if test ! -z "${m4enabled}"; then + if test ! -z "${m4boot}"; then + run m4boot; + fi + mcore_dtb=1 +fi + +if test -z "${fdtfile}" ; then + if test -z "${fdt_file}" ; then + bn=${dtb_prefix}-${board}${board_rv}${board_carrier}${board_modifier}; + if test ! -z "${mcore_dtb}" ; then + if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${bn}-rpmsg.dtb; then + fdt_file=${bn}-rpmsg.dtb + else + fdt_file=${bn}-m4.dtb + fi + else + fdt_file=${bn}.dtb + fi + fi +else + fdt_file=${fdtfile} +fi + +if test ! -z "${mcore_dtb}" ; then + setenv bootargs ${bootargs} ${mcore_bootargs} fi if itest.s x${distro_bootpart} == x ; then
@@ -79,13 +118,11 @@ fi if itest.s x${console} != x ; then setenv bootargs ${bootargs} console=${console},115200 fi -if itest.s "x" == "x$vmalloc" ; then - vmalloc=400M -fi + if itest.s x${consoleblank} == x ; then consoleblank=0 fi -setenv bootargs ${bootargs} vmalloc=${vmalloc} consoleblank=${consoleblank} rootwait fixrtc cpu=${imx_cpu} board=${board} uboot_release=${uboot_release} +setenv bootargs ${bootargs} consoleblank=${consoleblank} rootwait if load ${devtype} ${devnum}:${distro_bootpart} ${a_fdt} ${prefix}${fdt_file} ; then fdt addr ${a_fdt}
board/boundarydevices/common/upgrade.cmd +11 -0
@@ -9,6 +9,10 @@ qspi_offset=0x0 a_base=0x12000000 block_size=0x200 +if test -z "${imx_cpu}"; then + setexpr imx_cpu sub ".*(..?..?)$" "\\1" "${soc_type}" +fi + #grab 1st 2/3 characters of string setexpr cpu2 sub "^(..?).*" "\\1" "${imx_cpu}" setexpr cpu3 sub "^(..?.?).*" "\\1" "${imx_cpu}"
@@ -27,6 +31,12 @@ elif itest.s x8M == "x${cpu2}"; then offset=0x0 fi fi +elif itest.s x8U == "x${cpu2}" || itest.s x93 == "${cpu3}"; then + a_base=0x82000000 + offset=0x8000 + if itest ${env_part} != 0 ; then + offset=0x0 + fi fi qspi_match=1
@@ -228,3 +238,4 @@ echo "---- U-Boot upgraded. The board will now reset." sleep 1 reset done +
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 1/8] board/boundarydevices: update boot scripts
Quoted 65 lines · Chris Dimich
- Add support for i.MX 8ULP and i.MX 93.
Signed-off-by Chris Dimich <[email protected]>--- board/boundarydevices/common/boot.cmd | 111 +++++++++++++++-------- board/boundarydevices/common/upgrade.cmd | 11 +++ 2 files changed, 85 insertions(+), 37 deletions(-)board/boundarydevices/common/boot.cmd +8
-24@@ -1,10 +1,13 @@ setenv bootargs '' -m4='' kernelimage=zImage bootcommand=bootz a_base=0x10000000 +if test -z "${imx_cpu}"; then + setexpr imx_cpu sub ".*(..?..?)$" "\\1" "${soc_type}" +fi + #grab 1st 2/3 characters of string setexpr cpu2 sub "^(..?).*" "\\1" "${imx_cpu}" setexpr cpu3 sub "^(..?.?).*" "\\1" "${imx_cpu}"@@ -18,10 +21,10 @@ elif itest.s x8M == "x${cpu2}"; then a_base=0x40000000 kernelimage=Image bootcommand=booti -fi -if itest.s "x1" == "x${m4enabled}" ; then - run m4boot; - m4='-m4'; +elif itest.s x8U == "x${cpu2}" || itest.s x93 == "${cpu3}"; then + a_base=0x80000000 + kernelimage=Image + bootcommand=booti fi setexpr a_script ${a_base} + 0x00800000@@ -36,36 +39,72 @@ if itest.s "x" == "x${board}" ; then exit; fi -if itest.s "x" == "x${fdt_file}" ; then - if itest.s x51 == "x${cpu2}" ; then - fdt_file=imx51-${board}${m4}.dtb; - elif itest.s x53 == "x${cpu2}" ; then - fdt_file=imx53-${board}${m4}.dtb; - elif itest.s x6DL == "x${cpu3}" || itest.s x6SO == "x${cpu3}" ; then - fdt_file=imx6dl-${board}.dtb; - elif itest.s x6QP == "x${cpu3}" ; then - fdt_file=imx6qp-${board}.dtb; - elif itest.s x6SX == "x${cpu3}" ; then - fdt_file=imx6sx-${board}${m4}.dtb; - elif itest.s x6UL == "x${cpu3}" ; then - fdt_file=imx6ull-${board}.dtb; - elif itest.s x7D == "x${cpu2}" ; then - fdt_file=imx7d-${board}${m4}.dtb; - elif itest.s x8MM == "x${cpu3}" ; then - fdt_file=imx8mm-${board}${m4}.dtb; - elif itest.s x8MN == "x${cpu3}" ; then - fdt_file=imx8mn-${board}${m4}.dtb;
board/boundarydevices/common/boot.cmd if itest.s "x" == "x${board}" ; then · line 43
Quoted 10 lines
board/boundarydevices/common/boot.cmd +2
-8- elif itest.s x8MP == "x${cpu3}" ; then - if itest *0x30360800 == 0x00824310 ; then - fdt_file=imx8mp-a0-${board}${m4}.dtb; - else - fdt_file=imx8mp-${board}${m4}.dtb; - fi - elif itest.s x8MQ == "x${cpu3}" ; then - fdt_file=imx8mq-${board}${m4}.dtb; +if itest.s x51 == "x${cpu2}" ; then + dtb_prefix=imx51;
This seems like pretty random refactoring. I guess there will be a good reason
for it, but it's not adequately explained in the commit message.
However, it makes me think that this U-Boot script actually comes from
somewhere else (possibly modified). Is that so? Then can't we just download it instead? If not, please at least mention in the commit message where it comes from.
Regards,
Arnout
Quoted 113 lines
board/boundarydevices/common/boot.cmd +64
-5+elif itest.s x53 == "x${cpu2}" ; then + dtb_prefix=imx53; +elif itest.s x6DL == "x${cpu3}" || itest.s x6SO == "x${cpu3}" ; then + dtb_prefix=imx6dl; +elif itest.s x6QP == "x${cpu3}" ; then + dtb_prefix=imx6qp; +elif itest.s x6SX == "x${cpu3}" ; then + dtb_prefix=imx6sx; +elif itest.s x6UL == "x${cpu3}" ; then + dtb_prefix=imx6ull; +elif itest.s x7D == "x${cpu2}" ; then + dtb_prefix=imx7d; +elif itest.s x8MM == "x${cpu3}" ; then + dtb_prefix=imx8mm; +elif itest.s x8MN == "x${cpu3}" ; then + dtb_prefix=imx8mn; +elif itest.s x8MP == "x${cpu3}" ; then + if itest *0x30360800 == 0x00824310 ; then + dtb_prefix=imx8mp-a0; else - fdt_file=imx6q-${board}.dtb; + dtb_prefix=imx8mp; fi +elif itest.s x8MQ == "x${cpu3}" ; then + dtb_prefix=imx8mq; +elif itest.s x8ULP == "x${imx_cpu}" ; then + dtb_prefix=imx8ulp; +elif itest.s x93 == "${cpu3}" ; then + dtb_prefix=imx93; +else + dtb_prefix=imx6q; +fi + +if test ! -z "${mcore_enabled}"; then + if test ! -z "${mcoreboot}"; then + run mcoreboot; + fi + mcore_dtb=1 +fi +if test ! -z "${m4enabled}"; then + if test ! -z "${m4boot}"; then + run m4boot; + fi + mcore_dtb=1 +fi + +if test -z "${fdtfile}" ; then + if test -z "${fdt_file}" ; then + bn=${dtb_prefix}-${board}${board_rv}${board_carrier}${board_modifier}; + if test ! -z "${mcore_dtb}" ; then + if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${bn}-rpmsg.dtb; then + fdt_file=${bn}-rpmsg.dtb + else + fdt_file=${bn}-m4.dtb + fi + else + fdt_file=${bn}.dtb + fi + fi +else + fdt_file=${fdtfile} +fi + +if test ! -z "${mcore_dtb}" ; then + setenv bootargs ${bootargs} ${mcore_bootargs} fi if itest.s x${distro_bootpart} == x ; then@@ -79,13 +118,11 @@ fi if itest.s x${console} != x ; then setenv bootargs ${bootargs} console=${console},115200 fi -if itest.s "x" == "x$vmalloc" ; then - vmalloc=400M -fi + if itest.s x${consoleblank} == x ; then consoleblank=0 fi -setenv bootargs ${bootargs} vmalloc=${vmalloc} consoleblank=${consoleblank} rootwait fixrtc cpu=${imx_cpu} board=${board} uboot_release=${uboot_release} +setenv bootargs ${bootargs} consoleblank=${consoleblank} rootwait if load ${devtype} ${devnum}:${distro_bootpart} ${a_fdt} ${prefix}${fdt_file} ; then fdt addr ${a_fdt}board/boundarydevices/common/upgrade.cmd +10
-0@@ -9,6 +9,10 @@ qspi_offset=0x0 a_base=0x12000000 block_size=0x200 +if test -z "${imx_cpu}"; then + setexpr imx_cpu sub ".*(..?..?)$" "\\1" "${soc_type}" +fi + #grab 1st 2/3 characters of string setexpr cpu2 sub "^(..?).*" "\\1" "${imx_cpu}" setexpr cpu3 sub "^(..?.?).*" "\\1" "${imx_cpu}"@@ -27,6 +31,12 @@ elif itest.s x8M == "x${cpu2}"; then offset=0x0 fi fi +elif itest.s x8U == "x${cpu2}" || itest.s x93 == "${cpu3}"; then + a_base=0x82000000 + offset=0x8000 + if itest ${env_part} != 0 ; then + offset=0x0 + fi fi qspi_match=1
board/boundarydevices/common/upgrade.cmd echo "---- U-Boot upgraded. The board will now reset." · line 241
Quoted 4 lines
board/boundarydevices/common/upgrade.cmd +1
-0@@ -228,3 +238,4 @@ echo "---- U-Boot upgraded. The board will now reset." sleep 1 reset done +
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/8 board/boundarydevices: add i.MX 93 support to post-build.sh
In reply to Chris Dimich--- board/boundarydevices/common/post-build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
board/boundarydevices/common/post-build.sh +5 -1
@@ -10,7 +10,11 @@ UBOOT_DEFCONFIG="$(grep BR2_TARGET_UBOOT_BOARD_DEFCONFIG ${BR2_CONFIG} | sed 's/ if grep -Eq "^BR2_aarch64=y$" ${BR2_CONFIG}; then MKIMAGE_ARCH=arm64 - UBOOT_BINARY=imx8-boot-sd.bin + if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93=y$" ${BR2_CONFIG}; then + UBOOT_BINARY=imx9-boot-sd.bin + else + UBOOT_BINARY=imx8-boot-sd.bin + fi else MKIMAGE_ARCH=arm UBOOT_BINARY=u-boot.imx
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/8] board/boundarydevices: add i.MX 93 support to post-build.sh
Quoted 12 lines · Chris Dimich
Signed-off-by Chris Dimich <[email protected]>--- board/boundarydevices/common/post-build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)board/boundarydevices/common/post-build.sh +0
-0@@ -10,7 +10,11 @@ UBOOT_DEFCONFIG="$(grep BR2_TARGET_UBOOT_BOARD_DEFCONFIG ${BR2_CONFIG} | sed 's/ if grep -Eq "^BR2_aarch64=y$" ${BR2_CONFIG}; then
board/boundarydevices/common/post-build.sh UBOOT_DEFCONFIG="$(grep BR2_TARGET_UBOOT_BOARD_DEFCONFIG ${BR2_CONFIG} | sed 's/ · line 20
Quoted 10 lines
board/boundarydevices/common/post-build.sh +5
-1MKIMAGE_ARCH=arm64 - UBOOT_BINARY=imx8-boot-sd.bin + if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93=y$" ${BR2_CONFIG}; then + UBOOT_BINARY=imx9-boot-sd.bin + else + UBOOT_BINARY=imx8-boot-sd.bin + fi else MKIMAGE_ARCH=arm UBOOT_BINARY=u-boot.imx
I wonder if it wouldn't be better to reuse the board/freescale/imx scripts for
the boundary devices as well? There shouldn't be a reason why they are different, right?
Regards,
Arnout
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/8 configs/nitrogen*: bump kernel revision to f789d32c
In reply to Chris Dimich- Based on NXP 6.1.55-2.2.0 release.
- Full support for Nitrogen8ULP, Nitrogen8M Mini SMARC and Nitrogen93 SMARC (including M33 Core)
--- configs/nitrogen6sx_defconfig | 2 +- configs/nitrogen6x_defconfig | 2 +- configs/nitrogen7_defconfig | 2 +- configs/nitrogen8m_defconfig | 2 +- configs/nitrogen8mm_defconfig | 2 +- configs/nitrogen8mn_defconfig | 2 +- configs/nitrogen8mp_defconfig | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-)
configs/nitrogen6sx_defconfig +1 -1
@@ -37,7 +37,7 @@ BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/boundarydevices/common/bo BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y # Latest revision of branch boundary-imx_6.1.y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/4470b050.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/f789d32c.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="boundary" BR2_LINUX_KERNEL_INSTALL_TARGET=y BR2_LINUX_KERNEL_DTS_SUPPORT=y
configs/nitrogen6x_defconfig +1 -1
@@ -36,7 +36,7 @@ BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/boundarydevices/common/bo BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y # Latest revision of branch boundary-imx_6.1.y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/4470b050.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/f789d32c.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="boundary" BR2_LINUX_KERNEL_INSTALL_TARGET=y BR2_LINUX_KERNEL_DTS_SUPPORT=y
configs/nitrogen7_defconfig +1 -1
@@ -36,7 +36,7 @@ BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/boundarydevices/common/bo BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y # Latest revision of branch boundary-imx_6.1.y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/4470b050.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/f789d32c.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="boundary" BR2_LINUX_KERNEL_INSTALL_TARGET=y BR2_LINUX_KERNEL_DTS_SUPPORT=y
configs/nitrogen8m_defconfig +1 -1
@@ -52,7 +52,7 @@ BR2_TARGET_UBOOT_SPL=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y # Latest revision of branch boundary-imx_6.1.y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/4470b050.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/f789d32c.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="boundary" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INSTALL_TARGET=y
configs/nitrogen8mm_defconfig +1 -1
@@ -52,7 +52,7 @@ BR2_TARGET_UBOOT_SPL=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y # Latest revision of branch boundary-imx_6.1.y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/4470b050.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/f789d32c.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="boundary" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INSTALL_TARGET=y
configs/nitrogen8mn_defconfig +1 -1
@@ -52,7 +52,7 @@ BR2_TARGET_UBOOT_SPL=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y # Latest revision of branch boundary-imx_6.1.y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/4470b050.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/f789d32c.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="boundary" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INSTALL_TARGET=y
configs/nitrogen8mp_defconfig +1 -1
@@ -52,7 +52,7 @@ BR2_TARGET_UBOOT_SPL=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y # Latest revision of branch boundary-imx_6.1.y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/4470b050.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/f789d32c.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="boundary" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INSTALL_TARGET=y
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 4/8 configs/nitrogen*: bump u-boot revision to e3228228
In reply to Chris Dimich- Full support for Nitrogen8ULP, Nitrogen8M Mini SMARC and Nitrogen93 SMARC (including M33 Core)
- Boot/Update script support for Nitrogen93
- Add more DRAM variants for existing platforms
--- configs/nitrogen6sx_defconfig | 2 +- configs/nitrogen6x_defconfig | 2 +- configs/nitrogen7_defconfig | 2 +- configs/nitrogen8m_defconfig | 2 +- configs/nitrogen8mm_defconfig | 2 +- configs/nitrogen8mn_defconfig | 2 +- configs/nitrogen8mp_defconfig | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-)
configs/nitrogen6sx_defconfig +1 -1
@@ -25,7 +25,7 @@ BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_TARBALL=y # Latest revision of branch boundary-v2022.04 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/7e7eff74.tar.gz" +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/e3228228.tar.gz" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen6sx" BR2_TARGET_UBOOT_FORMAT_IMX=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
configs/nitrogen6x_defconfig +1 -1
@@ -24,7 +24,7 @@ BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_TARBALL=y # Latest revision of branch boundary-v2022.04 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/7e7eff74.tar.gz" +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/e3228228.tar.gz" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen6q" BR2_TARGET_UBOOT_FORMAT_IMX=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
configs/nitrogen7_defconfig +1 -1
@@ -24,7 +24,7 @@ BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_TARBALL=y # Latest revision of branch boundary-v2022.04 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/7e7eff74.tar.gz" +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/e3228228.tar.gz" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen7" BR2_TARGET_UBOOT_FORMAT_IMX=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
configs/nitrogen8m_defconfig +1 -1
@@ -40,7 +40,7 @@ BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8m" BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_TARBALL=y # Latest revision of branch boundary-v2022.04 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/7e7eff74.tar.gz" +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/e3228228.tar.gz" BR2_TARGET_UBOOT_FORMAT_CUSTOM=y BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" BR2_TARGET_UBOOT_NEEDS_DTC=y
configs/nitrogen8mm_defconfig +1 -1
@@ -40,7 +40,7 @@ BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8mm_2g" BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_TARBALL=y # Latest revision of branch boundary-v2022.04 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/7e7eff74.tar.gz" +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/e3228228.tar.gz" BR2_TARGET_UBOOT_FORMAT_CUSTOM=y BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" BR2_TARGET_UBOOT_NEEDS_DTC=y
configs/nitrogen8mn_defconfig +1 -1
@@ -40,7 +40,7 @@ BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8_nano_8mn1gr0" BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_TARBALL=y # Latest revision of branch boundary-v2022.04 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/7e7eff74.tar.gz" +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/e3228228.tar.gz" BR2_TARGET_UBOOT_FORMAT_CUSTOM=y BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" BR2_TARGET_UBOOT_NEEDS_DTC=y
configs/nitrogen8mp_defconfig +1 -1
@@ -40,7 +40,7 @@ BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8mp_2gr0" BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_TARBALL=y # Latest revision of branch boundary-v2022.04 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/7e7eff74.tar.gz" +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/e3228228.tar.gz" BR2_TARGET_UBOOT_FORMAT_CUSTOM=y BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" BR2_TARGET_UBOOT_NEEDS_DTC=y
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 5/8 configs/nitrogen8*: bump atf revision to d18357b7
In reply to Chris DimichSwitch to branch boundary-lf-6.1.55-2.0.0.
--- configs/nitrogen8m_defconfig | 4 ++-- configs/nitrogen8mm_defconfig | 4 ++-- configs/nitrogen8mn_defconfig | 4 ++-- configs/nitrogen8mp_defconfig | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-)
configs/nitrogen8m_defconfig +2 -2
@@ -29,8 +29,8 @@ BR2_PACKAGE_FIRMWARE_IMX=y # ARM Trusted Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -# Latest revision of branch boundary-lf-6.1.22-2.0.0 -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/7e3484cc.tar.gz" +# Latest revision of branch boundary-lf-6.1.55-2.0.0 +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/d18357b7.tar.gz" BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mq" BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
configs/nitrogen8mm_defconfig +2 -2
@@ -29,8 +29,8 @@ BR2_PACKAGE_FIRMWARE_IMX=y # ARM Trusted Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -# Latest revision of branch boundary-lf-6.1.22-2.0.0 -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/7e3484cc.tar.gz" +# Latest revision of branch boundary-lf-6.1.55-2.0.0 +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/d18357b7.tar.gz" BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mm" BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
configs/nitrogen8mn_defconfig +2 -2
@@ -29,8 +29,8 @@ BR2_PACKAGE_FIRMWARE_IMX=y # ARM Trusted Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -# Latest revision of branch boundary-lf-6.1.22-2.0.0 -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/7e3484cc.tar.gz" +# Latest revision of branch boundary-lf-6.1.55-2.0.0 +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/d18357b7.tar.gz" BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mn" BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
configs/nitrogen8mp_defconfig +2 -2
@@ -29,8 +29,8 @@ BR2_PACKAGE_FIRMWARE_IMX=y # ARM Trusted Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -# Latest revision of branch boundary-lf-6.1.22-2.0.0 -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/7e3484cc.tar.gz" +# Latest revision of branch boundary-lf-6.1.55-2.0.0 +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/d18357b7.tar.gz" BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mp" BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 6/8 configs/nitrogen8mm_defconfig: add SMARC support
In reply to Chris Dimich--- configs/nitrogen8mm_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configs/nitrogen8mm_defconfig +1 -1
@@ -56,5 +56,5 @@ BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/lin BR2_LINUX_KERNEL_DEFCONFIG="boundary" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mm-nitrogen8mm freescale/imx8mm-nitrogen8mm-m4 freescale/imx8mm-nitrogen8mm_rev2 freescale/imx8mm-nitrogen8mm_rev2-m4 freescale/imx8mm-nitrogen8mm_som freescale/imx8mm-nitrogen8mm_som-m4" +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mm-nitrogen8mm freescale/imx8mm-nitrogen8mm-m4 freescale/imx8mm-nitrogen8mm_rev2 freescale/imx8mm-nitrogen8mm_rev2-m4 freescale/imx8mm-nitrogen8mm_som freescale/imx8mm-nitrogen8mm_som-m4 freescale/imx8mm-nitrogen_smarc" BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 6/8] configs/nitrogen8mm_defconfig: add SMARC support
Quoted 10 lines · Chris Dimich
Signed-off-by Chris Dimich <[email protected]>--- configs/nitrogen8mm_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configs/nitrogen8mm_defconfig +0
-0
configs/nitrogen8mm_defconfig BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/lin · line 60
Quoted 6 lines
configs/nitrogen8mm_defconfig +1
-1@@ -56,5 +56,5 @@ BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/lin BR2_LINUX_KERNEL_DEFCONFIG="boundary" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mm-nitrogen8mm freescale/imx8mm-nitrogen8mm-m4 freescale/imx8mm-nitrogen8mm_rev2 freescale/imx8mm-nitrogen8mm_rev2-m4 freescale/imx8mm-nitrogen8mm_som freescale/imx8mm-nitrogen8mm_som-m4" +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mm-nitrogen8mm freescale/imx8mm-nitrogen8mm-m4 freescale/imx8mm-nitrogen8mm_rev2 freescale/imx8mm-nitrogen8mm_rev2-m4 freescale/imx8mm-nitrogen8mm_som freescale/imx8mm-nitrogen8mm_som-m4 freescale/imx8mm-nitrogen_smarc" BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
I guess there should be an update of board/boundarydevices/common/readme.txt
as well to add this board?
Regards,
Arnout
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 7/8 configs/nitrogen8ulp: new defconfig
In reply to Chris DimichMore details on the platform here:
https://www.ezurio.com/system-on-module/nxp-imx8/nitrogen8ulp-som
--- configs/nitrogen8ulp_defconfig | 63 ++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 configs/nitrogen8ulp_defconfig
configs/nitrogen8ulp_defconfig new file +63 -0
@@ -0,0 +1,63 @@ +# Architecture +BR2_aarch64=y +BR2_cortex_a35=y + +# System +BR2_SSP_NONE=y +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyLP3" +BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_BOUNDARY_PATH)/board/boundarydevices/nitrogen8ulp/mcore-binary-copy.sh board/freescale/common/imx/imx8-bootloader-prepare.sh board/boundarydevices/common/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_BOUNDARY_PATH)/board/boundarydevices/common/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8ulp-nitrogen-som.dtb" +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_IMX_MKIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" + +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y + +# IMX Firmware +BR2_PACKAGE_FREESCALE_IMX=y +BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8ULP=y +BR2_PACKAGE_FIRMWARE_ELE_IMX=y +BR2_PACKAGE_FIRMWARE_UPOWER=y +BR2_PACKAGE_FIRMWARE_IMX=y + +# ARM Trusted Firmware +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y +# Latest revision of branch boundary-lf-6.1.55-2.0.0 +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/d18357b7.tar.gz" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8ulp" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8ulp_nitrogen_som_2gr0" +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +# Latest revision of branch boundary-v2022.04 +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/e3228228.tar.gz" +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_SPL=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_6.1.y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/f789d32c.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="boundary" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8ulp-nitrogen-som" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 7/8] configs/nitrogen8ulp: new defconfig
Hello Chris,
Quoted 8 lines · On Tue, 11 Jun 2024 11:02:06 -0700 Chris Dimich <[email protected]> wrote:
More details on the platform here:
https://www.ezurio.com/system-on-module/nxp-imx8/nitrogen8ulp-som
Signed-off-by Chris Dimich <[email protected]>--- configs/nitrogen8ulp_defconfig | 63 ++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+)
Thanks for the patch! A new defconfig can never be standalone, it at very least needs:
- An entry in the DEVELOPERS file
- A readme.txt (either for the board, or a common one, like board/boundarydevices/common/readme.txt)
configs/nitrogen8ulp_defconfig line 6
Quoted 12 lines
configs/nitrogen8ulp_defconfig new file +6
-0@@ -0,0 +1,63 @@ +# Architecture +BR2_aarch64=y +BR2_cortex_a35=y + +# System +BR2_SSP_NONE=y
Please do not disable SSP, there's I believe no reason to do so.
Also, for new defconfigs, we require BR2_DOWNLOAD_FORCE_CHECK_HASHES=y to be enabled. ./utils/add-custom-hashes can help you to generate those hashes.
configs/nitrogen8ulp_defconfig line 36
Quoted 5 lines
configs/nitrogen8ulp_defconfig new file +5
-0+# ARM Trusted Firmware +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y +# Latest revision of branch boundary-lf-6.1.55-2.0.0 +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/d18357b7.tar.gz"
Maybe we could do instead:
$(call github,boundarydevices,imx-atf,d18357b7)/imx-atf-d18357b7.tar.gz ?
and ditto for others? (This is not a strong requirement, but we do this in other defconfigs).
Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 8/8 configs/nitrogen93: new defconfig
In reply to Chris DimichMore details on the platform here:
https://www.ezurio.com/system-on-module/nxp-imx9/nitrogen93-smarc
--- configs/nitrogen93_defconfig | 60 ++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 configs/nitrogen93_defconfig
configs/nitrogen93_defconfig new file +60 -0
@@ -0,0 +1,60 @@ +# Architecture +BR2_aarch64=y +BR2_cortex_a55=y + +# System +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyLP0" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx9-bootloader-prepare.sh board/boundarydevices/common/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_BOUNDARY_PATH)/board/boundarydevices/common/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx93-nitrogen-smarc.dtb" +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_IMX_MKIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" + +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y + +# IMX Firmware +BR2_PACKAGE_FREESCALE_IMX=y +BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93=y +BR2_PACKAGE_FIRMWARE_ELE_IMX=y +BR2_PACKAGE_FIRMWARE_IMX=y + +# ARM Trusted Firmware +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.1.55-2.2.0)/imx-atf-lf-6.1.55-2.2.0.tar.gz" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx93" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx93_nitrogen_smarc" +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +# Latest revision of branch boundary-lf_v2023.04 +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/73dcd1c4.tar.gz" +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_SPL=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_6.1.y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/f789d32c.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="boundary" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx93-nitrogen-smarc freescale/imx93-nitrogen-smarc-lvds" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 8/8] configs/nitrogen93: new defconfig
Hello Chris,
Quoted 9 lines · On Tue, 11 Jun 2024 11:02:07 -0700 Chris Dimich <[email protected]> wrote:
More details on the platform here:
https://www.ezurio.com/system-on-module/nxp-imx9/nitrogen93-smarc
Signed-off-by Chris Dimich <[email protected]>--- configs/nitrogen93_defconfig | 60 ++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 configs/nitrogen93_defconfig
Could you please apply the same comments as the ones made on PATCH 7/8 ?
Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Chris,
Quoted 9 lines · On Tue, 11 Jun 2024 11:01:59 -0700 Chris Dimich <[email protected]> wrote:
Chris Dimich (8):
board/boundarydevices: update boot scripts board/boundarydevices: add i.MX 93 support topost-build.shconfigs/nitrogen*: bump kernel revision tof789d32cconfigs/nitrogen*: bump u-boot revision toe3228228configs/nitrogen8*: bump atf revision tod18357b7configs/nitrogen8mm_defconfig: add SMARC support configs/nitrogen8ulp: new defconfig configs/nitrogen93: new defconfig
There were quite a few review comments or questions on multiple patches.
Also, in existing defconfigs, while bumping, it would be nice to enable BR2_DOWNLOAD_FORCE_CHECK_HASHES=y in those defconfigs.
Could you work on an updated version, and send a v2?
Thanks a lot!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot