hw18: Cleanup and set ostree image configuration
This commit is contained in:
parent
2083321292
commit
ea8c822d6d
|
|
@ -0,0 +1 @@
|
|||
WKS_FILE_sota = "sdimage-sota-armada-385.wks"
|
||||
|
|
@ -13,14 +13,10 @@ MACHINE_EXTRA_RRECOMMENDS = " kernel-modules kernel-devicetree"
|
|||
KERNEL_DEFCONFIG ??= "armada-385-nrhw18_defconfig"
|
||||
KERNEL_DEVICETREE = "armada-385-nrhw18-prod4.dtb"
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
KERNEL_CLASSES_append_sota = " kernel-fitimage"
|
||||
KERNEL_IMAGETYPE_sota = "fitImage"
|
||||
UBOOT_ENTRYPOINT_sota = "0x13000000"
|
||||
KERNEL_IMAGETYPES = "fitImage zImage"
|
||||
|
||||
KERNEL_MODULE_PROBECONF += "ath10k_pci"
|
||||
module_conf_ath10k_pci = "options ath10k_pci irq_mode=1"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-netmodule"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-armada-385-nrhw18-v2"
|
||||
IMAGE_BOOT_FILES = "u-boot-armada-385-nrhw18-v2.kwb"
|
||||
|
|
|
|||
|
|
@ -18,3 +18,5 @@ UBOOT_LOADADDRESS = "0x13000000"
|
|||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "kernel26 usbgadget usbhost vfat ext2 ext4 ethernet"
|
||||
|
||||
SOTA_MACHINE = "armada-385"
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ PV = "v2017.11+git${SRCPV}"
|
|||
UBOOT_SUFFIX = "kwb"
|
||||
UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}"
|
||||
|
||||
do_deploy() {
|
||||
do_deploy_append() {
|
||||
rm -f ${DEPLOYDIR}/${PN}-spl.bin
|
||||
rm -f ${DEPLOYDIR}/${PN}.bin
|
||||
rm -f ${DEPLOYDIR}/${PN}-spl.kwb
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
# short-description: Create OTA-enabled SD card image
|
||||
# long-description: Creates a partitioned SD card image with OSTree
|
||||
|
||||
part u-boot --source rawcopy --sourceparams="file=u-boot-spl.kwb" --ondisk mmcblk --no-table --align 384
|
||||
part / --source otaimage --ondisk mmcblk --fstype=ext4 --align 4096
|
||||
Loading…
Reference in New Issue