diff options
author | Ting Liu <ting.liu@nxp.com> | 2021-04-20 17:24:31 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-04-20 10:07:33 -0300 |
commit | 481fafd6e7bbb0db616fe095cfa5fa9950229214 (patch) | |
tree | 7fc3abbf4548c1360d31cd7c7a185d546f6e7922 /conf | |
parent | 03b0c1c150cb9c033a4e80edf9718d47089c8d14 (diff) | |
download | meta-freescale-481fafd6e7bbb0db616fe095cfa5fa9950229214.tar.gz |
ls1043/ls1046: support WIC image generation
Signed-off-by: Ting Liu <ting.liu@nxp.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/include/qoriq-base.inc | 23 | ||||
-rw-r--r-- | conf/machine/ls1043ardb.conf | 2 | ||||
-rw-r--r-- | conf/machine/ls1046afrwy.conf | 2 | ||||
-rw-r--r-- | conf/machine/ls1046ardb.conf | 2 |
4 files changed, 29 insertions, 0 deletions
diff --git a/conf/machine/include/qoriq-base.inc b/conf/machine/include/qoriq-base.inc index e482b857..92baae74 100644 --- a/conf/machine/include/qoriq-base.inc +++ b/conf/machine/include/qoriq-base.inc | |||
@@ -11,6 +11,29 @@ PREFERRED_VERSION_testfloat = "2a" | |||
11 | SOC_DEFAULT_IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot ext2.gz" | 11 | SOC_DEFAULT_IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot ext2.gz" |
12 | IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}" | 12 | IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}" |
13 | 13 | ||
14 | # Composite Image Layout (in KBytes) | ||
15 | IMAGE_OFFSET_PBL ?= "4" | ||
16 | IMAGE_OFFSET_FIP ?= "1024" | ||
17 | IMAGE_OFFSET_FMAN_UCODE ?= "9216" | ||
18 | |||
19 | # Composite Image Filenames | ||
20 | IMAGE_FILE_PBL_SD ?= "atf/bl2_sd.pbl" | ||
21 | IMAGE_FILE_FIP_UBOOT ?= "atf/fip_uboot.bin" | ||
22 | |||
23 | # Do not update fstab file when using wic images | ||
24 | WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update" | ||
25 | |||
26 | IMAGE_BOOT_FILES ?= " \ | ||
27 | ${KERNEL_IMAGETYPE} \ | ||
28 | *.dtb \ | ||
29 | " | ||
30 | |||
31 | SOC_DEFAULT_WKS_FILE ?= "" | ||
32 | SOC_DEFAULT_WKS_FILE_ls1043a ?= "ls104x-uboot-bootpart.wks.in" | ||
33 | SOC_DEFAULT_WKS_FILE_ls1046a ?= "ls104x-uboot-bootpart.wks.in" | ||
34 | |||
35 | WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}" | ||
36 | |||
14 | MACHINE_FEATURES ?= "pci ext2 ext3 serial" | 37 | MACHINE_FEATURES ?= "pci ext2 ext3 serial" |
15 | MACHINE_EXTRA_RRECOMMENDS += "udev-extraconf udev-rules-qoriq kernel-modules" | 38 | MACHINE_EXTRA_RRECOMMENDS += "udev-extraconf udev-rules-qoriq kernel-modules" |
16 | 39 | ||
diff --git a/conf/machine/ls1043ardb.conf b/conf/machine/ls1043ardb.conf index 369abdcf..3dd572f4 100644 --- a/conf/machine/ls1043ardb.conf +++ b/conf/machine/ls1043ardb.conf | |||
@@ -40,5 +40,7 @@ RCWSD ?= "RR_FQPP_1455/rcw_1600_sdboot" | |||
40 | RCWNAND ?= "RR_FQPP_1455/rcw_1600_nandboot" | 40 | RCWNAND ?= "RR_FQPP_1455/rcw_1600_nandboot" |
41 | 41 | ||
42 | QE_UCODE = "iram_Type_A_LS1021a_r1.0.bin" | 42 | QE_UCODE = "iram_Type_A_LS1021a_r1.0.bin" |
43 | FMAN_UCODE ?= "fsl_fman_ucode_ls1043_r1.1_106_4_18.bin" | ||
44 | |||
43 | EXTRA_IMAGEDEPENDS += "fm-ucode rcw qe-ucode uefi qoriq-atf ls2-phy" | 45 | EXTRA_IMAGEDEPENDS += "fm-ucode rcw qe-ucode uefi qoriq-atf ls2-phy" |
44 | USE_VT = "0" | 46 | USE_VT = "0" |
diff --git a/conf/machine/ls1046afrwy.conf b/conf/machine/ls1046afrwy.conf index f6854a0c..6e42ef37 100644 --- a/conf/machine/ls1046afrwy.conf +++ b/conf/machine/ls1046afrwy.conf | |||
@@ -37,5 +37,7 @@ SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" | |||
37 | RCWQSPI ?= "NN_NNQNNPNP_3040_0506/rcw_1600_qspiboot" | 37 | RCWQSPI ?= "NN_NNQNNPNP_3040_0506/rcw_1600_qspiboot" |
38 | RCWSD ?= "NN_NNQNNPNP_3040_0506/rcw_1600_sdboot" | 38 | RCWSD ?= "NN_NNQNNPNP_3040_0506/rcw_1600_sdboot" |
39 | 39 | ||
40 | FMAN_UCODE ?= "fsl_fman_ucode_ls1046_r1.0_106_4_18.bin" | ||
41 | |||
40 | EXTRA_IMAGEDEPENDS += "fm-ucode rcw qoriq-atf ls2-phy qe-ucode" | 42 | EXTRA_IMAGEDEPENDS += "fm-ucode rcw qoriq-atf ls2-phy qe-ucode" |
41 | USE_VT = "0" | 43 | USE_VT = "0" |
diff --git a/conf/machine/ls1046ardb.conf b/conf/machine/ls1046ardb.conf index 64f26792..cbea2432 100644 --- a/conf/machine/ls1046ardb.conf +++ b/conf/machine/ls1046ardb.conf | |||
@@ -40,5 +40,7 @@ UEFI_QSPIBOOT ?= "LS1046ARDB_EFI_QSPIBOOT.fd" | |||
40 | RCWQSPI ?= "RR_FFSSPPPH_1133_5559/rcw_1800_qspiboot" | 40 | RCWQSPI ?= "RR_FFSSPPPH_1133_5559/rcw_1800_qspiboot" |
41 | RCWSD ?= "RR_FFSSPPPH_1133_5559/rcw_1800_sdboot" | 41 | RCWSD ?= "RR_FFSSPPPH_1133_5559/rcw_1800_sdboot" |
42 | 42 | ||
43 | FMAN_UCODE ?= "fsl_fman_ucode_ls1046_r1.0_106_4_18.bin" | ||
44 | |||
43 | EXTRA_IMAGEDEPENDS += "fm-ucode rcw uefi qoriq-atf qe-ucode ls2-phy" | 45 | EXTRA_IMAGEDEPENDS += "fm-ucode rcw uefi qoriq-atf qe-ucode ls2-phy" |
44 | USE_VT = "0" | 46 | USE_VT = "0" |