{"push_id":878737684,"size":18,"distinct_size":15,"ref":"refs/heads/rneri/wip/pxe","head":"268f162baec28db49827b3449c8fd919352a7a2c","before":"24eacc23348ce314517e52adf3f681b68331ddf9","commits":[{"sha":"0288d0103a2b39f40faa986307d922f4881865e0","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"chipsec: bump to version 1.2.2\n\nA new version of CHIPSEC has been released. Bump LUV to use such version.\n\nUpdating CHIPSEC requires to also update the patches that we apply on\ntop of it. Changes to these patches are not functional; only rebased to\n1.2.2.\n\nFinally, take this opportunity to add a PV variable to the recipe.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":false,"url":"https://api.github.com/repos/01org/luv-yocto/commits/0288d0103a2b39f40faa986307d922f4881865e0"},{"sha":"73a878c810c904f514e69e1b6f6dfcdcc52005cb","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"fwts: bump to V15.11.00\n\nUpdate the version of FWTS to V15.11.00.\n\nAlso, drop patch that downgrades from fail to warning the absence of\nthe Microsoft UEFI CA key are missing as this patch has been merged\ninto FWTS.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":false,"url":"https://api.github.com/repos/01org/luv-yocto/commits/73a878c810c904f514e69e1b6f6dfcdcc52005cb"},{"sha":"9d992d119a901710d1a271c2b94f87d48387cd93","author":{"email":"e8be4dc5c5fc4e97bab200379f99190520a03ba2@linaro.org","name":"Naresh Bhat"},"message":"README: Update maintainers section\n\nThis patch update the maintainers section in meta-luv/README file.\n\nSigned-off-by: Naresh Bhat <naresh.bhat@linaro.org>\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":false,"url":"https://api.github.com/repos/01org/luv-yocto/commits/9d992d119a901710d1a271c2b94f87d48387cd93"},{"sha":"6fc164e55100a9072ea8468d2d5da2c035915b36","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"bits-python: _ctypes: do not use the WIN/64/EFI64 calling convention\n\nThe commit ID f6b5a91f417ac77d2fe9b0b3eb66293db132e2e in BITS implemented\nsupport for the WIN64/EFI64. However, this was only implemented in the libffi\nmodule that GRUB uses, not on the host Python implementation. Thus,\nPython fails to build with the following error:\n\n../build/python-host/Modules/_ctypes/callbacks.c:465:14: In function '_ctypes_alloc_callback':\nerror: 'FFI_EFI64' undeclared (first use in this function)\n         cc = FFI_EFI64;\n              ^\nHence, for now just do not use such calling convention in the host Python. This\neffectively reverts commit 2e41220a584b0d4fcda5c95dc14cf638f9b9a331 in\nthe Python submodule of BITS.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/01org/luv-yocto/commits/6fc164e55100a9072ea8468d2d5da2c035915b36"},{"sha":"b4d04bf0e8be4fd42108864e4e399e3d22b003e7","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"bits-python: python: configure: customize Python version\n\nBITS is built with a specific version of Python that is shipped along with BITS.\nWe could try to build with the nativesdk Python but we might run unto build\nor runtime problems. Hence, it is better to use the BITS Python. I order for the\nnativesdk and BITS' Python to coexist, modify the version in BITS Python.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/01org/luv-yocto/commits/b4d04bf0e8be4fd42108864e4e399e3d22b003e7"},{"sha":"1c11f12d4a8af141bbd64e5370caa62bbb8b6dbe","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"bits-python: customize the Python install bin directory\n\nCustomize the Python bin directory to allow it to be installed within\nthe LUV native sysroot. Please note that the bin directory is set as BINDIR/PN.\nThis text is intended to be replaced at build time by bitbake with\nthe appropriate value.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/01org/luv-yocto/commits/1c11f12d4a8af141bbd64e5370caa62bbb8b6dbe"},{"sha":"6a900ca66ba49af296c479a5376d715934fe5366","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"recipes-devtools: add BITS Python recipe\n\nThe BIOS Implementation Test Suite (BITS) is a test suite that runs embedded in\na GRUB bootloader. Given that BITS tests are run using Python, A modified\nversion of Python is ported into GRUB. Furthermore, The Python versions that\nBITS used is maintained as a git submodule in the BITS repository.\n\nBITS Python needs to be installed as part of the nativesdk to be used when\nbuilding the BITS Python modules.\n\nGiven that bitbake already has a version of Python as part of the nativesdk,\nthis recipe modifies slightly both the version and the install directory of\nBITS Python. When the build is complete. BITS can invoke its Python using\nbitspython.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/01org/luv-yocto/commits/6a900ca66ba49af296c479a5376d715934fe5366"},{"sha":"9d13f50ffcaa36e755233423cd6b70e769475ba0","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"bits: grub: core: lib: crypto: complete handling fgets return  values\n\nHandle return values of fgets when reading the password string. While we can\nobtain the length of the captured string by using strlen (buf), we still get\nbuild warnings if the return values of fgets are not handled. Also, it is more\nclear to handle the fgets value separately. This is the warning issued by the\ncompiler:\n\n    build/grub/grub-core/lib/crypto.c: In function 'grub_password_get':\n    build/grub/grub-core/lib/crypto.c:431:9: error: ignoring return value of 'fgets',\n       declared with attribute warn_unused_result [-Werror=unused-result]\n           fgets (buf, buf_size, stdin);\n                 ^\n\nfgets returns the number of characters read, or NULL when an error occurred or\nno characters were read. Thus, we can return 0 in such a case. Furthermore,\nthe callers of this function check on zero values for errors.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/01org/luv-yocto/commits/9d13f50ffcaa36e755233423cd6b70e769475ba0"},{"sha":"2d28adef1d82845d059e55b955b639541f8a0e5c","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"bits: grub:: util: of: complete handling of read return values\n\nReturn values of read are not checked for errors. This can lead to spurious\nreads. Furthermore, it triggers the following compiler warning:\n\n    build/grub/util/ieee1275/ofpath.c: In function 'find_obppath':\n    build/grub/util/ieee1275/ofpath.c:146:11: error: ignoring return value of\n        'read', declared with attribute warn_unused_result [-Werror=unused-result]\n           read(fd, of_path, size);\n               ^\n    build/grub/util/ieee1275/ofpath.c: In function 'check_sas':\n    build/grub/util/ieee1275/ofpath.c:357:8: error: ignoring return value of\n        'read', declared with attribute warn_unused_result [-Werror=unused-result]\n       read (fd, phy, sizeof (phy));\n            ^\nIt makes sense to return NULL when reads fail, as the callers of this\nfunction of find_obppath checks for NULL values when handing errors.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/01org/luv-yocto/commits/2d28adef1d82845d059e55b955b639541f8a0e5c"},{"sha":"76782acb28514a50ee909a4d338ee0807f42e544","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"bits: grub: core: net: bootp: conserve variable qualifier\n\nThe function set_env_limn_ro receives *vend as pointer to a constant. However\nthe automatic variables *ptr and *ptr0 drop such qualifier, causing this\nwarning:\n\n    build/grub/grub-core/net/bootp.c: In function 'grub_net_configure_by_dhcp_ack':\n    build/grub/grub-core/net/bootp.c:255:30: error: passing argument 2 of\n      'parse_dhcp_vendor' discards 'const' qualifier from pointer target type\n       [-Werror=discarded-array-qualifiers]\n          parse_dhcp_vendor (name, &bp->vendor, size - OFFSET_OF (vendor, bp), &mask);\n                                  ^\n    build/grub/grub-core/net/bootp.c:55:1: note: expected 'void *' but argument is\n      of type 'const grub_uint8_t (*)[] {aka const unsigned char (*)[]}'\n           parse_dhcp_vendor (const char *name, void *vend, int limit, int *mask)\n           ^\n\nThese variables do not change the contents of *vend. Thus, we simply add\nthe const qualifier.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/01org/luv-yocto/commits/76782acb28514a50ee909a4d338ee0807f42e544"},{"sha":"42c45c33219680e22ec79868ee0190a87d65e51d","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"bits: rc: python: use fwrap to build python\n\nIf this flag is not used, the following compiler warning is observed:\n\n    grub/grub-core/contrib-deps/python/Modules/arraymodule.c:1794:19:\n    error: assuming signed overflow does not occur when assuming that\n    (X + c) < X is always false [-Werror=strict-overflow]\n          if ((step > 0 && stop < start) ||\n                        ^\n\nFurthermore, stand-alone builds of Python are built using the -fwrap cflag to\ninstruct the compiler to not optimize comparions between signed\nvariables that can wrap. Thus, we simply add the flag.\n\nAlso, by analizing the function in question (array_ass_subscr), one can\nobserve there exists at least one code path that leads to the (X + c) < X\ncomparison. This could occur if the value argument is NULL. In such a case,\nstep = 1, start = i, stop = + 1; which leads to:\n\n    step > 0 && stop  < start\n    1    > 0 && i + 1 < i\n\nThe second portion of the comparison is always false, provided that\ni does not wrap around.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/01org/luv-yocto/commits/42c45c33219680e22ec79868ee0190a87d65e51d"},{"sha":"b6d003c2f36b51e7c18869c6646a72453fd63867","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"bits: grub: adjust configure params for bitbake\n\nGRUB is built both natively and for target. In order to accommodate builds\nvia bitbake sysroot, the --target --build and --host parameters passed to\nconfigure need to be adjusted at build time for either native or target builds.\nUnder bitbake, this is usually done by the autotools recipe via the do_configure\ntask. However, the construction of the BITS makefile makes it difficult to use\nthe autotools recipe. Thus, we make the adjustment manually.\n\nPlease note that the parameters --target, --build and --host are set as\nTARGET_SYS, BUILD_SYS and HOST_SYS. These names are adjusted by the BITS\nbitbake recipe using stream edition at build time.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/01org/luv-yocto/commits/b6d003c2f36b51e7c18869c6646a72453fd63867"},{"sha":"c3ce3c8632168038677b4d65641af3e7901c7c19","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"bits: split grub build from image generation\n\nGenerate the grub image using a separate make target. This eases the creation\nof grub images when BITS is built within automated build infrastructures, such\nas bitbake.\n\nAlso, as part of the build process of BITS for a target, a native build of BITS\nwill be created. This will create a native grub-mkimage that can be used to\ngenerate grub images when building for a particular target. Such native\ngrub-mkimage can be invoked with bits-grub-mkimage. This avoid conflicts with\nthe existing grub-mkimage provided by the grub-efi recipe.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/01org/luv-yocto/commits/c3ce3c8632168038677b4d65641af3e7901c7c19"},{"sha":"e41ed61a58e8b4521fcffb0fa9eae0ec29a16210","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"bits: do not depend bytecompile-% on build-python-host\n\nAs part of the build process of BITS within bitbake, the Python version\nthat BITS needs is built separately and is available at the time BITS is built\nfor a target. Thus, we can drop this dependency. The dependency will be spelled\nout on the bitbake recipe used to build BITS for a target as:\n\n DEPENDS = \"... bits-python-native\"\n\nAlso, such BITS-specific version of Python is available by invoking bitspython.\nThe definition of bytecompile is updated accordingly to reflect this fact.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/01org/luv-yocto/commits/e41ed61a58e8b4521fcffb0fa9eae0ec29a16210"},{"sha":"4173b16258f9fdc8480df416aa258ed32eb12257","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"bits: allow incremental builds\n\nBITS makefile utilizes target names not as filenames but as task names. For\ninstance, setup does not actually create a target file named setup. Furthermore,\nfor a given target (a task, actually) the dependencies are other tasks, not\nfiles. Thus, make will not find such files and and therefore determine that all\nthe targets need to be rebuilt every time, even when present. This is form of\nutilizing make is problematic when, for instance, we want build BITS in separate\nstages (e.g., build GRUB components and create the GRUB image separately).\n\nFurthermore, at each invocation of make, the makefile instructs to delete all\nthe build directories.\n\nIn order to allow incremental builds, a fake target file is created along with\neach individual target (a task, actually) . Thus, in subsequent builds, a task\nwill only be executed if the fake target file is missing. This fake target\nfile simply echoes to the target file the name of the task executed.\n\nThis mechanism can only work if we don't remove the build directories when\nmake is called. Such deletion is removed from the setup task. They will be\ndeleted in the clean target.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/01org/luv-yocto/commits/4173b16258f9fdc8480df416aa258ed32eb12257"},{"sha":"4510426447836a604b108672cadc697664776063","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"bits: bits-cfg.txt: Set batch mode\n\nLUV runs BITS in batch mode. Thus, enable it.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/01org/luv-yocto/commits/4510426447836a604b108672cadc697664776063"},{"sha":"ffb2693bb40c8f7567191a5312862a4592d297aa","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"bits: init.cfg: Exit BITS upon completion\n\nBITS is implemented on top of GRUB. LUV has its own bootloader. Thus, in\norder to run BITS. LUV chainloads the BITS GRUB. Hence, when BITS completes\nexecution, LUV needs it to exit and return to the LUV bootloader to continue\nwith other tests.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/01org/luv-yocto/commits/ffb2693bb40c8f7567191a5312862a4592d297aa"},{"sha":"268f162baec28db49827b3449c8fd919352a7a2c","author":{"email":"b0ea9152ea2026377af95cd4fdb162e220f5b6e2@linux.intel.com","name":"Ricardo Neri"},"message":"bits: refactor recipe to allow BITS builds\n\nRecently the BIOS Implementation Test Suite has published a git repository with\nits source code. This makes it easier to build BITS in the LUV layer and the\nrecipe is refactored for this purpose. The ability to build BITS comes handy if\nwe want/need to implement tweaks in the code (e.g., run BITS from a ramdisk\nrather than a physical disk).\n\nThis recipe adds support both target and native builds. The native target is\nintended to provide a grub-mkimage that can be used by bitbake to generate the\nGRUB bootable image. Currently supported targets are x86 and x86_64.\n\nBITS implements large portions of its code in Python and needs its own Python\nversion. Such implementation is built separately using the bits-python-recipe.\n\nThis recipe uses several patches to tweak the BITS behavior to suit LUV. For\ninstance, BITS has a master makefile that erases and rebuilds everything at each\nbuild. Also, BITS makefile treats target names as tasks. In order to adapt BITS\nto the bitbake build paradigm, it needs to support incremental builds. Also,\nseveral build warnings are fixed.\n\nSigned-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/01org/luv-yocto/commits/268f162baec28db49827b3449c8fd919352a7a2c"}]}