diff options
| author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2016-01-11 10:31:34 +0200 |
|---|---|---|
| committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2016-01-11 14:30:16 +0000 |
| commit | 7f7b720a305344ab8a83304392e3456b07b28439 (patch) | |
| tree | bc9d3202117ec5bacaf35c0c055d1e57ba6b3d08 | |
| parent | 91ba00c6616aea4d0ed6a994a5dbac9d5746610d (diff) | |
| download | meta-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.conf | 43 |
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 | " |
| 38 | BOOTFS_DEPENDS = "u-boot:do_deploy virtual/kernel:do_deploy u-boot-script-boundary:do_deploy" | 38 | BOOTFS_DEPENDS = "u-boot:do_deploy virtual/kernel:do_deploy u-boot-script-boundary:do_deploy" |
| 39 | BOOT_SPACE = "16384" | ||
| 40 | BOOT_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 | |||
| 58 | UBOOT_MACHINE = "" | ||
| 59 | UBOOT_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 | |||
| 67 | UBOOT_CONFIG[nit6xlite] = "nit6xlite_config" | ||
| 68 | UBOOT_CONFIG[nit6xlite1g] = "nit6xlite1g_config" | ||
| 69 | UBOOT_CONFIG[nitrogen6dl] = "nitrogen6dl_config" | ||
| 70 | UBOOT_CONFIG[nitrogen6dl2g] = "nitrogen6dl2g_config" | ||
| 71 | UBOOT_CONFIG[nitrogen6q2g] = "nitrogen6q2g_config" | ||
| 72 | UBOOT_CONFIG[nitrogen6q] = "nitrogen6q_config" | ||
| 73 | UBOOT_CONFIG[nitrogen6q_fl] = "nitrogen6q_fl_config" | ||
| 74 | UBOOT_CONFIG[nitrogen6qp_max] = "nitrogen6qp_max_config" | ||
| 75 | UBOOT_CONFIG[nitrogen6s1g] = "nitrogen6s1g_config" | ||
| 76 | UBOOT_CONFIG[nitrogen6s] = "nitrogen6s_config" | ||
| 77 | UBOOT_CONFIG[nitrogen6sx] = "nitrogen6sx_config" | ||
| 78 | UBOOT_CONFIG[nitrogen6_lum_dl1] = "nitrogen6_lum_dl1_config" | ||
| 79 | UBOOT_CONFIG[nitrogen6_max] = "nitrogen6_max_config" | ||
| 80 | UBOOT_CONFIG[nitrogen6_vm1g] = "nitrogen6_vm1g_config" | ||
| 81 | UBOOT_CONFIG[nitrogen6_vm] = "nitrogen6_vm_config" | ||
| 39 | 82 | ||
| 40 | EXTRA_IMAGEDEPENDS += "u-boot-script-boundary" | 83 | EXTRA_IMAGEDEPENDS += "u-boot-script-boundary" |
| 41 | 84 | ||
