nand_do_platform_check "traverse-ls1043" $1
return $?
;;
+ fsl,ls1012a-frdm)
+ return 0
+ ;;
*)
echo "Sysupgrade is not currently supported on $board"
;;
traverse,ls1043s)
platform_do_upgrade_traverse_nandubi "$1"
;;
+ fsl,ls1012a-frdm)
+ PART_NAME=firmware
+ default_do_upgrade "$1"
+ ;;
*)
echo "Sysupgrade is not currently supported on $board"
;;
DEVICE_DTS := freescale/fsl-ls1012a-frdm
BLOCKSIZE := 256KiB
FILESYSTEMS := squashfs
+ IMAGES += sysupgrade.bin
IMAGE/firmware.bin := \
ls-clean | \
ls-append $(1)-bl2.pbl | pad-to 1M | \
ls-append-dtb $$(DEVICE_DTS) | pad-to 16M | \
append-kernel | pad-to $$(BLOCKSIZE) | \
append-rootfs | pad-rootfs | check-size 67108865
+ IMAGE/sysupgrade.bin := append-kernel | pad-to $$(BLOCKSIZE) | \
+ append-rootfs | pad-rootfs | check-size 50331648 | append-metadata
KERNEL := kernel-bin | gzip | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb
KERNEL_INITRAMFS := kernel-bin | fit none $$(DTS_DIR)/$$(DEVICE_DTS).dtb
+ SUPPORTED_DEVICES := fsl,ls1012a-frdm
endef
TARGET_DEVICES += ls1012afrdm