mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH v2 0/3] Freescale/NXP i.MX mfgtools 3.0
Date: Fri, 27 Mar 2020 13:41:52 +0100	[thread overview]
Message-ID: <20200327124152.GC5618@pengutronix.de> (raw)
In-Reply-To: <20200326170225.9586-1-Denis.Osterland@diehl.com>

On Thu, Mar 26, 2020 at 05:03:57PM +0000, Denis Osterland-Heim wrote:
> v1->v2:
>  - 1/3 use tabs for defines, suggested by Roland Hiebler
>  - 1/3 add dummy version before git hash, suggested by Michael Olbricht,
>        Roland Hiebler and Guillermo Rodriguez Garcia
>  - 1/3 remove obsolete CREDITS reference, suggested by Roland Hiebler
>  - 3/3 version bump to 1.3.154
>  - 3/3 write .tarball-version in extract.post, suggested by Michael Olbricht
> 
> 
> This patch series adds support for the Freescale/NXP mfgtools 3.0.
> You can use them with vanilla kernel and barebox.
> 
> There are two known issues:
>  - the git downloads => no stable md5 sum

Huh? I've not seen any changing md5 sums for such gitlab URLs.
And the previous explicit git downloads used git-archive. The  md5 sums
should be stable as well for such URLs.

Michael

>  - the linuxrc provided by imx-uuc uses array syntax
> 
> I have a version of the linuxrc script where I replaced the array
> stuff with blank separation, but not sure if this should be put as
> projectroot/linuxrc in ptxdist.
> 
> Here are some examples how to use it. I have tested it with a i.MX6ull EVK
> barebox-2020.02.0 and linux-5.4.25.
> 
> The command `uuu barebox-image` is equivalent to `imx-usb-loader barebox-image`.
> 
> The example
> https://www.barebox.org/doc/latest/user/usb.html#android-fastboot-support
> can be done with a `uuu boot.uu` command.
> boot.uu:
> ```
> uuu_version 1.0.1
> CFG: FB: -chip imx<variant> -pid 0x0104 -vid 0x1d6b
> FB: flash kernel linuximage
> FB: flash devicetree imx<your-board>.dtb
> FB: flash initrd root.cpio.gz
> FB: oem exec global linux.bootargs.fa=rdinit=/sbin/init
> FB: oem exec bootm
> FB: done
> ```
> 
> To run a shell command a kernel with USB gadgets/functionfs enabled
> and imx-uuc install on target is needed.
> This is an example of whole USB boot sequence and a command
> executed in linux user space.
> To see the output of the echo, the command is `uuu -v hello.uu`
> hello.uu:
> ```
> uuu_version 1.0.1
> SDP: dcd -f barebox-image
> SDP: write -f barebox-image -ivt 0
> SDP: jump -f barebox-image
> CFG: FB: -chip imx<variant> -pid 0x0104 -vid 0x1d6b
> FB: flash kernel linuximage
> FB: flash devicetree imx<your-board>.dtb
> FB: flash initrd root.cpio.gz
> FB: oem exec global linux.bootargs.fa=rdinit=/linuxrc
> FB: oem exec bootm
> FBK: ucmd echo "Hello World"
> FBK: done
> ```
> 
>  .../0001-sh-does-not-support-array-syntax.patch    | 117 +++++++++++++++++++++
>  .../series                                         |   4 +
>  rules/host-libzip.in                               |   8 ++
>  rules/host-libzip.make                             |  11 ++
>  rules/host-mfgtools.in                             |  13 +++
>  rules/host-mfgtools.make                           |  41 ++++++++
>  rules/imx-uuc.in                                   |   7 ++
>  rules/imx-uuc.make                                 |  60 +++++++++++
>  8 files changed, 261 insertions(+)
> 
> 
> 
> 
> Diehl Connectivity Solutions GmbH
> Geschäftsführung: Horst Leonberger
> Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
> Nürnberg: HRB 32315
> ___________________________________________________________________________________________________
> 
> Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
> Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht.
> Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
> - Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten Sie unter https://www.diehl.com/group/de/transparenz-und-informationspflichten/
> 
> The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by
> mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited. 
> - For general information on data protection and your respective rights please visit https://www.diehl.com/group/en/transparency-and-information-obligations/
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2020-03-27 12:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-26 17:03 Denis Osterland-Heim
2020-03-26 17:03 ` [ptxdist] [PATCH v2 1/3] imx-uuc: new package Denis Osterland-Heim
2020-03-27 12:06   ` Michael Olbrich
2020-03-27 13:07     ` Denis Osterland-Heim
2020-03-31  5:29     ` [ptxdist] [PATCH v2] fixup! " Denis Osterland-Heim
2020-04-01 15:08       ` Michael Olbrich
2020-04-02  6:28         ` Denis Osterland-Heim
2020-04-02  6:39           ` Michael Olbrich
2020-04-02 15:03   ` [ptxdist] [v2] " Michael Olbrich
2020-04-03  5:58   ` [ptxdist] [APPLIED] [v2,1/3] " Michael Olbrich
2020-03-26 17:03 ` [ptxdist] [PATCH v2 3/3] host-mfgtools: " Denis Osterland-Heim
2020-04-02 15:03   ` [ptxdist] [v2,3/3] " Michael Olbrich
2020-03-26 17:03 ` [ptxdist] [PATCH v2 2/3] host-libzip: " Denis Osterland-Heim
2020-04-03  5:58   ` [ptxdist] [APPLIED] [v2,2/3] " Michael Olbrich
2020-03-27 12:41 ` Michael Olbrich [this message]
2020-03-27 13:01   ` [ptxdist] [PATCH v2 0/3] Freescale/NXP i.MX mfgtools 3.0 Denis Osterland-Heim
2020-03-27 13:16   ` Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200327124152.GC5618@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox