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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,064件の閲覧回数
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 件の賞賛
1 解決策
1,052件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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

元の投稿で解決策を見る

2 返答(返信)
1,043件の閲覧回数
shrikant_bobade
Contributor III

Hi Igor,

Thanks for your response and information. 

 

Thanks

Shrikant

 

0 件の賞賛
1,053件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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