Can't boot up from nand after using Mfgtool

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't boot up from nand after using Mfgtool

1,015 Views
minc
Contributor I

Hello there,

 

I have board with imx28. Our sd doesn't work due that we don't have eeprom to apply the polarity patch. So I used Mfgtool to program the nand in the recovery mode via the usb port. It was  successful, see the last fw messages form the console

 

...

UTP: received command '$ umount /mnt/ubi0'

UTP: sending Busy

UTP: executing "umount /mnt/ubi0"

UBIFS: un-mount UBI device 0, volume 0

UTP: sending Success

utp_poll: pass returned.

UTP: received command '$ echo Update Complete!'

UTP: sending Busy

UTP: executing "echo Update Complete!"

Update Complete!

UTP: sending Success

utp_poll: pass returned.

g_file_storage gadget: high speed config #1

 

 

All the images and sb files were created by "ltib --selectype" to select the type to build updater_ivt.sb for the mfgtool firmware.

Then I unplugged the usb port, reset the board. It did start booting from nand. But it stopped and never showed the login prompt. I attached the log file. Can anyone help and tell me what I have done wrong?

 

I have some other questions:

1) does the imx28_ivt_linux.sb include the uImage? I haven't seen uImage file being sent to the nand flash by the Mfgtool.

2) Should I still see "Starting utp" (see the log file) when booting from nand?

3) When ltib builds updater_ivt.sb, does it build the kernel/rootfs normally or in a reduced form?

 

Thanks in advance

 

Original Attachment has been moved to: log-nandBootFailed.txt.zip

Labels (1)
0 Kudos
4 Replies

504 Views
YixingKong
Senior Contributor IV

Minchun

This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this

discussion, or create another discussion.
Thanks,
Yixing

0 Kudos

504 Views
YixingKong
Senior Contributor IV

Minchun

Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help please feel

free to contact Freescale.

Thanks,
Yixing

0 Kudos

504 Views
Yuri
NXP Employee
NXP Employee

As for the questions :

1)
> does the imx28_ivt_linux.sb include the uImage?

No. The kernel may be loaded by internal ROM.

3)
> When ltib builds updater_ivt.sb, does it build the kernel/rootfs normally or in a reduced form?


Special (ram fs based) form.


 

0 Kudos

504 Views
emanuelec
Contributor III

Hi Liu,

are you sure your kernel command line is correct? If I've well understood your problem, I think you can see i.MX28_Linux_BSP_UG (from L2.6.35_10.12.01_SDK_docs) paragraph 5.1.1.1: you can see which is the Linux command line for NAND boot.

In LTIB in "package list" you have 4 command line to set: I always the same command line to all lines.

Be sure complile your image explicitly with

./ltib -p boot_stream.spec -f

all times you change command line.

Regards

Emanuele

0 Kudos