Now, I have been developing a custom board based on MX53QSB.
I want to start U-boot using the serial download mode.
Does anyone know a way to anyone?
It is possible to use the ATK toolkit (recent version – 1.71) to load and
run U-boot via UART port of the i.MX53.
To use it, please pay attention on the following :
1. It is needed to apply “Custom Initial File” for DRAM initialization.
2. Internal i.MX53 serial bootloader requires, that the flash header (IVT, DCD and the Boot Data strictures)
is provided first in loaded data stream. Let me remind, the U-boot contains these structures at offset
0x400 of its image. Therefore the next may be done :
2.1. Remove first 0x400 bytes from u-boot image (no-padding u-boot images).
One can use dd command :
dd if=./u-boot.bin of=./u-boot-no-padding.bin bs=1024 skip=1
2.2. Load (start) address of U-boot (when using download command on the ATK) should be set as 0x7780_0400.
You may try the enclosed MFG configuration.
I have received from you using the application, but this application did not work properly.
My development board that was not recognized by the PC as a device USB.
Is there a way to launch the U-boot using a serial cable?
On imx53QSB, there is a position for 10-pin switch (SW1), by default, this switch is removed. If you can find one , you can add it to the board. If not, you can solder 2 lines , one is pin 11, the other is pin10, then connect them together, BOOT_MODE0 and BOOT_MODE1 pin on CPU will be pulled up to 1.8V, It means you can use usb download mode now.
after you burn images into SD card, you disconnect these 2 lines, BOOT_MODE1 and BOOT_MODE0 will be pulled down to LOW, it means board can boot by internal mode.
So, BOOT_MODE1 and BOOT_MODE0 are both high , you can burn images by mfg tool. these 2 pin are both low, you can boot the board normally.
Thank you for the information.
However, my development board that is a custom board based on MX53.
Resistance to switch the boot mode, I can not peel off, so the chip resistor.
Because it was not written correctly U-boot to NAND device, it has become unbootable.
I want to start a U-boot in serial download mode in order to solve this problem.
On the i.MX53 QSB default boot mode is SD boot, therefore - when SD is not present - this considered as a SD boot errorand internal serial bootloader in entered automatically.
I went to work as procedure, I did not start u-boot.
IVT of u-boot.bin that I use is shown below.
Is there something wrong?
ivt_header: .long 0x402000D1/* Tag=0xD1, Len=0x0020, Ver=0x40 */
app_code_jump_v: .long (0xF8006000 + (plugin_start - TEXT_BASE))
reserv1: .long 0x0
dcd_ptr: .long 0x0
boot_data_ptr: .long (0xF8006000 + (boot_data - TEXT_BASE))
self_ptr: .long (0xF8006000 + (ivt_header - TEXT_BASE))
app_code_csf: .long 0x0
reserv2: .long 0x0
boot_data: .long 0xF8006000
image_len: .long (3 * 1024)
plugin: .long 0x1
/* Second IVT to give entry point into the bootloader copied to DDR */
ivt2_header: .long 0x402000D1/*Tag=0xD1, Len=0x0020, Ver=0x40 */
app2_code_jump_v: .long _start /* Entry point for the bootloader */
reserv3: .long 0x0
dcd2_ptr: .long 0x0
boot_data2_ptr: .long boot_data2
self_ptr2: .long ivt2_header
app_code_csf2: .long 0x0
reserv4: .long 0x0
boot_data2: .long TEXT_BASE
image_len2: .long _end_of_copy - TEXT_BASE + CONFIG_FLASH_HEADER_OFFSET
plugin2: .long 0x0
This is standard U-boot flash_header.
As for the issue :please try the enclosed (for the QSB).
My custom board has started me on u-boot.bin attach your.
I attach the u-boot.bin that was created for me.
Also, I was a self-made file transfer program.
When a custom board failed to start u-boot, it came back as status 0x33333333.
Do you something helpful?
I have successfully started the u-boot.
Well when I went to use the u-boot image that remove the IVT table to be used on the iram.
Retrieving data ...