mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-27 05:28: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.
|
# 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:
|
# The disk layout used is:
|
||||||
#
|
#
|
||||||
@ -27,7 +27,7 @@ IMAGE_ROOTFS_ALIGNMENT = "2048"
|
|||||||
SDIMG_ROOTFS_TYPE ?= "ext3"
|
SDIMG_ROOTFS_TYPE ?= "ext3"
|
||||||
SDIMG_ROOTFS = "${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}"
|
SDIMG_ROOTFS = "${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}"
|
||||||
|
|
||||||
IMAGE_DEPENDS_a10-sdimg += " \
|
IMAGE_DEPENDS_sunxi-sdimg += " \
|
||||||
parted-native \
|
parted-native \
|
||||||
mtools-native \
|
mtools-native \
|
||||||
dosfstools-native \
|
dosfstools-native \
|
||||||
@ -36,11 +36,11 @@ IMAGE_DEPENDS_a10-sdimg += " \
|
|||||||
sunxi-board-fex \
|
sunxi-board-fex \
|
||||||
"
|
"
|
||||||
# SD card image name
|
# 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())}"
|
IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}"
|
||||||
|
|
||||||
IMAGE_CMD_a10-sdimg () {
|
IMAGE_CMD_sunxi-sdimg () {
|
||||||
|
|
||||||
# Align partitions
|
# Align partitions
|
||||||
BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE} + ${IMAGE_ROOTFS_ALIGNMENT} - 1)
|
BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE} + ${IMAGE_ROOTFS_ALIGNMENT} - 1)
|
||||||
|
@ -26,8 +26,8 @@ UBOOT_LOADADDRESS = "0x40008000"
|
|||||||
|
|
||||||
SPL_BINARY = "sunxi-spl.bin"
|
SPL_BINARY = "sunxi-spl.bin"
|
||||||
|
|
||||||
IMAGE_CLASSES += "sdcard_image-a10"
|
IMAGE_CLASSES += "sdcard_image-sunxi"
|
||||||
IMAGE_FSTYPES += "ext3 tar.gz a10-sdimg"
|
IMAGE_FSTYPES += "ext3 tar.gz sunxi-sdimg"
|
||||||
|
|
||||||
|
|
||||||
# Guesswork
|
# Guesswork
|
||||||
|
@ -24,8 +24,8 @@ UBOOT_LOADADDRESS = "0x40008000"
|
|||||||
|
|
||||||
SPL_BINARY = "sunxi-spl.bin"
|
SPL_BINARY = "sunxi-spl.bin"
|
||||||
|
|
||||||
IMAGE_CLASSES += "sdcard_image-a10"
|
IMAGE_CLASSES += "sdcard_image-sunxi"
|
||||||
IMAGE_FSTYPES += "ext3 tar.gz a10-sdimg"
|
IMAGE_FSTYPES += "ext3 tar.gz sunxi-sdimg"
|
||||||
|
|
||||||
|
|
||||||
SERIAL_CONSOLE = "115200 ttyS0"
|
SERIAL_CONSOLE = "115200 ttyS0"
|
||||||
|
@ -26,8 +26,8 @@ UBOOT_LOADADDRESS = "0x40008000"
|
|||||||
|
|
||||||
SPL_BINARY = "sunxi-spl.bin"
|
SPL_BINARY = "sunxi-spl.bin"
|
||||||
|
|
||||||
IMAGE_CLASSES += "sdcard_image-a10"
|
IMAGE_CLASSES += "sdcard_image-sunxi"
|
||||||
IMAGE_FSTYPES += "ext3 tar.gz a10-sdimg"
|
IMAGE_FSTYPES += "ext3 tar.gz sunxi-sdimg"
|
||||||
|
|
||||||
# Guesswork
|
# Guesswork
|
||||||
SERIAL_CONSOLE = "115200 ttyS0"
|
SERIAL_CONSOLE = "115200 ttyS0"
|
||||||
|
@ -19,8 +19,8 @@ UBOOT_LOADADDRESS = "0x40008000"
|
|||||||
|
|
||||||
SPL_BINARY = "sunxi-spl.bin"
|
SPL_BINARY = "sunxi-spl.bin"
|
||||||
|
|
||||||
IMAGE_CLASSES += "sdcard_image-a10"
|
IMAGE_CLASSES += "sdcard_image-sunxi"
|
||||||
IMAGE_FSTYPES += "ext3 tar.bz2 a10-sdimg"
|
IMAGE_FSTYPES += "ext3 tar.bz2 sunxi-sdimg"
|
||||||
|
|
||||||
SERIAL_CONSOLE = "115200 ttyS0"
|
SERIAL_CONSOLE = "115200 ttyS0"
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ UBOOT_LOADADDRESS = "0x40008000"
|
|||||||
|
|
||||||
SPL_BINARY = "sunxi-spl.bin"
|
SPL_BINARY = "sunxi-spl.bin"
|
||||||
|
|
||||||
IMAGE_FSTYPES += "tar.bz2 squashfs a10-sdimg"
|
IMAGE_FSTYPES += "tar.bz2 squashfs sunxi-sdimg"
|
||||||
|
|
||||||
# Guesswork
|
# Guesswork
|
||||||
SERIAL_CONSOLE = "115200 ttyS0"
|
SERIAL_CONSOLE = "115200 ttyS0"
|
||||||
|
Loading…
Reference in New Issue
Block a user