IMX8MQ-EVK : "U-Boot 2019.04" distro_bootcmd support

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX8MQ-EVK : "U-Boot 2019.04" distro_bootcmd support

Jump to solution
633 Views
shrikant_bobade
Contributor III

Hello All,

On my IMX8MQ-EVK I am using "U-Boot 2019.04" from git://source.codeaurora.org/external/imx/uboot-imx.git branch:-imx_v2019.04_4.19.35_1.1.0"


Need "distro_bootcmd" support for my work and found that it is not supported by default,
hence back-porting upstream patches https://lists.denx.de/pipermail/u-boot/2020-December/435286.html

queries
1. is there any specific reason till now no support added for "distro_bootcmd" for U-Boot 2019.04"?
2. also while back-porting above "distro_bootcmd" patch on "U-Boot 2019.04" observed I needed to explicitly comment-out the the check for disabled SPL_BUILD (#ifndef CONFIG_SPL_BUILD)"
without this  u-boot build breaks ,  tried disabling SPL configs and un-defining (#undef CONFIG_SPL_BUILD) n source but won't help much.

+/*#ifndef CONFIG_SPL_BUILD*/
+#define BOOT_TARGET_DEVICES(func) \
+ func(MMC, mmc, 0) \
+ func(MMC, mmc, 1) \
+ func(DHCP, dhcp, na)
+
+#include <config_distro_bootcmd.h>
+/*#endif*/

so commenting out "#ifndef CONFIG_SPL_BUILD" for "U-Boot 2019.04" will be fine? Or
Please advise if I am missing anything while enabling distro_bootcmd support on "U-Boot 2019.04"

Thanks
Shrikant Bobade

0 Kudos
1 Solution
621 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Shrikant

 


"U-Boot 2019.04" is more than year old and unfortunately not more supported, recommended to

use latest uboot releases described on

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

For support with backporting may be recommended to post issue on uboot mail list

https://lists.denx.de/listinfo/u-boot

also NXP has special service for help with backporting, NXP Professional Services:

https://contact.nxp.com/new-prof-svcs-sw-tech

 

>1. is there any specific reason till now no support added for "distro_bootcmd" for U-Boot 2019.04"?

 

this is defined by NXP software management, for additional details suggest to contact

local office.

 

Best regards
igor

View solution in original post

2 Replies
612 Views
shrikant_bobade
Contributor III

Hi Igor,

Thanks for your response and information. 

 

Thanks

Shrikant

 

0 Kudos
622 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Shrikant

 


"U-Boot 2019.04" is more than year old and unfortunately not more supported, recommended to

use latest uboot releases described on

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

For support with backporting may be recommended to post issue on uboot mail list

https://lists.denx.de/listinfo/u-boot

also NXP has special service for help with backporting, NXP Professional Services:

https://contact.nxp.com/new-prof-svcs-sw-tech

 

>1. is there any specific reason till now no support added for "distro_bootcmd" for U-Boot 2019.04"?

 

this is defined by NXP software management, for additional details suggest to contact

local office.

 

Best regards
igor