linux-yocto: Add support for DTB and FIT images

:adasdada
LSI Axxia boards are able to boot from FIT images.
Add support to build the dtb and fit images including the
dtb, linux image and both: multi.fit images.

Signed-off-by: Paul Butler <paul.butler@windriver.com>
linux-yocto: Reorganize recipes-kernel/linux files

- Delete defconfig for axm5500 simulator
- Organize axm5500 and elpaso defconfig by architecture
- In kernel recipes specify SRCREV_machine and SRCREV_meta tags for
building kernel instead of ${AUTOREV} which built from tip of the repo.
LSI_KERNEL_TAG will be manually seted depending on the value of SRCREV.
- Add FIT support files to SRC_URI only for standard kernels.
- Use a single linux-yocto.inc file containing additional building infos
for all kernel receipes instead separated ones for 3.4 and 3.10.

Signed-off-by: Paul Butler <paul.butler@windriver.com>
linux-yocto: Add functions for building POWERPC DTB and FIT images

Create additional functions to append do_compile and do_deploy tasks
for kernel, function that will build the dtb, create fit images and
install them for multiple POWERPC targets:
- acp25xx
- acp342x
- acp344x
- ACP344xV2
- acp35xx

Signed-off-by: Paul Butler <paul.butler@windriver.com>
linux-yocto: Add support for building from YOCTO and GITHUB private repo

qrqwrq:

- Add support for building also from YOCTO repos and from the tip of
the LSI GitHub private repo depending what .inc files is included.
This choice is made by setting the LSI_SRC variable in the build's
local.conf file.
- Add FIT support files to SRC_URI for preempt-rt kernels.

Signed-off-by: Paul Butler <paul.butler@windriver.com>
linux-yocto: Add support for building from GITHUB public repo

- Add support for building also from the LSI GitHub public repo depending
what .inc files is included. This choice is done by setting the LSI_SRC
variable in the build's local.conf file.
- By default, with LSI_SRC not set in local.conf, the Kernel will be
fetched from YOCTO repos. This is done because LSI_SRC is set to
"linux-yocto" in receipes. local.conf will overwrite it.
LSI_SRC ?= "linux-yocto"

Signed-off-by: Paul Butler <paul.butler@windriver.com>
u-boot-lsi: Update SRCREV to tag to 5.8.1.44 and 4.8.1.91

- Update SRCREV to tag to 5.8.1.44 for lsi-v2013.01.01 branch
- Update SRCREV to tag to 4.8.1.91 for lsi-v2010.03 branch
- Set default UBOOT_SUFFIX to "img"

Signed-off-by: Paul Butler <paul.butler@windriver.com>
linux-yocto: Add support for building ARM DTB and FIT images

- Modify functions that build dtb, create fit images
  and install them also for ARM targets:
for 3.4:
  - axm55xx
  - axm55xxemu and axm55xxemu7
  - axm55xxsim16 and axm55xxsim
  - axm-ve-tc1 and axm-ve-tc2
for 3.10:
  - axm5504-emu and axm5504-sim
  - axm5507-emu
  - axm5516-amarillo and axm5516-sim
  - axm55xxemu7

- Specify the kernel version in receipes by setting KV variable

Signed-off-by: Paul Butler <paul.butler@windriver.com>
linux-yocto: Modify dtb files path for ARM 3.10

ad- When compiling ARM 3.10 kernels, the dtb files are created in a
different path. Adapt this path to found the dtb files.
- Do not create fit image for axm55xxemu7 because the dts was
deleted. The version of emulation that used this device tree is
no longer supported.

Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
lsi-image-sim: Add gdb package to Simulation Image

Signed-off-by: John Jacques <john.jacques@lsi.com>
conf/machine: Rename targets to axxiaarm and axxiapowerpc

The original names "elpaso" and "axm5500" refer to targets, and
s-leading. The Linux builds, and file system images, are
for either ARM based targets (now axxiaarm) or PowerPC based
targets (now axxiapowerpc).
linux-yocto: Set new COMPATIBLE_MACHINE for Kernel

Signed-off-by: John Jacques <john.jacques@avagotech.com>
lsi-image-sim: Add eglibc-dbg and valgrind packages

Add to lsi-image-sim IMAGE_INSTALL eglibc-dbg and valgrind
packages and the dependencies required.

Signed-off-by: John Jacques <john.jacques@avagotech.com>
lsi-image-large: Add eglibc-dbg and valgrind packages

Signed-off-by: John Jacques <john.jacques@avagotech.com>
lsi-image-large: Add ldd, remove alsa, hwclock pkgs

Signed-off-by: John Jacques <john.jacques@avagotech.com>
lsi-image-sim: Add dev-pckgs to the image

Signed-off-by: John Jacques <john.jacques@avagotech.com>
recipes-core/images: Remove unused ROOTFS images

Remove core-image-large and core-image-tiny as long as
they are not used anymore.

Signed-off-by: John Jacques <john.jacques@avagotech.com>
linux-yocto: Synchronize configs with LSI repos

LSI Kernels are buit using defconfigs here. Update them with
latest changes from LSI GitHub public repos.

Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
linux-yocto: Build KERNEL with defconfigs from kernel sources

If in kernel sources exist /arch/$ARCH/configs/lsi_defconfig
or lsi_rt_defconfig (for preempt-rt), copy them in work directory
to be use for kernel build.
With this we are sure that the latest defconfig is used.

Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
linux-yocto: Update to last release for LSI PUBLIC repos

Update LSI_KERNEL_TAG, LINUX_VERSION and SRCREV to build the latest
released kernels from the public repository.
For 3.10 - tag 8.8.1.30
For 3.4 - tag 7.8.1.39

Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
linux-yocto: Rename Axxia Simulation Targets

For the new Device Tree for Axxia Simulation Targets, rename targets
to be able to create fit images for those new DTB (for the moment only
for LSI GitHub 3.10 repos: private and public)

Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>