Hello John, On Mon, Dec 30, 2013 at 5:37 PM, John Weber <[email protected]> wrote: > On 12/30/13 1:22 PM, Otavio Salvador wrote: >> On Mon, Dec 30, 2013 at 3:17 PM, Fabio Estevam <[email protected]> wrote: >>> >>> On Mon, Dec 30, 2013 at 2:46 PM, John Weber <[email protected]> wrote: >>>> >>>> As an side question - is there an issue with defaulting to using zImage >>>> instead of uImage for Yocto/u-boot? >>> >>> No, I also think we should switch to zImage format. We only need to >>> update the script to call 'bootz' instead of 'bootm'. >> >> I think this is a great idea but I believe we ought to make this for >> all boards so we have it uniform across the boards; otherwise we'll >> have a mix and it makes the support harder. >> >> Considering we'd target this for 1.6, what would be the conversion plan? >> >> Who could be responsible for each board for converting/testing? >> > Not sure, my thought was to leave it to the board maintainers. Unless I'm > mistaken (which is a possibility), for some reason uImage does not work when > booting with the 3.10.X kernels. It that is the case then we either need to > figure out the problem with uImages or others will be forced to use zImage > anyway.
As I said earlier, I am fine with moving to zImage but we need to keep 3.0.35 and 3.10 working. Another thing we need to consider is if we can migrate other SoCs too (does 2.6.35 works with zImage?). > Here are the steps I've considered: > A) Send two patches to meta-freescale for meta-fsl-arm-extra to make the > conversion: > 1) bbappend for u-boot to patch the include/configs/<board>.h file to use > and boot from zImage This may be done in our U-Boot fork, as we keep it backporting mainline patches. BUT this means both 3.0.35 and 3.10 need to use zImage as we cannot do conditional environment depending on the kernel version without very ugly hacks. > 2) Patch conf/machine/include/<board>.inc to set KERNEL_IMAGETYPE to > zImage Yes, but read above. > B) Test the current stable kernels with these settings > > c) Upstream the U-boot patch to u-boot-imx Good. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
