How to burn uboot aboard a NAND flash

I have a question regarding Uboot. I look forward to creating an ARM-based board. Now I want to burn Uboot to a NAND flash drive attached to my controller. How can I perform this operation?

http://www.stlinux.com/u-boot/target-install What I got from this link is that - STX7111 Mboard - there is a serial port that can communicate with GDB. And from GDB we use u-boot to write the next file. Is this file written to RAM or NAND flash gdb?

Then execution proceeds to this u-boot "u-boot" program. Now this u-boot program will write the actual u-boot.bin file to the NAND flash.

Does each controller have a serial port that can communicate with GDB? Do all controllers follow this approach to burn the uboot bootloader into their NAND flash?

Please offer.

+3
source share
2 answers

What I got from this link is that - STx7111 Mboard - there is a serial port that can communicate with GDB. And from GDB we use u-boot to write the next file. Is this file written to RAM or NAND flash gdb?

No, you have not read this article for sure. GDB is used simply as an interface to JTAG.
This first step is to load the executable (copy of U-Boot) into RAM.

, GDB?
, uboot - NAND?

( ) ( ).
, SoC ( "" - ) , . " " .

U-Boot ( ) NAND, :

  • - ( - ) ;

  • NAND, - NAND ECC, , .

, . :

  • ( ) . .

  • SoC ROM , RS232 USB . . . Atmel SAM-BA .

  • , ​​ U-Boot, - NAND , . U-Boot UART/USART, USB-RS232.

, U-Boot NAND, : ? :

. (.. U-Boot) SD- , SoC SD-. , SoC , .

. (.. U-Boot) JTAG, Segger J-Link, ( , , ), . J-Link JLINK GDB.

U-Boot , . U-Boot - NAND, U-Boot, - NAND ( ).

+4

- GDB, . gdb, (u-boot), u-boot, ( u-boot.img( FLASH), linux ) ( NOR NAND).

0

All Articles