mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/5] images: clean *.imx-sram-img files
@ 2017-05-15 17:14 Stefan Lengfeld
  2017-05-15 17:14 ` [PATCH 2/5] imx-usb-loader: add prefix '0x' for hex value Stefan Lengfeld
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Stefan Lengfeld @ 2017-05-15 17:14 UTC (permalink / raw)
  To: barebox

The command

    make ARCH=arm clean

should also clean the *.imx-sram-img files.

Signed-off-by: Stefan Lengfeld <contact@stefanchrist.eu>
---
 images/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/images/Makefile b/images/Makefile
index adf950a..c5024f1 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -145,5 +145,5 @@ $(flash-list): $(image-y-path)
 clean-files := *.pbl *.pblb *.pblx *.map start_*.imximg *.img barebox.z start_*.kwbimg \
 	start_*.kwbuartimg *.socfpgaimg *.mlo *.t20img *.t20img.cfg *.t30img \
 	*.t30img.cfg *.t124img *.t124img.cfg *.mlospi *.mlo *.mxsbs *.mxssd \
-	start_*.simximg start_*.usimximg
+	start_*.simximg start_*.usimximg *.imx-sram-img
 clean-files += pbl.lds
-- 
2.7.4


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

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

* [PATCH 2/5] imx-usb-loader: add prefix '0x' for hex value
  2017-05-15 17:14 [PATCH 1/5] images: clean *.imx-sram-img files Stefan Lengfeld
@ 2017-05-15 17:14 ` Stefan Lengfeld
  2017-05-15 17:14 ` [PATCH 3/5] docs: fix hiding of chapter from imx.rst Stefan Lengfeld
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Stefan Lengfeld @ 2017-05-15 17:14 UTC (permalink / raw)
  To: barebox

Signed-off-by: Stefan Lengfeld <contact@stefanchrist.eu>
---
 scripts/imx/imx-usb-loader.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/imx/imx-usb-loader.c b/scripts/imx/imx-usb-loader.c
index 90ee3e0..1119e61 100644
--- a/scripts/imx/imx-usb-loader.c
+++ b/scripts/imx/imx-usb-loader.c
@@ -1404,7 +1404,7 @@ static int do_irom_download(struct usb_work *curr, int verify)
 		}
 	}
 
-	printf("loading binary file(%s) to %08x, skip=0x%x, fsize=%u type=%d...\n",
+	printf("loading binary file(%s) to 0x%08x, skip=0x%x, fsize=%u type=%d...\n",
 			curr->filename, dladdr, skip, fsize, type);
 
 	ret = load_file(image, fsize, dladdr, type);
-- 
2.7.4


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

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

* [PATCH 3/5] docs: fix hiding of chapter from imx.rst
  2017-05-15 17:14 [PATCH 1/5] images: clean *.imx-sram-img files Stefan Lengfeld
  2017-05-15 17:14 ` [PATCH 2/5] imx-usb-loader: add prefix '0x' for hex value Stefan Lengfeld
@ 2017-05-15 17:14 ` Stefan Lengfeld
  2017-05-15 17:14 ` [PATCH 4/5] docs: add file suffix rst for inclusion in sphinx documentation Stefan Lengfeld
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Stefan Lengfeld @ 2017-05-15 17:14 UTC (permalink / raw)
  To: barebox

The files 'mxs.rst' and 'imx.rst' used the same chapter headline:

    Freescale i.MXs

This confuses sphinx. It does not support having the same headline at
the same level twice and hides the other chapter. Just rename the
chapter heading to avoid that.

And rename the subchapter headline to 'MXS boards' for clarity.

Signed-off-by: Stefan Lengfeld <contact@stefanchrist.eu>
---
 Documentation/boards/mxs.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/boards/mxs.rst b/Documentation/boards/mxs.rst
index ad10b87..82f2321 100644
--- a/Documentation/boards/mxs.rst
+++ b/Documentation/boards/mxs.rst
@@ -1,5 +1,5 @@
-Freescale i.MXs
-===============
+Freescale MXS
+=============
 
 Freescale i.MXs or MXS are a SoC family which consists of the i.MX23
 and the i.MX28. These are quite different from the regular i.MX SoCs
@@ -118,8 +118,8 @@ Booting second stage
 The second stage images can be started with the barebox :ref:`command_bootm` command or
 just jumped into using the :ref:`command_go` command.
 
-i.MXs boards
-------------
+MXS boards
+----------
 
 Not all supported boards have a description here.
 
-- 
2.7.4


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

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

* [PATCH 4/5] docs: add file suffix rst for inclusion in sphinx documentation
  2017-05-15 17:14 [PATCH 1/5] images: clean *.imx-sram-img files Stefan Lengfeld
  2017-05-15 17:14 ` [PATCH 2/5] imx-usb-loader: add prefix '0x' for hex value Stefan Lengfeld
  2017-05-15 17:14 ` [PATCH 3/5] docs: fix hiding of chapter from imx.rst Stefan Lengfeld
@ 2017-05-15 17:14 ` Stefan Lengfeld
  2017-05-15 17:14 ` [PATCH 5/5] docs: render DIP switches as verbatim text Stefan Lengfeld
  2017-05-17  6:52 ` [PATCH 1/5] images: clean *.imx-sram-img files Sascha Hauer
  4 siblings, 0 replies; 6+ messages in thread
From: Stefan Lengfeld @ 2017-05-15 17:14 UTC (permalink / raw)
  To: barebox

Signed-off-by: Stefan Lengfeld <contact@stefanchrist.eu>
---
 Documentation/boards/imx/{Karo-TX6 => Karo-TX6.rst} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename Documentation/boards/imx/{Karo-TX6 => Karo-TX6.rst} (100%)

diff --git a/Documentation/boards/imx/Karo-TX6 b/Documentation/boards/imx/Karo-TX6.rst
similarity index 100%
rename from Documentation/boards/imx/Karo-TX6
rename to Documentation/boards/imx/Karo-TX6.rst
-- 
2.7.4


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

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

* [PATCH 5/5] docs: render DIP switches as verbatim text
  2017-05-15 17:14 [PATCH 1/5] images: clean *.imx-sram-img files Stefan Lengfeld
                   ` (2 preceding siblings ...)
  2017-05-15 17:14 ` [PATCH 4/5] docs: add file suffix rst for inclusion in sphinx documentation Stefan Lengfeld
@ 2017-05-15 17:14 ` Stefan Lengfeld
  2017-05-17  6:52 ` [PATCH 1/5] images: clean *.imx-sram-img files Sascha Hauer
  4 siblings, 0 replies; 6+ messages in thread
From: Stefan Lengfeld @ 2017-05-15 17:14 UTC (permalink / raw)
  To: barebox

Render images of DIP switches as <pre> html tags/verbatim text. This
fixes the sphinx errors:

    Documentation/boards/imx/Element14-WaRP7.rst:25: ERROR: Malformed table.
    Documentation/boards/imx/Element14-WaRP7.rst:36: ERROR: Malformed table.
    Documentation/boards/imx/Element14-WaRP7.rst:47: ERROR: Malformed table.

Signed-off-by: Stefan Lengfeld <contact@stefanchrist.eu>
---
 Documentation/boards/imx/Element14-WaRP7.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/boards/imx/Element14-WaRP7.rst b/Documentation/boards/imx/Element14-WaRP7.rst
index d4e5e79..df14f84 100644
--- a/Documentation/boards/imx/Element14-WaRP7.rst
+++ b/Documentation/boards/imx/Element14-WaRP7.rst
@@ -20,7 +20,7 @@ vendor modified u-boot imximage.
 Barebox can be used as a drop-in replacement for the shipped bootloader.
 
 The WaRP7 IO Board has a double DIP switch where switch number two defines the
-boot source of the i.MX7 SoC:
+boot source of the i.MX7 SoC::
 
   +-----+
   |     |
@@ -31,7 +31,7 @@ boot source of the i.MX7 SoC:
   | 1 2 |
   +-----+
 
-Bootsource is the internal eMMC:
+Bootsource is the internal eMMC::
 
   +-----+
   |     |
@@ -42,7 +42,7 @@ Bootsource is the internal eMMC:
   | 1 2 |
   +-----+
 
-Bootsource is the USB:
+Bootsource is the USB::
 
   +-----+
   |     |
-- 
2.7.4


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

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

* Re: [PATCH 1/5] images: clean *.imx-sram-img files
  2017-05-15 17:14 [PATCH 1/5] images: clean *.imx-sram-img files Stefan Lengfeld
                   ` (3 preceding siblings ...)
  2017-05-15 17:14 ` [PATCH 5/5] docs: render DIP switches as verbatim text Stefan Lengfeld
@ 2017-05-17  6:52 ` Sascha Hauer
  4 siblings, 0 replies; 6+ messages in thread
From: Sascha Hauer @ 2017-05-17  6:52 UTC (permalink / raw)
  To: Stefan Lengfeld; +Cc: barebox

Hi Stefan,

On Mon, May 15, 2017 at 07:14:18PM +0200, Stefan Lengfeld wrote:
> The command
> 
>     make ARCH=arm clean
> 
> should also clean the *.imx-sram-img files.
> 
> Signed-off-by: Stefan Lengfeld <contact@stefanchrist.eu>
> ---
>  images/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Nice fixes, thanks. Applied all.

Sascha

> 
> diff --git a/images/Makefile b/images/Makefile
> index adf950a..c5024f1 100644
> --- a/images/Makefile
> +++ b/images/Makefile
> @@ -145,5 +145,5 @@ $(flash-list): $(image-y-path)
>  clean-files := *.pbl *.pblb *.pblx *.map start_*.imximg *.img barebox.z start_*.kwbimg \
>  	start_*.kwbuartimg *.socfpgaimg *.mlo *.t20img *.t20img.cfg *.t30img \
>  	*.t30img.cfg *.t124img *.t124img.cfg *.mlospi *.mlo *.mxsbs *.mxssd \
> -	start_*.simximg start_*.usimximg
> +	start_*.simximg start_*.usimximg *.imx-sram-img
>  clean-files += pbl.lds
> -- 
> 2.7.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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] 6+ messages in thread

end of thread, other threads:[~2017-05-17  6:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-15 17:14 [PATCH 1/5] images: clean *.imx-sram-img files Stefan Lengfeld
2017-05-15 17:14 ` [PATCH 2/5] imx-usb-loader: add prefix '0x' for hex value Stefan Lengfeld
2017-05-15 17:14 ` [PATCH 3/5] docs: fix hiding of chapter from imx.rst Stefan Lengfeld
2017-05-15 17:14 ` [PATCH 4/5] docs: add file suffix rst for inclusion in sphinx documentation Stefan Lengfeld
2017-05-15 17:14 ` [PATCH 5/5] docs: render DIP switches as verbatim text Stefan Lengfeld
2017-05-17  6:52 ` [PATCH 1/5] images: clean *.imx-sram-img files Sascha Hauer

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