[U-Boot] MKIMAGE u-boot.imx build error

DaveKucharczyk david.kucharczyk at gmail.com
Wed Oct 29 14:52:26 CET 2014


Simon, thank you for your help.

Simon Glass-3 wrote
> BTW best not to have this in your sig when sending to a public mailing
> list.

I have no control of over my company's email signature so I switched my
subscription to use gmail.

Simon Glass-3 wrote
> There are only 3 places in mkimage.c which call usage() so you should
> be able to track which one it is. Probably building with V=1 will show
> you the mkimage command line you are using. 

I was able to build using V=1 and noticed the entry point,
CONFIG_SYS_TEXT_BASE, wasn't defined in include/configs/mx53_xxx.h file. We
previously had it defined in /board/freescale/mx53_xxx/config.mk. Now
everything builds without error. 

But…I do not get serial output. I really need a small victory and see some
life out of the board. 

Here’s what I think is necessary to get serial output to console… 

1.	At minimum the uart setup in /board/freescale/mx53_xxx/mx53_xxx.c
2.	Version, boot device and DCD setup in
/board/freescale/mx53_xxx/imximage.cfg
3.	Minor changes to build successfully in /include/configs/mx53_xxx.h

I’ve ported flash_header.S to imximage.cfg.
I’ve moved our old /board/freescale/mx53_xxx/mx53_xxx.c to the new u-boot
directory, setup the pads using the new nomenclature and modified the
library includes to use the new ones. 
I’ve moved include/configs/mx53_xxx.h file to the new u-boot directory and
made the necessary edits to build successfully. 

I’ve triple checked the pads and flash header. I dd the resulting,
non-padded, u-boot.imx image to sd card by “dd if=u-boot.imx of=/dev/sdd
seek=2 && sync”, but I get no life.

I’m stuck at the moment and hoping someone has some advice as to what I may
be missing or doing wrong. 

Best,
Dave



--
View this message in context: http://u-boot.10912.n7.nabble.com/MKIMAGE-u-boot-imx-build-error-tp193606p193874.html
Sent from the U-Boot mailing list archive at Nabble.com.


More information about the U-Boot mailing list