Commit Graph

16 Commits

Author SHA1 Message Date
Jonathan Liu
2c36a963ba classes/sdcard_image-sunxi: use absolute path to rootfs 2014-02-17 18:07:26 +11:00
Kristof Robot
a248d37b35 sdcard_image-sunxi.bbclass: fixing race condition with virtual/kernel (resolves #15)
Fixing a race condition with virtual/kernel:do_deploy,
which needs to deploy the image before the IMAGE_CMD_sunxi-sdimg () code is being run
as part of image:do_rootfs, otherwise the following error would sometimes occur
when compiling with multiple threads (BB_NUMBER_THREADS=2):
"[..]/deploy/images/cubieboard2/uImage-cubieboard2.bin: No such file or directory"

Fixing this by using the kernel image in sysrootfs instead.

At the same time, also adding an explicit rootfs dependency on sunxi-board-fex:do_deploy because of
"${DEPLOY_DIR_IMAGE}/fex.bin", although this never seems to pose problems in practice.
2013-12-19 10:06:55 +01:00
Kristof Robot
7880894810 sdcard_image-sunxi.bbclass: fixed .xz check
.xz check was relying on a bash check that was not working,
returning "]] : not found" error.
Replaced that check with an sh-compatible check,
from https://github.com/djwillis/meta-raspberrypi/blob/master/classes/sdcard_image-rpi.bbclass
2013-12-14 20:31:36 +01:00
Nicolas Aguirre
ef1284c09e Change filename for sunxi-img class to match the new one. 2013-11-15 18:57:41 +01:00
Nicolas Aguirre
16a80ed3ea Rename a10-sdimg with sunxi-sdimg 2013-11-15 18:45:10 +01:00
Nicolas Aguirre
dd157cc4f1 Simplify IMAGE_DEPENDS of a10-sdimg class, install fex file wathever the board selected. 2013-11-15 18:40:23 +01:00
Nicolas Aguirre
e95d4dfd39 Install fex file for mele board. 2013-11-15 18:38:45 +01:00
Nicolas Aguirre
18cb5f40fa Fix support for olinuxino-a13 board. 2013-11-15 18:35:16 +01:00
Sergey Lapin
ae117be24a update for new u-boot and OE 2013-11-06 01:13:14 +04:00
Kristof Robot
c49767d57a sdcard_image-a10: fixed file existance test for script.bin 2013-10-31 16:54:15 +01:00
Kristof Robot
c91658f3dc sdcard_image-a10: removed u-boot.bin - replaced by u-boot-sunxi-with-spl.bin 2013-10-31 14:35:13 +01:00
Kristof Robot
3e381905ea sdcard_image-a10: added fex support for cubieboard2 2013-10-31 13:50:53 +01:00
Tomas Novotny
429929f209 Add ability to put the compiled fex file into the SD image
There is a new recipe called sunxi-board-fex which cares about the
compiling of the FEX file for each machine. If there is a fex.bin file
available in the deploy directory and machine depends on it (see SD
image class) it will be added.

Only OLinuXino A10S uses it for now.

Signed-off-by: Tomas Novotny <novotny@rehivetech.com>
2013-10-25 14:18:16 +02:00
Nicolas Aguirre
e46a72cf39 Update u-boot to the lates sunxi version. They changed the sdcard layout so update a10 sdcard image class to reflect these changes. 2013-10-19 07:42:23 +02:00
Nicolas Aguirre
3603ce61c0 Write uboot and spl at the end of the process. SDCards are now booting with this modfication. You still need to copy the script.bin file depending on your device. 2013-04-12 17:27:54 +02:00
Nicolas Aguirre
402fe8557f Add class to generate sd card image for boards based on allwinner a10 processor 2013-03-12 16:14:03 +01:00