Can't upload ramdisk file of 11 MB with MFGtool

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

Can't upload ramdisk file of 11 MB with MFGtool

跳至解决方案
1,934 次查看
jpd
Contributor I

Hi,

I'm trying to integrate my custom board with MFGTool.

I have already configured my u-boot + Kernel and able to upload it with MFGTool.

My main problem is that when I try to upload my ramdisk file which as a size of 11 MBytes.

Weird thing is that a similar rootfs with only 8 MB run just fine.

Any idea ?

I Also tryed to send the file in multiple part but didn't worked ... Is this some kind of limitation to MFGTool ??

Here is what my XML look like

  <LIST name="MyBoard" desc="Just a test">

    <CMD state="BootStrap" type="boot" body="BootStrap" file ="myboard/u-boot-mfg.bin" >Loading U-boot</CMD>

    <CMD state="BootStrap" type="load" file="myboard/uImage" address="0x10800000"

      loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Loading Kernel.</CMD>

    <CMD state="BootStrap" type="load" file="myboard/ramdisk.uboot" address="0x11800000"

      loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Loading Initramfs.</CMD>

    <CMD state="BootStrap" type="jump" > Jumping to OS image. </CMD>

  </LIST>

Thanks for any help

标签 (4)
标记 (3)
1 解答
1,595 次查看
jpd
Contributor I

Finally found the cause. Our PMU was looking for an I/O that we were toggling in u-boot to validate that the CPU is started correctly. If that pin was not toggled in 5 seconds the PMU is resetting the CPU. The problem was not the filesize more the time consumed by the upload .. This is why it worked with smaller file .. as it was taking a bit less time then 5 second.

Adjusting this delay solved the issue .

Thanks

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,595 次查看
justin_jiang
NXP Employee
NXP Employee

You can try to use the default ramdisk file in the MFGtool release.

MFGtool should have no limitaion for it.

1,596 次查看
jpd
Contributor I

Finally found the cause. Our PMU was looking for an I/O that we were toggling in u-boot to validate that the CPU is started correctly. If that pin was not toggled in 5 seconds the PMU is resetting the CPU. The problem was not the filesize more the time consumed by the upload .. This is why it worked with smaller file .. as it was taking a bit less time then 5 second.

Adjusting this delay solved the issue .

Thanks

0 项奖励
回复
1,595 次查看
justin_jiang
NXP Employee
NXP Employee

OK, thanks for the update.