From 7f7b720a305344ab8a83304392e3456b07b28439 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Mon, 11 Jan 2016 10:31:34 +0200 Subject: 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 --- conf/distro/include/nitrogen6x.conf | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) 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 = "\ u-boot-${MACHINE}.imx:u-boot.imx \ " BOOTFS_DEPENDS = "u-boot:do_deploy virtual/kernel:do_deploy u-boot-script-boundary:do_deploy" +BOOT_SPACE = "16384" +BOOT_SCRIPTS += "6x_upgrade-${MACHINE}:6x_upgrade \ + u-boot-nit6xlite-*.imx:u-boot.nit6xlite \ + u-boot-nit6xlite1g-*.imx:u-boot.nit6xlite1g \ + u-boot-nitrogen6dl-*.imx:u-boot.nitrogen6dl \ + u-boot-nitrogen6dl2g-*.imx:u-boot.nitrogen6dl2g \ + u-boot-nitrogen6q2g-*.imx:u-boot.nitrogen6q2g \ + u-boot-nitrogen6q-*.imx:u-boot.nitrogen6q \ + u-boot-nitrogen6q_fl-*.imx:u-boot.nitrogen6q_fl \ + u-boot-nitrogen6qp_max-*.imx:u-boot.nitrogen6qp_max \ + u-boot-nitrogen6s1g-*.imx:u-boot.nitrogen6s1g \ + u-boot-nitrogen6s-*.imx:u-boot.nitrogen6s \ + u-boot-nitrogen6sx-*.imx:u-boot.nitrogen6sx \ + u-boot-nitrogen6_lum_dl1-*.imx:u-boot.nitrogen6_lum_dl1 \ + u-boot-nitrogen6_max-*.imx:u-boot.nitrogen6_max \ + u-boot-nitrogen6_vm1g-*.imx:u-boot.nitrogen6_vm1g \ + u-boot-nitrogen6_vm-*.imx:u-boot.nitrogen6_vm \ + " + +UBOOT_MACHINE = "" +UBOOT_CONFIG ??= "nit6xlite nit6xlite1g \ + nitrogen6dl nitrogen6dl2g \ + nitrogen6q2g nitrogen6q nitrogen6q_fl nitrogen6qp_max \ + nitrogen6s1g nitrogen6s nitrogen6sx \ + nitrogen6_lum_dl1 nitrogen6_max \ + nitrogen6_vm1g nitrogen6_vm \ + " + +UBOOT_CONFIG[nit6xlite] = "nit6xlite_config" +UBOOT_CONFIG[nit6xlite1g] = "nit6xlite1g_config" +UBOOT_CONFIG[nitrogen6dl] = "nitrogen6dl_config" +UBOOT_CONFIG[nitrogen6dl2g] = "nitrogen6dl2g_config" +UBOOT_CONFIG[nitrogen6q2g] = "nitrogen6q2g_config" +UBOOT_CONFIG[nitrogen6q] = "nitrogen6q_config" +UBOOT_CONFIG[nitrogen6q_fl] = "nitrogen6q_fl_config" +UBOOT_CONFIG[nitrogen6qp_max] = "nitrogen6qp_max_config" +UBOOT_CONFIG[nitrogen6s1g] = "nitrogen6s1g_config" +UBOOT_CONFIG[nitrogen6s] = "nitrogen6s_config" +UBOOT_CONFIG[nitrogen6sx] = "nitrogen6sx_config" +UBOOT_CONFIG[nitrogen6_lum_dl1] = "nitrogen6_lum_dl1_config" +UBOOT_CONFIG[nitrogen6_max] = "nitrogen6_max_config" +UBOOT_CONFIG[nitrogen6_vm1g] = "nitrogen6_vm1g_config" +UBOOT_CONFIG[nitrogen6_vm] = "nitrogen6_vm_config" EXTRA_IMAGEDEPENDS += "u-boot-script-boundary" -- cgit v1.2.3-54-g00ecf