
25 Apr
2013
25 Apr
'13
4:45 p.m.
On 25/04/2013 15:36, Marek Vasut wrote:
Dear Stefano Babic,
Hi Marek,
At least add documentation in the README. It is only your choice if you will add two different targets to boards.cfg
I'd prefer not to do that. We're currently booting from NAND and SD, so we use u-boot.imx resp. u-boot-with-nand-spl.imx there. But using the BOOT_FROM "nand" in the imximage.cfg is indeed wrong. We should focus on fixing that.
We can now pre-process the imximage.cfg with CPP, so why don't we just replace BOOT_FROM "foobar" with BOOT_OFFSET CONFIG_IMX_BOOT_OFFSET
+1
as mentioned by someone in the thread already and setup the offset either in board config file or boards.cfg and even have some default value?
Agree
Best regards, Stefano
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================