mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-08 06:18:22 +01:00
Rename a10-sdimg with sunxi-sdimg
This commit is contained in:
parent
dd157cc4f1
commit
16a80ed3ea
@ -2,7 +2,7 @@ inherit image_types
|
||||
|
||||
#
|
||||
# Create an image that can by written onto a SD card using dd.
|
||||
# Originally written for rasberrypi adapt for the needs of allwinner a10 based boards
|
||||
# Originally written for rasberrypi adapt for the needs of allwinner sunxi based boards
|
||||
#
|
||||
# The disk layout used is:
|
||||
#
|
||||
@ -27,7 +27,7 @@ IMAGE_ROOTFS_ALIGNMENT = "2048"
|
||||
SDIMG_ROOTFS_TYPE ?= "ext3"
|
||||
SDIMG_ROOTFS = "${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}"
|
||||
|
||||
IMAGE_DEPENDS_a10-sdimg += " \
|
||||
IMAGE_DEPENDS_sunxi-sdimg += " \
|
||||
parted-native \
|
||||
mtools-native \
|
||||
dosfstools-native \
|
||||
@ -36,11 +36,11 @@ IMAGE_DEPENDS_a10-sdimg += " \
|
||||
sunxi-board-fex \
|
||||
"
|
||||
# SD card image name
|
||||
SDIMG = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.a10-sdimg"
|
||||
SDIMG = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.sunxi-sdimg"
|
||||
|
||||
IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}"
|
||||
|
||||
IMAGE_CMD_a10-sdimg () {
|
||||
IMAGE_CMD_sunxi-sdimg () {
|
||||
|
||||
# Align partitions
|
||||
BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE} + ${IMAGE_ROOTFS_ALIGNMENT} - 1)
|
||||
|
@ -26,8 +26,8 @@ UBOOT_LOADADDRESS = "0x40008000"
|
||||
|
||||
SPL_BINARY = "sunxi-spl.bin"
|
||||
|
||||
IMAGE_CLASSES += "sdcard_image-a10"
|
||||
IMAGE_FSTYPES += "ext3 tar.gz a10-sdimg"
|
||||
IMAGE_CLASSES += "sdcard_image-sunxi"
|
||||
IMAGE_FSTYPES += "ext3 tar.gz sunxi-sdimg"
|
||||
|
||||
|
||||
# Guesswork
|
||||
|
@ -24,8 +24,8 @@ UBOOT_LOADADDRESS = "0x40008000"
|
||||
|
||||
SPL_BINARY = "sunxi-spl.bin"
|
||||
|
||||
IMAGE_CLASSES += "sdcard_image-a10"
|
||||
IMAGE_FSTYPES += "ext3 tar.gz a10-sdimg"
|
||||
IMAGE_CLASSES += "sdcard_image-sunxi"
|
||||
IMAGE_FSTYPES += "ext3 tar.gz sunxi-sdimg"
|
||||
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
@ -26,8 +26,8 @@ UBOOT_LOADADDRESS = "0x40008000"
|
||||
|
||||
SPL_BINARY = "sunxi-spl.bin"
|
||||
|
||||
IMAGE_CLASSES += "sdcard_image-a10"
|
||||
IMAGE_FSTYPES += "ext3 tar.gz a10-sdimg"
|
||||
IMAGE_CLASSES += "sdcard_image-sunxi"
|
||||
IMAGE_FSTYPES += "ext3 tar.gz sunxi-sdimg"
|
||||
|
||||
# Guesswork
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
@ -19,8 +19,8 @@ UBOOT_LOADADDRESS = "0x40008000"
|
||||
|
||||
SPL_BINARY = "sunxi-spl.bin"
|
||||
|
||||
IMAGE_CLASSES += "sdcard_image-a10"
|
||||
IMAGE_FSTYPES += "ext3 tar.bz2 a10-sdimg"
|
||||
IMAGE_CLASSES += "sdcard_image-sunxi"
|
||||
IMAGE_FSTYPES += "ext3 tar.bz2 sunxi-sdimg"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
||||
|
@ -30,7 +30,7 @@ UBOOT_LOADADDRESS = "0x40008000"
|
||||
|
||||
SPL_BINARY = "sunxi-spl.bin"
|
||||
|
||||
IMAGE_FSTYPES += "tar.bz2 squashfs a10-sdimg"
|
||||
IMAGE_FSTYPES += "tar.bz2 squashfs sunxi-sdimg"
|
||||
|
||||
# Guesswork
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
Loading…
Reference in New Issue
Block a user