All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support
@ 2014-02-24 18:52 Otavio Salvador
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 01/16] imx-uuc: Add 0.4 recipe Otavio Salvador
                   ` (16 more replies)
  0 siblings, 17 replies; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

We've been cooking this patchset for a while at O.S. Systems and I
think it is ready for pristine time.

This allow us to generate the initramfs, kernel and u-boot artifacts
for use with Freescale MfgTool. This has been deployed for some of our
customers already and it's working fine for them and this allowed us
to improve and make it generic as possible for use in
customer-specific layers.

Please review and test it.


Lauren Post (1):
  imx-kobs: Upgrade to 3.10.17-1.0.0 version

Otavio Salvador (15):
  imx-uuc: Add 0.4 recipe
  packagegroup-fsl-mfgtool: Provide the required packages
  u-boot-mfgtool.inc: Build a Manufactoring Tool variant
  u-boot-imx-mfgtool: Add 2013.04 version
  imx6slevk: Add U-Boot Manufacturing Tool config
  imx6dlsabreauto: Add U-Boot Manufacturing Tool config
  imx6dlsabresd: Add U-Boot Manufacturing Tool config
  imx6qsabreauto: Add U-Boot Manufacturing Tool config
  imx6qsabresd: Add U-Boot Manufacturing Tool config
  imx6solosabreauto: Add U-Boot Manufacturing Tool config
  imx6solosabresd: Add U-Boot Manufacturing Tool config
  linux-mfgtool.inc: Build a Manufactoring Tool variant
  linux-imx-mfgtool: Add 3.10.17 version
  mfgtool-initramfs-image.bbclass: Abstracts the MfgTool's initramfs
    needs
  fsl-image-mfgtool-initramfs: Add image

 classes/mfgtool-initramfs-image.bbclass            |  26 ++
 conf/machine/imx6dlsabreauto.conf                  |   1 +
 conf/machine/imx6dlsabresd.conf                    |   1 +
 conf/machine/imx6qsabreauto.conf                   |   1 +
 conf/machine/imx6qsabresd.conf                     |   1 +
 conf/machine/imx6slevk.conf                        |   4 +-
 conf/machine/imx6solosabreauto.conf                |   1 +
 conf/machine/imx6solosabresd.conf                  |   1 +
 recipes-bsp/imx-kobs/imx-kobs_3.10.17-1.0.0.bb     |  16 +
 recipes-bsp/imx-kobs/imx-kobs_3.5.7-1.0.0.bb       |  19 --
 .../imx-uuc/imx-uuc/COPYING-Add-license-file.patch | 362 +++++++++++++++++++++
 ...ile-adapt-to-work-out-of-box-with-OE-Core.patch |  46 +++
 .../linuxrc-Use-devtmpfs-and-general-cleanup.patch |  46 +++
 .../sdimage.c-uu.c-update-license-header.patch     |  53 +++
 recipes-bsp/imx-uuc/imx-uuc_0.4.bb                 |  23 ++
 recipes-bsp/u-boot/u-boot-imx-mfgtool_2013.04.bb   |   4 +
 recipes-bsp/u-boot/u-boot-mfgtool.inc              |  21 ++
 recipes-fsl/images/fsl-image-mfgtool-initramfs.bb  |   8 +
 .../packagegroups/packagegroup-fsl-mfgtool.bb      |  46 +++
 .../linux/linux-imx-mfgtool-3.10.17/mx6/defconfig  | 341 +++++++++++++++++++
 recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb  |   4 +
 recipes-kernel/linux/linux-mfgtool.inc             |  74 +++++
 22 files changed, 1079 insertions(+), 20 deletions(-)
 create mode 100644 classes/mfgtool-initramfs-image.bbclass
 create mode 100644 recipes-bsp/imx-kobs/imx-kobs_3.10.17-1.0.0.bb
 delete mode 100644 recipes-bsp/imx-kobs/imx-kobs_3.5.7-1.0.0.bb
 create mode 100644 recipes-bsp/imx-uuc/imx-uuc/COPYING-Add-license-file.patch
 create mode 100644 recipes-bsp/imx-uuc/imx-uuc/Makefile-adapt-to-work-out-of-box-with-OE-Core.patch
 create mode 100644 recipes-bsp/imx-uuc/imx-uuc/linuxrc-Use-devtmpfs-and-general-cleanup.patch
 create mode 100644 recipes-bsp/imx-uuc/imx-uuc/sdimage.c-uu.c-update-license-header.patch
 create mode 100644 recipes-bsp/imx-uuc/imx-uuc_0.4.bb
 create mode 100644 recipes-bsp/u-boot/u-boot-imx-mfgtool_2013.04.bb
 create mode 100644 recipes-bsp/u-boot/u-boot-mfgtool.inc
 create mode 100644 recipes-fsl/images/fsl-image-mfgtool-initramfs.bb
 create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
 create mode 100644 recipes-kernel/linux/linux-imx-mfgtool-3.10.17/mx6/defconfig
 create mode 100644 recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb
 create mode 100644 recipes-kernel/linux/linux-mfgtool.inc

-- 
1.9.0



^ permalink raw reply	[flat|nested] 41+ messages in thread

* [meta-fsl-arm PATCH 01/16] imx-uuc: Add 0.4 recipe
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
@ 2014-02-24 18:52 ` Otavio Salvador
  2014-02-24 19:01   ` Mario Domenech Goulart
  2014-02-25 17:37   ` Daiane Angolini
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 02/16] imx-kobs: Upgrade to 3.10.17-1.0.0 version Otavio Salvador
                   ` (15 subsequent siblings)
  16 siblings, 2 replies; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

This provides the Universal Adapter user-space utility that is used to
receive commands from the Manufacture Tool by the Freescale UTP Protocol.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 .../imx-uuc/imx-uuc/COPYING-Add-license-file.patch | 362 +++++++++++++++++++++
 ...ile-adapt-to-work-out-of-box-with-OE-Core.patch |  46 +++
 .../linuxrc-Use-devtmpfs-and-general-cleanup.patch |  46 +++
 .../sdimage.c-uu.c-update-license-header.patch     |  53 +++
 recipes-bsp/imx-uuc/imx-uuc_0.4.bb                 |  23 ++
 5 files changed, 530 insertions(+)
 create mode 100644 recipes-bsp/imx-uuc/imx-uuc/COPYING-Add-license-file.patch
 create mode 100644 recipes-bsp/imx-uuc/imx-uuc/Makefile-adapt-to-work-out-of-box-with-OE-Core.patch
 create mode 100644 recipes-bsp/imx-uuc/imx-uuc/linuxrc-Use-devtmpfs-and-general-cleanup.patch
 create mode 100644 recipes-bsp/imx-uuc/imx-uuc/sdimage.c-uu.c-update-license-header.patch
 create mode 100644 recipes-bsp/imx-uuc/imx-uuc_0.4.bb

diff --git a/recipes-bsp/imx-uuc/imx-uuc/COPYING-Add-license-file.patch b/recipes-bsp/imx-uuc/imx-uuc/COPYING-Add-license-file.patch
new file mode 100644
index 0000000..4f334ca
--- /dev/null
+++ b/recipes-bsp/imx-uuc/imx-uuc/COPYING-Add-license-file.patch
@@ -0,0 +1,362 @@
+From d2ce2f28e4bad8dc72e658565be0287d40a420b4 Mon Sep 17 00:00:00 2001
+From: Otavio Salvador <otavio@ossystems.com.br>
+Date: Fri, 17 Jan 2014 09:30:03 -0200
+Subject: [PATCH] COPYING: Add license file
+Organization: O.S. Systems Software LTDA.
+
+Upstream-Status: Pending
+
+Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
+---
+ COPYING | 339 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 339 insertions(+)
+ create mode 100644 COPYING
+
+diff --git a/COPYING b/COPYING
+new file mode 100644
+index 0000000..d159169
+--- /dev/null
++++ b/COPYING
+@@ -0,0 +1,339 @@
++                    GNU GENERAL PUBLIC LICENSE
++                       Version 2, June 1991
++
++ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
++ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
++ Everyone is permitted to copy and distribute verbatim copies
++ of this license document, but changing it is not allowed.
++
++                            Preamble
++
++  The licenses for most software are designed to take away your
++freedom to share and change it.  By contrast, the GNU General Public
++License is intended to guarantee your freedom to share and change free
++software--to make sure the software is free for all its users.  This
++General Public License applies to most of the Free Software
++Foundation's software and to any other program whose authors commit to
++using it.  (Some other Free Software Foundation software is covered by
++the GNU Lesser General Public License instead.)  You can apply it to
++your programs, too.
++
++  When we speak of free software, we are referring to freedom, not
++price.  Our General Public Licenses are designed to make sure that you
++have the freedom to distribute copies of free software (and charge for
++this service if you wish), that you receive source code or can get it
++if you want it, that you can change the software or use pieces of it
++in new free programs; and that you know you can do these things.
++
++  To protect your rights, we need to make restrictions that forbid
++anyone to deny you these rights or to ask you to surrender the rights.
++These restrictions translate to certain responsibilities for you if you
++distribute copies of the software, or if you modify it.
++
++  For example, if you distribute copies of such a program, whether
++gratis or for a fee, you must give the recipients all the rights that
++you have.  You must make sure that they, too, receive or can get the
++source code.  And you must show them these terms so they know their
++rights.
++
++  We protect your rights with two steps: (1) copyright the software, and
++(2) offer you this license which gives you legal permission to copy,
++distribute and/or modify the software.
++
++  Also, for each author's protection and ours, we want to make certain
++that everyone understands that there is no warranty for this free
++software.  If the software is modified by someone else and passed on, we
++want its recipients to know that what they have is not the original, so
++that any problems introduced by others will not reflect on the original
++authors' reputations.
++
++  Finally, any free program is threatened constantly by software
++patents.  We wish to avoid the danger that redistributors of a free
++program will individually obtain patent licenses, in effect making the
++program proprietary.  To prevent this, we have made it clear that any
++patent must be licensed for everyone's free use or not licensed at all.
++
++  The precise terms and conditions for copying, distribution and
++modification follow.
++
++                    GNU GENERAL PUBLIC LICENSE
++   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
++
++  0. This License applies to any program or other work which contains
++a notice placed by the copyright holder saying it may be distributed
++under the terms of this General Public License.  The "Program", below,
++refers to any such program or work, and a "work based on the Program"
++means either the Program or any derivative work under copyright law:
++that is to say, a work containing the Program or a portion of it,
++either verbatim or with modifications and/or translated into another
++language.  (Hereinafter, translation is included without limitation in
++the term "modification".)  Each licensee is addressed as "you".
++
++Activities other than copying, distribution and modification are not
++covered by this License; they are outside its scope.  The act of
++running the Program is not restricted, and the output from the Program
++is covered only if its contents constitute a work based on the
++Program (independent of having been made by running the Program).
++Whether that is true depends on what the Program does.
++
++  1. You may copy and distribute verbatim copies of the Program's
++source code as you receive it, in any medium, provided that you
++conspicuously and appropriately publish on each copy an appropriate
++copyright notice and disclaimer of warranty; keep intact all the
++notices that refer to this License and to the absence of any warranty;
++and give any other recipients of the Program a copy of this License
++along with the Program.
++
++You may charge a fee for the physical act of transferring a copy, and
++you may at your option offer warranty protection in exchange for a fee.
++
++  2. You may modify your copy or copies of the Program or any portion
++of it, thus forming a work based on the Program, and copy and
++distribute such modifications or work under the terms of Section 1
++above, provided that you also meet all of these conditions:
++
++    a) You must cause the modified files to carry prominent notices
++    stating that you changed the files and the date of any change.
++
++    b) You must cause any work that you distribute or publish, that in
++    whole or in part contains or is derived from the Program or any
++    part thereof, to be licensed as a whole at no charge to all third
++    parties under the terms of this License.
++
++    c) If the modified program normally reads commands interactively
++    when run, you must cause it, when started running for such
++    interactive use in the most ordinary way, to print or display an
++    announcement including an appropriate copyright notice and a
++    notice that there is no warranty (or else, saying that you provide
++    a warranty) and that users may redistribute the program under
++    these conditions, and telling the user how to view a copy of this
++    License.  (Exception: if the Program itself is interactive but
++    does not normally print such an announcement, your work based on
++    the Program is not required to print an announcement.)
++
++These requirements apply to the modified work as a whole.  If
++identifiable sections of that work are not derived from the Program,
++and can be reasonably considered independent and separate works in
++themselves, then this License, and its terms, do not apply to those
++sections when you distribute them as separate works.  But when you
++distribute the same sections as part of a whole which is a work based
++on the Program, the distribution of the whole must be on the terms of
++this License, whose permissions for other licensees extend to the
++entire whole, and thus to each and every part regardless of who wrote it.
++
++Thus, it is not the intent of this section to claim rights or contest
++your rights to work written entirely by you; rather, the intent is to
++exercise the right to control the distribution of derivative or
++collective works based on the Program.
++
++In addition, mere aggregation of another work not based on the Program
++with the Program (or with a work based on the Program) on a volume of
++a storage or distribution medium does not bring the other work under
++the scope of this License.
++
++  3. You may copy and distribute the Program (or a work based on it,
++under Section 2) in object code or executable form under the terms of
++Sections 1 and 2 above provided that you also do one of the following:
++
++    a) Accompany it with the complete corresponding machine-readable
++    source code, which must be distributed under the terms of Sections
++    1 and 2 above on a medium customarily used for software interchange; or,
++
++    b) Accompany it with a written offer, valid for at least three
++    years, to give any third party, for a charge no more than your
++    cost of physically performing source distribution, a complete
++    machine-readable copy of the corresponding source code, to be
++    distributed under the terms of Sections 1 and 2 above on a medium
++    customarily used for software interchange; or,
++
++    c) Accompany it with the information you received as to the offer
++    to distribute corresponding source code.  (This alternative is
++    allowed only for noncommercial distribution and only if you
++    received the program in object code or executable form with such
++    an offer, in accord with Subsection b above.)
++
++The source code for a work means the preferred form of the work for
++making modifications to it.  For an executable work, complete source
++code means all the source code for all modules it contains, plus any
++associated interface definition files, plus the scripts used to
++control compilation and installation of the executable.  However, as a
++special exception, the source code distributed need not include
++anything that is normally distributed (in either source or binary
++form) with the major components (compiler, kernel, and so on) of the
++operating system on which the executable runs, unless that component
++itself accompanies the executable.
++
++If distribution of executable or object code is made by offering
++access to copy from a designated place, then offering equivalent
++access to copy the source code from the same place counts as
++distribution of the source code, even though third parties are not
++compelled to copy the source along with the object code.
++
++  4. You may not copy, modify, sublicense, or distribute the Program
++except as expressly provided under this License.  Any attempt
++otherwise to copy, modify, sublicense or distribute the Program is
++void, and will automatically terminate your rights under this License.
++However, parties who have received copies, or rights, from you under
++this License will not have their licenses terminated so long as such
++parties remain in full compliance.
++
++  5. You are not required to accept this License, since you have not
++signed it.  However, nothing else grants you permission to modify or
++distribute the Program or its derivative works.  These actions are
++prohibited by law if you do not accept this License.  Therefore, by
++modifying or distributing the Program (or any work based on the
++Program), you indicate your acceptance of this License to do so, and
++all its terms and conditions for copying, distributing or modifying
++the Program or works based on it.
++
++  6. Each time you redistribute the Program (or any work based on the
++Program), the recipient automatically receives a license from the
++original licensor to copy, distribute or modify the Program subject to
++these terms and conditions.  You may not impose any further
++restrictions on the recipients' exercise of the rights granted herein.
++You are not responsible for enforcing compliance by third parties to
++this License.
++
++  7. If, as a consequence of a court judgment or allegation of patent
++infringement or for any other reason (not limited to patent issues),
++conditions are imposed on you (whether by court order, agreement or
++otherwise) that contradict the conditions of this License, they do not
++excuse you from the conditions of this License.  If you cannot
++distribute so as to satisfy simultaneously your obligations under this
++License and any other pertinent obligations, then as a consequence you
++may not distribute the Program at all.  For example, if a patent
++license would not permit royalty-free redistribution of the Program by
++all those who receive copies directly or indirectly through you, then
++the only way you could satisfy both it and this License would be to
++refrain entirely from distribution of the Program.
++
++If any portion of this section is held invalid or unenforceable under
++any particular circumstance, the balance of the section is intended to
++apply and the section as a whole is intended to apply in other
++circumstances.
++
++It is not the purpose of this section to induce you to infringe any
++patents or other property right claims or to contest validity of any
++such claims; this section has the sole purpose of protecting the
++integrity of the free software distribution system, which is
++implemented by public license practices.  Many people have made
++generous contributions to the wide range of software distributed
++through that system in reliance on consistent application of that
++system; it is up to the author/donor to decide if he or she is willing
++to distribute software through any other system and a licensee cannot
++impose that choice.
++
++This section is intended to make thoroughly clear what is believed to
++be a consequence of the rest of this License.
++
++  8. If the distribution and/or use of the Program is restricted in
++certain countries either by patents or by copyrighted interfaces, the
++original copyright holder who places the Program under this License
++may add an explicit geographical distribution limitation excluding
++those countries, so that distribution is permitted only in or among
++countries not thus excluded.  In such case, this License incorporates
++the limitation as if written in the body of this License.
++
++  9. The Free Software Foundation may publish revised and/or new versions
++of the General Public License from time to time.  Such new versions will
++be similar in spirit to the present version, but may differ in detail to
++address new problems or concerns.
++
++Each version is given a distinguishing version number.  If the Program
++specifies a version number of this License which applies to it and "any
++later version", you have the option of following the terms and conditions
++either of that version or of any later version published by the Free
++Software Foundation.  If the Program does not specify a version number of
++this License, you may choose any version ever published by the Free Software
++Foundation.
++
++  10. If you wish to incorporate parts of the Program into other free
++programs whose distribution conditions are different, write to the author
++to ask for permission.  For software which is copyrighted by the Free
++Software Foundation, write to the Free Software Foundation; we sometimes
++make exceptions for this.  Our decision will be guided by the two goals
++of preserving the free status of all derivatives of our free software and
++of promoting the sharing and reuse of software generally.
++
++                            NO WARRANTY
++
++  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
++FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
++OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
++PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
++OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
++TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
++PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
++REPAIR OR CORRECTION.
++
++  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
++WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
++REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
++INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
++OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
++TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
++YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
++PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
++POSSIBILITY OF SUCH DAMAGES.
++
++                     END OF TERMS AND CONDITIONS
++
++            How to Apply These Terms to Your New Programs
++
++  If you develop a new program, and you want it to be of the greatest
++possible use to the public, the best way to achieve this is to make it
++free software which everyone can redistribute and change under these terms.
++
++  To do so, attach the following notices to the program.  It is safest
++to attach them to the start of each source file to most effectively
++convey the exclusion of warranty; and each file should have at least
++the "copyright" line and a pointer to where the full notice is found.
++
++    <one line to give the program's name and a brief idea of what it does.>
++    Copyright (C) <year>  <name of author>
++
++    This program is free software; you can redistribute it and/or modify
++    it under the terms of the GNU General Public License as published by
++    the Free Software Foundation; either version 2 of the License, or
++    (at your option) any later version.
++
++    This program is distributed in the hope that it will be useful,
++    but WITHOUT ANY WARRANTY; without even the implied warranty of
++    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++    GNU General Public License for more details.
++
++    You should have received a copy of the GNU General Public License along
++    with this program; if not, write to the Free Software Foundation, Inc.,
++    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
++
++Also add information on how to contact you by electronic and paper mail.
++
++If the program is interactive, make it output a short notice like this
++when it starts in an interactive mode:
++
++    Gnomovision version 69, Copyright (C) year name of author
++    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
++    This is free software, and you are welcome to redistribute it
++    under certain conditions; type `show c' for details.
++
++The hypothetical commands `show w' and `show c' should show the appropriate
++parts of the General Public License.  Of course, the commands you use may
++be called something other than `show w' and `show c'; they could even be
++mouse-clicks or menu items--whatever suits your program.
++
++You should also get your employer (if you work as a programmer) or your
++school, if any, to sign a "copyright disclaimer" for the program, if
++necessary.  Here is a sample; alter the names:
++
++  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
++  `Gnomovision' (which makes passes at compilers) written by James Hacker.
++
++  <signature of Ty Coon>, 1 April 1989
++  Ty Coon, President of Vice
++
++This General Public License does not permit incorporating your program into
++proprietary programs.  If your program is a subroutine library, you may
++consider it more useful to permit linking proprietary applications with the
++library.  If this is what you want to do, use the GNU Lesser General
++Public License instead of this License.
+-- 
+1.8.5.2
+
diff --git a/recipes-bsp/imx-uuc/imx-uuc/Makefile-adapt-to-work-out-of-box-with-OE-Core.patch b/recipes-bsp/imx-uuc/imx-uuc/Makefile-adapt-to-work-out-of-box-with-OE-Core.patch
new file mode 100644
index 0000000..1063639
--- /dev/null
+++ b/recipes-bsp/imx-uuc/imx-uuc/Makefile-adapt-to-work-out-of-box-with-OE-Core.patch
@@ -0,0 +1,46 @@
+From 9087941bab06f31166283ac66f03b8c4d75e9db8 Mon Sep 17 00:00:00 2001
+From: Otavio Salvador <otavio@ossystems.com.br>
+Date: Fri, 17 Jan 2014 10:04:56 -0200
+Subject: [PATCH] Makefile: adapt to work out of box with OE-Core
+Organization: O.S. Systems Software LTDA.
+
+Upstream-Status: Pending
+
+Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
+---
+ Makefile | 15 ++++++++-------
+ 1 file changed, 8 insertions(+), 7 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 29ce91a..77f594e 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,5 +1,6 @@
+-CC=$(CROSS_COMPILE)gcc
+-AR=$(CROSS_COMPILE)AR
++CC ?= $(CROSS_COMPILE)gcc
++AR ?= $(CROSS_COMPILE)AR
++BINDIR ?= /usr/bin
+ 
+ all: uuc sdimage
+ 
+@@ -10,11 +11,11 @@ sdimage: sdimage.c
+ 	$(CC) sdimage.c -o sdimage
+ 
+ install:
+-	mkdir -p   $(DEST_DIR)
+-	cp linuxrc $(DEST_DIR)
+-	mkdir -p   $(DEST_DIR)/usr/bin
+-	cp uuc	   $(DEST_DIR)/usr/bin
+-	cp sdimage $(DEST_DIR)/usr/bin
++	install -d $(DESTDIR)$(BINDIR)
++	install -m 755 linuxrc $(DESTDIR)
++	install -m 755 uuc $(DESTDIR)$(BINDIR)
++	install -m 755 sdimage $(DESTDIR)$(BINDIR)
++
+ clean:
+ 	rm -f uuc
+ 	rm -f sdimage
+-- 
+1.8.5.2
+
diff --git a/recipes-bsp/imx-uuc/imx-uuc/linuxrc-Use-devtmpfs-and-general-cleanup.patch b/recipes-bsp/imx-uuc/imx-uuc/linuxrc-Use-devtmpfs-and-general-cleanup.patch
new file mode 100644
index 0000000..627be42
--- /dev/null
+++ b/recipes-bsp/imx-uuc/imx-uuc/linuxrc-Use-devtmpfs-and-general-cleanup.patch
@@ -0,0 +1,46 @@
+From 9cfd20c9767082c43670204994de20ba4c886584 Mon Sep 17 00:00:00 2001
+From: Otavio Salvador <otavio@ossystems.com.br>
+Date: Mon, 20 Jan 2014 16:53:39 -0200
+Subject: [PATCH] linuxrc: Use devtmpfs and general cleanup
+Organization: O.S. Systems Software LTDA.
+
+Upstream-Status: Pending
+
+Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
+---
+ linuxrc | 21 ++++++++++-----------
+ 1 file changed, 10 insertions(+), 11 deletions(-)
+
+diff --git a/linuxrc b/linuxrc
+index 88dd124..8ea34da 100755
+--- a/linuxrc
++++ b/linuxrc
+@@ -1,15 +1,14 @@
+ #!/bin/sh
+-#mkdir /sys /proc
++export PATH=/sbin:/bin:/usr/sbin:/usr/bin
++
+ mount -t sysfs none /sys
+ mount -t proc none /proc
+-export PATH=/sbin:/bin:/usr/sbin:/usr/bin
+-echo "Starting UTP"
+-cd /home
+-#disable turn off display
+-mknod /dev/tty0 c 4 0
+-#get up-to-date mount information
+-ln -s /proc/mounts /etc/mtab
+-echo "disable turn off display"
++mount -t devtmpfs none /dev
++
++# disable turn off display
+ echo -e "\033[9;0]" > /dev/tty0
+-/etc/init.d/udev start
+-/usr/bin/uuc
++
++cd /home
++
++echo "Starting UTP"
++uuc
+-- 
+1.8.5.3
+
diff --git a/recipes-bsp/imx-uuc/imx-uuc/sdimage.c-uu.c-update-license-header.patch b/recipes-bsp/imx-uuc/imx-uuc/sdimage.c-uu.c-update-license-header.patch
new file mode 100644
index 0000000..bb322ce
--- /dev/null
+++ b/recipes-bsp/imx-uuc/imx-uuc/sdimage.c-uu.c-update-license-header.patch
@@ -0,0 +1,53 @@
+From: Otavio Salvador <otavio@ossystems.com.br>
+Date: Fri, 17 Jan 2014 09:34:31 -0200
+Subject: sdimage.c, uu.c: update license header
+Organization: O.S. Systems Software LTDA.
+
+Upstream-Status: Pending
+
+Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
+---
+ sdimage.c | 2 +-
+ uu.c      | 8 ++++----
+ 2 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/sdimage.c b/sdimage.c
+index e8adf32..d13b851 100644
+--- a/sdimage.c
++++ b/sdimage.c
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (C) 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved.
++ * Copyright (C) 2009-2010 Freescale Semiconductor, Inc.
+  *
+  * This program is free software; you can redistribute it and/or modify
+  * it under the terms of the GNU General Public License as published by
+diff --git a/uu.c b/uu.c
+index 0dbbe94..28848dc 100644
+--- a/uu.c
++++ b/uu.c
+@@ -1,7 +1,7 @@
+ /*
+  * iMX utp decode program
+  *
+- * Copyright 2010-2013 Freescale Semiconductor, Inc.
++ * Copyright (C) 2010-2013 Freescale Semiconductor, Inc.
+  *
+  * This program is free software; you can redistribute it and/or modify
+  * it under the terms of the GNU General Public License as published by
+@@ -13,9 +13,9 @@
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  * GNU General Public License for more details.
+  *
+- * You should have received a copy of the GNU General Public License
+- * along with this program; if not, write to the Free Software
+- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++ * You should have received a copy of the GNU General Public License along
++ * with this program; if not, write to the Free Software Foundation, Inc.,
++ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+  */
+ 
+ #define _GNU_SOURCE
+-- 
+1.8.5.2
+
diff --git a/recipes-bsp/imx-uuc/imx-uuc_0.4.bb b/recipes-bsp/imx-uuc/imx-uuc_0.4.bb
new file mode 100644
index 0000000..81d3e16
--- /dev/null
+++ b/recipes-bsp/imx-uuc/imx-uuc_0.4.bb
@@ -0,0 +1,23 @@
+# Copyright (C) 2014 Freescale Semiconductor
+# Copyright (C) 2014 O.S. Systems Software LTDA.
+
+SUMMARY = "Universal Adapter source"
+SECTION = "base"
+DEPENDS = "virtual/kernel"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+# FIXME: From source code inspection this is the 0.4 release
+SRC_URI = "${FSL_MIRROR}/imx-uuc-3.10.17-1.0.0_beta.tar.gz \
+           file://COPYING-Add-license-file.patch \
+           file://sdimage.c-uu.c-update-license-header.patch \
+           file://Makefile-adapt-to-work-out-of-box-with-OE-Core.patch \
+           file://linuxrc-Use-devtmpfs-and-general-cleanup.patch"
+S = "${WORKDIR}/${PN}-3.10.17-1.0.0_beta"
+
+SRC_URI[md5sum] = "22cc43c9a3b1a0eb1a82e0fcbade8c37"
+SRC_URI[sha256sum] = "bd96d19ec0399fbebf09c3692f77ee8c76b27988c3bf616d3cecb67a8552ba96"
+
+inherit autotools
+
+FILES_${PN} += "/linuxrc"
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [meta-fsl-arm PATCH 02/16] imx-kobs: Upgrade to 3.10.17-1.0.0 version
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 01/16] imx-uuc: Add 0.4 recipe Otavio Salvador
@ 2014-02-24 18:52 ` Otavio Salvador
  2014-02-25 17:41   ` Daiane Angolini
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 03/16] packagegroup-fsl-mfgtool: Provide the required packages Otavio Salvador
                   ` (14 subsequent siblings)
  16 siblings, 1 reply; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

From: Lauren Post <lauren.post@freescale.com>

This removes the virtual/kernel dependency as it builds properly
against standard Linux headers; doing those changes the package stops
to be machine specific and can be reused amount SoCs of same
architecture.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 recipes-bsp/imx-kobs/imx-kobs_3.10.17-1.0.0.bb | 16 ++++++++++++++++
 recipes-bsp/imx-kobs/imx-kobs_3.5.7-1.0.0.bb   | 19 -------------------
 2 files changed, 16 insertions(+), 19 deletions(-)
 create mode 100644 recipes-bsp/imx-kobs/imx-kobs_3.10.17-1.0.0.bb
 delete mode 100644 recipes-bsp/imx-kobs/imx-kobs_3.5.7-1.0.0.bb

diff --git a/recipes-bsp/imx-kobs/imx-kobs_3.10.17-1.0.0.bb b/recipes-bsp/imx-kobs/imx-kobs_3.10.17-1.0.0.bb
new file mode 100644
index 0000000..b8dae34
--- /dev/null
+++ b/recipes-bsp/imx-kobs/imx-kobs_3.10.17-1.0.0.bb
@@ -0,0 +1,16 @@
+# Copyright (C) 2013, 2014 Freescale Semiconductor
+
+SUMMARY = "Nand boot write source"
+DESCRIPTION = "Nand boot write source for IMX BSP"
+SECTION = "base"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
+
+# FIXME: Drop 'beta' suffix for GA release
+SRC_URI = "${FSL_MIRROR}/imx-kobs-${PV}_beta.tar.gz"
+S="${WORKDIR}/${PN}-${PV}_beta"
+
+SRC_URI[md5sum] = "88d0a2e892ce0d3309390f48d4173e01"
+SRC_URI[sha256sum] = "22abed5d43fea314570cf6f33b17d944180f4571932d8304fd8f84508f6b1527"
+
+inherit  autotools pkgconfig
diff --git a/recipes-bsp/imx-kobs/imx-kobs_3.5.7-1.0.0.bb b/recipes-bsp/imx-kobs/imx-kobs_3.5.7-1.0.0.bb
deleted file mode 100644
index 8c433e3..0000000
--- a/recipes-bsp/imx-kobs/imx-kobs_3.5.7-1.0.0.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright (C) 2013 Freescale Semiconductor
-
-SUMMARY = "Nand boot write source"
-DESCRIPTION = "Nand boot write source for IMX BSP"
-SECTION = "base"
-DEPENDS = "virtual/kernel"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
-
-SRC_URI = "${FSL_MIRROR}/imx-kobs-${PV}.tar.gz"
-SRC_URI[md5sum] = "1c07f922215d1fe7e202d1ba3dca0293"
-SRC_URI[sha256sum] = "a2854f5dc4c5728fef83a8b68d0e3e0aaba7910557976fc46265a86dc268038a"
-
-inherit autotools pkgconfig
-
-INCLUDE_DIR="-I${STAGING_INCDIR}  -I${STAGING_KERNEL_DIR}/include/mtd"
-EXTRA_OE = "INCLUDE=/"${INCLUDE_DIR}/" all"
-
-COMPATIBLE_MACHINE = "(mx6)"
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [meta-fsl-arm PATCH 03/16] packagegroup-fsl-mfgtool: Provide the required packages
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 01/16] imx-uuc: Add 0.4 recipe Otavio Salvador
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 02/16] imx-kobs: Upgrade to 3.10.17-1.0.0 version Otavio Salvador
@ 2014-02-24 18:52 ` Otavio Salvador
  2014-02-25 17:44   ` Daiane Angolini
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 04/16] u-boot-mfgtool.inc: Build a Manufactoring Tool variant Otavio Salvador
                   ` (13 subsequent siblings)
  16 siblings, 1 reply; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

This provides the set of packages needed for Manufactoring Tool
initramfs images.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 .../packagegroups/packagegroup-fsl-mfgtool.bb      | 46 ++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb

diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb b/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
new file mode 100644
index 0000000..0afa9b4
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
@@ -0,0 +1,46 @@
+# Copyright (C) 2014 O.S. Systems Software LTDA.
+
+SUMMARY = "Freescale Manufacturing Tool requirements"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+PACKAGES = " \
+    ${PN}-base \
+    ${PN}-mtd \
+    ${PN}-extfs \
+"
+
+# The essential packages for device bootup that may be set in the
+# machine configuration file.
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
+
+# Distro can override the following VIRTUAL-RUNTIME providers:
+VIRTUAL-RUNTIME_keymaps ?= "keymaps"
+
+RDEPENDS_${PN}-base = " \
+    bash \
+    imx-uuc \
+    util-linux \
+    coreutils \
+    dosfstools \
+    base-files \
+    base-passwd \
+    busybox \
+    ${@base_contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
+    ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS} \
+"
+
+RDEPENDS_${PN}-mtd = " \
+    ${PN}-base \
+    imx-kobs \
+    mtd-utils \
+    mtd-utils-ubifs \
+"
+
+RDEPENDS_${PN}-extfs = " \
+    ${PN}-base \
+    e2fsprogs-mke2fs \
+"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [meta-fsl-arm PATCH 04/16] u-boot-mfgtool.inc: Build a Manufactoring Tool variant
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
                   ` (2 preceding siblings ...)
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 03/16] packagegroup-fsl-mfgtool: Provide the required packages Otavio Salvador
@ 2014-02-24 18:52 ` Otavio Salvador
  2014-02-25 17:51   ` Daiane Angolini
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 05/16] u-boot-imx-mfgtool: Add 2013.04 version Otavio Salvador
                   ` (12 subsequent siblings)
  16 siblings, 1 reply; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

This makes a separated binary set for Manufacturing Tool use without
clobbering the U-Boot used for normal use.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 recipes-bsp/u-boot/u-boot-mfgtool.inc | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 recipes-bsp/u-boot/u-boot-mfgtool.inc

diff --git a/recipes-bsp/u-boot/u-boot-mfgtool.inc b/recipes-bsp/u-boot/u-boot-mfgtool.inc
new file mode 100644
index 0000000..91526ad
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-mfgtool.inc
@@ -0,0 +1,21 @@
+# Produces a Manufacturing Tool compatible U-Boot
+#
+# This makes a separated binary set for Manufacturing Tool use
+# without clobbering the U-Boot used for normal use.
+#
+# This file must to be included after the original u-boot.inc file,
+# as it overrides the need values.
+#
+# Copyright (C) 2014 O.S. Systems Software LTDA.
+
+# Adjust provides
+PROVIDES = "u-boot-mfgtool"
+
+# Use 'mfgtool' config
+UBOOT_CONFIG = "mfgtool"
+
+# Add 'mfgtool' suffix
+UBOOT_IMAGE = "u-boot-${MACHINE}-mfgtool-${PV}-${PR}.${UBOOT_SUFFIX}"
+UBOOT_SYMLINK = "u-boot-${MACHINE}-mfgtool.${UBOOT_SUFFIX}"
+SPL_IMAGE = "${SPL_BINARY}-${MACHINE}-mfgtool-${PV}-${PR}"
+SPL_SYMLINK = "${SPL_BINARY}-mfgtool-${MACHINE}"
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [meta-fsl-arm PATCH 05/16] u-boot-imx-mfgtool: Add 2013.04 version
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
                   ` (3 preceding siblings ...)
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 04/16] u-boot-mfgtool.inc: Build a Manufactoring Tool variant Otavio Salvador
@ 2014-02-24 18:52 ` Otavio Salvador
  2014-02-25 17:53   ` Daiane Angolini
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 06/16] imx6slevk: Add U-Boot Manufacturing Tool config Otavio Salvador
                   ` (11 subsequent siblings)
  16 siblings, 1 reply; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

Add the FSL U-Boot i.MX 2013.04 version in the Manufacturing Tool
variant.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 recipes-bsp/u-boot/u-boot-imx-mfgtool_2013.04.bb | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 recipes-bsp/u-boot/u-boot-imx-mfgtool_2013.04.bb

diff --git a/recipes-bsp/u-boot/u-boot-imx-mfgtool_2013.04.bb b/recipes-bsp/u-boot/u-boot-imx-mfgtool_2013.04.bb
new file mode 100644
index 0000000..f66114c
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-imx-mfgtool_2013.04.bb
@@ -0,0 +1,4 @@
+# Copyright (C) 2014 O.S. Systems Software LTDA.
+
+require u-boot-imx_${PV}.bb
+require u-boot-mfgtool.inc
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [meta-fsl-arm PATCH 06/16] imx6slevk: Add U-Boot Manufacturing Tool config
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
                   ` (4 preceding siblings ...)
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 05/16] u-boot-imx-mfgtool: Add 2013.04 version Otavio Salvador
@ 2014-02-24 18:52 ` Otavio Salvador
  2014-02-25 17:59   ` Daiane Angolini
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 07/16] imx6dlsabreauto: " Otavio Salvador
                   ` (10 subsequent siblings)
  16 siblings, 1 reply; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

As the machine were not using UBOOT_CONFIG we also converted it for it
since the 'mfgtool' variant is needed.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 conf/machine/imx6slevk.conf | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/conf/machine/imx6slevk.conf b/conf/machine/imx6slevk.conf
index 5c3d2fa..63a761c 100644
--- a/conf/machine/imx6slevk.conf
+++ b/conf/machine/imx6slevk.conf
@@ -11,7 +11,9 @@ SOC_FAMILY = "mx6:mx6sl"
 
 KERNEL_DEVICETREE = "imx6sl-evk.dtb imx6sl-evk-csi.dtb imx6sl-evk-ldo.dtb"
 
-UBOOT_MACHINE = "mx6slevk_config"
+UBOOT_CONFIG ??= "sd"
+UBOOT_CONFIG[sd] = "mx6slevk_config,sdcard"
+UBOOT_CONFIG[mfgtool] = "mx6slevk_config"
 
 SERIAL_CONSOLE = "115200 ttymxc0"
 
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [meta-fsl-arm PATCH 07/16] imx6dlsabreauto: Add U-Boot Manufacturing Tool config
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
                   ` (5 preceding siblings ...)
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 06/16] imx6slevk: Add U-Boot Manufacturing Tool config Otavio Salvador
@ 2014-02-24 18:52 ` Otavio Salvador
  2014-02-25 18:00   ` Daiane Angolini
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 08/16] imx6dlsabresd: " Otavio Salvador
                   ` (9 subsequent siblings)
  16 siblings, 1 reply; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 conf/machine/imx6dlsabreauto.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/machine/imx6dlsabreauto.conf b/conf/machine/imx6dlsabreauto.conf
index 9b76f46..6aef923 100644
--- a/conf/machine/imx6dlsabreauto.conf
+++ b/conf/machine/imx6dlsabreauto.conf
@@ -18,3 +18,4 @@ UBOOT_CONFIG[sd] = "mx6dlsabreauto_config,sdcard"
 UBOOT_CONFIG[eimnor] = "mx6dlsabreauto_eimnor_config"
 UBOOT_CONFIG[nand] = "mx6dlsabreauto_nand_config,ubifs"
 UBOOT_CONFIG[spinor] = "mx6dlsabreauto_spinor_config"
+UBOOT_CONFIG[mfgtool] = "mx6dlsabreauto_config"
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [meta-fsl-arm PATCH 08/16] imx6dlsabresd: Add U-Boot Manufacturing Tool config
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
                   ` (6 preceding siblings ...)
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 07/16] imx6dlsabreauto: " Otavio Salvador
@ 2014-02-24 18:52 ` Otavio Salvador
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 09/16] imx6qsabreauto: " Otavio Salvador
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 conf/machine/imx6dlsabresd.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/machine/imx6dlsabresd.conf b/conf/machine/imx6dlsabresd.conf
index bd1f602..1e934e1 100644
--- a/conf/machine/imx6dlsabresd.conf
+++ b/conf/machine/imx6dlsabresd.conf
@@ -12,3 +12,4 @@ KERNEL_DEVICETREE = "imx6dl-sabresd.dtb imx6dl-sabresd-ldo.dtb imx6dl-sabresd-hd
 
 UBOOT_CONFIG ??= "sd"
 UBOOT_CONFIG[sd] = "mx6dlsabresd_config,sdcard"
+UBOOT_CONFIG[mfgtool] = "mx6dlsabresd_config"
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [meta-fsl-arm PATCH 09/16] imx6qsabreauto: Add U-Boot Manufacturing Tool config
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
                   ` (7 preceding siblings ...)
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 08/16] imx6dlsabresd: " Otavio Salvador
@ 2014-02-24 18:52 ` Otavio Salvador
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 10/16] imx6qsabresd: " Otavio Salvador
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 conf/machine/imx6qsabreauto.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/machine/imx6qsabreauto.conf b/conf/machine/imx6qsabreauto.conf
index e9f9026..b8fdce4 100644
--- a/conf/machine/imx6qsabreauto.conf
+++ b/conf/machine/imx6qsabreauto.conf
@@ -17,3 +17,4 @@ UBOOT_CONFIG[eimnor] = "mx6qsabreauto_eimnor_config"
 UBOOT_CONFIG[nand] = "mx6qsabreauto_nand_config,ubifs"
 UBOOT_CONFIG[spinor] = "mx6qsabreauto_spinor_config"
 UBOOT_CONFIG[sata] = "mx6qsabreauto_sata_config"
+UBOOT_CONFIG[mfgtool] = "mx6qsabreauto_config"
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [meta-fsl-arm PATCH 10/16] imx6qsabresd: Add U-Boot Manufacturing Tool config
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
                   ` (8 preceding siblings ...)
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 09/16] imx6qsabreauto: " Otavio Salvador
@ 2014-02-24 18:52 ` Otavio Salvador
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 11/16] imx6solosabreauto: " Otavio Salvador
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 conf/machine/imx6qsabresd.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/machine/imx6qsabresd.conf b/conf/machine/imx6qsabresd.conf
index 3518e64..4b493b9 100644
--- a/conf/machine/imx6qsabresd.conf
+++ b/conf/machine/imx6qsabresd.conf
@@ -13,3 +13,4 @@ KERNEL_DEVICETREE = "imx6q-sabresd.dtb imx6q-sabresd-ldo.dtb imx6q-sabresd-hdcp.
 UBOOT_CONFIG ??= "sd"
 UBOOT_CONFIG[sd] = "mx6qsabresd_config,sdcard"
 UBOOT_CONFIG[sata] = "mx6qsabresd_sata_config"
+UBOOT_CONFIG[mfgtool] = "mx6qsabresd_config"
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [meta-fsl-arm PATCH 11/16] imx6solosabreauto: Add U-Boot Manufacturing Tool config
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
                   ` (9 preceding siblings ...)
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 10/16] imx6qsabresd: " Otavio Salvador
@ 2014-02-24 18:52 ` Otavio Salvador
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 12/16] imx6solosabresd: " Otavio Salvador
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 conf/machine/imx6solosabreauto.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/machine/imx6solosabreauto.conf b/conf/machine/imx6solosabreauto.conf
index 9d450a4..71dd1d2 100644
--- a/conf/machine/imx6solosabreauto.conf
+++ b/conf/machine/imx6solosabreauto.conf
@@ -17,3 +17,4 @@ UBOOT_CONFIG[sd] = "mx6solosabreauto_config,sdcard"
 UBOOT_CONFIG[eimnor] = "mx6solosabreauto_eimnor_config"
 UBOOT_CONFIG[nand] = "mx6solosabreauto_nand_config,ubifs"
 UBOOT_CONFIG[spinor] = "mx6solosabreauto_spinor_config"
+UBOOT_CONFIG[mfgtool] = "mx6solosabreauto_config"
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [meta-fsl-arm PATCH 12/16] imx6solosabresd: Add U-Boot Manufacturing Tool config
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
                   ` (10 preceding siblings ...)
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 11/16] imx6solosabreauto: " Otavio Salvador
@ 2014-02-24 18:52 ` Otavio Salvador
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 13/16] linux-mfgtool.inc: Build a Manufactoring Tool variant Otavio Salvador
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 conf/machine/imx6solosabresd.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/machine/imx6solosabresd.conf b/conf/machine/imx6solosabresd.conf
index 315eda8..2f084ee 100644
--- a/conf/machine/imx6solosabresd.conf
+++ b/conf/machine/imx6solosabresd.conf
@@ -15,3 +15,4 @@ PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx"
 
 UBOOT_CONFIG ??= "sd"
 UBOOT_CONFIG[sd] = "mx6solosabresd_config,sdcard"
+UBOOT_CONFIG[mfgtool] = "mx6solosabresd_config"
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [meta-fsl-arm PATCH 13/16] linux-mfgtool.inc: Build a Manufactoring Tool variant
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
                   ` (11 preceding siblings ...)
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 12/16] imx6solosabresd: " Otavio Salvador
@ 2014-02-24 18:52 ` Otavio Salvador
  2014-02-25 18:06   ` Daiane Angolini
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 14/16] linux-imx-mfgtool: Add 3.10.17 version Otavio Salvador
                   ` (3 subsequent siblings)
  16 siblings, 1 reply; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

This makes a separated binary set for Manufacturing Tool use without
clobbering the Linux Kernel used for normal use.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 recipes-kernel/linux/linux-mfgtool.inc | 74 ++++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-mfgtool.inc

diff --git a/recipes-kernel/linux/linux-mfgtool.inc b/recipes-kernel/linux/linux-mfgtool.inc
new file mode 100644
index 0000000..dd09552
--- /dev/null
+++ b/recipes-kernel/linux/linux-mfgtool.inc
@@ -0,0 +1,74 @@
+# Produces a Manufacturing Tool compatible Linux Kernel
+#
+# This makes a separated binary set for Manufacturing Tool use
+# without clobbering the Linux Kernel used for normal use.
+#
+# This file must to be included after the original linux-imx.inc file
+# as it overrides the needed values.
+#
+# Copyright (C) 2014 O.S. Systems Software LTDA.
+
+# Adjust provides
+PROVIDES = "linux-mfgtool"
+
+# Avoid coliding files
+LOCALVERSION_append = "-mfgtool"
+KERNEL_SRC_PATH = "/usr/src/kernel-mfgtool"
+KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-mfgtool-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}"
+KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-mfgtool-${MACHINE}"
+MODULE_IMAGE_BASE_NAME = "modules-mfgtool-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}"
+MODULE_TARBALL_SYMLINK_NAME = "modules-mfgtool-${MACHINE}.tgz"
+
+# Ensures we prefer our mfgtool specific files
+FILESEXTRAPATHS_prepend = "${THISDIR}/${ORIG_PN}-${PV}:${THISDIR}/${ORIG_PN}:"
+
+python mfgtool_recipe_handler () {
+    pn = e.data.getVar("PN", True)
+    if not (pn.endswith("-mfgtool") or pn.startswith("mfgtool-")):
+        return
+
+    e.data.setVar("MLPREFIX", "mfgtool-")
+    e.data.setVar("ORIG_PN", e.data.getVar("PN", True))
+    e.data.setVar("PN", "mfgtool-" + e.data.getVar("PN", True).replace("-mfgtool", "").replace("mfgtool-", ""))
+}
+
+python () {
+    pn = d.getVar("PN", True)
+    if not pn.startswith("mfgtool-"):
+        return
+
+    from oe.classextend import ClassExtender
+
+    class LinuxMfgToolExtender(ClassExtender):
+        def extend_name(self, name):
+            if name.startswith("rtld"):
+                return name
+            if name.endswith("-" + self.extname):
+                name = name.replace("-" + self.extname, "")
+            if name.startswith("virtual/"):
+                subs = name.split("/", 1)[1]
+                if not subs.startswith(self.extname):
+                    return "virtual/" + self.extname + "-" + subs
+                return name
+            if not name.startswith(self.extname):
+                return self.extname + "-" + name
+            return name
+
+    clsextend = LinuxMfgToolExtender("mfgtool", d)
+    clsextend.rename_packages()
+    clsextend.rename_package_variables((d.getVar("PACKAGEVARS", True) or "").split())
+
+    clsextend.map_packagevars()
+}
+
+addhandler mfgtool_recipe_handler
+mfgtool_recipe_handler[eventmask] = "bb.event.RecipePreFinalise"
+
+# FIXME: We need to remove the KERNEL_SRC_PATH contents as
+#        kernel.bbclass has no way to skip its installation.
+# FIXME: It is not possible to have external modules against
+#        this kernel variant.
+do_install_append() {
+	rm -r ${D}${KERNEL_SRC_PATH}
+	rmdir ${D}/usr/src ${D}/usr
+}
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [meta-fsl-arm PATCH 14/16] linux-imx-mfgtool: Add 3.10.17 version
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
                   ` (12 preceding siblings ...)
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 13/16] linux-mfgtool.inc: Build a Manufactoring Tool variant Otavio Salvador
@ 2014-02-24 18:52 ` Otavio Salvador
  2014-02-25 18:07   ` Daiane Angolini
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 15/16] mfgtool-initramfs-image.bbclass: Abstracts the MfgTool's initramfs needs Otavio Salvador
                   ` (2 subsequent siblings)
  16 siblings, 1 reply; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

Add the FSL Linux i.MX 3.10.17 version in the Manufacturing Tool
variant.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 .../linux/linux-imx-mfgtool-3.10.17/mx6/defconfig  | 341 +++++++++++++++++++++
 recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb  |   4 +
 2 files changed, 345 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-imx-mfgtool-3.10.17/mx6/defconfig
 create mode 100644 recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb

diff --git a/recipes-kernel/linux/linux-imx-mfgtool-3.10.17/mx6/defconfig b/recipes-kernel/linux/linux-imx-mfgtool-3.10.17/mx6/defconfig
new file mode 100644
index 0000000..a4e880b
--- /dev/null
+++ b/recipes-kernel/linux/linux-imx-mfgtool-3.10.17/mx6/defconfig
@@ -0,0 +1,341 @@
+CONFIG_KERNEL_LZO=y
+CONFIG_SYSVIPC=y
+CONFIG_NO_HZ=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_IKCONFIG=y
+CONFIG_IKCONFIG_PROC=y
+CONFIG_LOG_BUF_SHIFT=18
+CONFIG_CGROUPS=y
+CONFIG_RELAY=y
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_EXPERT=y
+CONFIG_PERF_EVENTS=y
+# CONFIG_SLUB_DEBUG is not set
+# CONFIG_COMPAT_BRK is not set
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_MODVERSIONS=y
+CONFIG_MODULE_SRCVERSION_ALL=y
+# CONFIG_BLK_DEV_BSG is not set
+CONFIG_GPIO_PCA953X=y
+CONFIG_ARCH_MXC=y
+CONFIG_MXC_DEBUG_BOARD=y
+CONFIG_MACH_IMX51_DT=y
+CONFIG_MACH_EUKREA_CPUIMX51SD=y
+CONFIG_SOC_IMX53=y
+CONFIG_SOC_IMX6Q=y
+CONFIG_SOC_IMX6SL=y
+CONFIG_SOC_VF610=y
+# CONFIG_SWP_EMULATE is not set
+CONFIG_SMP=y
+CONFIG_VMSPLIT_2G=y
+CONFIG_PREEMPT_VOLUNTARY=y
+CONFIG_AEABI=y
+# CONFIG_OABI_COMPAT is not set
+CONFIG_CMDLINE="noinitrd console=ttymxc0,115200"
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+CONFIG_ARM_IMX6_CPUFREQ=y
+CONFIG_CPU_IDLE=y
+CONFIG_VFP=y
+CONFIG_NEON=y
+CONFIG_BINFMT_MISC=m
+CONFIG_PM_RUNTIME=y
+CONFIG_PM_DEBUG=y
+CONFIG_PM_TEST_SUSPEND=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+CONFIG_IPV6=y
+CONFIG_NETFILTER=y
+CONFIG_VLAN_8021Q=y
+CONFIG_CFG80211=y
+CONFIG_CFG80211_WEXT=y
+CONFIG_MAC80211=y
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
+# CONFIG_STANDALONE is not set
+CONFIG_CMA=y
+CONFIG_CMA_SIZE_MBYTES=256
+CONFIG_IMX_WEIM=y
+CONFIG_CONNECTOR=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_JEDECPROBE=y
+CONFIG_MTD_CFI_INTELEXT=y
+CONFIG_MTD_CFI_AMDSTD=y
+CONFIG_MTD_CFI_STAA=y
+CONFIG_MTD_PHYSMAP_OF=y
+CONFIG_MTD_DATAFLASH=y
+CONFIG_MTD_M25P80=y
+CONFIG_MTD_SST25L=y
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_GPMI_NAND=y
+CONFIG_MTD_NAND_MXC=y
+CONFIG_MTD_UBI=y
+CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_SIZE=65536
+CONFIG_EEPROM_AT24=y
+CONFIG_EEPROM_AT25=y
+# CONFIG_SCSI_PROC_FS is not set
+CONFIG_BLK_DEV_SD=y
+CONFIG_SCSI_MULTI_LUN=y
+CONFIG_SCSI_CONSTANTS=y
+CONFIG_SCSI_LOGGING=y
+CONFIG_SCSI_SCAN_ASYNC=y
+# CONFIG_SCSI_LOWLEVEL is not set
+CONFIG_ATA=y
+CONFIG_SATA_AHCI_PLATFORM=y
+CONFIG_AHCI_IMX=y
+CONFIG_PATA_IMX=y
+CONFIG_NETDEVICES=y
+# CONFIG_NET_VENDOR_BROADCOM is not set
+CONFIG_CS89x0=y
+CONFIG_CS89x0_PLATFORM=y
+# CONFIG_NET_VENDOR_FARADAY is not set
+# CONFIG_NET_VENDOR_INTEL is not set
+# CONFIG_NET_VENDOR_MARVELL is not set
+# CONFIG_NET_VENDOR_MICREL is not set
+# CONFIG_NET_VENDOR_MICROCHIP is not set
+# CONFIG_NET_VENDOR_NATSEMI is not set
+# CONFIG_NET_VENDOR_SEEQ is not set
+CONFIG_SMC91X=y
+CONFIG_SMC911X=y
+CONFIG_SMSC911X=y
+# CONFIG_NET_VENDOR_STMICRO is not set
+CONFIG_ATH_CARDS=y
+CONFIG_ATH6KL=m
+CONFIG_ATH6KL_SDIO=m
+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_EVBUG=m
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_KEYBOARD_IMX=y
+CONFIG_MOUSE_PS2=m
+CONFIG_MOUSE_PS2_ELANTECH=y
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_EGALAX=y
+CONFIG_TOUCHSCREEN_ELAN=y
+CONFIG_TOUCHSCREEN_MAX11801=y
+CONFIG_TOUCHSCREEN_MC13783=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_MMA8450=y
+CONFIG_INPUT_ISL29023=y
+CONFIG_SERIO_SERPORT=m
+CONFIG_VT_HW_CONSOLE_BINDING=y
+# CONFIG_LEGACY_PTYS is not set
+# CONFIG_DEVKMEM is not set
+CONFIG_SERIAL_IMX=y
+CONFIG_SERIAL_IMX_CONSOLE=y
+CONFIG_SERIAL_FSL_LPUART=y
+CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
+CONFIG_FSL_OTP=y
+# CONFIG_I2C_COMPAT is not set
+CONFIG_I2C_CHARDEV=y
+# CONFIG_I2C_HELPER_AUTO is not set
+CONFIG_I2C_ALGOPCF=m
+CONFIG_I2C_ALGOPCA=m
+CONFIG_I2C_IMX=y
+CONFIG_SPI=y
+CONFIG_SPI_IMX=y
+CONFIG_GPIO_SYSFS=y
+CONFIG_POWER_SUPPLY=y
+CONFIG_SABRESD_MAX8903=y
+CONFIG_SENSORS_MAX17135=y
+CONFIG_SENSORS_MAG3110=y
+CONFIG_THERMAL=y
+CONFIG_CPU_THERMAL=y
+CONFIG_IMX_THERMAL=y
+CONFIG_DEVICE_THERMAL=y
+CONFIG_WATCHDOG=y
+CONFIG_IMX2_WDT=y
+CONFIG_MFD_DA9052_I2C=y
+CONFIG_MFD_MC13XXX_SPI=y
+CONFIG_MFD_MC13XXX_I2C=y
+CONFIG_MFD_MAX17135=y
+CONFIG_MFD_SI476X_CORE=y
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_REGULATOR_DA9052=y
+CONFIG_REGULATOR_ANATOP=y
+CONFIG_REGULATOR_MC13783=y
+CONFIG_REGULATOR_MC13892=y
+CONFIG_REGULATOR_MAX17135=y
+CONFIG_REGULATOR_PFUZE100=y
+CONFIG_MEDIA_SUPPORT=y
+CONFIG_MEDIA_CAMERA_SUPPORT=y
+CONFIG_MEDIA_RADIO_SUPPORT=y
+CONFIG_VIDEO_V4L2_INT_DEVICE=y
+CONFIG_MEDIA_USB_SUPPORT=y
+CONFIG_USB_VIDEO_CLASS=m
+CONFIG_V4L_PLATFORM_DRIVERS=y
+CONFIG_VIDEO_MXC_OUTPUT=y
+CONFIG_VIDEO_MXC_CAPTURE=m
+CONFIG_VIDEO_MXC_CSI_CAMERA=m
+CONFIG_MXC_CAMERA_OV5640=m
+CONFIG_MXC_CAMERA_OV5642=m
+CONFIG_MXC_CAMERA_OV5640_MIPI=m
+CONFIG_MXC_TVIN_ADV7180=m
+CONFIG_MXC_IPU_DEVICE_QUEUE_SDC=m
+CONFIG_VIDEO_MXC_IPU_OUTPUT=y
+CONFIG_VIDEO_MXC_PXP_V4L2=y
+CONFIG_SOC_CAMERA=y
+CONFIG_VIDEO_MX3=y
+CONFIG_RADIO_SI476X=y
+CONFIG_SOC_CAMERA_OV2640=y
+CONFIG_DRM=y
+CONFIG_DRM_VIVANTE=y
+CONFIG_FB=y
+CONFIG_FB_MXS=y
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_LCD_CLASS_DEVICE=y
+CONFIG_LCD_L4F00242T03=y
+CONFIG_LCD_PLATFORM=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_BACKLIGHT_PWM=y
+CONFIG_FB_MXC_SYNC_PANEL=y
+CONFIG_FB_MXC_LDB=y
+CONFIG_FB_MXC_MIPI_DSI=y
+CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y
+CONFIG_FB_MXC_HDMI=y
+CONFIG_FB_MXC_EINK_PANEL=y
+CONFIG_FB_MXS_SII902X=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
+CONFIG_FONTS=y
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+CONFIG_SOUND=y
+CONFIG_SND=y
+CONFIG_SND_USB_AUDIO=m
+CONFIG_SND_SOC=y
+CONFIG_SND_IMX_SOC=y
+CONFIG_SND_SOC_EUKREA_TLV320=y
+CONFIG_SND_SOC_IMX_CS42888=y
+CONFIG_SND_SOC_IMX_WM8962=y
+CONFIG_SND_SOC_IMX_SGTL5000=y
+CONFIG_SND_SOC_IMX_SPDIF=y
+CONFIG_SND_SOC_IMX_MC13783=y
+CONFIG_SND_SOC_IMX_HDMI=y
+CONFIG_SND_SOC_IMX_SI476X=y
+CONFIG_USB=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_CHIPIDEA=y
+CONFIG_USB_CHIPIDEA_UDC=y
+CONFIG_USB_CHIPIDEA_HOST=y
+CONFIG_USB_PHY=y
+CONFIG_USB_MXS_PHY=y
+CONFIG_USB_GADGET=y
+# CONFIG_USB_ZERO is not set
+# CONFIG_USB_AUDIO is not set
+# CONFIG_USB_ETH is not set
+# CONFIG_USB_G_NCM is not set
+# CONFIG_USB_GADGETFS is not set
+# CONFIG_USB_FUNCTIONFS is not set
+CONFIG_USB_MASS_STORAGE=y
+CONFIG_FSL_UTP=y
+# CONFIG_USB_G_SERIAL is not set
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+# CONFIG_USB_G_ACM_MS is not set
+# CONFIG_USB_G_MULTI is not set
+# CONFIG_USB_G_HID is not set
+# CONFIG_USB_G_DBGP is not set
+# CONFIG_USB_G_WEBCAM is not set
+CONFIG_MMC=y
+CONFIG_MMC_UNSAFE_RESUME=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_PLTFM=y
+CONFIG_MMC_SDHCI_ESDHC_IMX=y
+CONFIG_MXC_IPU=y
+CONFIG_MXC_GPU_VIV=y
+CONFIG_MXC_ASRC=y
+CONFIG_MXC_MIPI_CSI2=y
+CONFIG_NEW_LEDS=y
+CONFIG_LEDS_CLASS=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_INTF_DEV_UIE_EMUL=y
+CONFIG_RTC_DRV_MC13XXX=y
+CONFIG_RTC_DRV_MXC=y
+CONFIG_RTC_DRV_SNVS=y
+CONFIG_DMADEVICES=y
+CONFIG_MXC_PXP_V2=y
+CONFIG_IMX_SDMA=y
+CONFIG_MXS_DMA=y
+CONFIG_STAGING=y
+CONFIG_COMMON_CLK_DEBUG=y
+# CONFIG_IOMMU_SUPPORT is not set
+CONFIG_PWM=y
+CONFIG_PWM_IMX=y
+CONFIG_EXT2_FS=y
+CONFIG_EXT2_FS_XATTR=y
+CONFIG_EXT2_FS_POSIX_ACL=y
+CONFIG_EXT2_FS_SECURITY=y
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_POSIX_ACL=y
+CONFIG_EXT3_FS_SECURITY=y
+CONFIG_EXT4_FS=y
+CONFIG_EXT4_FS_POSIX_ACL=y
+CONFIG_EXT4_FS_SECURITY=y
+CONFIG_QUOTA=y
+CONFIG_QUOTA_NETLINK_INTERFACE=y
+# CONFIG_PRINT_QUOTA_WARNING is not set
+CONFIG_AUTOFS4_FS=y
+CONFIG_FUSE_FS=y
+CONFIG_ISO9660_FS=m
+CONFIG_JOLIET=y
+CONFIG_ZISOFS=y
+CONFIG_UDF_FS=m
+CONFIG_MSDOS_FS=m
+CONFIG_VFAT_FS=y
+CONFIG_TMPFS=y
+CONFIG_JFFS2_FS=y
+CONFIG_UBIFS_FS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3_ACL=y
+CONFIG_NFS_V4=y
+CONFIG_ROOT_NFS=y
+CONFIG_NLS_DEFAULT="cp437"
+CONFIG_NLS_CODEPAGE_437=y
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+CONFIG_NLS_ISO8859_15=m
+CONFIG_NLS_UTF8=y
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_SCHED_DEBUG is not set
+# CONFIG_DEBUG_BUGVERBOSE is not set
+# CONFIG_FTRACE is not set
+CONFIG_SECURITYFS=y
+CONFIG_CRYPTO_USER=y
+CONFIG_CRYPTO_CCM=y
+CONFIG_CRYPTO_GCM=y
+CONFIG_CRYPTO_CBC=y
+CONFIG_CRYPTO_CTS=y
+CONFIG_CRYPTO_ECB=y
+CONFIG_CRYPTO_LRW=y
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_DEV_FSL_CAAM=y
+CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y
+CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y
+CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y
+CONFIG_CRC_CCITT=m
+CONFIG_CRC_T10DIF=y
+CONFIG_CRC7=m
+CONFIG_LIBCRC32C=m
diff --git a/recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb b/recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb
new file mode 100644
index 0000000..ac49b7a
--- /dev/null
+++ b/recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb
@@ -0,0 +1,4 @@
+# Copyright (C) 2014 O.S. Systems Software LTDA.
+
+require linux-imx_${PV}.bb
+require linux-mfgtool.inc
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [meta-fsl-arm PATCH 15/16] mfgtool-initramfs-image.bbclass: Abstracts the MfgTool's initramfs needs
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
                   ` (13 preceding siblings ...)
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 14/16] linux-imx-mfgtool: Add 3.10.17 version Otavio Salvador
@ 2014-02-24 18:52 ` Otavio Salvador
  2014-02-25 18:13   ` Daiane Angolini
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 16/16] fsl-image-mfgtool-initramfs: Add image Otavio Salvador
  2014-02-25 18:15 ` [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Daiane Angolini
  16 siblings, 1 reply; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

Manage the initramfs requirements for Manufacturing Tool use and allow
future addition of new filesystem support if needed.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 classes/mfgtool-initramfs-image.bbclass | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 classes/mfgtool-initramfs-image.bbclass

diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass
new file mode 100644
index 0000000..3c2e445
--- /dev/null
+++ b/classes/mfgtool-initramfs-image.bbclass
@@ -0,0 +1,26 @@
+DEPENDS += "u-boot-mfgtool linux-mfgtool"
+
+PACKAGE_GROUP_mtd = "packagegroup-fsl-mfgtool-mtd"
+PACKAGE_GROUP_extfs = "packagegroup-fsl-mfgtool-extfs"
+
+IMAGE_FSTYPES = "cpio.gz.u-boot"
+IMAGE_ROOTFS_SIZE ?= "8192"
+IMAGE_CLASSES = "image_types_uboot"
+
+IMAGE_FEATURES = " \
+    mtd \
+    extfs \
+    read-only-rootfs \
+"
+
+# Avoid installation of syslog
+BAD_RECOMMENDATIONS += "busybox-syslog"
+
+# Avoid static /dev
+USE_DEVFS = "1"
+
+inherit core-image
+
+CORE_IMAGE_BASE_INSTALL = " \
+    ${CORE_IMAGE_EXTRA_INSTALL} \
+"
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [meta-fsl-arm PATCH 16/16] fsl-image-mfgtool-initramfs: Add image
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
                   ` (14 preceding siblings ...)
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 15/16] mfgtool-initramfs-image.bbclass: Abstracts the MfgTool's initramfs needs Otavio Salvador
@ 2014-02-24 18:52 ` Otavio Salvador
  2014-02-25 18:15 ` [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Daiane Angolini
  16 siblings, 0 replies; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 18:52 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

Small image to be used with Manufacturing Tool (mfg-tool) in a
production environment.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 recipes-fsl/images/fsl-image-mfgtool-initramfs.bb | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 recipes-fsl/images/fsl-image-mfgtool-initramfs.bb

diff --git a/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb b/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb
new file mode 100644
index 0000000..7d79d1e
--- /dev/null
+++ b/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb
@@ -0,0 +1,8 @@
+# Copyright (C) 2014 O.S. Systems Software LTDA.
+
+DESCRIPTION = "Small image to be used with Manufacturing Tool \
+(mfg-tool) in a production environment."
+
+LICENSE = "MIT"
+
+inherit mfgtool-initramfs-image
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 01/16] imx-uuc: Add 0.4 recipe
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 01/16] imx-uuc: Add 0.4 recipe Otavio Salvador
@ 2014-02-24 19:01   ` Mario Domenech Goulart
  2014-02-24 19:09     ` Otavio Salvador
  2014-02-25 17:37   ` Daiane Angolini
  1 sibling, 1 reply; 41+ messages in thread
From: Mario Domenech Goulart @ 2014-02-24 19:01 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

Hi,

On Mon, 24 Feb 2014 15:52:37 -0300 Otavio Salvador <otavio@ossystems.com.br> wrote:

> This provides the Universal Adapter user-space utility that is used to
> receive commands from the Manufacture Tool by the Freescale UTP Protocol.

s/Manufacture/Manufacturing/

>
> Signed-off-by: Lauren Post <lauren.post@freescale.com>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>
>  .../imx-uuc/imx-uuc/COPYING-Add-license-file.patch | 362 +++++++++++++++++++++
>  ...ile-adapt-to-work-out-of-box-with-OE-Core.patch |  46 +++
>  .../linuxrc-Use-devtmpfs-and-general-cleanup.patch |  46 +++
>  .../sdimage.c-uu.c-update-license-header.patch     |  53 +++
>  recipes-bsp/imx-uuc/imx-uuc_0.4.bb                 |  23 ++
>  5 files changed, 530 insertions(+)
>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc/COPYING-Add-license-file.patch
>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc/Makefile-adapt-to-work-out-of-box-with-OE-Core.patch
>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc/linuxrc-Use-devtmpfs-and-general-cleanup.patch
>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc/sdimage.c-uu.c-update-license-header.patch
>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc_0.4.bb
>
> diff --git
> a/recipes-bsp/imx-uuc/imx-uuc/COPYING-Add-license-file.patch
> b/recipes-bsp/imx-uuc/imx-uuc/COPYING-Add-license-file.patch
> new file mode 100644
> index 0000000..4f334ca
> --- /dev/null
> +++ b/recipes-bsp/imx-uuc/imx-uuc/COPYING-Add-license-file.patch
> @@ -0,0 +1,362 @@
> +From d2ce2f28e4bad8dc72e658565be0287d40a420b4 Mon Sep 17 00:00:00 2001
> +From: Otavio Salvador <otavio@ossystems.com.br>
> +Date: Fri, 17 Jan 2014 09:30:03 -0200
> +Subject: [PATCH] COPYING: Add license file
> +Organization: O.S. Systems Software LTDA.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> +---
> + COPYING | 339 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> + 1 file changed, 339 insertions(+)
> + create mode 100644 COPYING
> +
> +diff --git a/COPYING b/COPYING
> +new file mode 100644
> +index 0000000..d159169
> +--- /dev/null
> ++++ b/COPYING
> +@@ -0,0 +1,339 @@
> ++                    GNU GENERAL PUBLIC LICENSE
> ++                       Version 2, June 1991
> ++
> ++ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
> ++ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
> ++ Everyone is permitted to copy and distribute verbatim copies
> ++ of this license document, but changing it is not allowed.
> ++
> ++                            Preamble
> ++
> ++  The licenses for most software are designed to take away your
> ++freedom to share and change it.  By contrast, the GNU General Public
> ++License is intended to guarantee your freedom to share and change free
> ++software--to make sure the software is free for all its users.  This
> ++General Public License applies to most of the Free Software
> ++Foundation's software and to any other program whose authors commit to
> ++using it.  (Some other Free Software Foundation software is covered by
> ++the GNU Lesser General Public License instead.)  You can apply it to
> ++your programs, too.
> ++
> ++  When we speak of free software, we are referring to freedom, not
> ++price.  Our General Public Licenses are designed to make sure that you
> ++have the freedom to distribute copies of free software (and charge for
> ++this service if you wish), that you receive source code or can get it
> ++if you want it, that you can change the software or use pieces of it
> ++in new free programs; and that you know you can do these things.
> ++
> ++  To protect your rights, we need to make restrictions that forbid
> ++anyone to deny you these rights or to ask you to surrender the rights.
> ++These restrictions translate to certain responsibilities for you if you
> ++distribute copies of the software, or if you modify it.
> ++
> ++  For example, if you distribute copies of such a program, whether
> ++gratis or for a fee, you must give the recipients all the rights that
> ++you have.  You must make sure that they, too, receive or can get the
> ++source code.  And you must show them these terms so they know their
> ++rights.
> ++
> ++  We protect your rights with two steps: (1) copyright the software, and
> ++(2) offer you this license which gives you legal permission to copy,
> ++distribute and/or modify the software.
> ++
> ++  Also, for each author's protection and ours, we want to make certain
> ++that everyone understands that there is no warranty for this free
> ++software.  If the software is modified by someone else and passed on, we
> ++want its recipients to know that what they have is not the original, so
> ++that any problems introduced by others will not reflect on the original
> ++authors' reputations.
> ++
> ++  Finally, any free program is threatened constantly by software
> ++patents.  We wish to avoid the danger that redistributors of a free
> ++program will individually obtain patent licenses, in effect making the
> ++program proprietary.  To prevent this, we have made it clear that any
> ++patent must be licensed for everyone's free use or not licensed at all.
> ++
> ++  The precise terms and conditions for copying, distribution and
> ++modification follow.
> ++
> ++                    GNU GENERAL PUBLIC LICENSE
> ++   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
> ++
> ++  0. This License applies to any program or other work which contains
> ++a notice placed by the copyright holder saying it may be distributed
> ++under the terms of this General Public License.  The "Program", below,
> ++refers to any such program or work, and a "work based on the Program"
> ++means either the Program or any derivative work under copyright law:
> ++that is to say, a work containing the Program or a portion of it,
> ++either verbatim or with modifications and/or translated into another
> ++language.  (Hereinafter, translation is included without limitation in
> ++the term "modification".)  Each licensee is addressed as "you".
> ++
> ++Activities other than copying, distribution and modification are not
> ++covered by this License; they are outside its scope.  The act of
> ++running the Program is not restricted, and the output from the Program
> ++is covered only if its contents constitute a work based on the
> ++Program (independent of having been made by running the Program).
> ++Whether that is true depends on what the Program does.
> ++
> ++  1. You may copy and distribute verbatim copies of the Program's
> ++source code as you receive it, in any medium, provided that you
> ++conspicuously and appropriately publish on each copy an appropriate
> ++copyright notice and disclaimer of warranty; keep intact all the
> ++notices that refer to this License and to the absence of any warranty;
> ++and give any other recipients of the Program a copy of this License
> ++along with the Program.
> ++
> ++You may charge a fee for the physical act of transferring a copy, and
> ++you may at your option offer warranty protection in exchange for a fee.
> ++
> ++  2. You may modify your copy or copies of the Program or any portion
> ++of it, thus forming a work based on the Program, and copy and
> ++distribute such modifications or work under the terms of Section 1
> ++above, provided that you also meet all of these conditions:
> ++
> ++    a) You must cause the modified files to carry prominent notices
> ++    stating that you changed the files and the date of any change.
> ++
> ++    b) You must cause any work that you distribute or publish, that in
> ++    whole or in part contains or is derived from the Program or any
> ++    part thereof, to be licensed as a whole at no charge to all third
> ++    parties under the terms of this License.
> ++
> ++    c) If the modified program normally reads commands interactively
> ++    when run, you must cause it, when started running for such
> ++    interactive use in the most ordinary way, to print or display an
> ++    announcement including an appropriate copyright notice and a
> ++    notice that there is no warranty (or else, saying that you provide
> ++    a warranty) and that users may redistribute the program under
> ++    these conditions, and telling the user how to view a copy of this
> ++    License.  (Exception: if the Program itself is interactive but
> ++    does not normally print such an announcement, your work based on
> ++    the Program is not required to print an announcement.)
> ++
> ++These requirements apply to the modified work as a whole.  If
> ++identifiable sections of that work are not derived from the Program,
> ++and can be reasonably considered independent and separate works in
> ++themselves, then this License, and its terms, do not apply to those
> ++sections when you distribute them as separate works.  But when you
> ++distribute the same sections as part of a whole which is a work based
> ++on the Program, the distribution of the whole must be on the terms of
> ++this License, whose permissions for other licensees extend to the
> ++entire whole, and thus to each and every part regardless of who wrote it.
> ++
> ++Thus, it is not the intent of this section to claim rights or contest
> ++your rights to work written entirely by you; rather, the intent is to
> ++exercise the right to control the distribution of derivative or
> ++collective works based on the Program.
> ++
> ++In addition, mere aggregation of another work not based on the Program
> ++with the Program (or with a work based on the Program) on a volume of
> ++a storage or distribution medium does not bring the other work under
> ++the scope of this License.
> ++
> ++  3. You may copy and distribute the Program (or a work based on it,
> ++under Section 2) in object code or executable form under the terms of
> ++Sections 1 and 2 above provided that you also do one of the following:
> ++
> ++    a) Accompany it with the complete corresponding machine-readable
> ++    source code, which must be distributed under the terms of Sections
> ++    1 and 2 above on a medium customarily used for software interchange; or,
> ++
> ++    b) Accompany it with a written offer, valid for at least three
> ++    years, to give any third party, for a charge no more than your
> ++    cost of physically performing source distribution, a complete
> ++    machine-readable copy of the corresponding source code, to be
> ++    distributed under the terms of Sections 1 and 2 above on a medium
> ++    customarily used for software interchange; or,
> ++
> ++    c) Accompany it with the information you received as to the offer
> ++    to distribute corresponding source code.  (This alternative is
> ++    allowed only for noncommercial distribution and only if you
> ++    received the program in object code or executable form with such
> ++    an offer, in accord with Subsection b above.)
> ++
> ++The source code for a work means the preferred form of the work for
> ++making modifications to it.  For an executable work, complete source
> ++code means all the source code for all modules it contains, plus any
> ++associated interface definition files, plus the scripts used to
> ++control compilation and installation of the executable.  However, as a
> ++special exception, the source code distributed need not include
> ++anything that is normally distributed (in either source or binary
> ++form) with the major components (compiler, kernel, and so on) of the
> ++operating system on which the executable runs, unless that component
> ++itself accompanies the executable.
> ++
> ++If distribution of executable or object code is made by offering
> ++access to copy from a designated place, then offering equivalent
> ++access to copy the source code from the same place counts as
> ++distribution of the source code, even though third parties are not
> ++compelled to copy the source along with the object code.
> ++
> ++  4. You may not copy, modify, sublicense, or distribute the Program
> ++except as expressly provided under this License.  Any attempt
> ++otherwise to copy, modify, sublicense or distribute the Program is
> ++void, and will automatically terminate your rights under this License.
> ++However, parties who have received copies, or rights, from you under
> ++this License will not have their licenses terminated so long as such
> ++parties remain in full compliance.
> ++
> ++  5. You are not required to accept this License, since you have not
> ++signed it.  However, nothing else grants you permission to modify or
> ++distribute the Program or its derivative works.  These actions are
> ++prohibited by law if you do not accept this License.  Therefore, by
> ++modifying or distributing the Program (or any work based on the
> ++Program), you indicate your acceptance of this License to do so, and
> ++all its terms and conditions for copying, distributing or modifying
> ++the Program or works based on it.
> ++
> ++  6. Each time you redistribute the Program (or any work based on the
> ++Program), the recipient automatically receives a license from the
> ++original licensor to copy, distribute or modify the Program subject to
> ++these terms and conditions.  You may not impose any further
> ++restrictions on the recipients' exercise of the rights granted herein.
> ++You are not responsible for enforcing compliance by third parties to
> ++this License.
> ++
> ++  7. If, as a consequence of a court judgment or allegation of patent
> ++infringement or for any other reason (not limited to patent issues),
> ++conditions are imposed on you (whether by court order, agreement or
> ++otherwise) that contradict the conditions of this License, they do not
> ++excuse you from the conditions of this License.  If you cannot
> ++distribute so as to satisfy simultaneously your obligations under this
> ++License and any other pertinent obligations, then as a consequence you
> ++may not distribute the Program at all.  For example, if a patent
> ++license would not permit royalty-free redistribution of the Program by
> ++all those who receive copies directly or indirectly through you, then
> ++the only way you could satisfy both it and this License would be to
> ++refrain entirely from distribution of the Program.
> ++
> ++If any portion of this section is held invalid or unenforceable under
> ++any particular circumstance, the balance of the section is intended to
> ++apply and the section as a whole is intended to apply in other
> ++circumstances.
> ++
> ++It is not the purpose of this section to induce you to infringe any
> ++patents or other property right claims or to contest validity of any
> ++such claims; this section has the sole purpose of protecting the
> ++integrity of the free software distribution system, which is
> ++implemented by public license practices.  Many people have made
> ++generous contributions to the wide range of software distributed
> ++through that system in reliance on consistent application of that
> ++system; it is up to the author/donor to decide if he or she is willing
> ++to distribute software through any other system and a licensee cannot
> ++impose that choice.
> ++
> ++This section is intended to make thoroughly clear what is believed to
> ++be a consequence of the rest of this License.
> ++
> ++  8. If the distribution and/or use of the Program is restricted in
> ++certain countries either by patents or by copyrighted interfaces, the
> ++original copyright holder who places the Program under this License
> ++may add an explicit geographical distribution limitation excluding
> ++those countries, so that distribution is permitted only in or among
> ++countries not thus excluded.  In such case, this License incorporates
> ++the limitation as if written in the body of this License.
> ++
> ++  9. The Free Software Foundation may publish revised and/or new versions
> ++of the General Public License from time to time.  Such new versions will
> ++be similar in spirit to the present version, but may differ in detail to
> ++address new problems or concerns.
> ++
> ++Each version is given a distinguishing version number.  If the Program
> ++specifies a version number of this License which applies to it and "any
> ++later version", you have the option of following the terms and conditions
> ++either of that version or of any later version published by the Free
> ++Software Foundation.  If the Program does not specify a version number of
> ++this License, you may choose any version ever published by the Free Software
> ++Foundation.
> ++
> ++  10. If you wish to incorporate parts of the Program into other free
> ++programs whose distribution conditions are different, write to the author
> ++to ask for permission.  For software which is copyrighted by the Free
> ++Software Foundation, write to the Free Software Foundation; we sometimes
> ++make exceptions for this.  Our decision will be guided by the two goals
> ++of preserving the free status of all derivatives of our free software and
> ++of promoting the sharing and reuse of software generally.
> ++
> ++                            NO WARRANTY
> ++
> ++  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
> ++FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
> ++OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
> ++PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
> ++OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
> ++MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
> ++TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
> ++PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
> ++REPAIR OR CORRECTION.
> ++
> ++  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
> ++WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
> ++REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
> ++INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
> ++OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
> ++TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
> ++YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
> ++PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
> ++POSSIBILITY OF SUCH DAMAGES.
> ++
> ++                     END OF TERMS AND CONDITIONS
> ++
> ++            How to Apply These Terms to Your New Programs
> ++
> ++  If you develop a new program, and you want it to be of the greatest
> ++possible use to the public, the best way to achieve this is to make it
> ++free software which everyone can redistribute and change under these terms.
> ++
> ++  To do so, attach the following notices to the program.  It is safest
> ++to attach them to the start of each source file to most effectively
> ++convey the exclusion of warranty; and each file should have at least
> ++the "copyright" line and a pointer to where the full notice is found.
> ++
> ++    <one line to give the program's name and a brief idea of what it does.>
> ++    Copyright (C) <year>  <name of author>
> ++
> ++    This program is free software; you can redistribute it and/or modify
> ++    it under the terms of the GNU General Public License as published by
> ++    the Free Software Foundation; either version 2 of the License, or
> ++    (at your option) any later version.
> ++
> ++    This program is distributed in the hope that it will be useful,
> ++    but WITHOUT ANY WARRANTY; without even the implied warranty of
> ++    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> ++    GNU General Public License for more details.
> ++
> ++    You should have received a copy of the GNU General Public License along
> ++    with this program; if not, write to the Free Software Foundation, Inc.,
> ++    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
> ++
> ++Also add information on how to contact you by electronic and paper mail.
> ++
> ++If the program is interactive, make it output a short notice like this
> ++when it starts in an interactive mode:
> ++
> ++    Gnomovision version 69, Copyright (C) year name of author
> ++    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
> ++    This is free software, and you are welcome to redistribute it
> ++    under certain conditions; type `show c' for details.
> ++
> ++The hypothetical commands `show w' and `show c' should show the appropriate
> ++parts of the General Public License.  Of course, the commands you use may
> ++be called something other than `show w' and `show c'; they could even be
> ++mouse-clicks or menu items--whatever suits your program.
> ++
> ++You should also get your employer (if you work as a programmer) or your
> ++school, if any, to sign a "copyright disclaimer" for the program, if
> ++necessary.  Here is a sample; alter the names:
> ++
> ++  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
> ++  `Gnomovision' (which makes passes at compilers) written by James Hacker.
> ++
> ++  <signature of Ty Coon>, 1 April 1989
> ++  Ty Coon, President of Vice
> ++
> ++This General Public License does not permit incorporating your program into
> ++proprietary programs.  If your program is a subroutine library, you may
> ++consider it more useful to permit linking proprietary applications with the
> ++library.  If this is what you want to do, use the GNU Lesser General
> ++Public License instead of this License.
> +-- 
> +1.8.5.2
> +
> diff --git
> a/recipes-bsp/imx-uuc/imx-uuc/Makefile-adapt-to-work-out-of-box-with-OE-Core.patch
> b/recipes-bsp/imx-uuc/imx-uuc/Makefile-adapt-to-work-out-of-box-with-OE-Core.patch
> new file mode 100644
> index 0000000..1063639
> --- /dev/null
> +++ b/recipes-bsp/imx-uuc/imx-uuc/Makefile-adapt-to-work-out-of-box-with-OE-Core.patch
> @@ -0,0 +1,46 @@
> +From 9087941bab06f31166283ac66f03b8c4d75e9db8 Mon Sep 17 00:00:00 2001
> +From: Otavio Salvador <otavio@ossystems.com.br>
> +Date: Fri, 17 Jan 2014 10:04:56 -0200
> +Subject: [PATCH] Makefile: adapt to work out of box with OE-Core
> +Organization: O.S. Systems Software LTDA.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> +---
> + Makefile | 15 ++++++++-------
> + 1 file changed, 8 insertions(+), 7 deletions(-)
> +
> +diff --git a/Makefile b/Makefile
> +index 29ce91a..77f594e 100644
> +--- a/Makefile
> ++++ b/Makefile
> +@@ -1,5 +1,6 @@
> +-CC=$(CROSS_COMPILE)gcc
> +-AR=$(CROSS_COMPILE)AR
> ++CC ?= $(CROSS_COMPILE)gcc
> ++AR ?= $(CROSS_COMPILE)AR
> ++BINDIR ?= /usr/bin
> + 
> + all: uuc sdimage
> + 
> +@@ -10,11 +11,11 @@ sdimage: sdimage.c
> + 	$(CC) sdimage.c -o sdimage
> + 
> + install:
> +-	mkdir -p   $(DEST_DIR)
> +-	cp linuxrc $(DEST_DIR)
> +-	mkdir -p   $(DEST_DIR)/usr/bin
> +-	cp uuc	   $(DEST_DIR)/usr/bin
> +-	cp sdimage $(DEST_DIR)/usr/bin
> ++	install -d $(DESTDIR)$(BINDIR)
> ++	install -m 755 linuxrc $(DESTDIR)
> ++	install -m 755 uuc $(DESTDIR)$(BINDIR)
> ++	install -m 755 sdimage $(DESTDIR)$(BINDIR)
> ++
> + clean:
> + 	rm -f uuc
> + 	rm -f sdimage
> +-- 
> +1.8.5.2
> +
> diff --git
> a/recipes-bsp/imx-uuc/imx-uuc/linuxrc-Use-devtmpfs-and-general-cleanup.patch
> b/recipes-bsp/imx-uuc/imx-uuc/linuxrc-Use-devtmpfs-and-general-cleanup.patch
> new file mode 100644
> index 0000000..627be42
> --- /dev/null
> +++ b/recipes-bsp/imx-uuc/imx-uuc/linuxrc-Use-devtmpfs-and-general-cleanup.patch
> @@ -0,0 +1,46 @@
> +From 9cfd20c9767082c43670204994de20ba4c886584 Mon Sep 17 00:00:00 2001
> +From: Otavio Salvador <otavio@ossystems.com.br>
> +Date: Mon, 20 Jan 2014 16:53:39 -0200
> +Subject: [PATCH] linuxrc: Use devtmpfs and general cleanup
> +Organization: O.S. Systems Software LTDA.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> +---
> + linuxrc | 21 ++++++++++-----------
> + 1 file changed, 10 insertions(+), 11 deletions(-)
> +
> +diff --git a/linuxrc b/linuxrc
> +index 88dd124..8ea34da 100755
> +--- a/linuxrc
> ++++ b/linuxrc
> +@@ -1,15 +1,14 @@
> + #!/bin/sh
> +-#mkdir /sys /proc
> ++export PATH=/sbin:/bin:/usr/sbin:/usr/bin
> ++
> + mount -t sysfs none /sys
> + mount -t proc none /proc
> +-export PATH=/sbin:/bin:/usr/sbin:/usr/bin
> +-echo "Starting UTP"
> +-cd /home
> +-#disable turn off display
> +-mknod /dev/tty0 c 4 0
> +-#get up-to-date mount information
> +-ln -s /proc/mounts /etc/mtab
> +-echo "disable turn off display"
> ++mount -t devtmpfs none /dev
> ++
> ++# disable turn off display
> + echo -e "\033[9;0]" > /dev/tty0
> +-/etc/init.d/udev start
> +-/usr/bin/uuc
> ++
> ++cd /home
> ++
> ++echo "Starting UTP"
> ++uuc
> +-- 
> +1.8.5.3
> +
> diff --git
> a/recipes-bsp/imx-uuc/imx-uuc/sdimage.c-uu.c-update-license-header.patch
> b/recipes-bsp/imx-uuc/imx-uuc/sdimage.c-uu.c-update-license-header.patch
> new file mode 100644
> index 0000000..bb322ce
> --- /dev/null
> +++ b/recipes-bsp/imx-uuc/imx-uuc/sdimage.c-uu.c-update-license-header.patch
> @@ -0,0 +1,53 @@
> +From: Otavio Salvador <otavio@ossystems.com.br>
> +Date: Fri, 17 Jan 2014 09:34:31 -0200
> +Subject: sdimage.c, uu.c: update license header
> +Organization: O.S. Systems Software LTDA.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> +---
> + sdimage.c | 2 +-
> + uu.c      | 8 ++++----
> + 2 files changed, 5 insertions(+), 5 deletions(-)
> +
> +diff --git a/sdimage.c b/sdimage.c
> +index e8adf32..d13b851 100644
> +--- a/sdimage.c
> ++++ b/sdimage.c
> +@@ -1,5 +1,5 @@
> + /*
> +- * Copyright (C) 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved.
> ++ * Copyright (C) 2009-2010 Freescale Semiconductor, Inc.
> +  *
> +  * This program is free software; you can redistribute it and/or modify
> +  * it under the terms of the GNU General Public License as published by
> +diff --git a/uu.c b/uu.c
> +index 0dbbe94..28848dc 100644
> +--- a/uu.c
> ++++ b/uu.c
> +@@ -1,7 +1,7 @@
> + /*
> +  * iMX utp decode program
> +  *
> +- * Copyright 2010-2013 Freescale Semiconductor, Inc.
> ++ * Copyright (C) 2010-2013 Freescale Semiconductor, Inc.
> +  *
> +  * This program is free software; you can redistribute it and/or modify
> +  * it under the terms of the GNU General Public License as published by
> +@@ -13,9 +13,9 @@
> +  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> +  * GNU General Public License for more details.
> +  *
> +- * You should have received a copy of the GNU General Public License
> +- * along with this program; if not, write to the Free Software
> +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
> ++ * You should have received a copy of the GNU General Public License along
> ++ * with this program; if not, write to the Free Software Foundation, Inc.,
> ++ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
> +  */
> + 
> + #define _GNU_SOURCE
> +-- 
> +1.8.5.2
> +
> diff --git a/recipes-bsp/imx-uuc/imx-uuc_0.4.bb b/recipes-bsp/imx-uuc/imx-uuc_0.4.bb
> new file mode 100644
> index 0000000..81d3e16
> --- /dev/null
> +++ b/recipes-bsp/imx-uuc/imx-uuc_0.4.bb
> @@ -0,0 +1,23 @@
> +# Copyright (C) 2014 Freescale Semiconductor
> +# Copyright (C) 2014 O.S. Systems Software LTDA.
> +
> +SUMMARY = "Universal Adapter source"
> +SECTION = "base"
> +DEPENDS = "virtual/kernel"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> +
> +# FIXME: From source code inspection this is the 0.4 release
> +SRC_URI = "${FSL_MIRROR}/imx-uuc-3.10.17-1.0.0_beta.tar.gz \
> +           file://COPYING-Add-license-file.patch \
> +           file://sdimage.c-uu.c-update-license-header.patch \
> +           file://Makefile-adapt-to-work-out-of-box-with-OE-Core.patch \
> +           file://linuxrc-Use-devtmpfs-and-general-cleanup.patch"
> +S = "${WORKDIR}/${PN}-3.10.17-1.0.0_beta"
> +
> +SRC_URI[md5sum] = "22cc43c9a3b1a0eb1a82e0fcbade8c37"
> +SRC_URI[sha256sum] = "bd96d19ec0399fbebf09c3692f77ee8c76b27988c3bf616d3cecb67a8552ba96"
> +
> +inherit autotools
> +
> +FILES_${PN} += "/linuxrc"

-- 
http://www.ossystems.com.br


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 01/16] imx-uuc: Add 0.4 recipe
  2014-02-24 19:01   ` Mario Domenech Goulart
@ 2014-02-24 19:09     ` Otavio Salvador
  0 siblings, 0 replies; 41+ messages in thread
From: Otavio Salvador @ 2014-02-24 19:09 UTC (permalink / raw)
  To: Mario Domenech Goulart; +Cc: meta-freescale Mailing List

Hello Mario,

On Mon, Feb 24, 2014 at 4:01 PM, Mario Domenech Goulart
<mario@ossystems.com.br> wrote:
> On Mon, 24 Feb 2014 15:52:37 -0300 Otavio Salvador <otavio@ossystems.com.br> wrote:
>> This provides the Universal Adapter user-space utility that is used to
>> receive commands from the Manufacture Tool by the Freescale UTP Protocol.
>
> s/Manufacture/Manufacturing/
>
>>
>> Signed-off-by: Lauren Post <lauren.post@freescale.com>
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

I did this update locally for the v2.

Thanks for spotting it.

-- 
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


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 01/16] imx-uuc: Add 0.4 recipe
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 01/16] imx-uuc: Add 0.4 recipe Otavio Salvador
  2014-02-24 19:01   ` Mario Domenech Goulart
@ 2014-02-25 17:37   ` Daiane Angolini
  1 sibling, 0 replies; 41+ messages in thread
From: Daiane Angolini @ 2014-02-25 17:37 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> This provides the Universal Adapter user-space utility that is used to
> receive commands from the Manufacture Tool by the Freescale UTP Protocol.
>
> Signed-off-by: Lauren Post <lauren.post@freescale.com>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>
>  .../imx-uuc/imx-uuc/COPYING-Add-license-file.patch | 362 +++++++++++++++++++++
>  ...ile-adapt-to-work-out-of-box-with-OE-Core.patch |  46 +++
>  .../linuxrc-Use-devtmpfs-and-general-cleanup.patch |  46 +++
>  .../sdimage.c-uu.c-update-license-header.patch     |  53 +++
>  recipes-bsp/imx-uuc/imx-uuc_0.4.bb                 |  23 ++
>  5 files changed, 530 insertions(+)
>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc/COPYING-Add-license-file.patch
>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc/Makefile-adapt-to-work-out-of-box-with-OE-Core.patch
>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc/linuxrc-Use-devtmpfs-and-general-cleanup.patch
>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc/sdimage.c-uu.c-update-license-header.patch
You are including a new recipe/package with additional patches.

I hope we can drop then in GA release. At least when suitable.

Thanks a lot for the Copyright fixes, Otavio ;-)


Reviewed-by,

Daiane

>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc_0.4.bb
>
> diff --git a/recipes-bsp/imx-uuc/imx-uuc/COPYING-Add-license-file.patch b/recipes-bsp/imx-uuc/imx-uuc/COPYING-Add-license-file.patch
> new file mode 100644
> index 0000000..4f334ca
> --- /dev/null
> +++ b/recipes-bsp/imx-uuc/imx-uuc/COPYING-Add-license-file.patch
> @@ -0,0 +1,362 @@
> +From d2ce2f28e4bad8dc72e658565be0287d40a420b4 Mon Sep 17 00:00:00 2001
> +From: Otavio Salvador <otavio@ossystems.com.br>
> +Date: Fri, 17 Jan 2014 09:30:03 -0200
> +Subject: [PATCH] COPYING: Add license file
> +Organization: O.S. Systems Software LTDA.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> +---
> + COPYING | 339 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> + 1 file changed, 339 insertions(+)
> + create mode 100644 COPYING
> +
> +diff --git a/COPYING b/COPYING
> +new file mode 100644
> +index 0000000..d159169
> +--- /dev/null
> ++++ b/COPYING
> +@@ -0,0 +1,339 @@
> ++                    GNU GENERAL PUBLIC LICENSE
> ++                       Version 2, June 1991
> ++
> ++ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
> ++ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
> ++ Everyone is permitted to copy and distribute verbatim copies
> ++ of this license document, but changing it is not allowed.
> ++
> ++                            Preamble
> ++
> ++  The licenses for most software are designed to take away your
> ++freedom to share and change it.  By contrast, the GNU General Public
> ++License is intended to guarantee your freedom to share and change free
> ++software--to make sure the software is free for all its users.  This
> ++General Public License applies to most of the Free Software
> ++Foundation's software and to any other program whose authors commit to
> ++using it.  (Some other Free Software Foundation software is covered by
> ++the GNU Lesser General Public License instead.)  You can apply it to
> ++your programs, too.
> ++
> ++  When we speak of free software, we are referring to freedom, not
> ++price.  Our General Public Licenses are designed to make sure that you
> ++have the freedom to distribute copies of free software (and charge for
> ++this service if you wish), that you receive source code or can get it
> ++if you want it, that you can change the software or use pieces of it
> ++in new free programs; and that you know you can do these things.
> ++
> ++  To protect your rights, we need to make restrictions that forbid
> ++anyone to deny you these rights or to ask you to surrender the rights.
> ++These restrictions translate to certain responsibilities for you if you
> ++distribute copies of the software, or if you modify it.
> ++
> ++  For example, if you distribute copies of such a program, whether
> ++gratis or for a fee, you must give the recipients all the rights that
> ++you have.  You must make sure that they, too, receive or can get the
> ++source code.  And you must show them these terms so they know their
> ++rights.
> ++
> ++  We protect your rights with two steps: (1) copyright the software, and
> ++(2) offer you this license which gives you legal permission to copy,
> ++distribute and/or modify the software.
> ++
> ++  Also, for each author's protection and ours, we want to make certain
> ++that everyone understands that there is no warranty for this free
> ++software.  If the software is modified by someone else and passed on, we
> ++want its recipients to know that what they have is not the original, so
> ++that any problems introduced by others will not reflect on the original
> ++authors' reputations.
> ++
> ++  Finally, any free program is threatened constantly by software
> ++patents.  We wish to avoid the danger that redistributors of a free
> ++program will individually obtain patent licenses, in effect making the
> ++program proprietary.  To prevent this, we have made it clear that any
> ++patent must be licensed for everyone's free use or not licensed at all.
> ++
> ++  The precise terms and conditions for copying, distribution and
> ++modification follow.
> ++
> ++                    GNU GENERAL PUBLIC LICENSE
> ++   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
> ++
> ++  0. This License applies to any program or other work which contains
> ++a notice placed by the copyright holder saying it may be distributed
> ++under the terms of this General Public License.  The "Program", below,
> ++refers to any such program or work, and a "work based on the Program"
> ++means either the Program or any derivative work under copyright law:
> ++that is to say, a work containing the Program or a portion of it,
> ++either verbatim or with modifications and/or translated into another
> ++language.  (Hereinafter, translation is included without limitation in
> ++the term "modification".)  Each licensee is addressed as "you".
> ++
> ++Activities other than copying, distribution and modification are not
> ++covered by this License; they are outside its scope.  The act of
> ++running the Program is not restricted, and the output from the Program
> ++is covered only if its contents constitute a work based on the
> ++Program (independent of having been made by running the Program).
> ++Whether that is true depends on what the Program does.
> ++
> ++  1. You may copy and distribute verbatim copies of the Program's
> ++source code as you receive it, in any medium, provided that you
> ++conspicuously and appropriately publish on each copy an appropriate
> ++copyright notice and disclaimer of warranty; keep intact all the
> ++notices that refer to this License and to the absence of any warranty;
> ++and give any other recipients of the Program a copy of this License
> ++along with the Program.
> ++
> ++You may charge a fee for the physical act of transferring a copy, and
> ++you may at your option offer warranty protection in exchange for a fee.
> ++
> ++  2. You may modify your copy or copies of the Program or any portion
> ++of it, thus forming a work based on the Program, and copy and
> ++distribute such modifications or work under the terms of Section 1
> ++above, provided that you also meet all of these conditions:
> ++
> ++    a) You must cause the modified files to carry prominent notices
> ++    stating that you changed the files and the date of any change.
> ++
> ++    b) You must cause any work that you distribute or publish, that in
> ++    whole or in part contains or is derived from the Program or any
> ++    part thereof, to be licensed as a whole at no charge to all third
> ++    parties under the terms of this License.
> ++
> ++    c) If the modified program normally reads commands interactively
> ++    when run, you must cause it, when started running for such
> ++    interactive use in the most ordinary way, to print or display an
> ++    announcement including an appropriate copyright notice and a
> ++    notice that there is no warranty (or else, saying that you provide
> ++    a warranty) and that users may redistribute the program under
> ++    these conditions, and telling the user how to view a copy of this
> ++    License.  (Exception: if the Program itself is interactive but
> ++    does not normally print such an announcement, your work based on
> ++    the Program is not required to print an announcement.)
> ++
> ++These requirements apply to the modified work as a whole.  If
> ++identifiable sections of that work are not derived from the Program,
> ++and can be reasonably considered independent and separate works in
> ++themselves, then this License, and its terms, do not apply to those
> ++sections when you distribute them as separate works.  But when you
> ++distribute the same sections as part of a whole which is a work based
> ++on the Program, the distribution of the whole must be on the terms of
> ++this License, whose permissions for other licensees extend to the
> ++entire whole, and thus to each and every part regardless of who wrote it.
> ++
> ++Thus, it is not the intent of this section to claim rights or contest
> ++your rights to work written entirely by you; rather, the intent is to
> ++exercise the right to control the distribution of derivative or
> ++collective works based on the Program.
> ++
> ++In addition, mere aggregation of another work not based on the Program
> ++with the Program (or with a work based on the Program) on a volume of
> ++a storage or distribution medium does not bring the other work under
> ++the scope of this License.
> ++
> ++  3. You may copy and distribute the Program (or a work based on it,
> ++under Section 2) in object code or executable form under the terms of
> ++Sections 1 and 2 above provided that you also do one of the following:
> ++
> ++    a) Accompany it with the complete corresponding machine-readable
> ++    source code, which must be distributed under the terms of Sections
> ++    1 and 2 above on a medium customarily used for software interchange; or,
> ++
> ++    b) Accompany it with a written offer, valid for at least three
> ++    years, to give any third party, for a charge no more than your
> ++    cost of physically performing source distribution, a complete
> ++    machine-readable copy of the corresponding source code, to be
> ++    distributed under the terms of Sections 1 and 2 above on a medium
> ++    customarily used for software interchange; or,
> ++
> ++    c) Accompany it with the information you received as to the offer
> ++    to distribute corresponding source code.  (This alternative is
> ++    allowed only for noncommercial distribution and only if you
> ++    received the program in object code or executable form with such
> ++    an offer, in accord with Subsection b above.)
> ++
> ++The source code for a work means the preferred form of the work for
> ++making modifications to it.  For an executable work, complete source
> ++code means all the source code for all modules it contains, plus any
> ++associated interface definition files, plus the scripts used to
> ++control compilation and installation of the executable.  However, as a
> ++special exception, the source code distributed need not include
> ++anything that is normally distributed (in either source or binary
> ++form) with the major components (compiler, kernel, and so on) of the
> ++operating system on which the executable runs, unless that component
> ++itself accompanies the executable.
> ++
> ++If distribution of executable or object code is made by offering
> ++access to copy from a designated place, then offering equivalent
> ++access to copy the source code from the same place counts as
> ++distribution of the source code, even though third parties are not
> ++compelled to copy the source along with the object code.
> ++
> ++  4. You may not copy, modify, sublicense, or distribute the Program
> ++except as expressly provided under this License.  Any attempt
> ++otherwise to copy, modify, sublicense or distribute the Program is
> ++void, and will automatically terminate your rights under this License.
> ++However, parties who have received copies, or rights, from you under
> ++this License will not have their licenses terminated so long as such
> ++parties remain in full compliance.
> ++
> ++  5. You are not required to accept this License, since you have not
> ++signed it.  However, nothing else grants you permission to modify or
> ++distribute the Program or its derivative works.  These actions are
> ++prohibited by law if you do not accept this License.  Therefore, by
> ++modifying or distributing the Program (or any work based on the
> ++Program), you indicate your acceptance of this License to do so, and
> ++all its terms and conditions for copying, distributing or modifying
> ++the Program or works based on it.
> ++
> ++  6. Each time you redistribute the Program (or any work based on the
> ++Program), the recipient automatically receives a license from the
> ++original licensor to copy, distribute or modify the Program subject to
> ++these terms and conditions.  You may not impose any further
> ++restrictions on the recipients' exercise of the rights granted herein.
> ++You are not responsible for enforcing compliance by third parties to
> ++this License.
> ++
> ++  7. If, as a consequence of a court judgment or allegation of patent
> ++infringement or for any other reason (not limited to patent issues),
> ++conditions are imposed on you (whether by court order, agreement or
> ++otherwise) that contradict the conditions of this License, they do not
> ++excuse you from the conditions of this License.  If you cannot
> ++distribute so as to satisfy simultaneously your obligations under this
> ++License and any other pertinent obligations, then as a consequence you
> ++may not distribute the Program at all.  For example, if a patent
> ++license would not permit royalty-free redistribution of the Program by
> ++all those who receive copies directly or indirectly through you, then
> ++the only way you could satisfy both it and this License would be to
> ++refrain entirely from distribution of the Program.
> ++
> ++If any portion of this section is held invalid or unenforceable under
> ++any particular circumstance, the balance of the section is intended to
> ++apply and the section as a whole is intended to apply in other
> ++circumstances.
> ++
> ++It is not the purpose of this section to induce you to infringe any
> ++patents or other property right claims or to contest validity of any
> ++such claims; this section has the sole purpose of protecting the
> ++integrity of the free software distribution system, which is
> ++implemented by public license practices.  Many people have made
> ++generous contributions to the wide range of software distributed
> ++through that system in reliance on consistent application of that
> ++system; it is up to the author/donor to decide if he or she is willing
> ++to distribute software through any other system and a licensee cannot
> ++impose that choice.
> ++
> ++This section is intended to make thoroughly clear what is believed to
> ++be a consequence of the rest of this License.
> ++
> ++  8. If the distribution and/or use of the Program is restricted in
> ++certain countries either by patents or by copyrighted interfaces, the
> ++original copyright holder who places the Program under this License
> ++may add an explicit geographical distribution limitation excluding
> ++those countries, so that distribution is permitted only in or among
> ++countries not thus excluded.  In such case, this License incorporates
> ++the limitation as if written in the body of this License.
> ++
> ++  9. The Free Software Foundation may publish revised and/or new versions
> ++of the General Public License from time to time.  Such new versions will
> ++be similar in spirit to the present version, but may differ in detail to
> ++address new problems or concerns.
> ++
> ++Each version is given a distinguishing version number.  If the Program
> ++specifies a version number of this License which applies to it and "any
> ++later version", you have the option of following the terms and conditions
> ++either of that version or of any later version published by the Free
> ++Software Foundation.  If the Program does not specify a version number of
> ++this License, you may choose any version ever published by the Free Software
> ++Foundation.
> ++
> ++  10. If you wish to incorporate parts of the Program into other free
> ++programs whose distribution conditions are different, write to the author
> ++to ask for permission.  For software which is copyrighted by the Free
> ++Software Foundation, write to the Free Software Foundation; we sometimes
> ++make exceptions for this.  Our decision will be guided by the two goals
> ++of preserving the free status of all derivatives of our free software and
> ++of promoting the sharing and reuse of software generally.
> ++
> ++                            NO WARRANTY
> ++
> ++  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
> ++FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
> ++OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
> ++PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
> ++OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
> ++MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
> ++TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
> ++PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
> ++REPAIR OR CORRECTION.
> ++
> ++  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
> ++WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
> ++REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
> ++INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
> ++OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
> ++TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
> ++YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
> ++PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
> ++POSSIBILITY OF SUCH DAMAGES.
> ++
> ++                     END OF TERMS AND CONDITIONS
> ++
> ++            How to Apply These Terms to Your New Programs
> ++
> ++  If you develop a new program, and you want it to be of the greatest
> ++possible use to the public, the best way to achieve this is to make it
> ++free software which everyone can redistribute and change under these terms.
> ++
> ++  To do so, attach the following notices to the program.  It is safest
> ++to attach them to the start of each source file to most effectively
> ++convey the exclusion of warranty; and each file should have at least
> ++the "copyright" line and a pointer to where the full notice is found.
> ++
> ++    <one line to give the program's name and a brief idea of what it does.>
> ++    Copyright (C) <year>  <name of author>
> ++
> ++    This program is free software; you can redistribute it and/or modify
> ++    it under the terms of the GNU General Public License as published by
> ++    the Free Software Foundation; either version 2 of the License, or
> ++    (at your option) any later version.
> ++
> ++    This program is distributed in the hope that it will be useful,
> ++    but WITHOUT ANY WARRANTY; without even the implied warranty of
> ++    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> ++    GNU General Public License for more details.
> ++
> ++    You should have received a copy of the GNU General Public License along
> ++    with this program; if not, write to the Free Software Foundation, Inc.,
> ++    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
> ++
> ++Also add information on how to contact you by electronic and paper mail.
> ++
> ++If the program is interactive, make it output a short notice like this
> ++when it starts in an interactive mode:
> ++
> ++    Gnomovision version 69, Copyright (C) year name of author
> ++    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
> ++    This is free software, and you are welcome to redistribute it
> ++    under certain conditions; type `show c' for details.
> ++
> ++The hypothetical commands `show w' and `show c' should show the appropriate
> ++parts of the General Public License.  Of course, the commands you use may
> ++be called something other than `show w' and `show c'; they could even be
> ++mouse-clicks or menu items--whatever suits your program.
> ++
> ++You should also get your employer (if you work as a programmer) or your
> ++school, if any, to sign a "copyright disclaimer" for the program, if
> ++necessary.  Here is a sample; alter the names:
> ++
> ++  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
> ++  `Gnomovision' (which makes passes at compilers) written by James Hacker.
> ++
> ++  <signature of Ty Coon>, 1 April 1989
> ++  Ty Coon, President of Vice
> ++
> ++This General Public License does not permit incorporating your program into
> ++proprietary programs.  If your program is a subroutine library, you may
> ++consider it more useful to permit linking proprietary applications with the
> ++library.  If this is what you want to do, use the GNU Lesser General
> ++Public License instead of this License.
> +--
> +1.8.5.2
> +
> diff --git a/recipes-bsp/imx-uuc/imx-uuc/Makefile-adapt-to-work-out-of-box-with-OE-Core.patch b/recipes-bsp/imx-uuc/imx-uuc/Makefile-adapt-to-work-out-of-box-with-OE-Core.patch
> new file mode 100644
> index 0000000..1063639
> --- /dev/null
> +++ b/recipes-bsp/imx-uuc/imx-uuc/Makefile-adapt-to-work-out-of-box-with-OE-Core.patch
> @@ -0,0 +1,46 @@
> +From 9087941bab06f31166283ac66f03b8c4d75e9db8 Mon Sep 17 00:00:00 2001
> +From: Otavio Salvador <otavio@ossystems.com.br>
> +Date: Fri, 17 Jan 2014 10:04:56 -0200
> +Subject: [PATCH] Makefile: adapt to work out of box with OE-Core
> +Organization: O.S. Systems Software LTDA.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> +---
> + Makefile | 15 ++++++++-------
> + 1 file changed, 8 insertions(+), 7 deletions(-)
> +
> +diff --git a/Makefile b/Makefile
> +index 29ce91a..77f594e 100644
> +--- a/Makefile
> ++++ b/Makefile
> +@@ -1,5 +1,6 @@
> +-CC=$(CROSS_COMPILE)gcc
> +-AR=$(CROSS_COMPILE)AR
> ++CC ?= $(CROSS_COMPILE)gcc
> ++AR ?= $(CROSS_COMPILE)AR
> ++BINDIR ?= /usr/bin
> +
> + all: uuc sdimage
> +
> +@@ -10,11 +11,11 @@ sdimage: sdimage.c
> +       $(CC) sdimage.c -o sdimage
> +
> + install:
> +-      mkdir -p   $(DEST_DIR)
> +-      cp linuxrc $(DEST_DIR)
> +-      mkdir -p   $(DEST_DIR)/usr/bin
> +-      cp uuc     $(DEST_DIR)/usr/bin
> +-      cp sdimage $(DEST_DIR)/usr/bin
> ++      install -d $(DESTDIR)$(BINDIR)
> ++      install -m 755 linuxrc $(DESTDIR)
> ++      install -m 755 uuc $(DESTDIR)$(BINDIR)
> ++      install -m 755 sdimage $(DESTDIR)$(BINDIR)
> ++
> + clean:
> +       rm -f uuc
> +       rm -f sdimage
> +--
> +1.8.5.2
> +
> diff --git a/recipes-bsp/imx-uuc/imx-uuc/linuxrc-Use-devtmpfs-and-general-cleanup.patch b/recipes-bsp/imx-uuc/imx-uuc/linuxrc-Use-devtmpfs-and-general-cleanup.patch
> new file mode 100644
> index 0000000..627be42
> --- /dev/null
> +++ b/recipes-bsp/imx-uuc/imx-uuc/linuxrc-Use-devtmpfs-and-general-cleanup.patch
> @@ -0,0 +1,46 @@
> +From 9cfd20c9767082c43670204994de20ba4c886584 Mon Sep 17 00:00:00 2001
> +From: Otavio Salvador <otavio@ossystems.com.br>
> +Date: Mon, 20 Jan 2014 16:53:39 -0200
> +Subject: [PATCH] linuxrc: Use devtmpfs and general cleanup
> +Organization: O.S. Systems Software LTDA.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> +---
> + linuxrc | 21 ++++++++++-----------
> + 1 file changed, 10 insertions(+), 11 deletions(-)
> +
> +diff --git a/linuxrc b/linuxrc
> +index 88dd124..8ea34da 100755
> +--- a/linuxrc
> ++++ b/linuxrc
> +@@ -1,15 +1,14 @@
> + #!/bin/sh
> +-#mkdir /sys /proc
> ++export PATH=/sbin:/bin:/usr/sbin:/usr/bin
> ++
> + mount -t sysfs none /sys
> + mount -t proc none /proc
> +-export PATH=/sbin:/bin:/usr/sbin:/usr/bin
> +-echo "Starting UTP"
> +-cd /home
> +-#disable turn off display
> +-mknod /dev/tty0 c 4 0
> +-#get up-to-date mount information
> +-ln -s /proc/mounts /etc/mtab
> +-echo "disable turn off display"
> ++mount -t devtmpfs none /dev
> ++
> ++# disable turn off display
> + echo -e "\033[9;0]" > /dev/tty0
> +-/etc/init.d/udev start
> +-/usr/bin/uuc
> ++
> ++cd /home
> ++
> ++echo "Starting UTP"
> ++uuc
> +--
> +1.8.5.3
> +
> diff --git a/recipes-bsp/imx-uuc/imx-uuc/sdimage.c-uu.c-update-license-header.patch b/recipes-bsp/imx-uuc/imx-uuc/sdimage.c-uu.c-update-license-header.patch
> new file mode 100644
> index 0000000..bb322ce
> --- /dev/null
> +++ b/recipes-bsp/imx-uuc/imx-uuc/sdimage.c-uu.c-update-license-header.patch
> @@ -0,0 +1,53 @@
> +From: Otavio Salvador <otavio@ossystems.com.br>
> +Date: Fri, 17 Jan 2014 09:34:31 -0200
> +Subject: sdimage.c, uu.c: update license header
> +Organization: O.S. Systems Software LTDA.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> +---
> + sdimage.c | 2 +-
> + uu.c      | 8 ++++----
> + 2 files changed, 5 insertions(+), 5 deletions(-)
> +
> +diff --git a/sdimage.c b/sdimage.c
> +index e8adf32..d13b851 100644
> +--- a/sdimage.c
> ++++ b/sdimage.c
> +@@ -1,5 +1,5 @@
> + /*
> +- * Copyright (C) 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved.
> ++ * Copyright (C) 2009-2010 Freescale Semiconductor, Inc.
> +  *
> +  * This program is free software; you can redistribute it and/or modify
> +  * it under the terms of the GNU General Public License as published by
> +diff --git a/uu.c b/uu.c
> +index 0dbbe94..28848dc 100644
> +--- a/uu.c
> ++++ b/uu.c
> +@@ -1,7 +1,7 @@
> + /*
> +  * iMX utp decode program
> +  *
> +- * Copyright 2010-2013 Freescale Semiconductor, Inc.
> ++ * Copyright (C) 2010-2013 Freescale Semiconductor, Inc.
> +  *
> +  * This program is free software; you can redistribute it and/or modify
> +  * it under the terms of the GNU General Public License as published by
> +@@ -13,9 +13,9 @@
> +  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> +  * GNU General Public License for more details.
> +  *
> +- * You should have received a copy of the GNU General Public License
> +- * along with this program; if not, write to the Free Software
> +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
> ++ * You should have received a copy of the GNU General Public License along
> ++ * with this program; if not, write to the Free Software Foundation, Inc.,
> ++ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
> +  */
> +
> + #define _GNU_SOURCE
> +--
> +1.8.5.2
> +
> diff --git a/recipes-bsp/imx-uuc/imx-uuc_0.4.bb b/recipes-bsp/imx-uuc/imx-uuc_0.4.bb
> new file mode 100644
> index 0000000..81d3e16
> --- /dev/null
> +++ b/recipes-bsp/imx-uuc/imx-uuc_0.4.bb
> @@ -0,0 +1,23 @@
> +# Copyright (C) 2014 Freescale Semiconductor
> +# Copyright (C) 2014 O.S. Systems Software LTDA.
> +
> +SUMMARY = "Universal Adapter source"
> +SECTION = "base"
> +DEPENDS = "virtual/kernel"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> +
> +# FIXME: From source code inspection this is the 0.4 release
> +SRC_URI = "${FSL_MIRROR}/imx-uuc-3.10.17-1.0.0_beta.tar.gz \
> +           file://COPYING-Add-license-file.patch \
> +           file://sdimage.c-uu.c-update-license-header.patch \
> +           file://Makefile-adapt-to-work-out-of-box-with-OE-Core.patch \
> +           file://linuxrc-Use-devtmpfs-and-general-cleanup.patch"
> +S = "${WORKDIR}/${PN}-3.10.17-1.0.0_beta"
> +
> +SRC_URI[md5sum] = "22cc43c9a3b1a0eb1a82e0fcbade8c37"
> +SRC_URI[sha256sum] = "bd96d19ec0399fbebf09c3692f77ee8c76b27988c3bf616d3cecb67a8552ba96"
> +
> +inherit autotools
> +
> +FILES_${PN} += "/linuxrc"
> --
> 1.9.0
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 02/16] imx-kobs: Upgrade to 3.10.17-1.0.0 version
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 02/16] imx-kobs: Upgrade to 3.10.17-1.0.0 version Otavio Salvador
@ 2014-02-25 17:41   ` Daiane Angolini
  0 siblings, 0 replies; 41+ messages in thread
From: Daiane Angolini @ 2014-02-25 17:41 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> From: Lauren Post <lauren.post@freescale.com>
>
> This removes the virtual/kernel dependency as it builds properly
> against standard Linux headers; doing those changes the package stops
> to be machine specific and can be reused amount SoCs of same
> architecture.

Cool

>
> Signed-off-by: Lauren Post <lauren.post@freescale.com>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>
>  recipes-bsp/imx-kobs/imx-kobs_3.10.17-1.0.0.bb | 16 ++++++++++++++++
>  recipes-bsp/imx-kobs/imx-kobs_3.5.7-1.0.0.bb   | 19 -------------------
>  2 files changed, 16 insertions(+), 19 deletions(-)
>  create mode 100644 recipes-bsp/imx-kobs/imx-kobs_3.10.17-1.0.0.bb
>  delete mode 100644 recipes-bsp/imx-kobs/imx-kobs_3.5.7-1.0.0.bb
>
> diff --git a/recipes-bsp/imx-kobs/imx-kobs_3.10.17-1.0.0.bb b/recipes-bsp/imx-kobs/imx-kobs_3.10.17-1.0.0.bb
> new file mode 100644
> index 0000000..b8dae34
> --- /dev/null
> +++ b/recipes-bsp/imx-kobs/imx-kobs_3.10.17-1.0.0.bb
> @@ -0,0 +1,16 @@
> +# Copyright (C) 2013, 2014 Freescale Semiconductor
> +
> +SUMMARY = "Nand boot write source"
> +DESCRIPTION = "Nand boot write source for IMX BSP"

This DESCRIPTION is kind of small

> +SECTION = "base"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
> +
> +# FIXME: Drop 'beta' suffix for GA release

nice

reviewed-by,
Daiane

> +SRC_URI = "${FSL_MIRROR}/imx-kobs-${PV}_beta.tar.gz"
> +S="${WORKDIR}/${PN}-${PV}_beta"
> +
> +SRC_URI[md5sum] = "88d0a2e892ce0d3309390f48d4173e01"
> +SRC_URI[sha256sum] = "22abed5d43fea314570cf6f33b17d944180f4571932d8304fd8f84508f6b1527"
> +
> +inherit  autotools pkgconfig
> diff --git a/recipes-bsp/imx-kobs/imx-kobs_3.5.7-1.0.0.bb b/recipes-bsp/imx-kobs/imx-kobs_3.5.7-1.0.0.bb
> deleted file mode 100644
> index 8c433e3..0000000
> --- a/recipes-bsp/imx-kobs/imx-kobs_3.5.7-1.0.0.bb
> +++ /dev/null
> @@ -1,19 +0,0 @@
> -# Copyright (C) 2013 Freescale Semiconductor
> -
> -SUMMARY = "Nand boot write source"
> -DESCRIPTION = "Nand boot write source for IMX BSP"
> -SECTION = "base"
> -DEPENDS = "virtual/kernel"
> -LICENSE = "GPLv2"
> -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
> -
> -SRC_URI = "${FSL_MIRROR}/imx-kobs-${PV}.tar.gz"
> -SRC_URI[md5sum] = "1c07f922215d1fe7e202d1ba3dca0293"
> -SRC_URI[sha256sum] = "a2854f5dc4c5728fef83a8b68d0e3e0aaba7910557976fc46265a86dc268038a"
> -
> -inherit autotools pkgconfig
> -
> -INCLUDE_DIR="-I${STAGING_INCDIR}  -I${STAGING_KERNEL_DIR}/include/mtd"
> -EXTRA_OE = "INCLUDE=/"${INCLUDE_DIR}/" all"
> -
> -COMPATIBLE_MACHINE = "(mx6)"
> --
> 1.9.0
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 03/16] packagegroup-fsl-mfgtool: Provide the required packages
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 03/16] packagegroup-fsl-mfgtool: Provide the required packages Otavio Salvador
@ 2014-02-25 17:44   ` Daiane Angolini
  0 siblings, 0 replies; 41+ messages in thread
From: Daiane Angolini @ 2014-02-25 17:44 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> This provides the set of packages needed for Manufactoring Tool
> initramfs images.
>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>


I don´t see anything to comment

reviewed-by,

Daiane
> ---
>
>  .../packagegroups/packagegroup-fsl-mfgtool.bb      | 46 ++++++++++++++++++++++
>  1 file changed, 46 insertions(+)
>  create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
>
> diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb b/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
> new file mode 100644
> index 0000000..0afa9b4
> --- /dev/null
> +++ b/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
> @@ -0,0 +1,46 @@
> +# Copyright (C) 2014 O.S. Systems Software LTDA.
> +
> +SUMMARY = "Freescale Manufacturing Tool requirements"
> +LICENSE = "MIT"
> +
> +inherit packagegroup
> +
> +PACKAGES = " \
> +    ${PN}-base \
> +    ${PN}-mtd \
> +    ${PN}-extfs \
> +"
> +
> +# The essential packages for device bootup that may be set in the
> +# machine configuration file.
> +MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
> +
> +# Distro can override the following VIRTUAL-RUNTIME providers:
> +VIRTUAL-RUNTIME_keymaps ?= "keymaps"
> +
> +RDEPENDS_${PN}-base = " \
> +    bash \
> +    imx-uuc \
> +    util-linux \
> +    coreutils \
> +    dosfstools \
> +    base-files \
> +    base-passwd \
> +    busybox \
> +    ${@base_contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
> +    ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS} \
> +"
> +
> +RDEPENDS_${PN}-mtd = " \
> +    ${PN}-base \
> +    imx-kobs \
> +    mtd-utils \
> +    mtd-utils-ubifs \
> +"
> +
> +RDEPENDS_${PN}-extfs = " \
> +    ${PN}-base \
> +    e2fsprogs-mke2fs \
> +"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> --
> 1.9.0
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 04/16] u-boot-mfgtool.inc: Build a Manufactoring Tool variant
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 04/16] u-boot-mfgtool.inc: Build a Manufactoring Tool variant Otavio Salvador
@ 2014-02-25 17:51   ` Daiane Angolini
  2014-02-25 18:23     ` Eric Nelson
  0 siblings, 1 reply; 41+ messages in thread
From: Daiane Angolini @ 2014-02-25 17:51 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> This makes a separated binary set for Manufacturing Tool use without
> clobbering the U-Boot used for normal use.

clobbering = you know I don´t like this word.

>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>
>  recipes-bsp/u-boot/u-boot-mfgtool.inc | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
>  create mode 100644 recipes-bsp/u-boot/u-boot-mfgtool.inc
>
> diff --git a/recipes-bsp/u-boot/u-boot-mfgtool.inc b/recipes-bsp/u-boot/u-boot-mfgtool.inc
> new file mode 100644
> index 0000000..91526ad
> --- /dev/null
> +++ b/recipes-bsp/u-boot/u-boot-mfgtool.inc
> @@ -0,0 +1,21 @@
> +# Produces a Manufacturing Tool compatible U-Boot
> +#
> +# This makes a separated binary set for Manufacturing Tool use
> +# without clobbering the U-Boot used for normal use.

And it´s not used only in commit log, but on .inc!!!

:-( #chatiada #mimimi

however, if you decided to use it, so use it

(i don´t see real/important thing to comment)
reviewed-by,
Daiane
> +#
> +# This file must to be included after the original u-boot.inc file,
> +# as it overrides the need values.
> +#
> +# Copyright (C) 2014 O.S. Systems Software LTDA.
> +
> +# Adjust provides
> +PROVIDES = "u-boot-mfgtool"
> +
> +# Use 'mfgtool' config
> +UBOOT_CONFIG = "mfgtool"
> +
> +# Add 'mfgtool' suffix
> +UBOOT_IMAGE = "u-boot-${MACHINE}-mfgtool-${PV}-${PR}.${UBOOT_SUFFIX}"
> +UBOOT_SYMLINK = "u-boot-${MACHINE}-mfgtool.${UBOOT_SUFFIX}"
> +SPL_IMAGE = "${SPL_BINARY}-${MACHINE}-mfgtool-${PV}-${PR}"
> +SPL_SYMLINK = "${SPL_BINARY}-mfgtool-${MACHINE}"
> --
> 1.9.0
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 05/16] u-boot-imx-mfgtool: Add 2013.04 version
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 05/16] u-boot-imx-mfgtool: Add 2013.04 version Otavio Salvador
@ 2014-02-25 17:53   ` Daiane Angolini
  0 siblings, 0 replies; 41+ messages in thread
From: Daiane Angolini @ 2014-02-25 17:53 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> Add the FSL U-Boot i.MX 2013.04 version in the Manufacturing Tool
> variant.

Would be possible to elaborate a bit this commit log?

For example, you may comment in commit log why you have created one
recipe only to include another one.



Daiane

>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>
>  recipes-bsp/u-boot/u-boot-imx-mfgtool_2013.04.bb | 4 ++++
>  1 file changed, 4 insertions(+)
>  create mode 100644 recipes-bsp/u-boot/u-boot-imx-mfgtool_2013.04.bb
>
> diff --git a/recipes-bsp/u-boot/u-boot-imx-mfgtool_2013.04.bb b/recipes-bsp/u-boot/u-boot-imx-mfgtool_2013.04.bb
> new file mode 100644
> index 0000000..f66114c
> --- /dev/null
> +++ b/recipes-bsp/u-boot/u-boot-imx-mfgtool_2013.04.bb
> @@ -0,0 +1,4 @@
> +# Copyright (C) 2014 O.S. Systems Software LTDA.
> +
> +require u-boot-imx_${PV}.bb
> +require u-boot-mfgtool.inc
> --
> 1.9.0
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 06/16] imx6slevk: Add U-Boot Manufacturing Tool config
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 06/16] imx6slevk: Add U-Boot Manufacturing Tool config Otavio Salvador
@ 2014-02-25 17:59   ` Daiane Angolini
  0 siblings, 0 replies; 41+ messages in thread
From: Daiane Angolini @ 2014-02-25 17:59 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> As the machine were not using UBOOT_CONFIG we also converted it for it
> since the 'mfgtool' variant is needed.

"As the machine were not using UBOOT_CONFIG, the first step was to
convert the recipe to use the variable.
Add ´mfgtool´ variant "

When there is a lot of "it" in the sentence, I think it´s confuseing
to figure out which "it" is the right thing.


I found nothing else to comment

reviewed-by,
Daiane
>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>
>  conf/machine/imx6slevk.conf | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/conf/machine/imx6slevk.conf b/conf/machine/imx6slevk.conf
> index 5c3d2fa..63a761c 100644
> --- a/conf/machine/imx6slevk.conf
> +++ b/conf/machine/imx6slevk.conf
> @@ -11,7 +11,9 @@ SOC_FAMILY = "mx6:mx6sl"
>
>  KERNEL_DEVICETREE = "imx6sl-evk.dtb imx6sl-evk-csi.dtb imx6sl-evk-ldo.dtb"
>
> -UBOOT_MACHINE = "mx6slevk_config"
> +UBOOT_CONFIG ??= "sd"
> +UBOOT_CONFIG[sd] = "mx6slevk_config,sdcard"
> +UBOOT_CONFIG[mfgtool] = "mx6slevk_config"
>
>  SERIAL_CONSOLE = "115200 ttymxc0"
>
> --
> 1.9.0
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 07/16] imx6dlsabreauto: Add U-Boot Manufacturing Tool config
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 07/16] imx6dlsabreauto: " Otavio Salvador
@ 2014-02-25 18:00   ` Daiane Angolini
  2014-02-26  3:16     ` Otavio Salvador
  0 siblings, 1 reply; 41+ messages in thread
From: Daiane Angolini @ 2014-02-25 18:00 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

Is there a way to add a commit log here?

I wonder if you tested all those boards. Could you, please, share your tests?


(i found nothing else to comment in the patch)
Daiane
> ---
>
>  conf/machine/imx6dlsabreauto.conf | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/conf/machine/imx6dlsabreauto.conf b/conf/machine/imx6dlsabreauto.conf
> index 9b76f46..6aef923 100644
> --- a/conf/machine/imx6dlsabreauto.conf
> +++ b/conf/machine/imx6dlsabreauto.conf
> @@ -18,3 +18,4 @@ UBOOT_CONFIG[sd] = "mx6dlsabreauto_config,sdcard"
>  UBOOT_CONFIG[eimnor] = "mx6dlsabreauto_eimnor_config"
>  UBOOT_CONFIG[nand] = "mx6dlsabreauto_nand_config,ubifs"
>  UBOOT_CONFIG[spinor] = "mx6dlsabreauto_spinor_config"
> +UBOOT_CONFIG[mfgtool] = "mx6dlsabreauto_config"
> --
> 1.9.0
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 13/16] linux-mfgtool.inc: Build a Manufactoring Tool variant
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 13/16] linux-mfgtool.inc: Build a Manufactoring Tool variant Otavio Salvador
@ 2014-02-25 18:06   ` Daiane Angolini
  2014-02-26  3:46     ` Otavio Salvador
  0 siblings, 1 reply; 41+ messages in thread
From: Daiane Angolini @ 2014-02-25 18:06 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> This makes a separated binary set for Manufacturing Tool use without
> clobbering the Linux Kernel used for normal use.

I don´t understand the script enough to comment.

We must elaborate a way to document a how-to for mfgtools. Maybe, we
should only add a comment on commit log (for example, for kernel
recipe and u-boot recipe) showing where the deliverable from this
recipe is placed, and what should I copy to mfg-tools dir tree in
order to get it working.

Not a mfg-tools related how-to, only a guide for the generated files.

Please, let me know what you think,


Daiane


>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>
>  recipes-kernel/linux/linux-mfgtool.inc | 74 ++++++++++++++++++++++++++++++++++
>  1 file changed, 74 insertions(+)
>  create mode 100644 recipes-kernel/linux/linux-mfgtool.inc
>
> diff --git a/recipes-kernel/linux/linux-mfgtool.inc b/recipes-kernel/linux/linux-mfgtool.inc
> new file mode 100644
> index 0000000..dd09552
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-mfgtool.inc
> @@ -0,0 +1,74 @@
> +# Produces a Manufacturing Tool compatible Linux Kernel
> +#
> +# This makes a separated binary set for Manufacturing Tool use
> +# without clobbering the Linux Kernel used for normal use.
> +#
> +# This file must to be included after the original linux-imx.inc file
> +# as it overrides the needed values.
> +#
> +# Copyright (C) 2014 O.S. Systems Software LTDA.
> +
> +# Adjust provides
> +PROVIDES = "linux-mfgtool"
> +
> +# Avoid coliding files
> +LOCALVERSION_append = "-mfgtool"
> +KERNEL_SRC_PATH = "/usr/src/kernel-mfgtool"
> +KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-mfgtool-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}"
> +KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-mfgtool-${MACHINE}"
> +MODULE_IMAGE_BASE_NAME = "modules-mfgtool-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}"
> +MODULE_TARBALL_SYMLINK_NAME = "modules-mfgtool-${MACHINE}.tgz"
> +
> +# Ensures we prefer our mfgtool specific files
> +FILESEXTRAPATHS_prepend = "${THISDIR}/${ORIG_PN}-${PV}:${THISDIR}/${ORIG_PN}:"
> +
> +python mfgtool_recipe_handler () {
> +    pn = e.data.getVar("PN", True)
> +    if not (pn.endswith("-mfgtool") or pn.startswith("mfgtool-")):
> +        return
> +
> +    e.data.setVar("MLPREFIX", "mfgtool-")
> +    e.data.setVar("ORIG_PN", e.data.getVar("PN", True))
> +    e.data.setVar("PN", "mfgtool-" + e.data.getVar("PN", True).replace("-mfgtool", "").replace("mfgtool-", ""))
> +}
> +
> +python () {
> +    pn = d.getVar("PN", True)
> +    if not pn.startswith("mfgtool-"):
> +        return
> +
> +    from oe.classextend import ClassExtender
> +
> +    class LinuxMfgToolExtender(ClassExtender):
> +        def extend_name(self, name):
> +            if name.startswith("rtld"):
> +                return name
> +            if name.endswith("-" + self.extname):
> +                name = name.replace("-" + self.extname, "")
> +            if name.startswith("virtual/"):
> +                subs = name.split("/", 1)[1]
> +                if not subs.startswith(self.extname):
> +                    return "virtual/" + self.extname + "-" + subs
> +                return name
> +            if not name.startswith(self.extname):
> +                return self.extname + "-" + name
> +            return name
> +
> +    clsextend = LinuxMfgToolExtender("mfgtool", d)
> +    clsextend.rename_packages()
> +    clsextend.rename_package_variables((d.getVar("PACKAGEVARS", True) or "").split())
> +
> +    clsextend.map_packagevars()
> +}
> +
> +addhandler mfgtool_recipe_handler
> +mfgtool_recipe_handler[eventmask] = "bb.event.RecipePreFinalise"
> +
> +# FIXME: We need to remove the KERNEL_SRC_PATH contents as
> +#        kernel.bbclass has no way to skip its installation.
> +# FIXME: It is not possible to have external modules against
> +#        this kernel variant.
> +do_install_append() {
> +       rm -r ${D}${KERNEL_SRC_PATH}
> +       rmdir ${D}/usr/src ${D}/usr
> +}
> --
> 1.9.0
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 14/16] linux-imx-mfgtool: Add 3.10.17 version
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 14/16] linux-imx-mfgtool: Add 3.10.17 version Otavio Salvador
@ 2014-02-25 18:07   ` Daiane Angolini
  0 siblings, 0 replies; 41+ messages in thread
From: Daiane Angolini @ 2014-02-25 18:07 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> Add the FSL Linux i.MX 3.10.17 version in the Manufacturing Tool
> variant.
>
You could elaborate this commit log saying why you´ve created a recipe
that only include another recipe.

And what is the defconfig differences between mfg-tools defconfig and
the default one.

nothing else to comment,
Daiane

> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>
>  .../linux/linux-imx-mfgtool-3.10.17/mx6/defconfig  | 341 +++++++++++++++++++++
>  recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb  |   4 +
>  2 files changed, 345 insertions(+)
>  create mode 100644 recipes-kernel/linux/linux-imx-mfgtool-3.10.17/mx6/defconfig
>  create mode 100644 recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb
>
> diff --git a/recipes-kernel/linux/linux-imx-mfgtool-3.10.17/mx6/defconfig b/recipes-kernel/linux/linux-imx-mfgtool-3.10.17/mx6/defconfig
> new file mode 100644
> index 0000000..a4e880b
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-imx-mfgtool-3.10.17/mx6/defconfig
> @@ -0,0 +1,341 @@
> +CONFIG_KERNEL_LZO=y
> +CONFIG_SYSVIPC=y
> +CONFIG_NO_HZ=y
> +CONFIG_HIGH_RES_TIMERS=y
> +CONFIG_IKCONFIG=y
> +CONFIG_IKCONFIG_PROC=y
> +CONFIG_LOG_BUF_SHIFT=18
> +CONFIG_CGROUPS=y
> +CONFIG_RELAY=y
> +CONFIG_BLK_DEV_INITRD=y
> +CONFIG_EXPERT=y
> +CONFIG_PERF_EVENTS=y
> +# CONFIG_SLUB_DEBUG is not set
> +# CONFIG_COMPAT_BRK is not set
> +CONFIG_MODULES=y
> +CONFIG_MODULE_UNLOAD=y
> +CONFIG_MODVERSIONS=y
> +CONFIG_MODULE_SRCVERSION_ALL=y
> +# CONFIG_BLK_DEV_BSG is not set
> +CONFIG_GPIO_PCA953X=y
> +CONFIG_ARCH_MXC=y
> +CONFIG_MXC_DEBUG_BOARD=y
> +CONFIG_MACH_IMX51_DT=y
> +CONFIG_MACH_EUKREA_CPUIMX51SD=y
> +CONFIG_SOC_IMX53=y
> +CONFIG_SOC_IMX6Q=y
> +CONFIG_SOC_IMX6SL=y
> +CONFIG_SOC_VF610=y
> +# CONFIG_SWP_EMULATE is not set
> +CONFIG_SMP=y
> +CONFIG_VMSPLIT_2G=y
> +CONFIG_PREEMPT_VOLUNTARY=y
> +CONFIG_AEABI=y
> +# CONFIG_OABI_COMPAT is not set
> +CONFIG_CMDLINE="noinitrd console=ttymxc0,115200"
> +CONFIG_CPU_FREQ=y
> +CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y
> +CONFIG_CPU_FREQ_GOV_POWERSAVE=y
> +CONFIG_CPU_FREQ_GOV_USERSPACE=y
> +CONFIG_CPU_FREQ_GOV_ONDEMAND=y
> +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
> +CONFIG_ARM_IMX6_CPUFREQ=y
> +CONFIG_CPU_IDLE=y
> +CONFIG_VFP=y
> +CONFIG_NEON=y
> +CONFIG_BINFMT_MISC=m
> +CONFIG_PM_RUNTIME=y
> +CONFIG_PM_DEBUG=y
> +CONFIG_PM_TEST_SUSPEND=y
> +CONFIG_NET=y
> +CONFIG_PACKET=y
> +CONFIG_UNIX=y
> +CONFIG_INET=y
> +CONFIG_IP_PNP=y
> +CONFIG_IP_PNP_DHCP=y
> +# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
> +# CONFIG_INET_XFRM_MODE_TUNNEL is not set
> +# CONFIG_INET_XFRM_MODE_BEET is not set
> +# CONFIG_INET_LRO is not set
> +CONFIG_IPV6=y
> +CONFIG_NETFILTER=y
> +CONFIG_VLAN_8021Q=y
> +CONFIG_CFG80211=y
> +CONFIG_CFG80211_WEXT=y
> +CONFIG_MAC80211=y
> +CONFIG_DEVTMPFS=y
> +CONFIG_DEVTMPFS_MOUNT=y
> +# CONFIG_STANDALONE is not set
> +CONFIG_CMA=y
> +CONFIG_CMA_SIZE_MBYTES=256
> +CONFIG_IMX_WEIM=y
> +CONFIG_CONNECTOR=y
> +CONFIG_MTD=y
> +CONFIG_MTD_CMDLINE_PARTS=y
> +CONFIG_MTD_BLOCK=y
> +CONFIG_MTD_CFI=y
> +CONFIG_MTD_JEDECPROBE=y
> +CONFIG_MTD_CFI_INTELEXT=y
> +CONFIG_MTD_CFI_AMDSTD=y
> +CONFIG_MTD_CFI_STAA=y
> +CONFIG_MTD_PHYSMAP_OF=y
> +CONFIG_MTD_DATAFLASH=y
> +CONFIG_MTD_M25P80=y
> +CONFIG_MTD_SST25L=y
> +CONFIG_MTD_NAND=y
> +CONFIG_MTD_NAND_GPMI_NAND=y
> +CONFIG_MTD_NAND_MXC=y
> +CONFIG_MTD_UBI=y
> +CONFIG_BLK_DEV_LOOP=y
> +CONFIG_BLK_DEV_RAM=y
> +CONFIG_BLK_DEV_RAM_SIZE=65536
> +CONFIG_EEPROM_AT24=y
> +CONFIG_EEPROM_AT25=y
> +# CONFIG_SCSI_PROC_FS is not set
> +CONFIG_BLK_DEV_SD=y
> +CONFIG_SCSI_MULTI_LUN=y
> +CONFIG_SCSI_CONSTANTS=y
> +CONFIG_SCSI_LOGGING=y
> +CONFIG_SCSI_SCAN_ASYNC=y
> +# CONFIG_SCSI_LOWLEVEL is not set
> +CONFIG_ATA=y
> +CONFIG_SATA_AHCI_PLATFORM=y
> +CONFIG_AHCI_IMX=y
> +CONFIG_PATA_IMX=y
> +CONFIG_NETDEVICES=y
> +# CONFIG_NET_VENDOR_BROADCOM is not set
> +CONFIG_CS89x0=y
> +CONFIG_CS89x0_PLATFORM=y
> +# CONFIG_NET_VENDOR_FARADAY is not set
> +# CONFIG_NET_VENDOR_INTEL is not set
> +# CONFIG_NET_VENDOR_MARVELL is not set
> +# CONFIG_NET_VENDOR_MICREL is not set
> +# CONFIG_NET_VENDOR_MICROCHIP is not set
> +# CONFIG_NET_VENDOR_NATSEMI is not set
> +# CONFIG_NET_VENDOR_SEEQ is not set
> +CONFIG_SMC91X=y
> +CONFIG_SMC911X=y
> +CONFIG_SMSC911X=y
> +# CONFIG_NET_VENDOR_STMICRO is not set
> +CONFIG_ATH_CARDS=y
> +CONFIG_ATH6KL=m
> +CONFIG_ATH6KL_SDIO=m
> +# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
> +CONFIG_INPUT_EVDEV=y
> +CONFIG_INPUT_EVBUG=m
> +CONFIG_KEYBOARD_GPIO=y
> +CONFIG_KEYBOARD_IMX=y
> +CONFIG_MOUSE_PS2=m
> +CONFIG_MOUSE_PS2_ELANTECH=y
> +CONFIG_INPUT_TOUCHSCREEN=y
> +CONFIG_TOUCHSCREEN_EGALAX=y
> +CONFIG_TOUCHSCREEN_ELAN=y
> +CONFIG_TOUCHSCREEN_MAX11801=y
> +CONFIG_TOUCHSCREEN_MC13783=y
> +CONFIG_INPUT_MISC=y
> +CONFIG_INPUT_MMA8450=y
> +CONFIG_INPUT_ISL29023=y
> +CONFIG_SERIO_SERPORT=m
> +CONFIG_VT_HW_CONSOLE_BINDING=y
> +# CONFIG_LEGACY_PTYS is not set
> +# CONFIG_DEVKMEM is not set
> +CONFIG_SERIAL_IMX=y
> +CONFIG_SERIAL_IMX_CONSOLE=y
> +CONFIG_SERIAL_FSL_LPUART=y
> +CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
> +CONFIG_FSL_OTP=y
> +# CONFIG_I2C_COMPAT is not set
> +CONFIG_I2C_CHARDEV=y
> +# CONFIG_I2C_HELPER_AUTO is not set
> +CONFIG_I2C_ALGOPCF=m
> +CONFIG_I2C_ALGOPCA=m
> +CONFIG_I2C_IMX=y
> +CONFIG_SPI=y
> +CONFIG_SPI_IMX=y
> +CONFIG_GPIO_SYSFS=y
> +CONFIG_POWER_SUPPLY=y
> +CONFIG_SABRESD_MAX8903=y
> +CONFIG_SENSORS_MAX17135=y
> +CONFIG_SENSORS_MAG3110=y
> +CONFIG_THERMAL=y
> +CONFIG_CPU_THERMAL=y
> +CONFIG_IMX_THERMAL=y
> +CONFIG_DEVICE_THERMAL=y
> +CONFIG_WATCHDOG=y
> +CONFIG_IMX2_WDT=y
> +CONFIG_MFD_DA9052_I2C=y
> +CONFIG_MFD_MC13XXX_SPI=y
> +CONFIG_MFD_MC13XXX_I2C=y
> +CONFIG_MFD_MAX17135=y
> +CONFIG_MFD_SI476X_CORE=y
> +CONFIG_REGULATOR=y
> +CONFIG_REGULATOR_FIXED_VOLTAGE=y
> +CONFIG_REGULATOR_DA9052=y
> +CONFIG_REGULATOR_ANATOP=y
> +CONFIG_REGULATOR_MC13783=y
> +CONFIG_REGULATOR_MC13892=y
> +CONFIG_REGULATOR_MAX17135=y
> +CONFIG_REGULATOR_PFUZE100=y
> +CONFIG_MEDIA_SUPPORT=y
> +CONFIG_MEDIA_CAMERA_SUPPORT=y
> +CONFIG_MEDIA_RADIO_SUPPORT=y
> +CONFIG_VIDEO_V4L2_INT_DEVICE=y
> +CONFIG_MEDIA_USB_SUPPORT=y
> +CONFIG_USB_VIDEO_CLASS=m
> +CONFIG_V4L_PLATFORM_DRIVERS=y
> +CONFIG_VIDEO_MXC_OUTPUT=y
> +CONFIG_VIDEO_MXC_CAPTURE=m
> +CONFIG_VIDEO_MXC_CSI_CAMERA=m
> +CONFIG_MXC_CAMERA_OV5640=m
> +CONFIG_MXC_CAMERA_OV5642=m
> +CONFIG_MXC_CAMERA_OV5640_MIPI=m
> +CONFIG_MXC_TVIN_ADV7180=m
> +CONFIG_MXC_IPU_DEVICE_QUEUE_SDC=m
> +CONFIG_VIDEO_MXC_IPU_OUTPUT=y
> +CONFIG_VIDEO_MXC_PXP_V4L2=y
> +CONFIG_SOC_CAMERA=y
> +CONFIG_VIDEO_MX3=y
> +CONFIG_RADIO_SI476X=y
> +CONFIG_SOC_CAMERA_OV2640=y
> +CONFIG_DRM=y
> +CONFIG_DRM_VIVANTE=y
> +CONFIG_FB=y
> +CONFIG_FB_MXS=y
> +CONFIG_BACKLIGHT_LCD_SUPPORT=y
> +CONFIG_LCD_CLASS_DEVICE=y
> +CONFIG_LCD_L4F00242T03=y
> +CONFIG_LCD_PLATFORM=y
> +CONFIG_BACKLIGHT_CLASS_DEVICE=y
> +CONFIG_BACKLIGHT_PWM=y
> +CONFIG_FB_MXC_SYNC_PANEL=y
> +CONFIG_FB_MXC_LDB=y
> +CONFIG_FB_MXC_MIPI_DSI=y
> +CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y
> +CONFIG_FB_MXC_HDMI=y
> +CONFIG_FB_MXC_EINK_PANEL=y
> +CONFIG_FB_MXS_SII902X=y
> +CONFIG_FRAMEBUFFER_CONSOLE=y
> +CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
> +CONFIG_FONTS=y
> +CONFIG_FONT_8x8=y
> +CONFIG_FONT_8x16=y
> +CONFIG_LOGO=y
> +CONFIG_SOUND=y
> +CONFIG_SND=y
> +CONFIG_SND_USB_AUDIO=m
> +CONFIG_SND_SOC=y
> +CONFIG_SND_IMX_SOC=y
> +CONFIG_SND_SOC_EUKREA_TLV320=y
> +CONFIG_SND_SOC_IMX_CS42888=y
> +CONFIG_SND_SOC_IMX_WM8962=y
> +CONFIG_SND_SOC_IMX_SGTL5000=y
> +CONFIG_SND_SOC_IMX_SPDIF=y
> +CONFIG_SND_SOC_IMX_MC13783=y
> +CONFIG_SND_SOC_IMX_HDMI=y
> +CONFIG_SND_SOC_IMX_SI476X=y
> +CONFIG_USB=y
> +CONFIG_USB_EHCI_HCD=y
> +CONFIG_USB_STORAGE=y
> +CONFIG_USB_CHIPIDEA=y
> +CONFIG_USB_CHIPIDEA_UDC=y
> +CONFIG_USB_CHIPIDEA_HOST=y
> +CONFIG_USB_PHY=y
> +CONFIG_USB_MXS_PHY=y
> +CONFIG_USB_GADGET=y
> +# CONFIG_USB_ZERO is not set
> +# CONFIG_USB_AUDIO is not set
> +# CONFIG_USB_ETH is not set
> +# CONFIG_USB_G_NCM is not set
> +# CONFIG_USB_GADGETFS is not set
> +# CONFIG_USB_FUNCTIONFS is not set
> +CONFIG_USB_MASS_STORAGE=y
> +CONFIG_FSL_UTP=y
> +# CONFIG_USB_G_SERIAL is not set
> +# CONFIG_USB_MIDI_GADGET is not set
> +# CONFIG_USB_G_PRINTER is not set
> +# CONFIG_USB_CDC_COMPOSITE is not set
> +# CONFIG_USB_G_ACM_MS is not set
> +# CONFIG_USB_G_MULTI is not set
> +# CONFIG_USB_G_HID is not set
> +# CONFIG_USB_G_DBGP is not set
> +# CONFIG_USB_G_WEBCAM is not set
> +CONFIG_MMC=y
> +CONFIG_MMC_UNSAFE_RESUME=y
> +CONFIG_MMC_SDHCI=y
> +CONFIG_MMC_SDHCI_PLTFM=y
> +CONFIG_MMC_SDHCI_ESDHC_IMX=y
> +CONFIG_MXC_IPU=y
> +CONFIG_MXC_GPU_VIV=y
> +CONFIG_MXC_ASRC=y
> +CONFIG_MXC_MIPI_CSI2=y
> +CONFIG_NEW_LEDS=y
> +CONFIG_LEDS_CLASS=y
> +CONFIG_RTC_CLASS=y
> +CONFIG_RTC_INTF_DEV_UIE_EMUL=y
> +CONFIG_RTC_DRV_MC13XXX=y
> +CONFIG_RTC_DRV_MXC=y
> +CONFIG_RTC_DRV_SNVS=y
> +CONFIG_DMADEVICES=y
> +CONFIG_MXC_PXP_V2=y
> +CONFIG_IMX_SDMA=y
> +CONFIG_MXS_DMA=y
> +CONFIG_STAGING=y
> +CONFIG_COMMON_CLK_DEBUG=y
> +# CONFIG_IOMMU_SUPPORT is not set
> +CONFIG_PWM=y
> +CONFIG_PWM_IMX=y
> +CONFIG_EXT2_FS=y
> +CONFIG_EXT2_FS_XATTR=y
> +CONFIG_EXT2_FS_POSIX_ACL=y
> +CONFIG_EXT2_FS_SECURITY=y
> +CONFIG_EXT3_FS=y
> +CONFIG_EXT3_FS_POSIX_ACL=y
> +CONFIG_EXT3_FS_SECURITY=y
> +CONFIG_EXT4_FS=y
> +CONFIG_EXT4_FS_POSIX_ACL=y
> +CONFIG_EXT4_FS_SECURITY=y
> +CONFIG_QUOTA=y
> +CONFIG_QUOTA_NETLINK_INTERFACE=y
> +# CONFIG_PRINT_QUOTA_WARNING is not set
> +CONFIG_AUTOFS4_FS=y
> +CONFIG_FUSE_FS=y
> +CONFIG_ISO9660_FS=m
> +CONFIG_JOLIET=y
> +CONFIG_ZISOFS=y
> +CONFIG_UDF_FS=m
> +CONFIG_MSDOS_FS=m
> +CONFIG_VFAT_FS=y
> +CONFIG_TMPFS=y
> +CONFIG_JFFS2_FS=y
> +CONFIG_UBIFS_FS=y
> +CONFIG_NFS_FS=y
> +CONFIG_NFS_V3_ACL=y
> +CONFIG_NFS_V4=y
> +CONFIG_ROOT_NFS=y
> +CONFIG_NLS_DEFAULT="cp437"
> +CONFIG_NLS_CODEPAGE_437=y
> +CONFIG_NLS_ASCII=y
> +CONFIG_NLS_ISO8859_1=y
> +CONFIG_NLS_ISO8859_15=m
> +CONFIG_NLS_UTF8=y
> +CONFIG_MAGIC_SYSRQ=y
> +# CONFIG_SCHED_DEBUG is not set
> +# CONFIG_DEBUG_BUGVERBOSE is not set
> +# CONFIG_FTRACE is not set
> +CONFIG_SECURITYFS=y
> +CONFIG_CRYPTO_USER=y
> +CONFIG_CRYPTO_CCM=y
> +CONFIG_CRYPTO_GCM=y
> +CONFIG_CRYPTO_CBC=y
> +CONFIG_CRYPTO_CTS=y
> +CONFIG_CRYPTO_ECB=y
> +CONFIG_CRYPTO_LRW=y
> +# CONFIG_CRYPTO_ANSI_CPRNG is not set
> +CONFIG_CRYPTO_DEV_FSL_CAAM=y
> +CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y
> +CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y
> +CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y
> +CONFIG_CRC_CCITT=m
> +CONFIG_CRC_T10DIF=y
> +CONFIG_CRC7=m
> +CONFIG_LIBCRC32C=m
> diff --git a/recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb b/recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb
> new file mode 100644
> index 0000000..ac49b7a
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb
> @@ -0,0 +1,4 @@
> +# Copyright (C) 2014 O.S. Systems Software LTDA.
> +
> +require linux-imx_${PV}.bb
> +require linux-mfgtool.inc
> --
> 1.9.0
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 15/16] mfgtool-initramfs-image.bbclass: Abstracts the MfgTool's initramfs needs
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 15/16] mfgtool-initramfs-image.bbclass: Abstracts the MfgTool's initramfs needs Otavio Salvador
@ 2014-02-25 18:13   ` Daiane Angolini
  2014-02-26 12:58     ` Otavio Salvador
  0 siblings, 1 reply; 41+ messages in thread
From: Daiane Angolini @ 2014-02-25 18:13 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> Manage the initramfs requirements for Manufacturing Tool use and allow
> future addition of new filesystem support if needed.
>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>
>  classes/mfgtool-initramfs-image.bbclass | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>  create mode 100644 classes/mfgtool-initramfs-image.bbclass
>
> diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass
> new file mode 100644
> index 0000000..3c2e445
> --- /dev/null
> +++ b/classes/mfgtool-initramfs-image.bbclass
> @@ -0,0 +1,26 @@

Would be possible to add a DESCRIPTION in a class? In case it´s not
possible, would be nice to add a comment only to inform the goal of
this class?




> +DEPENDS += "u-boot-mfgtool linux-mfgtool"
> +
> +PACKAGE_GROUP_mtd = "packagegroup-fsl-mfgtool-mtd"
> +PACKAGE_GROUP_extfs = "packagegroup-fsl-mfgtool-extfs"
> +
> +IMAGE_FSTYPES = "cpio.gz.u-boot"

Do you intent to not allow IMAGE_FSTYPES to be overridden?


> +IMAGE_ROOTFS_SIZE ?= "8192"
> +IMAGE_CLASSES = "image_types_uboot"
> +
> +IMAGE_FEATURES = " \

When you say future addition of new file system support you mean a
patch to add it on recipe or you mean it being overridden by
local.conf?




Daiane
> +    mtd \
> +    extfs \
> +    read-only-rootfs \
> +"
> +
> +# Avoid installation of syslog
> +BAD_RECOMMENDATIONS += "busybox-syslog"
> +
> +# Avoid static /dev
> +USE_DEVFS = "1"
> +
> +inherit core-image
> +
> +CORE_IMAGE_BASE_INSTALL = " \
> +    ${CORE_IMAGE_EXTRA_INSTALL} \
> +"
> --
> 1.9.0
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support
  2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
                   ` (15 preceding siblings ...)
  2014-02-24 18:52 ` [meta-fsl-arm PATCH 16/16] fsl-image-mfgtool-initramfs: Add image Otavio Salvador
@ 2014-02-25 18:15 ` Daiane Angolini
  2014-02-25 19:28   ` Daiane Angolini
  16 siblings, 1 reply; 41+ messages in thread
From: Daiane Angolini @ 2014-02-25 18:15 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> We've been cooking this patchset for a while at O.S. Systems and I
> think it is ready for pristine time.
>
> This allow us to generate the initramfs, kernel and u-boot artifacts
> for use with Freescale MfgTool. This has been deployed for some of our
> customers already and it's working fine for them and this allowed us
> to improve and make it generic as possible for use in
> customer-specific layers.
>
> Please review and test it.

I´m baking an image and I´m going to test it on my board as soon as I
download the right mfg-tool version.

I made several comments on your patches, please, try to address those,
or let me know if i was not clear ;)

For those several patches adding machine support, I did not comment
one-by-one because I found nothing to comment.

Please, let us know what you have tested (kindly)


That´s all, reviewing patches is boring...


Daiane
>
>
> Lauren Post (1):
>   imx-kobs: Upgrade to 3.10.17-1.0.0 version
>
> Otavio Salvador (15):
>   imx-uuc: Add 0.4 recipe
>   packagegroup-fsl-mfgtool: Provide the required packages
>   u-boot-mfgtool.inc: Build a Manufactoring Tool variant
>   u-boot-imx-mfgtool: Add 2013.04 version
>   imx6slevk: Add U-Boot Manufacturing Tool config
>   imx6dlsabreauto: Add U-Boot Manufacturing Tool config
>   imx6dlsabresd: Add U-Boot Manufacturing Tool config
>   imx6qsabreauto: Add U-Boot Manufacturing Tool config
>   imx6qsabresd: Add U-Boot Manufacturing Tool config
>   imx6solosabreauto: Add U-Boot Manufacturing Tool config
>   imx6solosabresd: Add U-Boot Manufacturing Tool config
>   linux-mfgtool.inc: Build a Manufactoring Tool variant
>   linux-imx-mfgtool: Add 3.10.17 version
>   mfgtool-initramfs-image.bbclass: Abstracts the MfgTool's initramfs
>     needs
>   fsl-image-mfgtool-initramfs: Add image
>
>  classes/mfgtool-initramfs-image.bbclass            |  26 ++
>  conf/machine/imx6dlsabreauto.conf                  |   1 +
>  conf/machine/imx6dlsabresd.conf                    |   1 +
>  conf/machine/imx6qsabreauto.conf                   |   1 +
>  conf/machine/imx6qsabresd.conf                     |   1 +
>  conf/machine/imx6slevk.conf                        |   4 +-
>  conf/machine/imx6solosabreauto.conf                |   1 +
>  conf/machine/imx6solosabresd.conf                  |   1 +
>  recipes-bsp/imx-kobs/imx-kobs_3.10.17-1.0.0.bb     |  16 +
>  recipes-bsp/imx-kobs/imx-kobs_3.5.7-1.0.0.bb       |  19 --
>  .../imx-uuc/imx-uuc/COPYING-Add-license-file.patch | 362 +++++++++++++++++++++
>  ...ile-adapt-to-work-out-of-box-with-OE-Core.patch |  46 +++
>  .../linuxrc-Use-devtmpfs-and-general-cleanup.patch |  46 +++
>  .../sdimage.c-uu.c-update-license-header.patch     |  53 +++
>  recipes-bsp/imx-uuc/imx-uuc_0.4.bb                 |  23 ++
>  recipes-bsp/u-boot/u-boot-imx-mfgtool_2013.04.bb   |   4 +
>  recipes-bsp/u-boot/u-boot-mfgtool.inc              |  21 ++
>  recipes-fsl/images/fsl-image-mfgtool-initramfs.bb  |   8 +
>  .../packagegroups/packagegroup-fsl-mfgtool.bb      |  46 +++
>  .../linux/linux-imx-mfgtool-3.10.17/mx6/defconfig  | 341 +++++++++++++++++++
>  recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb  |   4 +
>  recipes-kernel/linux/linux-mfgtool.inc             |  74 +++++
>  22 files changed, 1079 insertions(+), 20 deletions(-)
>  create mode 100644 classes/mfgtool-initramfs-image.bbclass
>  create mode 100644 recipes-bsp/imx-kobs/imx-kobs_3.10.17-1.0.0.bb
>  delete mode 100644 recipes-bsp/imx-kobs/imx-kobs_3.5.7-1.0.0.bb
>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc/COPYING-Add-license-file.patch
>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc/Makefile-adapt-to-work-out-of-box-with-OE-Core.patch
>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc/linuxrc-Use-devtmpfs-and-general-cleanup.patch
>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc/sdimage.c-uu.c-update-license-header.patch
>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc_0.4.bb
>  create mode 100644 recipes-bsp/u-boot/u-boot-imx-mfgtool_2013.04.bb
>  create mode 100644 recipes-bsp/u-boot/u-boot-mfgtool.inc
>  create mode 100644 recipes-fsl/images/fsl-image-mfgtool-initramfs.bb
>  create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
>  create mode 100644 recipes-kernel/linux/linux-imx-mfgtool-3.10.17/mx6/defconfig
>  create mode 100644 recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb
>  create mode 100644 recipes-kernel/linux/linux-mfgtool.inc
>
> --
> 1.9.0
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 04/16] u-boot-mfgtool.inc: Build a Manufactoring Tool variant
  2014-02-25 17:51   ` Daiane Angolini
@ 2014-02-25 18:23     ` Eric Nelson
  2014-02-25 18:30       ` Gary Thomas
  2014-02-25 18:54       ` Daiane Angolini
  0 siblings, 2 replies; 41+ messages in thread
From: Eric Nelson @ 2014-02-25 18:23 UTC (permalink / raw)
  To: Daiane Angolini, Otavio Salvador; +Cc: meta-freescale Mailing List

On 02/25/2014 10:51 AM, Daiane Angolini wrote:
> On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>> This makes a separated binary set for Manufacturing Tool use without
>> clobbering the U-Boot used for normal use.
>
> clobbering = you know I don´t like this word.
>
I'm sorry.

You clearly didn't watch enough of the Fantastic 4 as a child ;)

	https://www.google.com/#q=it's+clobberin+time



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 04/16] u-boot-mfgtool.inc: Build a Manufactoring Tool variant
  2014-02-25 18:23     ` Eric Nelson
@ 2014-02-25 18:30       ` Gary Thomas
  2014-02-25 18:54       ` Daiane Angolini
  1 sibling, 0 replies; 41+ messages in thread
From: Gary Thomas @ 2014-02-25 18:30 UTC (permalink / raw)
  To: meta-freescale

On 2014-02-25 11:23, Eric Nelson wrote:
> On 02/25/2014 10:51 AM, Daiane Angolini wrote:
>> On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
>> <otavio@ossystems.com.br> wrote:
>>> This makes a separated binary set for Manufacturing Tool use without
>>> clobbering the U-Boot used for normal use.
>>
>> clobbering = you know I don´t like this word.
>>
> I'm sorry.
> 
> You clearly didn't watch enough of the Fantastic 4 as a child ;)
> 
>     https://www.google.com/#q=it's+clobberin+time

Alas, there was no Fantastic Four when I was a child!

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 04/16] u-boot-mfgtool.inc: Build a Manufactoring Tool variant
  2014-02-25 18:23     ` Eric Nelson
  2014-02-25 18:30       ` Gary Thomas
@ 2014-02-25 18:54       ` Daiane Angolini
  2014-02-25 19:12         ` Mario Domenech Goulart
  1 sibling, 1 reply; 41+ messages in thread
From: Daiane Angolini @ 2014-02-25 18:54 UTC (permalink / raw)
  To: Eric Nelson; +Cc: meta-freescale Mailing List, Otavio Salvador

On Tue, Feb 25, 2014 at 3:23 PM, Eric Nelson
<eric.nelson@boundarydevices.com> wrote:
> On 02/25/2014 10:51 AM, Daiane Angolini wrote:
>>
>> On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
>> <otavio@ossystems.com.br> wrote:
>>>
>>> This makes a separated binary set for Manufacturing Tool use without
>>> clobbering the U-Boot used for normal use.
>>
>>
>> clobbering = you know I don´t like this word.
>>
> I'm sorry.
>
> You clearly didn't watch enough of the Fantastic 4 as a child ;)
>
>         https://www.google.com/#q=it's+clobberin+time
>

I´m a girl. I watched my little pony!

(and he-man and ninja turtles and rambo)

Daiane


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 04/16] u-boot-mfgtool.inc: Build a Manufactoring Tool variant
  2014-02-25 18:54       ` Daiane Angolini
@ 2014-02-25 19:12         ` Mario Domenech Goulart
  2014-02-25 19:29           ` Daiane Angolini
  0 siblings, 1 reply; 41+ messages in thread
From: Mario Domenech Goulart @ 2014-02-25 19:12 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale Mailing List, Otavio Salvador

On Tue, 25 Feb 2014 15:54:42 -0300 Daiane Angolini <daiane.list@gmail.com> wrote:

> On Tue, Feb 25, 2014 at 3:23 PM, Eric Nelson
> <eric.nelson@boundarydevices.com> wrote:
>> On 02/25/2014 10:51 AM, Daiane Angolini wrote:
>>>
>>> On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
>>> <otavio@ossystems.com.br> wrote:
>>>>
>>>> This makes a separated binary set for Manufacturing Tool use without
>>>> clobbering the U-Boot used for normal use.
>>>
>>>
>>> clobbering = you know I don´t like this word.
>>>
>> I'm sorry.
>>
>> You clearly didn't watch enough of the Fantastic 4 as a child ;)
>>
>>         https://www.google.com/#q=it's+clobberin+time
>>
>
> I´m a girl. I watched my little pony!
>
> (and he-man and ninja turtles and rambo)

Didn't watch (or play cards) enough!

http://www.tradingcarddb.com/Images/Cards/Non-Sport/86285/86285-39Fr.jpg

:-)

Mario
-- 
http://www.ossystems.com


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support
  2014-02-25 18:15 ` [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Daiane Angolini
@ 2014-02-25 19:28   ` Daiane Angolini
  0 siblings, 0 replies; 41+ messages in thread
From: Daiane Angolini @ 2014-02-25 19:28 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

[-- Attachment #1: Type: text/plain, Size: 5184 bytes --]

On Tue, Feb 25, 2014 at 3:15 PM, Daiane Angolini <daiane.list@gmail.com> wrote:
> On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>> We've been cooking this patchset for a while at O.S. Systems and I
>> think it is ready for pristine time.
>>
>> This allow us to generate the initramfs, kernel and u-boot artifacts
>> for use with Freescale MfgTool. This has been deployed for some of our
>> customers already and it's working fine for them and this allowed us
>> to improve and make it generic as possible for use in
>> customer-specific layers.
>>
>> Please review and test it.
>
> I´m baking an image and I´m going to test it on my board as soon as I
> download the right mfg-tool version.

I faced a build error (attached)

Please, let me know if it may be something weird in my machine. Today
I kind of 'changed some default configurations' on my machine and I'm
totally expecting unexpected behaviours =P


Daiane
>
> I made several comments on your patches, please, try to address those,
> or let me know if i was not clear ;)
>
> For those several patches adding machine support, I did not comment
> one-by-one because I found nothing to comment.
>
> Please, let us know what you have tested (kindly)
>
>
> That´s all, reviewing patches is boring...
>
>
> Daiane
>>
>>
>> Lauren Post (1):
>>   imx-kobs: Upgrade to 3.10.17-1.0.0 version
>>
>> Otavio Salvador (15):
>>   imx-uuc: Add 0.4 recipe
>>   packagegroup-fsl-mfgtool: Provide the required packages
>>   u-boot-mfgtool.inc: Build a Manufactoring Tool variant
>>   u-boot-imx-mfgtool: Add 2013.04 version
>>   imx6slevk: Add U-Boot Manufacturing Tool config
>>   imx6dlsabreauto: Add U-Boot Manufacturing Tool config
>>   imx6dlsabresd: Add U-Boot Manufacturing Tool config
>>   imx6qsabreauto: Add U-Boot Manufacturing Tool config
>>   imx6qsabresd: Add U-Boot Manufacturing Tool config
>>   imx6solosabreauto: Add U-Boot Manufacturing Tool config
>>   imx6solosabresd: Add U-Boot Manufacturing Tool config
>>   linux-mfgtool.inc: Build a Manufactoring Tool variant
>>   linux-imx-mfgtool: Add 3.10.17 version
>>   mfgtool-initramfs-image.bbclass: Abstracts the MfgTool's initramfs
>>     needs
>>   fsl-image-mfgtool-initramfs: Add image
>>
>>  classes/mfgtool-initramfs-image.bbclass            |  26 ++
>>  conf/machine/imx6dlsabreauto.conf                  |   1 +
>>  conf/machine/imx6dlsabresd.conf                    |   1 +
>>  conf/machine/imx6qsabreauto.conf                   |   1 +
>>  conf/machine/imx6qsabresd.conf                     |   1 +
>>  conf/machine/imx6slevk.conf                        |   4 +-
>>  conf/machine/imx6solosabreauto.conf                |   1 +
>>  conf/machine/imx6solosabresd.conf                  |   1 +
>>  recipes-bsp/imx-kobs/imx-kobs_3.10.17-1.0.0.bb     |  16 +
>>  recipes-bsp/imx-kobs/imx-kobs_3.5.7-1.0.0.bb       |  19 --
>>  .../imx-uuc/imx-uuc/COPYING-Add-license-file.patch | 362 +++++++++++++++++++++
>>  ...ile-adapt-to-work-out-of-box-with-OE-Core.patch |  46 +++
>>  .../linuxrc-Use-devtmpfs-and-general-cleanup.patch |  46 +++
>>  .../sdimage.c-uu.c-update-license-header.patch     |  53 +++
>>  recipes-bsp/imx-uuc/imx-uuc_0.4.bb                 |  23 ++
>>  recipes-bsp/u-boot/u-boot-imx-mfgtool_2013.04.bb   |   4 +
>>  recipes-bsp/u-boot/u-boot-mfgtool.inc              |  21 ++
>>  recipes-fsl/images/fsl-image-mfgtool-initramfs.bb  |   8 +
>>  .../packagegroups/packagegroup-fsl-mfgtool.bb      |  46 +++
>>  .../linux/linux-imx-mfgtool-3.10.17/mx6/defconfig  | 341 +++++++++++++++++++
>>  recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb  |   4 +
>>  recipes-kernel/linux/linux-mfgtool.inc             |  74 +++++
>>  22 files changed, 1079 insertions(+), 20 deletions(-)
>>  create mode 100644 classes/mfgtool-initramfs-image.bbclass
>>  create mode 100644 recipes-bsp/imx-kobs/imx-kobs_3.10.17-1.0.0.bb
>>  delete mode 100644 recipes-bsp/imx-kobs/imx-kobs_3.5.7-1.0.0.bb
>>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc/COPYING-Add-license-file.patch
>>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc/Makefile-adapt-to-work-out-of-box-with-OE-Core.patch
>>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc/linuxrc-Use-devtmpfs-and-general-cleanup.patch
>>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc/sdimage.c-uu.c-update-license-header.patch
>>  create mode 100644 recipes-bsp/imx-uuc/imx-uuc_0.4.bb
>>  create mode 100644 recipes-bsp/u-boot/u-boot-imx-mfgtool_2013.04.bb
>>  create mode 100644 recipes-bsp/u-boot/u-boot-mfgtool.inc
>>  create mode 100644 recipes-fsl/images/fsl-image-mfgtool-initramfs.bb
>>  create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
>>  create mode 100644 recipes-kernel/linux/linux-imx-mfgtool-3.10.17/mx6/defconfig
>>  create mode 100644 recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb
>>  create mode 100644 recipes-kernel/linux/linux-mfgtool.inc
>>
>> --
>> 1.9.0
>>
>> _______________________________________________
>> meta-freescale mailing list
>> meta-freescale@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale

[-- Attachment #2: log.do_populate_sysroot.7602 --]
[-- Type: application/octet-stream, Size: 2451 bytes --]

DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_populate_sysroot
DEBUG: Executing python function sysroot_stage_all
ERROR: Error executing a python function in /code/yocto/master-next/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-mfgtool_3.10.17.bb:

The stack trace of python calls that resulted in this exception/failure was:
File: 'sysroot_stage_all', lineno: 6, function: <module>
     0002:def sysroot_stage_all(d):
     0003:    oe.path.copyhardlinktree(d.expand("/code/yocto/master-next/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/mfgtool-linux-imx/3.10.17-r0/image/usr/src/kernel-mfgtool"), d.expand("/code/yocto/master-next/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/mfgtool-linux-imx/3.10.17-r0/sysroot-destdir//usr/src/kernel-mfgtool"))
     0004:
     0005:
 *** 0006:sysroot_stage_all(d)
     0007:
File: 'sysroot_stage_all', lineno: 3, function: sysroot_stage_all
     0001:
     0002:def sysroot_stage_all(d):
 *** 0003:    oe.path.copyhardlinktree(d.expand("/code/yocto/master-next/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/mfgtool-linux-imx/3.10.17-r0/image/usr/src/kernel-mfgtool"), d.expand("/code/yocto/master-next/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/mfgtool-linux-imx/3.10.17-r0/sysroot-destdir//usr/src/kernel-mfgtool"))
     0004:
     0005:
     0006:sysroot_stage_all(d)
     0007:
File: '/code/yocto/master-next/sources/poky/meta/lib/oe/path.py', lineno: 93, function: copyhardlinktree
     0089:    bb.utils.mkdirhier(dst)
     0090:    if os.path.isdir(src) and not len(os.listdir(src)):
     0091:        return
     0092:
 *** 0093:    if (os.stat(src).st_dev ==  os.stat(dst).st_dev):
     0094:        # Need to copy directories only with tar first since cp will error if two
     0095:        # writers try and create a directory at the same time
     0096:        cmd = 'cd %s; find . -type d -print | tar -cf - -C %s -p --files-from - --no-recursion | tar -xf - -C %s' % (src, src, dst)
     0097:        check_output(cmd, shell=True, stderr=subprocess.STDOUT)
Exception: OSError: [Errno 2] No such file or directory: '/code/yocto/master-next/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/mfgtool-linux-imx/3.10.17-r0/image/usr/src/kernel-mfgtool'

DEBUG: Python function sysroot_stage_all finished
DEBUG: Python function do_populate_sysroot finished
ERROR: Function failed: sysroot_stage_all

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 04/16] u-boot-mfgtool.inc: Build a Manufactoring Tool variant
  2014-02-25 19:12         ` Mario Domenech Goulart
@ 2014-02-25 19:29           ` Daiane Angolini
  0 siblings, 0 replies; 41+ messages in thread
From: Daiane Angolini @ 2014-02-25 19:29 UTC (permalink / raw)
  To: Mario Domenech Goulart; +Cc: meta-freescale Mailing List, Otavio Salvador

On Tue, Feb 25, 2014 at 4:12 PM, Mario Domenech Goulart
<mario.goulart@gmail.com> wrote:
> On Tue, 25 Feb 2014 15:54:42 -0300 Daiane Angolini <daiane.list@gmail.com> wrote:
>
>> On Tue, Feb 25, 2014 at 3:23 PM, Eric Nelson
>> <eric.nelson@boundarydevices.com> wrote:
>>> On 02/25/2014 10:51 AM, Daiane Angolini wrote:
>>>>
>>>> On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
>>>> <otavio@ossystems.com.br> wrote:
>>>>>
>>>>> This makes a separated binary set for Manufacturing Tool use without
>>>>> clobbering the U-Boot used for normal use.
>>>>
>>>>
>>>> clobbering = you know I don´t like this word.
>>>>
>>> I'm sorry.
>>>
>>> You clearly didn't watch enough of the Fantastic 4 as a child ;)
>>>
>>>         https://www.google.com/#q=it's+clobberin+time
>>>
>>
>> I´m a girl. I watched my little pony!
>>
>> (and he-man and ninja turtles and rambo)
>
> Didn't watch (or play cards) enough!
>
> http://www.tradingcarddb.com/Images/Cards/Non-Sport/86285/86285-39Fr.jpg
>

who want to talk about barbie?

^.^

Daiane

> :-)
>
> Mario
> --
> http://www.ossystems.com


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 07/16] imx6dlsabreauto: Add U-Boot Manufacturing Tool config
  2014-02-25 18:00   ` Daiane Angolini
@ 2014-02-26  3:16     ` Otavio Salvador
  0 siblings, 0 replies; 41+ messages in thread
From: Otavio Salvador @ 2014-02-26  3:16 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale Mailing List

Hello Daiane,

On Tue, Feb 25, 2014 at 3:00 PM, Daiane Angolini <daiane.list@gmail.com> wrote:
> On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>
> Is there a way to add a commit log here?

I extended it a little; will send the v2.

> I wonder if you tested all those boards. Could you, please, share your tests?

I did not. Our test has been done in i.MX6Q SabreSD and two customer boards.

-- 
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


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 13/16] linux-mfgtool.inc: Build a Manufactoring Tool variant
  2014-02-25 18:06   ` Daiane Angolini
@ 2014-02-26  3:46     ` Otavio Salvador
  2014-02-26 12:53       ` Daiane.Angolini
  0 siblings, 1 reply; 41+ messages in thread
From: Otavio Salvador @ 2014-02-26  3:46 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale Mailing List

On Tue, Feb 25, 2014 at 3:06 PM, Daiane Angolini <daiane.list@gmail.com> wrote:
> On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>> This makes a separated binary set for Manufacturing Tool use without
>> clobbering the Linux Kernel used for normal use.
>
> I don´t understand the script enough to comment.
>
> We must elaborate a way to document a how-to for mfgtools. Maybe, we
> should only add a comment on commit log (for example, for kernel
> recipe and u-boot recipe) showing where the deliverable from this
> recipe is placed, and what should I copy to mfg-tools dir tree in
> order to get it working.
>
> Not a mfg-tools related how-to, only a guide for the generated files.
>
> Please, let me know what you think,

I extended the commitlog for v2 describing the image goal. The doc is
indeed need but we can look at it later as this patchset is to build
those artifacts.

-- 
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


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 13/16] linux-mfgtool.inc: Build a Manufactoring Tool variant
  2014-02-26  3:46     ` Otavio Salvador
@ 2014-02-26 12:53       ` Daiane.Angolini
  0 siblings, 0 replies; 41+ messages in thread
From: Daiane.Angolini @ 2014-02-26 12:53 UTC (permalink / raw)
  To: Otavio Salvador, Daiane Angolini; +Cc: meta-freescale Mailing List



> -----Original Message-----
> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-
> bounces@yoctoproject.org] On Behalf Of Otavio Salvador
> Sent: Wednesday, February 26, 2014 12:46 AM
> To: Daiane Angolini
> Cc: meta-freescale Mailing List
> Subject: Re: [meta-freescale] [meta-fsl-arm PATCH 13/16] linux-mfgtool.inc:
> Build a Manufactoring Tool variant
> 
> On Tue, Feb 25, 2014 at 3:06 PM, Daiane Angolini <daiane.list@gmail.com>
> wrote:
> > On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
> > <otavio@ossystems.com.br> wrote:
> >> This makes a separated binary set for Manufacturing Tool use without
> >> clobbering the Linux Kernel used for normal use.
> >
> > I don´t understand the script enough to comment.
> >
> > We must elaborate a way to document a how-to for mfgtools. Maybe, we
> > should only add a comment on commit log (for example, for kernel
> > recipe and u-boot recipe) showing where the deliverable from this
> > recipe is placed, and what should I copy to mfg-tools dir tree in
> > order to get it working.
> >
> > Not a mfg-tools related how-to, only a guide for the generated files.
> >
> > Please, let me know what you think,
> 
> I extended the commitlog for v2 describing the image goal. The doc is
> indeed need but we can look at it later as this patchset is to build those
> artifacts.

I absolutely agree

Daiane

> 
> --
> 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
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
> 



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 15/16] mfgtool-initramfs-image.bbclass: Abstracts the MfgTool's initramfs needs
  2014-02-25 18:13   ` Daiane Angolini
@ 2014-02-26 12:58     ` Otavio Salvador
  2014-02-26 13:06       ` Otavio Salvador
  0 siblings, 1 reply; 41+ messages in thread
From: Otavio Salvador @ 2014-02-26 12:58 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale Mailing List

Hello Daiane,

On Tue, Feb 25, 2014 at 3:13 PM, Daiane Angolini <daiane.list@gmail.com> wrote:
> On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>> Manage the initramfs requirements for Manufacturing Tool use and allow
>> future addition of new filesystem support if needed.
>>
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>> ---
>>
>>  classes/mfgtool-initramfs-image.bbclass | 26 ++++++++++++++++++++++++++
>>  1 file changed, 26 insertions(+)
>>  create mode 100644 classes/mfgtool-initramfs-image.bbclass
>>
>> diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass
>> new file mode 100644
>> index 0000000..3c2e445
>> --- /dev/null
>> +++ b/classes/mfgtool-initramfs-image.bbclass
>> @@ -0,0 +1,26 @@
>
> Would be possible to add a DESCRIPTION in a class? In case it´s not
> possible, would be nice to add a comment only to inform the goal of
> this class?

I added a comment block in the class.

>> +DEPENDS += "u-boot-mfgtool linux-mfgtool"
>> +
>> +PACKAGE_GROUP_mtd = "packagegroup-fsl-mfgtool-mtd"
>> +PACKAGE_GROUP_extfs = "packagegroup-fsl-mfgtool-extfs"
>> +
>> +IMAGE_FSTYPES = "cpio.gz.u-boot"
>
> Do you intent to not allow IMAGE_FSTYPES to be overridden?

Yes; it is possible to override it in the image file, if nee

>> +IMAGE_ROOTFS_SIZE ?= "8192"
>> +IMAGE_CLASSES = "image_types_uboot"
>> +
>> +IMAGE_FEATURES = " \
>
> When you say future addition of new file system support you mean a
> patch to add it on recipe or you mean it being overridden by
> local.conf?
>
>
>
>
> Daiane
>> +    mtd \
>> +    extfs \
>> +    read-only-rootfs \
>> +"
>> +
>> +# Avoid installation of syslog
>> +BAD_RECOMMENDATIONS += "busybox-syslog"
>> +
>> +# Avoid static /dev
>> +USE_DEVFS = "1"
>> +
>> +inherit core-image
>> +
>> +CORE_IMAGE_BASE_INSTALL = " \
>> +    ${CORE_IMAGE_EXTRA_INSTALL} \
>> +"
>> --
>> 1.9.0
>>
>> _______________________________________________
>> meta-freescale mailing list
>> meta-freescale@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale



-- 
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


^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [meta-fsl-arm PATCH 15/16] mfgtool-initramfs-image.bbclass: Abstracts the MfgTool's initramfs needs
  2014-02-26 12:58     ` Otavio Salvador
@ 2014-02-26 13:06       ` Otavio Salvador
  0 siblings, 0 replies; 41+ messages in thread
From: Otavio Salvador @ 2014-02-26 13:06 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale Mailing List

Hello,

Pressed sent too soon hehe

On Wed, Feb 26, 2014 at 9:58 AM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> Hello Daiane,
>
> On Tue, Feb 25, 2014 at 3:13 PM, Daiane Angolini <daiane.list@gmail.com> wrote:
>> On Mon, Feb 24, 2014 at 3:52 PM, Otavio Salvador
>> <otavio@ossystems.com.br> wrote:
>>> Manage the initramfs requirements for Manufacturing Tool use and allow
>>> future addition of new filesystem support if needed.
>>>
>>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>>> ---
>>>
>>>  classes/mfgtool-initramfs-image.bbclass | 26 ++++++++++++++++++++++++++
>>>  1 file changed, 26 insertions(+)
>>>  create mode 100644 classes/mfgtool-initramfs-image.bbclass
>>>
>>> diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass
>>> new file mode 100644
>>> index 0000000..3c2e445
>>> --- /dev/null
>>> +++ b/classes/mfgtool-initramfs-image.bbclass
>>> @@ -0,0 +1,26 @@
>>
>> Would be possible to add a DESCRIPTION in a class? In case it´s not
>> possible, would be nice to add a comment only to inform the goal of
>> this class?
>
> I added a comment block in the class.
>
>>> +DEPENDS += "u-boot-mfgtool linux-mfgtool"
>>> +
>>> +PACKAGE_GROUP_mtd = "packagegroup-fsl-mfgtool-mtd"
>>> +PACKAGE_GROUP_extfs = "packagegroup-fsl-mfgtool-extfs"
>>> +
>>> +IMAGE_FSTYPES = "cpio.gz.u-boot"
>>
>> Do you intent to not allow IMAGE_FSTYPES to be overridden?
>
> Yes; it is possible to override it in the image file, if nee

Yes; it is possible to override it in the image file, if need. For the
goal of the class, the cpio.gz is enough and being a specific propose
image I think it is fine.

>>> +IMAGE_ROOTFS_SIZE ?= "8192"
>>> +IMAGE_CLASSES = "image_types_uboot"
>>> +
>>> +IMAGE_FEATURES = " \
>>
>> When you say future addition of new file system support you mean a
>> patch to add it on recipe or you mean it being overridden by
>> local.conf?

We may add fsfs, btrfs or other; the idea is we may not enable it by
default in the image features but allow it to be upstreamed ;-)

-- 
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


^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2014-02-26 13:06 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-24 18:52 [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Otavio Salvador
2014-02-24 18:52 ` [meta-fsl-arm PATCH 01/16] imx-uuc: Add 0.4 recipe Otavio Salvador
2014-02-24 19:01   ` Mario Domenech Goulart
2014-02-24 19:09     ` Otavio Salvador
2014-02-25 17:37   ` Daiane Angolini
2014-02-24 18:52 ` [meta-fsl-arm PATCH 02/16] imx-kobs: Upgrade to 3.10.17-1.0.0 version Otavio Salvador
2014-02-25 17:41   ` Daiane Angolini
2014-02-24 18:52 ` [meta-fsl-arm PATCH 03/16] packagegroup-fsl-mfgtool: Provide the required packages Otavio Salvador
2014-02-25 17:44   ` Daiane Angolini
2014-02-24 18:52 ` [meta-fsl-arm PATCH 04/16] u-boot-mfgtool.inc: Build a Manufactoring Tool variant Otavio Salvador
2014-02-25 17:51   ` Daiane Angolini
2014-02-25 18:23     ` Eric Nelson
2014-02-25 18:30       ` Gary Thomas
2014-02-25 18:54       ` Daiane Angolini
2014-02-25 19:12         ` Mario Domenech Goulart
2014-02-25 19:29           ` Daiane Angolini
2014-02-24 18:52 ` [meta-fsl-arm PATCH 05/16] u-boot-imx-mfgtool: Add 2013.04 version Otavio Salvador
2014-02-25 17:53   ` Daiane Angolini
2014-02-24 18:52 ` [meta-fsl-arm PATCH 06/16] imx6slevk: Add U-Boot Manufacturing Tool config Otavio Salvador
2014-02-25 17:59   ` Daiane Angolini
2014-02-24 18:52 ` [meta-fsl-arm PATCH 07/16] imx6dlsabreauto: " Otavio Salvador
2014-02-25 18:00   ` Daiane Angolini
2014-02-26  3:16     ` Otavio Salvador
2014-02-24 18:52 ` [meta-fsl-arm PATCH 08/16] imx6dlsabresd: " Otavio Salvador
2014-02-24 18:52 ` [meta-fsl-arm PATCH 09/16] imx6qsabreauto: " Otavio Salvador
2014-02-24 18:52 ` [meta-fsl-arm PATCH 10/16] imx6qsabresd: " Otavio Salvador
2014-02-24 18:52 ` [meta-fsl-arm PATCH 11/16] imx6solosabreauto: " Otavio Salvador
2014-02-24 18:52 ` [meta-fsl-arm PATCH 12/16] imx6solosabresd: " Otavio Salvador
2014-02-24 18:52 ` [meta-fsl-arm PATCH 13/16] linux-mfgtool.inc: Build a Manufactoring Tool variant Otavio Salvador
2014-02-25 18:06   ` Daiane Angolini
2014-02-26  3:46     ` Otavio Salvador
2014-02-26 12:53       ` Daiane.Angolini
2014-02-24 18:52 ` [meta-fsl-arm PATCH 14/16] linux-imx-mfgtool: Add 3.10.17 version Otavio Salvador
2014-02-25 18:07   ` Daiane Angolini
2014-02-24 18:52 ` [meta-fsl-arm PATCH 15/16] mfgtool-initramfs-image.bbclass: Abstracts the MfgTool's initramfs needs Otavio Salvador
2014-02-25 18:13   ` Daiane Angolini
2014-02-26 12:58     ` Otavio Salvador
2014-02-26 13:06       ` Otavio Salvador
2014-02-24 18:52 ` [meta-fsl-arm PATCH 16/16] fsl-image-mfgtool-initramfs: Add image Otavio Salvador
2014-02-25 18:15 ` [meta-fsl-arm PATCH 0/16] Freescale MfgTool artifacts support Daiane Angolini
2014-02-25 19:28   ` Daiane Angolini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.