Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (29 sloc) 1.43 KB
inherit image_types
WIC_COMMAND_meson-gxl = "wic_command_meson_gxl"
WIC_COMMAND_meson-gxm = "wic_command_meson_gxl"
WIC_COMMAND_meson-gxbb = "wic_command_meson_gxbb"
WIC_COMMAND_hardkernel-odroidc2 = "wic_command_odroidc2"
WIC_COMMAND_friendlyelec-nanopik2 = "wic_command_nanopik2"
WIC_COMMAND_amlogic-s400 = "wic_command_s400"
wic_command_odroidc2 () {
dd if=${DEPLOY_DIR_IMAGE}/bl1.bin.hardkernel of=$out${IMAGE_NAME_SUFFIX}.wic conv=notrunc bs=1 count=442
dd if=${DEPLOY_DIR_IMAGE}/bl1.bin.hardkernel of=$out${IMAGE_NAME_SUFFIX}.wic conv=notrunc bs=512 skip=1 seek=1
dd if=${DEPLOY_DIR_IMAGE}/u-boot.img of=$out${IMAGE_NAME_SUFFIX}.wic conv=notrunc bs=512 skip=96 seek=97
}
wic_command_nanopik2 () {
dd if=${DEPLOY_DIR_IMAGE}/u-boot.bin of=$out${IMAGE_NAME_SUFFIX}.wic conv=notrunc bs=512 seek=1
}
wic_command_meson_gxl () {
dd if=${DEPLOY_DIR_IMAGE}/u-boot.bin.sd.bin of=$out${IMAGE_NAME_SUFFIX}.wic conv=notrunc bs=1 count=444
dd if=${DEPLOY_DIR_IMAGE}/u-boot.bin.sd.bin of=$out${IMAGE_NAME_SUFFIX}.wic conv=notrunc bs=512 skip=1 seek=1
}
wic_command_meson_gxbb() {
dd if=${DEPLOY_DIR_IMAGE}/u-boot.bin.sd.bin of=$out${IMAGE_NAME_SUFFIX}.wic conv=notrunc bs=1 count=442
dd if=${DEPLOY_DIR_IMAGE}/u-boot.bin.sd.bin of=$out${IMAGE_NAME_SUFFIX}.wic conv=notrunc bs=512 skip=1 seek=1
}
wic_command_s400 () {
dd if=${DEPLOY_DIR_IMAGE}/u-boot.bin of=$out${IMAGE_NAME_SUFFIX}.wic conv=notrunc bs=512 seek=1
}
IMAGE_CMD_wic_append () {
${WIC_COMMAND}
}
You can’t perform that action at this time.