Skip to contentSkip to conversation

Initial support for Nitrogen6X

PATCH In review Otavio Salvador 2 participants 14 messages Dec 11, 2012 – Dec 12, 2012

lore
Share & tools
lore
#0 lore raw

v3 cover Initial support for Nitrogen6X

This patchset adds support for Nitrogen6X using the deployment used by Boundary Devices. The generated sdcard should just work in the board.

The patches are untested as I don't own a Nitrogen6X and would be good if someone could test those before we apply them.

Otavio Salvador (3):
u-boot-boundary: Add U-Boot recipe for Boundary Devices version
u-boot-script-boundary: Add recipe to deploy the boot scripts
nitrogen6x: Add machine definition

Changes for v3:

* add patch from Eric to adapt boot script for Yocto
* fix task order to ensure mkimage is ran before deploy

Changes for v2:

* ensure boot scripts are build for rootfs generation
* properly deploy compiled boot script at deploy dir

 conf/machine/nitrogen6x.conf                     |   28 ++++++++++++++++
 recipes-bsp/u-boot/u-boot-boundary_git.bb        |   16 ++++++++++
 recipes-bsp/u-boot/u-boot-script-boundary_git.bb |   37 ++++++++++++++++++++++
 3 files changed, 81 insertions(+)
 create mode 100644 conf/machine/nitrogen6x.conf
 create mode 100644 recipes-bsp/u-boot/u-boot-boundary_git.bb
 create mode 100644 recipes-bsp/u-boot/u-boot-script-boundary_git.bb
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH v3 1/3 u-boot-boundary: Add U-Boot recipe for Boundary Devices version

Change-Id I6503266d8299aeb82e8e295b2167bb1a65ed076b
---
 recipes-bsp/u-boot/u-boot-boundary_git.bb |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 recipes-bsp/u-boot/u-boot-boundary_git.bb
recipes-bsp/u-boot/u-boot-boundary_git.bb new file +16 -0
new file mode 100644
index 0000000..02c8d2b
@@ -0,0 +1,16 @@
+require recipes-bsp/u-boot/u-boot.inc
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
+COMPATIBLE_MACHINE = "(imx6qsabrelite|nitrogen6x)"
+
+PROVIDES = "u-boot"
+
+PV = "v2013.01+git${SRCPV}"
+
+SRCREV = "d6b05d35b8b29392e71fdd8fa43d5cb8bd4fe276"
+SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git"
+
+S = "${WORKDIR}/git"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH v3 2/3 u-boot-script-boundary: Add recipe to deploy the boot scripts

In reply to Otavio Salvador

The recipe deploys the scripts used by Boundary Devices to detect and choose video output, load kernel and etc...

Change-Id Ic4685c60ba1470a1548629e294ea8aa48473cd0e
---
 ...-bootscript-modify-for-use-with-the-Yocto.patch |   34 ++++++++++++++
 recipes-bsp/u-boot/u-boot-script-boundary_git.bb   |   47 ++++++++++++++++++++
 2 files changed, 81 insertions(+)
 create mode 100644 recipes-bsp/u-boot/u-boot-script-boundary/nitrogen6x-bootscript-modify-for-use-with-the-Yocto.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-script-boundary_git.bb
recipes-bsp/u-boot/u-boot-script-boundary/nitrogen6x-bootscript-modify-for-use-with-the-Yocto.patch new file +34 -0
new file mode 100644
index 0000000..d2fbb87
@@ -0,0 +1,34 @@
+From a0739ed017cd097817d227e98848f66c8e5d666e Mon Sep 17 00:00:00 2001
+From: Eric Nelson <[email protected]>
+Date: Tue, 11 Dec 2012 11:59:47 -0700
+Subject: [PATCH] nitrogen6x bootscript: modify for use with the Yocto Project
+
+Change 6x_bootscript to match the partitioning scheme currently in
+use by meta-fsl-arm:
+
+	- Set root filesystem to partition 2 (/dev/mmcblk0p2)
+	- Load kernel from root of partition 1
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Eric Nelson <[email protected]>
+---
+ board/boundary/nitrogen6x/6x_bootscript.txt |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/board/boundary/nitrogen6x/6x_bootscript.txt b/board/boundary/nitrogen6x/6x_bootscript.txt
+index fe75976..1d766ca 100644
+--- a/board/boundary/nitrogen6x/6x_bootscript.txt
++++ b/board/boundary/nitrogen6x/6x_bootscript.txt
+@@ -53,6 +53,6 @@ done
+ 
+ setenv bootargs $bootargs $fbmem
+ 
+-setenv bootargs $bootargs console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p1 rootwait consoleblank=0 ;
+-${fs}load mmc ${disk}:1 10800000 /boot/uImage && bootm 10800000 ; echo "Error loading kernel image"
++setenv bootargs $bootargs console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p2 rootwait consoleblank=0 ;
++${fs}load mmc ${disk}:1 10800000 uImage && bootm 10800000 ; echo "Error loading kernel image"
+ 
+-- 
+1.7.10.4
+
recipes-bsp/u-boot/u-boot-script-boundary_git.bb new file +47 -0

47 lines not on this page · raw message

Signature · 1 line
1.7.10.4
#3 lore raw

PATCH v3 3/3 nitrogen6x: Add machine definition

In reply to Otavio Salvador

This adds the machine definition to Nitrogen6x from Boundary Devices. More information at:

http://boundarydevices.com/products/nitrogen6x-board-imx6-arm-cortex-a9-sbc/

In order to take advance of same code used for imx6qsabrelite (on linux-imx, u-boot, imx-firmaware), we use a MACHINEOVERRIDES trick, so imx6qsabrelite is taken as a fallback for nitrogen6x machine.

To ensure the boot scripts are available at rootfs time, the do_deploy task of u-boot-script-boundary is added as a dependency of do_rootfs.

Change-Id I8bd0b80d2ad8e8741391ec178c10abd75218542e
---
 conf/machine/nitrogen6x.conf |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 conf/machine/nitrogen6x.conf
conf/machine/nitrogen6x.conf new file +30 -0
new file mode 100644
index 0000000..d668eb2
@@ -0,0 +1,30 @@
+#@TYPE: Machine
+#@NAME: Nitrogen6X
+#@DESCRIPTION: Machine configuration for Boundary Devices Nitrogen6X
+
+# We need to override the default before everything
+MACHINEOVERRIDES = "${MACHINE}:imx6qsabrelite"
+
+include conf/machine/include/imx-base.inc
+include conf/machine/include/tune-cortexa9.inc
+
+SOC_FAMILY = "mx6q:mx6"
+
+PREFERRED_PROVIDER_u-boot = "u-boot-boundary"
+
+# Use SPI NOR U-Boot by default
+IMAGE_BOOTLOADER ?= ""
+
+# Ensure boot scripts will be available at rootfs time
+do_rootfs[depends] += "u-boot-script-boundary:do_deploy"
+
+# Boot scripts to install
+BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript"
+
+UBOOT_MACHINE = "nitrogen6X_config"
+
+SERIAL_CONSOLE = "115200 ttymxc1"
+
+MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-wl12xx"
+
+MACHINE_FEATURES += " pci wifi bluetooth"
Signature · 1 line
1.7.10.4
#4 lore raw

Re: [meta-fsl-arm-extra][PATCH v3 3/3] nitrogen6x: Add machine definition

Hi Otavio,

Quoted 9 lines · Otavio Salvador

<snip>

conf/machine/nitrogen6x.conf new file +0 -0
new file mode 100644
index 0000000..d668eb2

conf/machine/nitrogen6x.conf line 17

Quoted 5 lines
conf/machine/nitrogen6x.conf new file +4 -0
@@ -0,0 +1,30 @@
...
+
+# Use SPI NOR U-Boot by default
+IMAGE_BOOTLOADER ?= ""
+

This causes the build to fail in do_rootfs()

	| Number  Start   End     Size    Type     File system  Flags
	|  1      4194kB  12.6MB  8389kB  primary
	|  2      12.6MB  386MB   373MB   primary
	|
	| ERROR: Unkown IMAGE_BOOTLOADER value
	| ERROR: Function failed: do_rootfs (see 

/home/ericn/yocto/build/tmp/work/nitrogen6x-poky-linux-gnueabi/fsl-image-test-1.0-r0/temp/log.do_rootfs.5408 for further information)

Either removing this line or setting it to "u-boot" allows the build to complete.

Regards,

Eric

#5 lore raw

Re: [meta-fsl-arm-extra][PATCH v3 3/3] nitrogen6x: Add machine definition

Quoted 31 lines · Eric Nelson

Hi Otavio,

conf/machine/nitrogen6x.conf

Quoted 12 lines · Otavio Salvador
Quoted 2 lines

<snip>

conf/machine/nitrogen6x.conf new file +0 -0
new file mode 100644
index 0000000..d668eb2
@@ -0,0 +1,30 @@
 
...

+

conf/machine/nitrogen6x.conf line 17

Quoted 4 lines
conf/machine/nitrogen6x.conf new file +3 -0
+# Use SPI NOR U-Boot by default
+IMAGE_BOOTLOADER ?= ""
+

This causes the build to fail in do_rootfs()

        | Number  Start   End     Size    Type     File system  Flags
        |  1      4194kB  12.6MB  8389kB  primary
        |  2      12.6MB  386MB   373MB   primary
        |
        | ERROR: Unkown IMAGE_BOOTLOADER value
        | ERROR: Function failed: do_rootfs (see
Quoted 7 lines

/home/ericn/yocto/build/tmp/**work/nitrogen6x-poky-linux-** gnueabi/fsl-image-test-1.0-r0/**temp/log.do_rootfs.5408 for further information)

Either removing this line or setting it to "u-boot" allows the build to complete.

You forgot to add the patches for meta-fsl-arm ;-)

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#6 lore raw

Re: [meta-fsl-arm-extra][PATCH v3 3/3] nitrogen6x: Add machine definition

Quoted 38 lines · Otavio Salvador
Quoted 35 lines · Eric Nelson

Hi Otavio,

conf/machine/nitrogen6x.conf

Quoted 12 lines · Otavio Salvador
Quoted 2 lines

<snip>

conf/machine/nitrogen6x.conf new file +0 -0
new file mode 100644
index 0000000..d668eb2
@@ -0,0 +1,30 @@
 
...

+

conf/machine/nitrogen6x.conf line 17

Quoted 4 lines
conf/machine/nitrogen6x.conf new file +3 -0
+# Use SPI NOR U-Boot by default
+IMAGE_BOOTLOADER ?= ""
+

This causes the build to fail in do_rootfs()

         | Number  Start   End     Size    Type     File system  Flags
         |  1      4194kB  12.6MB  8389kB  primary
         |  2      12.6MB  386MB   373MB   primary
         |
         | ERROR: Unkown IMAGE_BOOTLOADER value
         | ERROR: Function failed: do_rootfs (see

/home/ericn/yocto/build/tmp/**work/nitrogen6x-poky-linux-** gnueabi/fsl-image-test-1.0-r0/**temp/log.do_rootfs.5408 for further information)

Quoted 6 lines
Quoted 3 lines

Either removing this line or setting it to "u-boot" allows the build to complete.

You forgot to add the patches for meta-fsl-arm ;-)

Thanks Otavio.

That did the trick.

#7 lore raw

Re: [meta-fsl-arm-extra][PATCH v3 3/3] nitrogen6x: Add machine definition

Quoted 49 lines · Eric Nelson
Quoted 47 lines · Otavio Salvador

On Wed, Dec 12, 2012 at 11:28 AM, Eric Nelson < eric.nelson@boundarydevices.**com <[email protected]>> wrote:

Hi Otavio,

Quoted 42 lines · Otavio Salvador
Quoted 4 lines
Quoted 3 lines

<snip>

diff --git a/conf/machine/nitrogen6x.conf b/conf/machine/nitrogen6x.conf

conf/machine/nitrogen6x.conf

Quoted 8 lines

new file mode 100644
index 0000000..d668eb2

conf/machine/nitrogen6x.conf new file +0 -0
@@ -0,0 +1,30 @@
 
...

+

conf/machine/nitrogen6x.conf line 17

Quoted 5 lines
conf/machine/nitrogen6x.conf new file +3 -0
+# Use SPI NOR U-Boot by default
+IMAGE_BOOTLOADER ?= ""
+

This causes the build to fail in do_rootfs()

         | Number  Start   End     Size    Type     File system  Flags
         |  1      4194kB  12.6MB  8389kB  primary
         |  2      12.6MB  386MB   373MB   primary
         |
         | ERROR: Unkown IMAGE_BOOTLOADER value
         | ERROR: Function failed: do_rootfs (see

/home/ericn/yocto/build/tmp/****work/nitrogen6x-poky-linux-** gnueabi/fsl-image-test-1.0-r0/****temp/log.do_rootfs.5408 for further

information)

Either removing this line or setting it to "u-boot" allows the build to complete.

Quoted 7 lines
Quoted 3 lines

You forgot to add the patches for meta-fsl-arm ;-)

Thanks Otavio.

That did the trick.

Can you give it a general test and send us the feedback? Has it worked out of box? I'd like to merge those patches.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#8 lore raw

Re: [meta-fsl-arm-extra][PATCH v3 3/3] nitrogen6x: Add machine definition

Quoted 12 lines · Otavio Salvador
Quoted 10 lines · Eric Nelson
Quoted 10 lines
Quoted 7 lines

information)

Either removing this line or setting it to "u-boot" allows the build to complete.

You forgot to add the patches for meta-fsl-arm ;-)

Quoted 8 lines
Quoted 4 lines

Thanks Otavio.

That did the trick.

Can you give it a general test and send us the feedback? Has it worked out of box? I'd like to merge those patches.

Hi Otavio,

While still puzzled about how the parts fit together here, I can confirm that builds of core-image-minimal and fsl-image-test both produce bootable and very functional SD cards for the Nitrogen6X.

The kernel image provided is detecting the board as a Nitrogen6X:

	root@nitrogen6x:/unit_tests# dmesg | grep Nitrogen
	------------ Board type Nitrogen6X/W

I've tested audio output through the SGTL5000:

	root@nitrogen6x:/unit_tests# gplay audio8k16S.wav
	playbin2 is employed!
	fsl_player_init(): Successfully initialize!
	...

The Wi-Fi adapter is also properly loading firmware:

	root@nitrogen6x:/unit_tests# ifconfig wlan0
	wlan0     Link encap:Ethernet  HWaddr DE:AD:BE:EF:00:00
	          UP BROADCAST MULTICAST  MTU:1500  Metric:1
	          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
	          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
	          collisions:0 txqueuelen:1000
	          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

The bad mac address is expected because the firmware file hasn't been programmed for this device.

The wlan0 device is operating properly as shown by iwlist:

	root@nitrogen6x:/unit_tests# iwlist wlan0 scan | grep SSID
	                    ESSID:"golfcourse"
	                    ESSID:"ADVANCEDMFG"
	                    ESSID:"TealBear"

I think that this proves out the basic functionality of your patch set.

Many thanks!

Eric

#9 lore raw

Re: [meta-fsl-arm-extra][PATCH v3 3/3] nitrogen6x: Add machine definition

Quoted 56 lines · Eric Nelson
Quoted 14 lines · Otavio Salvador
Quoted 11 lines · Eric Nelson
Quoted 11 lines
Quoted 8 lines

information)

Either removing this line or setting it to "u-boot" allows the build to complete.

You forgot to add the patches for meta-fsl-arm ;-)

Quoted 8 lines
Quoted 4 lines

Thanks Otavio.

That did the trick.

Can you give it a general test and send us the feedback? Has it worked out of box? I'd like to merge those patches.

Hi Otavio,

While still puzzled about how the parts fit together here, I can confirm that builds of core-image-minimal and fsl-image-test both produce bootable and very functional SD cards for the Nitrogen6X.

The kernel image provided is detecting the board as a Nitrogen6X:

        root@nitrogen6x:/unit_tests# dmesg | grep Nitrogen
        ------------ Board type Nitrogen6X/W

I've tested audio output through the SGTL5000:

        root@nitrogen6x:/unit_tests# gplay audio8k16S.wav
        playbin2 is employed!
        fsl_player_init(): Successfully initialize!
        ...

The Wi-Fi adapter is also properly loading firmware:

        root@nitrogen6x:/unit_tests# ifconfig wlan0
        wlan0     Link encap:Ethernet  HWaddr DE:AD:BE:EF:00:00
                  UP BROADCAST MULTICAST  MTU:1500  Metric:1
                  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

The bad mac address is expected because the firmware file hasn't been programmed for this device.

The wlan0 device is operating properly as shown by iwlist:

Quoted 8 lines
        root@nitrogen6x:/unit_tests# iwlist wlan0 scan | grep SSID
                            ESSID:"golfcourse"
                            ESSID:"ADVANCEDMFG"
                            ESSID:"TealBear"

I think that this proves out the basic functionality of your patch set.

Many thanks!

Good :-)

I am happy to see everything (basic) is working fine.

Please ask if you're in doubt about any specific thing. I can try to help or give you pointers to look at...

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

Tested-by on v3 3/3
#10 lore raw

Re: [meta-fsl-arm-extra][PATCH v3 3/3] nitrogen6x: Add machine definition

In reply to Otavio Salvador

Hi Otavio,

Quoted 13 lines · Otavio Salvador

This adds the machine definition to Nitrogen6x from Boundary Devices. More information at:

http://boundarydevices.com/products/nitrogen6x-board-imx6-arm-cortex-a9-sbc/

<snip>

conf/machine/nitrogen6x.conf new file +0 -0
new file mode 100644
index 0000000..d668eb2

conf/machine/nitrogen6x.conf

Quoted 6 lines
conf/machine/nitrogen6x.conf new file +3 -0
@@ -0,0 +1,30 @@
 
<snip>
 
+
+# Boot scripts to install
+BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript"

Was the omission of 6x_upgrade intentional?

I tested with the attached patch and got both installed properly on the SD card.

Otherwise:

From d06b03a4a227db6d80c65187c837ccdbe7f71cb8 Mon Sep 17 00:00:00 2001
From: Eric Nelson <[email protected]>
Date: Wed, 12 Dec 2012 09:43:43 -0700
Subject: [PATCH] nitrogen6x: add 6x_upgrade script

---
 conf/machine/nitrogen6x.conf |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/nitrogen6x.conf +1 -1
index d668eb2..f118bba 100644
@@ -19,7 +19,7 @@ IMAGE_BOOTLOADER ?= ""
 do_rootfs[depends] += "u-boot-script-boundary:do_deploy"
 
 # Boot scripts to install
-BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript"
+BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript 6x_upgrade-${MACHINE}:6x_upgrade"
 
 UBOOT_MACHINE = "nitrogen6X_config"
 
Signature · 1 line
1.7.9.5
#11 lore raw

Re: [meta-fsl-arm-extra][PATCH v3 3/3] nitrogen6x: Add machine definition

Quoted 32 lines · Eric Nelson

Hi Otavio,

Quoted 16 lines · Otavio Salvador

This adds the machine definition to Nitrogen6x from Boundary Devices. More information at:

http://boundarydevices.com/**products/nitrogen6x-board-**
imx6-arm-cortex-a9-sbc/<http://boundarydevices.com/products/nitrogen6x-board-imx6-arm-cortex-a9-sbc/>

<snip>

conf/machine/nitrogen6x.conf new file +0 -0
new file mode 100644
index 0000000..d668eb2

conf/machine/nitrogen6x.conf

Quoted 9 lines
conf/machine/nitrogen6x.conf new file +3 -0
@@ -0,0 +1,30 @@
 
 
<snip>
 
 
 
+
+# Boot scripts to install
+BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_**bootscript"

Was the omission of 6x_upgrade intentional?

Quoted 9 lines

I tested with the attached patch and got both installed properly on the SD card.

Otherwise:

Quoted 1 line

Good; I did not include the upgrade script as it won't be used by regular user so we don't confuse them.

I will apply the commits then.

Thanks by testing it.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#12 lore raw
In reply to Otavio Salvador
Quoted 21 lines · Otavio Salvador

This patchset adds support for Nitrogen6X using the deployment used by Boundary Devices. The generated sdcard should just work in the board.

The patches are untested as I don't own a Nitrogen6X and would be good if someone could test those before we apply them.

Otavio Salvador (3):
u-boot-boundary: Add U-Boot recipe for Boundary Devices version
u-boot-script-boundary: Add recipe to deploy the boot scripts
nitrogen6x: Add machine definition

Changes for v3:

* add patch from Eric to adapt boot script for Yocto
* fix task order to ensure mkimage is ran before deploy

Changes for v2:

* ensure boot scripts are build for rootfs generation
* properly deploy compiled boot script at deploy dir

Quoted 9 lines
 conf/machine/nitrogen6x.conf                     |   28 ++++++++++++++++
 recipes-bsp/u-boot/u-boot-boundary_git.bb        |   16 ++++++++++
 recipes-bsp/u-boot/u-boot-script-boundary_git.bb |   37
++++++++++++++++++++++
 3 files changed, 81 insertions(+)
 create mode 100644 conf/machine/nitrogen6x.conf
 create mode 100644 recipes-bsp/u-boot/u-boot-boundary_git.bb
 create mode 100644 recipes-bsp/u-boot/u-boot-script-boundary_git.bb

I think it should work out of box now. Please people give it a try :-)

You should reapply all meta-fsl-arm-extra patches for those included in v3 otherwise things may break.

Regards,

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
author Applied
#13 lore raw
Quoted 37 lines · Otavio Salvador
Quoted 22 lines · Otavio Salvador

This patchset adds support for Nitrogen6X using the deployment used by Boundary Devices. The generated sdcard should just work in the board.

The patches are untested as I don't own a Nitrogen6X and would be good if someone could test those before we apply them.

Otavio Salvador (3):
u-boot-boundary: Add U-Boot recipe for Boundary Devices version
u-boot-script-boundary: Add recipe to deploy the boot scripts
nitrogen6x: Add machine definition

Changes for v3:

* add patch from Eric to adapt boot script for Yocto
* fix task order to ensure mkimage is ran before deploy

Changes for v2:

* ensure boot scripts are build for rootfs generation
* properly deploy compiled boot script at deploy dir

Quoted 8 lines
 conf/machine/nitrogen6x.conf                     |   28 ++++++++++++++++
 recipes-bsp/u-boot/u-boot-boundary_git.bb        |   16 ++++++++++
 recipes-bsp/u-boot/u-boot-script-boundary_git.bb |   37
++++++++++++++++++++++
 3 files changed, 81 insertions(+)
 create mode 100644 conf/machine/nitrogen6x.conf
 create mode 100644 recipes-bsp/u-boot/u-boot-boundary_git.bb
 create mode 100644 recipes-bsp/u-boot/u-boot-script-boundary_git.bb
Quoted 6 lines

I think it should work out of box now. Please people give it a try :-)

You should reapply all meta-fsl-arm-extra patches for those included in v3 otherwise things may break.

Regards,

Merged to master.

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br