Commit Graph

69 Commits

Author SHA1 Message Date
Andrea Adami
296b0904d2 klibc: add SUMMARY
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-18 22:11:15 +01:00
Andrea Adami
ceb9a22dfd klcc-cross: add SUMMARY
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-18 22:11:15 +01:00
Andrea Adami
04a8860234 klibc(-static)-utils: add SUMMARY
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-18 22:11:15 +01:00
Andrea Adami
f70b2b51d7 linux-yocto-tiny-kexecboot: add custom SUMMARY
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-18 22:11:15 +01:00
Andrea Adami
9d4d91f91a kexec-tools-klibc: add custom SUMMARY
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-18 22:11:14 +01:00
Andrea Adami
2665e71191 ubi-utils-klibc: add SUMMARY and DESCRIPTION
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-18 22:11:14 +01:00
Andrea Adami
1097e7ea19 kexecboot(-klibc): add SUMMARY, DESCRIPTION, HOMEPAGE
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-18 22:11:14 +01:00
Andrea Adami
4580b65320 kexecboot_cfg: add SUMMARY and extend DESCRIPTION
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-18 22:11:14 +01:00
Andrea Adami
eb426661f4 initramfs-kexecboot(-klibc)-image: provide SUMMARY and DESCRIPTION
* plus some minor editing of comments

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-18 22:11:14 +01:00
Andrea Adami
7b6140cba2 linux-yocto-tiny-kexecboot: move to version 3.8
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-01 10:10:24 +01:00
Andrea Adami
4528466d5e linux-yocto-tiny-kexecboot_3.2: remove orphan recipe
* this kernel recipe was requiring linux-yocto-tiny_3.2.bb
* which has been removed on 2013-05-31 with commit id
* b8d53d8f91bd1b165016ea1063868c8b15f07ce0

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-01 10:10:24 +01:00
Andrea Adami
97957e5cee kexec-tools-klibc_2.0.2: refactor and extend patches for building
* some old patches apparently unneeded have been removed
* patches are now better split
* fix build for x86 and x86-64
* tested with qemuarm, qemuppc, qemumips, qemux86, qemux86-64

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-05-13 09:50:24 +01:00
Andrea Adami
06318f3208 klibc: fix KLIBCARCH for x86-64, powerpc and powerpc64
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-05-13 09:50:24 +01:00
Andrea Adami
c824cb3a7e kexecboot(-klibc): remove runtime dependency on kexec(-klibc)
* the binary itself can run without kexec (in host-debug mode) so
* specify in the cpio IMAGE which packages are needed at runtime

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-05-13 09:50:24 +01:00
Andrea Adami
5c49f8c7c0 initramfs-kexecboot(-klibc)-image: Drop legacy export of IMAGE_BASENAME
* We used to export this in the days an external script handled the image
* generation. This is no longer the case and hence we no longer need
* this export.
* As committed in oe-core with 919613c0e75362ee0eace99b51cc77d34a05372f

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-05-13 09:50:24 +01:00
Martin Jansa
2d54ce17a7 README: show github mirror URL in layer dependencies
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-03 13:32:03 +02:00
Martin Jansa
5e6d374ae7 README: add -M to git send-email example
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-26 19:41:27 +02:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Andrea Adami
cb4ac55a33 initramfs-kexecboot-image: update IMAGE_INSTALL after mtd-utils split
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-02-19 01:48:45 +01:00
Andrea Adami
a26e968915 klibc.bbclass: force thumb-interworking for eabi builds on armv4
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-02-16 05:54:59 +01:00
Andrea Adami
bdf8d1dc4a klibc_2.0.2: apply FIX_V4BX patch for armv4 targets only
* linker fix is needed to avoid 'bx, lr' instruction on armv4
 * patch is applied only for armv4 for eabi builds
 * http://wiki.debian.org/ArmEabiPort#Choice_of_minimum_CPU

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-30 14:21:30 +01:00
Andrea Adami
03d3a7f75d kexecboot(-klibc): upgrade to b667914
* now including boot from ubifs
* fixed extra menu redrawing
* 24bpp fixes
* first round of big-endian fixes

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-12-14 13:04:26 +01:00
Andrea Adami
e47345baad linux-yocto-tiny-kexecboot: add version 3.4
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-12-04 11:23:50 +01:00
Andrea Adami
a398b07f29 klibc: upgrade from 2.0.1 to 2.0.2
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-11-16 11:25:38 +01:00
Andrea Adami
de40d9357d klibc: refactor runtime deps for shared utils
rebased after d.expand / bb.data.expand change

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-11-16 11:25:36 +01:00
Paul Eggleton
3a30c56238 Replace bb.data.* with d.*
Used sed expression given here:

http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012373.html

Plus an additional expression for .expand. Full expression is:

sed \
-e 's:bb.data.\(setVar([^,]*,[^,]*\), \([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,]*,[^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(expand([^,]*\), \([^ )]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`

Some minor correction in systemd.bbclass was needed for some expressions
that didn't quite match the regex in the desired way; additionally a few
instances were manually changed.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-28 14:32:06 +00:00
Martin Jansa
8402b7ac0f PACKAGES_DYNAMIC: use regexp not glob
* bitbake uses PACKAGES_DYNAMIC as regexp
  ^ could make matching faster (and it will be more clear that we're expecting regexp not glob)
  * made all those last '-' optional, use .* (or nothing)
* use += instead of = in most cases to keep ${PN}-locale from
  bitbake.conf:PACKAGES_DYNAMIC = "^${PN}-locale-.*"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-19 11:42:13 +02:00
Andrea Adami
da4d1ea16b kexec-tools.klibc_2.0.2: fix checksums
* those are the SRC_URI checksums since 15-Jan-2012 22:10
* re-uploaded after kernel.org outage

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-09-17 14:20:28 +02:00
Andrea Adami
fdfe29f7fc initramfs-kexecboot-image: zap LDCONFIGDEPEND
* Override the settings of image.bbclass:
* we don't need ld.so.cache in our minimal image.
* While there, remove now unused ONLINE_PACKAGE_MANAGEMENT var.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-24 11:06:17 +02:00
Andrea Adami
5fd2b71cca klibc: upgrade from 2.0 to 2.0.1
* remove unused patches legacy of oe-classic

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-16 15:17:57 +02:00
Andrea Adami
2c89991a1a initramfs-kexecboot-image: fix dependency chain was: ['ubiattach']
* unfortunately there is no package-split for the mtd-utils recipe
* to have ubiattach we need to install the full package
* (or use ubiattach-klibc)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-16 15:17:56 +02:00
Andrea Adami
5b2b72da34 klibc: fix runtime dependencies for shared utils
* and remove bogus dependencies for the static utils
* introduced by do_split_packages
* bump INC_PR

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-16 15:17:55 +02:00
Martin Jansa
5cb8258d15 recipes: convert tabs to 4 spaces in populate_packages
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 16:26:18 +02:00
Andrea Adami
2f9d8fef13 ubi-utils-klibc: update to patched v. 1.5.0
* Fix build failing because of UBI_IOCSETPROP -> UBI_IOCSETVOLPROP renaming.
* This patch follows the one in oe-core for mtd-utils_1.5.0
* which was staging an older version of the ubi-user.h header.
* We need to match the renaming done in kernel 3.0
* http://lists.infradead.org/pipermail/linux-mtd/2011-March/
* 034419.html

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-11 15:04:04 +02:00
Andrea Adami
9af2bd13c6 kexecboot_git: bump PR after recipe update.
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-11 15:04:01 +02:00
Martin Jansa
f3b72f9f14 meta-initramfs: append to BBPATH instead of prepend so order of bblayers.conf is respected
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-21 21:22:23 +02:00
Andrea Adami
7c5eded4c2 linux-kexecboot: remove all, now we use linux-yocto-tiny-kexecboot
* The linux-yocto-tiny-kexecboot recipe can be extended and support
* more devices migrating the patches and renaming the defconfig as
* done for Sharp Zaurus devices.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-20 13:37:32 +02:00
Andrea Adami
02ebf5f7e3 kexecboot: upgrade and move to git tag 0daa77
* new git repository on github
* new LABEL separator
* text-ui fallback
* install /sys for upcoming ubifs detection
* menu-bug fix
* minor fixes

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-20 13:37:31 +02:00
Andrea Adami
1e26b20707 kexecboot-cfg: update and use new LABEL separator
* previously the sections were separated by KERNEL string

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-20 13:37:30 +02:00
Andrea Adami
4683b70b14 initramfs-kexecboot images: install ubiattach for boot from UBI volumes
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-20 13:37:30 +02:00
Andrea Adami
4ac3dd936d klibc: release klibc 2.0
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-05 10:46:56 +02:00
Andrea Adami
bb62247d60 ubi-utils-klibc: more patch-cleanings
* remove unnecessary patches after klibc upgrades
* bump PR

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-05 10:46:54 +02:00
Andrea Adami
0dbd716b73 klibc: update to git tag 49419d2df2018fff5ae6250cf55b16fa65bdc490
* still pre-2.0
* bump INC_PR

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-05 10:46:53 +02:00
Andrea Adami
5b6549cd03 ubi-utils-klibc: clean ubiformat patch
* fixes have been committed in klibc for stdio and the additional
* fflush is not necessary anymore (runtime tested pressing CTRL+D)
* bump PR

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-24 12:52:11 +02:00
Andrea Adami
f38bcd6105 klibc: upgrade to git tag c2c7f19
* include last patches of may 2012
* tracking upstream wrt forthcoming 2.0 release
* bump INC_PR

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-24 12:51:27 +02:00
Andrea Adami
3e8c748620 klibc.bbclass: use klcc as CPP
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-24 12:46:43 +02:00
Andrea Adami
14869e500c klibc: upgrade to latest git (pre 2.0)
* remove cherry-picked patch applied in master
* remove comments in klcc recipe
* remove slashes from paths in klibc recipe
* revert involontary oe_runmake install changes
* reset INC_PR
* v2 removes obolete cleanings wrt headers_install

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-14 16:02:03 +02:00
Andrea Adami
d983ea32f1 ubi-utils-klibc: clean patch
* after klibc refactoring
* bump PR

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-14 16:02:01 +02:00
Andrea Adami
2490c44e51 klibc_1.5.26: now build against linux-libc-headers
* add install-patch creating symlinks as done by debian
* extra add the mtd headers
* refresh patches (split out prefix.patch)
* recipe is now not machine-specific anymore
* bump INC_PR

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-14 16:02:01 +02:00
Andrea Adami
3ba480f4b5 ubi-utils-klibc: add the remaining ubicrc32, ubinize, ubiformat
* add more hacks to compile
* binaries tested on Zaurus poodle/corgi (with patched kernel)
* bump PR

* NOTES
* strange behavior wrt getopt for at least ubiformat:
* you should pass the options first, i.e.
* ubiformat -O 512 /dev/mtd3    *works*
* ubiformat /dev/mtd3 -O 512    *fails*

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-10 16:38:14 +02:00