u-boot plugin.bin

cancel
Showing results for 
Search instead for 
Did you mean: 

u-boot plugin.bin

793 Views
john9
Contributor I

Hello Guys,

I am using a Freescale (Android) u-boot-2014 on iMX6DL and I am trying to enable the plugin.bin support.

I declared CONFIG_ROM_UNIFIED_SECTIONS and CONFIG_USE_PLUGIN in my include file. Then, I compiled it and used dd (dd if=u-boot.imx of=/dev/xxx bs=512 seek=2) to put u-boot.imx in my sd card but, it's not working.

Any idea?.

Regards,

John

Labels (2)
0 Kudos
2 Replies

127 Views
Yuri
NXP TechSupport
NXP TechSupport

Hello,

  Usually Android SD card has several partitions, which are named as

/dev/sdx

/dev/sdx2

/dev/sdx5 

  Please pay attention (physical) device name should be used (/dev/sdx) for

U-boot, but not logical (partition) name (/dev/sdxN).

  Also, the following may be interesting

u-boot.bin and u-boot.imx

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

127 Views
john9
Contributor I

Hi Yuri,

Putting u-boot.bin or u-boot.imx did not work. When enabling the plugin support, it shows the following info:

/home/jtobias/mx6dl/bootable/bootloader/uboot-imx-plugin/tools/mkimage -n board/freescale/mx6dl/mx6dl_4x_mt41j128.cfg.cfgtmp -T imximage -e 0x17800000 -d u-boot.bin u-boot.imx

Image Type:   Freescale IMX Boot Image

Image Ver:    2 (i.MX53/6 compatible)

Mode:         PLUGIN

Plugin Data Size:     16384 Bytes = 16.00 kB = 0.02 MB

Plugin Code Size:     1032 Bytes = 1.01 kB = 0.00 MB

Plugin Load Address:  00907000

Plugin Entry Point:   0090742c

U-Boot Data Size:     307200 Bytes = 300.00 kB = 0.29 MB

U-Boot Load Address:  177fbbd4

U-Boot Entry Point:   17800000

  /home/jtobias/mx6dl/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-objcopy  -j .text -j .rodata -j .hash -j .data -j .got.plt -j .u_boot_list -j .rel.dyn --gap-fill=0xff -O srec u-boot u-boot.srec

Does anyone have tried the plugin support?. Can I have some info, documents?

0 Kudos