summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@theqtcompany.com>2016-01-11 10:31:34 +0200
committerSamuli Piippo <samuli.piippo@theqtcompany.com>2016-01-11 14:30:16 +0000
commit7f7b720a305344ab8a83304392e3456b07b28439 (patch)
treebc9d3202117ec5bacaf35c0c055d1e57ba6b3d08
parent91ba00c6616aea4d0ed6a994a5dbac9d5746610d (diff)
downloadmeta-boot2qt-7f7b720a305344ab8a83304392e3456b07b28439.tar.gz
nitrogen6x: add u-boot binaries to image
The nitrogen6x image support all devices from BoudaryDevices, but the u-boot is build for each device with different config. Build u-boot with all known u-boot configs and add them to the image. Include also the upgrade_6x script to make u-boot update possible. Change-Id: I61de8016328c551350e48b2f194b31ca5c528608 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
-rw-r--r--conf/distro/include/nitrogen6x.conf43
1 files changed, 43 insertions, 0 deletions
diff --git a/conf/distro/include/nitrogen6x.conf b/conf/distro/include/nitrogen6x.conf
index ce64083..93e682a 100644
--- a/conf/distro/include/nitrogen6x.conf
+++ b/conf/distro/include/nitrogen6x.conf
@@ -36,6 +36,49 @@ BOOTFS_CONTENT = "\
36 u-boot-${MACHINE}.imx:u-boot.imx \ 36 u-boot-${MACHINE}.imx:u-boot.imx \
37 " 37 "
38BOOTFS_DEPENDS = "u-boot:do_deploy virtual/kernel:do_deploy u-boot-script-boundary:do_deploy" 38BOOTFS_DEPENDS = "u-boot:do_deploy virtual/kernel:do_deploy u-boot-script-boundary:do_deploy"
39BOOT_SPACE = "16384"
40BOOT_SCRIPTS += "6x_upgrade-${MACHINE}:6x_upgrade \
41 u-boot-nit6xlite-*.imx:u-boot.nit6xlite \
42 u-boot-nit6xlite1g-*.imx:u-boot.nit6xlite1g \
43 u-boot-nitrogen6dl-*.imx:u-boot.nitrogen6dl \
44 u-boot-nitrogen6dl2g-*.imx:u-boot.nitrogen6dl2g \
45 u-boot-nitrogen6q2g-*.imx:u-boot.nitrogen6q2g \
46 u-boot-nitrogen6q-*.imx:u-boot.nitrogen6q \
47 u-boot-nitrogen6q_fl-*.imx:u-boot.nitrogen6q_fl \
48 u-boot-nitrogen6qp_max-*.imx:u-boot.nitrogen6qp_max \
49 u-boot-nitrogen6s1g-*.imx:u-boot.nitrogen6s1g \
50 u-boot-nitrogen6s-*.imx:u-boot.nitrogen6s \
51 u-boot-nitrogen6sx-*.imx:u-boot.nitrogen6sx \
52 u-boot-nitrogen6_lum_dl1-*.imx:u-boot.nitrogen6_lum_dl1 \
53 u-boot-nitrogen6_max-*.imx:u-boot.nitrogen6_max \
54 u-boot-nitrogen6_vm1g-*.imx:u-boot.nitrogen6_vm1g \
55 u-boot-nitrogen6_vm-*.imx:u-boot.nitrogen6_vm \
56 "
57
58UBOOT_MACHINE = ""
59UBOOT_CONFIG ??= "nit6xlite nit6xlite1g \
60 nitrogen6dl nitrogen6dl2g \
61 nitrogen6q2g nitrogen6q nitrogen6q_fl nitrogen6qp_max \
62 nitrogen6s1g nitrogen6s nitrogen6sx \
63 nitrogen6_lum_dl1 nitrogen6_max \
64 nitrogen6_vm1g nitrogen6_vm \
65 "
66
67UBOOT_CONFIG[nit6xlite] = "nit6xlite_config"
68UBOOT_CONFIG[nit6xlite1g] = "nit6xlite1g_config"
69UBOOT_CONFIG[nitrogen6dl] = "nitrogen6dl_config"
70UBOOT_CONFIG[nitrogen6dl2g] = "nitrogen6dl2g_config"
71UBOOT_CONFIG[nitrogen6q2g] = "nitrogen6q2g_config"
72UBOOT_CONFIG[nitrogen6q] = "nitrogen6q_config"
73UBOOT_CONFIG[nitrogen6q_fl] = "nitrogen6q_fl_config"
74UBOOT_CONFIG[nitrogen6qp_max] = "nitrogen6qp_max_config"
75UBOOT_CONFIG[nitrogen6s1g] = "nitrogen6s1g_config"
76UBOOT_CONFIG[nitrogen6s] = "nitrogen6s_config"
77UBOOT_CONFIG[nitrogen6sx] = "nitrogen6sx_config"
78UBOOT_CONFIG[nitrogen6_lum_dl1] = "nitrogen6_lum_dl1_config"
79UBOOT_CONFIG[nitrogen6_max] = "nitrogen6_max_config"
80UBOOT_CONFIG[nitrogen6_vm1g] = "nitrogen6_vm1g_config"
81UBOOT_CONFIG[nitrogen6_vm] = "nitrogen6_vm_config"
39 82
40EXTRA_IMAGEDEPENDS += "u-boot-script-boundary" 83EXTRA_IMAGEDEPENDS += "u-boot-script-boundary"
41 84