Mfgtool for Linux

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

Mfgtool for Linux

10,928 Views
BrilliantovKiri
Senior Contributor I

Hello!
Where can I get description for write u-boot on NAND? I do not use Windows in work and, I think, can't use Mfgtool.

Thank you and exuse me my bad english.

0 Kudos
10 Replies

1,898 Views
HuiShao
Contributor I

Thanks a lot! Yuri. May I know which document I should go to look into to get detailed instructions?

0 Kudos

1,898 Views
Yuri
NXP Employee
NXP Employee

Yes, the MFG tool supports NAND flashing, partitioning etc. 

The MFG just loads and run minimal OS (Linux) on the target and then such
utility as kobs-ng (for Linux) provides flash operations.
 

0 Kudos

1,898 Views
HuiShao
Contributor I

Hi Yuri,

 

Does Mfgtool support NAND flashing, partitioning etc? Our cutomized board is based on iMX53 QSB but uses NAND as boot device other than microSD card. That brings in some overheads to figure out how to program initial u-boot and create partition on NAND.

Yuri Muhin said:

Sorry, we do not have tools to burn NANDs via serial (UART / USB) port for i.MX53 under host Linux. 
Basically one can use abilities of internal i.MX53 serial bootloader (to design own loaders) - please look
at Florent's discussion :

http://imxcommunity.org/group/imx53quickstartboard/forum/topics/ser...

Another problem - it is needed to support special NAND boot structures (FCB, DBBT), described in i.MX53 RM,
section 7.5.2 (NAND Flash).

 

0 Kudos

1,898 Views
Yuri
NXP Employee
NXP Employee

As for the serial protocol - it is described in section 7.8.3 (Serial Download Protocol)
of i.MX53 RM. Also please look at the enclosed - as an example - sorry- for windows

Brilliantov Kirill Vladimirovich said:

This is not good. May be I can get description on protocol, then I can try write flasher? I can see source Mfgtool, but this is not very simple way.

Yuri Muhin said:

Another problem - it is needed to support special NAND boot structures (FCB, DBBT), described in i.MX53 RM,
section 7.5.2 (NAND Flash).

I think i.MX53 must can booting from NAND.

0 Kudos

1,898 Views
Yuri
NXP Employee
NXP Employee

You may try VMware virtual machine (with Windows XP) under Linux - in order to run
the MFG tools. 

I think i.MX53 must can booting from NAND.


Of course.

0 Kudos

1,898 Views
BrilliantovKiri
Senior Contributor I

This is not good. May be I can get description on protocol, then I can try write flasher? I can see source Mfgtool, but this is not very simple way.

Yuri Muhin said:

Another problem - it is needed to support special NAND boot structures (FCB, DBBT), described in i.MX53 RM,
section 7.5.2 (NAND Flash).

I think i.MX53 must can booting from NAND.

0 Kudos

1,898 Views
Yuri
NXP Employee
NXP Employee

Sorry, we do not have tools to burn NANDs via serial (UART / USB) port for i.MX53 under host Linux. 
Basically one can use abilities of internal i.MX53 serial bootloader (to design own loaders) - please look
at Florent's discussion :

http://imxcommunity.org/group/imx53quickstartboard/forum/topics/serial-download-example-instructions...

Another problem - it is needed to support special NAND boot structures (FCB, DBBT), described in i.MX53 RM,
section 7.5.2 (NAND Flash).

 

0 Kudos

1,898 Views
BrilliantovKiri
Senior Contributor I

Thank you for your reply Yuri!

Now I work with IMX53 Quick Start Board, but target device don't have SD, this is can be optional device.
As sampe, now I work with TexasInstruments DM36x processors and I can write u-boot on NAND via serial port.
How can I write u-boot on NAND via serial port to IMX53?

0 Kudos

1,898 Views
Yuri
NXP Employee
NXP Employee

You may use SD to boot Linux, which should include kobs-ng utility.

 

Then :

 

kobs-ng init --chip_0_device_path=/dev/mtd0 u-boot.bin

0 Kudos