L5.1.1_2.1.0 mfg firmware u-boot and kernel

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

L5.1.1_2.1.0 mfg firmware u-boot and kernel

跳至解决方案
1,195 次查看
xianyoju
Contributor II

how to build the BSP L5.1.1_2.1.0 mfg firmware?

i can not found the mfg config in u-boot and kernel in the newest BSP!!!!

标签 (1)
0 项奖励
回复
1 解答
972 次查看
BiyongSUN
NXP Employee
NXP Employee

You can ask a software engineer to help you review the uboot source code by searching "is_boot_from_usb".

From the 3.10 BSP, the uboot is shared with mfg tool. 

uboot-imx\common\main

#ifdef is_boot_from_usb

if (is_boot_from_usb()) {

  printf("Boot from USB for mfgtools\n");

  bootdelay = 0;

  set_default_env("Use default environment for mfgtools\n");

} else {

  printf("Normal Boot\n");

}

#endif

在原帖中查看解决方案

0 项奖励
回复
4 回复数
972 次查看
SergioSolis
NXP Employee
NXP Employee

Hello XianYo,

Can you please tell me which evaluation board are you using?... did you download both the bsp and mfg tools?.

Can you be more specific on what you can't do?

0 项奖励
回复
972 次查看
xianyoju
Contributor II

our custom board

in the old bsp

we must rebuild the mfg uboot and kernel firmware

but thre newest bsp do not have the mfg config

0 项奖励
回复
973 次查看
BiyongSUN
NXP Employee
NXP Employee

You can ask a software engineer to help you review the uboot source code by searching "is_boot_from_usb".

From the 3.10 BSP, the uboot is shared with mfg tool. 

uboot-imx\common\main

#ifdef is_boot_from_usb

if (is_boot_from_usb()) {

  printf("Boot from USB for mfgtools\n");

  bootdelay = 0;

  set_default_env("Use default environment for mfgtools\n");

} else {

  printf("Normal Boot\n");

}

#endif

0 项奖励
回复
972 次查看
xianyoju
Contributor II

got it. thanks!

0 项奖励
回复