wks: added wks-file.
Added a custom wks-file. BugzID: 54224 Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
This commit is contained in:
parent
876663971c
commit
d79edf0034
|
|
@ -0,0 +1 @@
|
|||
WKS_FILE_sota = "sdimage-sota-nmhw21.wks"
|
||||
|
|
@ -12,6 +12,9 @@ MACHINE_EXTRA_RRECOMMENDS = " kernel-modules kernel-devicetree"
|
|||
KERNEL_DEFCONFIG ??= "am335x-nmhw21_defconfig"
|
||||
KERNEL_DEVICETREE = "am335x-nmhw21-prod1.dtb \
|
||||
"
|
||||
|
||||
SOTA_MACHINE = "${MACHINE}"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
KERNEL_CLASSES_append_sota = " kernel-fitimage"
|
||||
KERNEL_IMAGETYPE_sota = "fitImage"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
# short-description: Create OTA-enabled SD card image
|
||||
# long-description: Creates a partitioned SD card image with OSTree
|
||||
|
||||
part SPL --source rawcopy --sourceparams="file=MLO" --ondisk mmcblk --no-table --align 128
|
||||
part u-boot --source rawcopy --sourceparams="file=u-boot.img" --ondisk mmcblk --no-table --align 384
|
||||
part / --source otaimage --ondisk mmcblk --fstype=ext4 --align 4096
|
||||
Loading…
Reference in New Issue