mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Embedsky E9 changes
@ 2015-11-04 22:16 Anton Bondarenko
  2015-11-04 22:16 ` [PATCH v2 1/2] embedsky-e9: enable barebox_update command for booter update Anton Bondarenko
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Anton Bondarenko @ 2015-11-04 22:16 UTC (permalink / raw)
  To: barebox, s.hauer

Compared to V1:
* Removed defconfig as suggested since imx_v7_defconfig is used.
* Removed DTS cleanup patch since it's applied, and no changes in it.
* Reworked barebox_update command to use IMX6 specific handler for MMC/SD.
* Renamed image to follow generic naming pattern for IMX boards.

Anton Bondarenko (2):
  embedsky-e9: enable barebox_update command for booter update
  images: Embedsky E9: use image name like the rest of boards

 arch/arm/boards/embedsky-e9/board.c | 8 ++++++++
 images/Makefile.imx                 | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

-- 
2.6.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2 1/2] embedsky-e9: enable barebox_update command for booter update
  2015-11-04 22:16 [PATCH v2 0/2] Embedsky E9 changes Anton Bondarenko
@ 2015-11-04 22:16 ` Anton Bondarenko
  2015-11-04 22:16 ` [PATCH v2 2/2] images: Embedsky E9: use image name like the rest of boards Anton Bondarenko
  2015-11-05  8:05 ` [PATCH v2 0/2] Embedsky E9 changes Sascha Hauer
  2 siblings, 0 replies; 4+ messages in thread
From: Anton Bondarenko @ 2015-11-04 22:16 UTC (permalink / raw)
  To: barebox, s.hauer

Simplify booter update with barebox_update command using special
IMX6 MMC BBU handler.

Signed-off-by: Anton Bondarenko <anton.bondarenko.sama@gmail.com>
---
 arch/arm/boards/embedsky-e9/board.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boards/embedsky-e9/board.c b/arch/arm/boards/embedsky-e9/board.c
index e8aac0c..23bfec1 100644
--- a/arch/arm/boards/embedsky-e9/board.c
+++ b/arch/arm/boards/embedsky-e9/board.c
@@ -41,6 +41,8 @@
 #include <mach/usb.h>
 #include <envfs.h>
 #include <bootsource.h>
+#include <bbu.h>
+#include <mach/bbu.h>
 
 #define PHY_ID_RTL8211E	0x001cc915
 #define PHY_ID_MASK	0xffffffff
@@ -81,6 +83,12 @@ static int e9_devices_init(void)
 
 	defaultenv_append_directory(defaultenv_e9);
 
+	imx6_bbu_internal_mmc_register_handler("sd", "/dev/mmc1",
+		BBU_HANDLER_FLAG_DEFAULT);
+
+	imx6_bbu_internal_mmc_register_handler("emmc", "/dev/mmc3",
+		BBU_HANDLER_FLAG_DEFAULT);
+
 	return 0;
 }
 device_initcall(e9_devices_init);
-- 
2.6.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2 2/2] images: Embedsky E9: use image name like the rest of boards
  2015-11-04 22:16 [PATCH v2 0/2] Embedsky E9 changes Anton Bondarenko
  2015-11-04 22:16 ` [PATCH v2 1/2] embedsky-e9: enable barebox_update command for booter update Anton Bondarenko
@ 2015-11-04 22:16 ` Anton Bondarenko
  2015-11-05  8:05 ` [PATCH v2 0/2] Embedsky E9 changes Sascha Hauer
  2 siblings, 0 replies; 4+ messages in thread
From: Anton Bondarenko @ 2015-11-04 22:16 UTC (permalink / raw)
  To: barebox, s.hauer

Use name similar to other boards thus remove freescale from image
name since this is not a Freescale board, move SoC type after
company name.

So image name changed from barebox-freescale-imx6q-embedsky-e9.img to
barebox-embedsky-imx6q-e9.img

Signed-off-by: Anton Bondarenko <anton.bondarenko.sama@gmail.com>
---
 images/Makefile.imx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/images/Makefile.imx b/images/Makefile.imx
index c33b153..f576ee7 100644
--- a/images/Makefile.imx
+++ b/images/Makefile.imx
@@ -254,8 +254,8 @@ image-$(CONFIG_MACH_VARISCITE_MX6) += barebox-variscite-custom.img
 
 pblx-$(CONFIG_MACH_EMBEDSKY_E9) += start_imx6q_embedsky_e9
 CFG_start_imx6q_embedsky_e9.pblx.imximg = $(board)/embedsky-e9/flash-header-e9.imxcfg
-FILE_barebox-freescale-imx6q-embedsky-e9.img = start_imx6q_embedsky_e9.pblx.imximg
-image-$(CONFIG_MACH_EMBEDSKY_E9) += barebox-freescale-imx6q-embedsky-e9.img
+FILE_barebox-embedsky-imx6q-e9.img = start_imx6q_embedsky_e9.pblx.imximg
+image-$(CONFIG_MACH_EMBEDSKY_E9) += barebox-embedsky-imx6q-e9.img
 
 pblx-$(CONFIG_MACH_EMBEST_RIOTBOARD) += start_imx6s_riotboard
 CFG_start_imx6s_riotboard.pblx.imximg = $(board)/embest-riotboard/flash-header-embest-riotboard.imxcfg
-- 
2.6.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 0/2] Embedsky E9 changes
  2015-11-04 22:16 [PATCH v2 0/2] Embedsky E9 changes Anton Bondarenko
  2015-11-04 22:16 ` [PATCH v2 1/2] embedsky-e9: enable barebox_update command for booter update Anton Bondarenko
  2015-11-04 22:16 ` [PATCH v2 2/2] images: Embedsky E9: use image name like the rest of boards Anton Bondarenko
@ 2015-11-05  8:05 ` Sascha Hauer
  2 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2015-11-05  8:05 UTC (permalink / raw)
  To: Anton Bondarenko; +Cc: barebox

On Wed, Nov 04, 2015 at 11:16:31PM +0100, Anton Bondarenko wrote:
> Compared to V1:
> * Removed defconfig as suggested since imx_v7_defconfig is used.
> * Removed DTS cleanup patch since it's applied, and no changes in it.
> * Reworked barebox_update command to use IMX6 specific handler for MMC/SD.
> * Renamed image to follow generic naming pattern for IMX boards.
> 
> Anton Bondarenko (2):
>   embedsky-e9: enable barebox_update command for booter update
>   images: Embedsky E9: use image name like the rest of boards

Applied, thanks

Sascha

> 
>  arch/arm/boards/embedsky-e9/board.c | 8 ++++++++
>  images/Makefile.imx                 | 4 ++--
>  2 files changed, 10 insertions(+), 2 deletions(-)
> 
> -- 
> 2.6.2
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-05  8:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-04 22:16 [PATCH v2 0/2] Embedsky E9 changes Anton Bondarenko
2015-11-04 22:16 ` [PATCH v2 1/2] embedsky-e9: enable barebox_update command for booter update Anton Bondarenko
2015-11-04 22:16 ` [PATCH v2 2/2] images: Embedsky E9: use image name like the rest of boards Anton Bondarenko
2015-11-05  8:05 ` [PATCH v2 0/2] Embedsky E9 changes Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox