* [ptxdist] [PATCH v2 1/3] imx-uuc: new package
2020-03-26 17:03 [ptxdist] [PATCH v2 0/3] Freescale/NXP i.MX mfgtools 3.0 Denis Osterland-Heim
@ 2020-03-26 17:03 ` Denis Osterland-Heim
2020-03-27 12:06 ` Michael Olbrich
` (2 more replies)
2020-03-26 17:03 ` [ptxdist] [PATCH v2 3/3] host-mfgtools: " Denis Osterland-Heim
` (2 subsequent siblings)
3 siblings, 3 replies; 17+ messages in thread
From: Denis Osterland-Heim @ 2020-03-26 17:03 UTC (permalink / raw)
To: ptxdist
NXP user space util used by mfgtool.
Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
---
...001-sh-does-not-support-array-syntax.patch | 117 ++++++++++++++++++
.../series | 4 +
rules/imx-uuc.in | 7 ++
rules/imx-uuc.make | 60 +++++++++
4 files changed, 188 insertions(+)
create mode 100644 patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
create mode 100644 patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
create mode 100644 rules/imx-uuc.in
create mode 100644 rules/imx-uuc.make
diff --git a/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch b/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
new file mode 100644
index 000000000..995baea19
--- /dev/null
+++ b/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
@@ -0,0 +1,117 @@
+From: Denis Osterland-Heim <Denis.Osterland@diehl.com>
+Date: Thu, 12 Mar 2020 17:36:22 +0100
+Subject: [PATCH] sh does not support array syntax
+
+Remove NFS support, because it uses additional arrays and it is not
+tested.
+
+Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
+---
+ linuxrc | 72 ++++++-----------------------------------------------------------
+ 1 file changed, 6 insertions(+), 66 deletions(-)
+
+diff --git a/linuxrc b/linuxrc
+index 54bb8a2cbbd8..1f15e3cbdff3 100755
+--- a/linuxrc
++++ b/linuxrc
+@@ -16,20 +16,8 @@ last=0;
+
+ UDC_DIR=/sys/class/udc
+
+-function launch_dhcpd() {
+-
+- touch -f /var/lib/misc/udhcpd.leases
+- echo start 168.1.1.50 > /conf
+- echo end 168.1.1.253 >> /conf
+- echo interface usb$1 >>/conf
+-
+- ifconfig usb$1 168.1.1.1
+- udhcpd /conf
+-
+-}
+-
+ function contains() {
+- for i in "${files[@]}"
++ for i in $files
+ do
+ if [ "$i" == "$1" ]; then
+ return 1;
+@@ -45,7 +33,8 @@ function launch_uuc() {
+ echo 0x066F > idVendor
+
+ if [[ ${cmdline} == *nfsroot* ]]; then
+- echo 0x9CFF > idProduct
++ echo "unsupported"
++ exit 1
+ else
+ echo 0x9BFF > idProduct
+ fi
+@@ -69,57 +58,8 @@ function launch_uuc() {
+ echo 0x40 > os_desc/b_vendor_code
+
+ if [[ ${cmdline} == *nfsroot* ]]; then
+- mkdir functions/ncm.1
+- ln -s functions/ncm.1 configs/c.1/
+-# mkdir functions/acm.1
+-# ln -s functions/acm.1 configs/c.1/
+- echo $1 > UDC
+-
+- echo "Start config network"
+-
+- ifconfig usb$2 up
+- while [ ! -e /find_one ]
+- do
+- if [[ `ifconfig usb$2` == *inet6* ]]; then
+- break;
+- fi
+- sleep 1
+- done
+-
+- if [ -e /find_one ]; then
+- exit 0
+- fi
+-
+- touch /find_one
+-
+- launch_dhcpd $2
+-
+- remote=""
+- while [[ "$remote" == "" ]];
+- do
+- sleep 2
+- echo retry get remote ipaddress
+- ping6 -c2 -I usb$2 ff02::1
+-
+- remote=`ip -6 neighbor show dev usb$2`
+- remote=(${remote})
+- remote=${remote[0]}
+- done
+-
+- nfs=${cmdline#*nfsroot=}
+- nfs=($nfs)
+- nfs=${nfs[0]}
+-
+- nfs=${nfs##*:}
+-
+- echo ${remote} ${nfs}
+-
+- mount -t nfs [${remote}%usb$2]:${nfsroot}/${nfs} /mnt/
+-
+- cd /
+-
+- touch /exit_scan
+-
++ echo "unsuppored"
++ exit 1
+ else
+ mkdir functions/ffs.utp$2
+ mkdir /dev/usb-utp$2
+@@ -161,7 +101,7 @@ if test "$(ls -A "$UDC_DIR")"; then
+ for entry in *
+ do
+ if contains $entry; then
+- files[$last]=$entry;
++ files="$files $entry";
+ id=$last;
+ last=`expr $last + 1`;
+ echo "Found New UDC: $entry";
diff --git a/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series b/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
new file mode 100644
index 000000000..125c531a3
--- /dev/null
+++ b/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-sh-does-not-support-array-syntax.patch
+# a982c4666a0474a014b361496182bd8c - git-ptx-patches magic
diff --git a/rules/imx-uuc.in b/rules/imx-uuc.in
new file mode 100644
index 000000000..ec0cbcd3a
--- /dev/null
+++ b/rules/imx-uuc.in
@@ -0,0 +1,7 @@
+## SECTION=communication
+
+config IMX_UUC
+ tristate
+ prompt "imx-uuc"
+ help
+ A Daemon wait for Freescale/NXP mfgtools host's command.
diff --git a/rules/imx-uuc.make b/rules/imx-uuc.make
new file mode 100644
index 000000000..c708f1be2
--- /dev/null
+++ b/rules/imx-uuc.make
@@ -0,0 +1,60 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016-2020 by Denis Osterland <Denis.Osterland@diehl.com>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+PACKAGES-$(PTXCONF_IMX_UUC) += imx-uuc
+
+#
+# Paths and names
+#
+IMX_UUC_VERSION := 2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc
+IMX_UUC_MD5 := 1a807ab59464385309b92794b43b5caa
+IMX_UUC := imx-uuc-$(IMX_UUC_VERSION)
+IMX_UUC_SUFFIX := tar.gz
+IMX_UUC_URL := https://github.com/NXPmicro/imx-uuc/archive/$(IMX_UUC).$(IMX_UUC_SUFFIX)
+IMX_UUC_SOURCE := $(SRCDIR)/$(IMX_UUC).$(IMX_UUC_SUFFIX)
+IMX_UUC_DIR := $(BUILDDIR)/$(IMX_UUC)
+IMX_UUC_LICENSE := GPL-2.0-or-later
+IMX_UUC_LICENSE_FILES := \
+ file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+IMX_UUC_CONF_TOOL := NO
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+IMX_UUC_MAKE_ENV := $(CROSS_ENV)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/imx-uuc.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, imx-uuc)
+ @$(call install_fixup, imx-uuc,PRIORITY,optional)
+ @$(call install_fixup, imx-uuc,SECTION,base)
+ @$(call install_fixup, imx-uuc,AUTHOR,"Denis Osterland <Denis.Osterland@diehl.com>")
+ @$(call install_fixup, imx-uuc,DESCRIPTION,missing)
+
+ @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/uuc)
+ @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/ufb)
+ @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/sdimage)
+ @$(call install_alternative, imx-uuc, 0, 0, 0755, /linuxrc)
+ @$(call install_alternative, imx-uuc, 0, 0, 0644, /fat)
+
+ @$(call install_finish, imx-uuc)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.26.0
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* [ptxdist] [PATCH v2 0/3] Freescale/NXP i.MX mfgtools 3.0
@ 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
` (3 more replies)
0 siblings, 4 replies; 17+ messages in thread
From: Denis Osterland-Heim @ 2020-03-26 17:03 UTC (permalink / raw)
To: ptxdist
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
- 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
^ permalink raw reply [flat|nested] 17+ messages in thread
* [ptxdist] [PATCH v2 3/3] host-mfgtools: new package
2020-03-26 17:03 [ptxdist] [PATCH v2 0/3] Freescale/NXP i.MX mfgtools 3.0 Denis Osterland-Heim
2020-03-26 17:03 ` [ptxdist] [PATCH v2 1/3] imx-uuc: new package Denis Osterland-Heim
@ 2020-03-26 17:03 ` 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-03-27 12:41 ` [ptxdist] [PATCH v2 0/3] Freescale/NXP i.MX mfgtools 3.0 Michael Olbrich
3 siblings, 1 reply; 17+ messages in thread
From: Denis Osterland-Heim @ 2020-03-26 17:03 UTC (permalink / raw)
To: ptxdist
Tool to USB boot i.MX systems from NXP via Android fastboot.
Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
---
rules/host-mfgtools.in | 13 +++++++++++++
rules/host-mfgtools.make | 41 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
create mode 100644 rules/host-mfgtools.in
create mode 100644 rules/host-mfgtools.make
diff --git a/rules/host-mfgtools.in b/rules/host-mfgtools.in
new file mode 100644
index 000000000..c9046f10d
--- /dev/null
+++ b/rules/host-mfgtools.in
@@ -0,0 +1,13 @@
+## SECTION=hosttools
+
+config HOST_MFGTOOLS
+ tristate
+ default y if ALLYES
+ prompt "uuu (Universal Update Utility), mfgtools 3.0"
+ select HOST_CMAKE
+ select HOST_LIBUSB
+ select HOST_ZLIB
+ select HOST_BZIP2
+ select HOST_LIBZIP
+ help
+ Freescale/NXP I.MX Chip image deploy tools.
diff --git a/rules/host-mfgtools.make b/rules/host-mfgtools.make
new file mode 100644
index 000000000..f9429ce1e
--- /dev/null
+++ b/rules/host-mfgtools.make
@@ -0,0 +1,41 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Denis Osterland-Heim <Denis.Osterland@diehl.com>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+HOST_PACKAGES-$(PTXCONF_HOST_MFGTOOLS) += host-mfgtools
+
+#
+# Paths and names
+#
+HOST_MFGTOOLS_VERSION := 1.3.154
+HOST_MFGTOOLS_MD5 := dd97a479db92b70a36c15d834f1e503c
+HOST_MFGTOOLS := mfgtools-$(HOST_MFGTOOLS_VERSION)
+HOST_MFGTOOLS_SUFFIX := tar.gz
+HOST_MFGTOOLS_URL := https://github.com/NXPmicro/mfgtools/archive/uuu_$(HOST_MFGTOOLS_VERSION).$(HOST_MFGTOOLS_SUFFIX)
+HOST_MFGTOOLS_SOURCE := $(SRCDIR)/$(HOST_MFGTOOLS).$(HOST_MFGTOOLS_SUFFIX)
+HOST_MFGTOOLS_DIR := $(HOST_BUILDDIR)/$(HOST_MFGTOOLS)
+HOST_MFGTOOLS_LICENSE := BSD-3-Clause
+HOST_MFGTOOLS_LICENSE_FILES := \
+ file://LICENSE;md5=38ec0c18112e9a92cffc4951661e85a5
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-mfgtools.extract.post:
+ @$(call targetinfo)
+ @$(call world/patchin/post, HOST_MFGTOOLS)
+ @echo "uuu_$(HOST_MFGTOOLS_VERSION)" > $(HOST_MFGTOOLS_DIR)/.tarball-version
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_MFGTOOLS_CONF_TOOL := cmake
+
+# vim: syntax=make
--
2.26.0
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* [ptxdist] [PATCH v2 2/3] host-libzip: new package
2020-03-26 17:03 [ptxdist] [PATCH v2 0/3] Freescale/NXP i.MX mfgtools 3.0 Denis Osterland-Heim
2020-03-26 17:03 ` [ptxdist] [PATCH v2 1/3] imx-uuc: new package Denis Osterland-Heim
2020-03-26 17:03 ` [ptxdist] [PATCH v2 3/3] host-mfgtools: " Denis Osterland-Heim
@ 2020-03-26 17:03 ` Denis Osterland-Heim
2020-04-03 5:58 ` [ptxdist] [APPLIED] [v2,2/3] " Michael Olbrich
2020-03-27 12:41 ` [ptxdist] [PATCH v2 0/3] Freescale/NXP i.MX mfgtools 3.0 Michael Olbrich
3 siblings, 1 reply; 17+ messages in thread
From: Denis Osterland-Heim @ 2020-03-26 17:03 UTC (permalink / raw)
To: ptxdist
Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
---
rules/host-libzip.in | 8 ++++++++
rules/host-libzip.make | 11 +++++++++++
2 files changed, 19 insertions(+)
create mode 100644 rules/host-libzip.in
create mode 100644 rules/host-libzip.make
diff --git a/rules/host-libzip.in b/rules/host-libzip.in
new file mode 100644
index 000000000..14689309f
--- /dev/null
+++ b/rules/host-libzip.in
@@ -0,0 +1,8 @@
+## SECTION=hosttools_noprompt
+
+config HOST_LIBZIP
+ tristate
+ select HOST_CMAKE
+ select HOST_ZLIB
+ select HOST_BZIP2
+ default y if ALLYES
diff --git a/rules/host-libzip.make b/rules/host-libzip.make
new file mode 100644
index 000000000..54b16cad0
--- /dev/null
+++ b/rules/host-libzip.make
@@ -0,0 +1,11 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Denis Osterland-Heim <Denis.Osterland@diehl.com>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+HOST_PACKAGES-$(PTXCONF_HOST_LIBZIP) += host-libzip
+
+# vim: syntax=make
--
2.26.0
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [ptxdist] [PATCH v2 1/3] imx-uuc: new package
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-02 15:03 ` [ptxdist] [v2] " Michael Olbrich
2020-04-03 5:58 ` [ptxdist] [APPLIED] [v2,1/3] " Michael Olbrich
2 siblings, 2 replies; 17+ messages in thread
From: Michael Olbrich @ 2020-03-27 12:06 UTC (permalink / raw)
To: ptxdist
On Thu, Mar 26, 2020 at 05:03:56PM +0000, Denis Osterland-Heim wrote:
> NXP user space util used by mfgtool.
>
> Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> ---
> ...001-sh-does-not-support-array-syntax.patch | 117 ++++++++++++++++++
> .../series | 4 +
> rules/imx-uuc.in | 7 ++
> rules/imx-uuc.make | 60 +++++++++
> 4 files changed, 188 insertions(+)
> create mode 100644 patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> create mode 100644 patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
The patch is not applied. The directory does not match.
Michael
> create mode 100644 rules/imx-uuc.in
> create mode 100644 rules/imx-uuc.make
>
> diff --git a/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch b/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> new file mode 100644
> index 000000000..995baea19
> --- /dev/null
> +++ b/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> @@ -0,0 +1,117 @@
> +From: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> +Date: Thu, 12 Mar 2020 17:36:22 +0100
> +Subject: [PATCH] sh does not support array syntax
> +
> +Remove NFS support, because it uses additional arrays and it is not
> +tested.
> +
> +Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> +---
> + linuxrc | 72 ++++++-----------------------------------------------------------
> + 1 file changed, 6 insertions(+), 66 deletions(-)
> +
> +diff --git a/linuxrc b/linuxrc
> +index 54bb8a2cbbd8..1f15e3cbdff3 100755
> +--- a/linuxrc
> ++++ b/linuxrc
> +@@ -16,20 +16,8 @@ last=0;
> +
> + UDC_DIR=/sys/class/udc
> +
> +-function launch_dhcpd() {
> +-
> +- touch -f /var/lib/misc/udhcpd.leases
> +- echo start 168.1.1.50 > /conf
> +- echo end 168.1.1.253 >> /conf
> +- echo interface usb$1 >>/conf
> +-
> +- ifconfig usb$1 168.1.1.1
> +- udhcpd /conf
> +-
> +-}
> +-
> + function contains() {
> +- for i in "${files[@]}"
> ++ for i in $files
> + do
> + if [ "$i" == "$1" ]; then
> + return 1;
> +@@ -45,7 +33,8 @@ function launch_uuc() {
> + echo 0x066F > idVendor
> +
> + if [[ ${cmdline} == *nfsroot* ]]; then
> +- echo 0x9CFF > idProduct
> ++ echo "unsupported"
> ++ exit 1
> + else
> + echo 0x9BFF > idProduct
> + fi
> +@@ -69,57 +58,8 @@ function launch_uuc() {
> + echo 0x40 > os_desc/b_vendor_code
> +
> + if [[ ${cmdline} == *nfsroot* ]]; then
> +- mkdir functions/ncm.1
> +- ln -s functions/ncm.1 configs/c.1/
> +-# mkdir functions/acm.1
> +-# ln -s functions/acm.1 configs/c.1/
> +- echo $1 > UDC
> +-
> +- echo "Start config network"
> +-
> +- ifconfig usb$2 up
> +- while [ ! -e /find_one ]
> +- do
> +- if [[ `ifconfig usb$2` == *inet6* ]]; then
> +- break;
> +- fi
> +- sleep 1
> +- done
> +-
> +- if [ -e /find_one ]; then
> +- exit 0
> +- fi
> +-
> +- touch /find_one
> +-
> +- launch_dhcpd $2
> +-
> +- remote=""
> +- while [[ "$remote" == "" ]];
> +- do
> +- sleep 2
> +- echo retry get remote ipaddress
> +- ping6 -c2 -I usb$2 ff02::1
> +-
> +- remote=`ip -6 neighbor show dev usb$2`
> +- remote=(${remote})
> +- remote=${remote[0]}
> +- done
> +-
> +- nfs=${cmdline#*nfsroot=}
> +- nfs=($nfs)
> +- nfs=${nfs[0]}
> +-
> +- nfs=${nfs##*:}
> +-
> +- echo ${remote} ${nfs}
> +-
> +- mount -t nfs [${remote}%usb$2]:${nfsroot}/${nfs} /mnt/
> +-
> +- cd /
> +-
> +- touch /exit_scan
> +-
> ++ echo "unsuppored"
> ++ exit 1
> + else
> + mkdir functions/ffs.utp$2
> + mkdir /dev/usb-utp$2
> +@@ -161,7 +101,7 @@ if test "$(ls -A "$UDC_DIR")"; then
> + for entry in *
> + do
> + if contains $entry; then
> +- files[$last]=$entry;
> ++ files="$files $entry";
> + id=$last;
> + last=`expr $last + 1`;
> + echo "Found New UDC: $entry";
> diff --git a/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series b/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> new file mode 100644
> index 000000000..125c531a3
> --- /dev/null
> +++ b/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> @@ -0,0 +1,4 @@
> +# generated by git-ptx-patches
> +#tag:base --start-number 1
> +0001-sh-does-not-support-array-syntax.patch
> +# a982c4666a0474a014b361496182bd8c - git-ptx-patches magic
> diff --git a/rules/imx-uuc.in b/rules/imx-uuc.in
> new file mode 100644
> index 000000000..ec0cbcd3a
> --- /dev/null
> +++ b/rules/imx-uuc.in
> @@ -0,0 +1,7 @@
> +## SECTION=communication
> +
> +config IMX_UUC
> + tristate
> + prompt "imx-uuc"
> + help
> + A Daemon wait for Freescale/NXP mfgtools host's command.
> diff --git a/rules/imx-uuc.make b/rules/imx-uuc.make
> new file mode 100644
> index 000000000..c708f1be2
> --- /dev/null
> +++ b/rules/imx-uuc.make
> @@ -0,0 +1,60 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2016-2020 by Denis Osterland <Denis.Osterland@diehl.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +PACKAGES-$(PTXCONF_IMX_UUC) += imx-uuc
> +
> +#
> +# Paths and names
> +#
> +IMX_UUC_VERSION := 2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc
> +IMX_UUC_MD5 := 1a807ab59464385309b92794b43b5caa
> +IMX_UUC := imx-uuc-$(IMX_UUC_VERSION)
> +IMX_UUC_SUFFIX := tar.gz
> +IMX_UUC_URL := https://github.com/NXPmicro/imx-uuc/archive/$(IMX_UUC).$(IMX_UUC_SUFFIX)
> +IMX_UUC_SOURCE := $(SRCDIR)/$(IMX_UUC).$(IMX_UUC_SUFFIX)
> +IMX_UUC_DIR := $(BUILDDIR)/$(IMX_UUC)
> +IMX_UUC_LICENSE := GPL-2.0-or-later
> +IMX_UUC_LICENSE_FILES := \
> + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +IMX_UUC_CONF_TOOL := NO
> +
> +# ----------------------------------------------------------------------------
> +# Compile
> +# ----------------------------------------------------------------------------
> +
> +IMX_UUC_MAKE_ENV := $(CROSS_ENV)
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/imx-uuc.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, imx-uuc)
> + @$(call install_fixup, imx-uuc,PRIORITY,optional)
> + @$(call install_fixup, imx-uuc,SECTION,base)
> + @$(call install_fixup, imx-uuc,AUTHOR,"Denis Osterland <Denis.Osterland@diehl.com>")
> + @$(call install_fixup, imx-uuc,DESCRIPTION,missing)
> +
> + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/uuc)
> + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/ufb)
> + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/sdimage)
> + @$(call install_alternative, imx-uuc, 0, 0, 0755, /linuxrc)
> + @$(call install_alternative, imx-uuc, 0, 0, 0644, /fat)
> +
> + @$(call install_finish, imx-uuc)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
> --
> 2.26.0
>
>
>
> 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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [ptxdist] [PATCH v2 0/3] Freescale/NXP i.MX mfgtools 3.0
2020-03-26 17:03 [ptxdist] [PATCH v2 0/3] Freescale/NXP i.MX mfgtools 3.0 Denis Osterland-Heim
` (2 preceding siblings ...)
2020-03-26 17:03 ` [ptxdist] [PATCH v2 2/3] host-libzip: " Denis Osterland-Heim
@ 2020-03-27 12:41 ` Michael Olbrich
2020-03-27 13:01 ` Denis Osterland-Heim
2020-03-27 13:16 ` Sam Ravnborg
3 siblings, 2 replies; 17+ messages in thread
From: Michael Olbrich @ 2020-03-27 12:41 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [ptxdist] [PATCH v2 0/3] Freescale/NXP i.MX mfgtools 3.0
2020-03-27 12:41 ` [ptxdist] [PATCH v2 0/3] Freescale/NXP i.MX mfgtools 3.0 Michael Olbrich
@ 2020-03-27 13:01 ` Denis Osterland-Heim
2020-03-27 13:16 ` Sam Ravnborg
1 sibling, 0 replies; 17+ messages in thread
From: Denis Osterland-Heim @ 2020-03-27 13:01 UTC (permalink / raw)
To: ptxdist
Hi Michael,
Am Freitag, den 27.03.2020, 13:41 +0100 schrieb Michael Olbrich:
> 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.
shame on me.
Copy paste error.
Both issues are cleared.
With your help, the imx-uuc should be stable now, too.
And the array syntax is now removed by a patch.
The patch is not yet perfect, and improves still welcome but production ready.
To be honest I have not yet fully understood the NFS MFG-Tool use case.
Regards Denis
>
> 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
> >
>
>
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [ptxdist] [PATCH v2 1/3] imx-uuc: new package
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
1 sibling, 0 replies; 17+ messages in thread
From: Denis Osterland-Heim @ 2020-03-27 13:07 UTC (permalink / raw)
To: ptxdist
Hi Michael,
Am Freitag, den 27.03.2020, 13:06 +0100 schrieb Michael Olbrich:
> On Thu, Mar 26, 2020 at 05:03:56PM +0000, Denis Osterland-Heim wrote:
> > NXP user space util used by mfgtool.
> >
> > Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> > ---
> > ...001-sh-does-not-support-array-syntax.patch | 117 ++++++++++++++++++
> > .../series | 4 +
> > rules/imx-uuc.in | 7 ++
> > rules/imx-uuc.make | 60 +++++++++
> > 4 files changed, 188 insertions(+)
> > create mode 100644 patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> > create mode 100644 patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
>
> The patch is not applied. The directory does not match.
You are right.
s/0.0-1/2019-11-07/ on path.
Can you fix up?
Shall I send a fix up?
Shall I send a v3?
Regards Denis
>
> Michael
>
> > create mode 100644 rules/imx-uuc.in
> > create mode 100644 rules/imx-uuc.make
> >
> > diff --git a/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch b/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-
> > does-not-support-array-syntax.patch
> > new file mode 100644
> > index 000000000..995baea19
> > --- /dev/null
> > +++ b/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> > @@ -0,0 +1,117 @@
> > +From: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> > +Date: Thu, 12 Mar 2020 17:36:22 +0100
> > +Subject: [PATCH] sh does not support array syntax
> > +
> > +Remove NFS support, because it uses additional arrays and it is not
> > +tested.
> > +
> > +Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> > +---
> > + linuxrc | 72 ++++++-----------------------------------------------------------
> > + 1 file changed, 6 insertions(+), 66 deletions(-)
> > +
> > +diff --git a/linuxrc b/linuxrc
> > +index 54bb8a2cbbd8..1f15e3cbdff3 100755
> > +--- a/linuxrc
> > ++++ b/linuxrc
> > +@@ -16,20 +16,8 @@ last=0;
> > +
> > + UDC_DIR=/sys/class/udc
> > +
> > +-function launch_dhcpd() {
> > +-
> > +- touch -f /var/lib/misc/udhcpd.leases
> > +- echo start 168.1.1.50 > /conf
> > +- echo end 168.1.1.253 >> /conf
> > +- echo interface usb$1 >>/conf
> > +-
> > +- ifconfig usb$1 168.1.1.1
> > +- udhcpd /conf
> > +-
> > +-}
> > +-
> > + function contains() {
> > +- for i in "${files[@]}"
> > ++ for i in $files
> > + do
> > + if [ "$i" == "$1" ]; then
> > + return 1;
> > +@@ -45,7 +33,8 @@ function launch_uuc() {
> > + echo 0x066F > idVendor
> > +
> > + if [[ ${cmdline} == *nfsroot* ]]; then
> > +- echo 0x9CFF > idProduct
> > ++ echo "unsupported"
> > ++ exit 1
> > + else
> > + echo 0x9BFF > idProduct
> > + fi
> > +@@ -69,57 +58,8 @@ function launch_uuc() {
> > + echo 0x40 > os_desc/b_vendor_code
> > +
> > + if [[ ${cmdline} == *nfsroot* ]]; then
> > +- mkdir functions/ncm.1
> > +- ln -s functions/ncm.1 configs/c.1/
> > +-# mkdir functions/acm.1
> > +-# ln -s functions/acm.1 configs/c.1/
> > +- echo $1 > UDC
> > +-
> > +- echo "Start config network"
> > +-
> > +- ifconfig usb$2 up
> > +- while [ ! -e /find_one ]
> > +- do
> > +- if [[ `ifconfig usb$2` == *inet6* ]]; then
> > +- break;
> > +- fi
> > +- sleep 1
> > +- done
> > +-
> > +- if [ -e /find_one ]; then
> > +- exit 0
> > +- fi
> > +-
> > +- touch /find_one
> > +-
> > +- launch_dhcpd $2
> > +-
> > +- remote=""
> > +- while [[ "$remote" == "" ]];
> > +- do
> > +- sleep 2
> > +- echo retry get remote ipaddress
> > +- ping6 -c2 -I usb$2 ff02::1
> > +-
> > +- remote=`ip -6 neighbor show dev usb$2`
> > +- remote=(${remote})
> > +- remote=${remote[0]}
> > +- done
> > +-
> > +- nfs=${cmdline#*nfsroot=}
> > +- nfs=($nfs)
> > +- nfs=${nfs[0]}
> > +-
> > +- nfs=${nfs##*:}
> > +-
> > +- echo ${remote} ${nfs}
> > +-
> > +- mount -t nfs [${remote}%usb$2]:${nfsroot}/${nfs} /mnt/
> > +-
> > +- cd /
> > +-
> > +- touch /exit_scan
> > +-
> > ++ echo "unsuppored"
> > ++ exit 1
> > + else
> > + mkdir functions/ffs.utp$2
> > + mkdir /dev/usb-utp$2
> > +@@ -161,7 +101,7 @@ if test "$(ls -A "$UDC_DIR")"; then
> > + for entry in *
> > + do
> > + if contains $entry; then
> > +- files[$last]=$entry;
> > ++ files="$files $entry";
> > + id=$last;
> > + last=`expr $last + 1`;
> > + echo "Found New UDC: $entry";
> > diff --git a/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series b/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> > new file mode 100644
> > index 000000000..125c531a3
> > --- /dev/null
> > +++ b/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> > @@ -0,0 +1,4 @@
> > +# generated by git-ptx-patches
> > +#tag:base --start-number 1
> > +0001-sh-does-not-support-array-syntax.patch
> > +# a982c4666a0474a014b361496182bd8c - git-ptx-patches magic
> > diff --git a/rules/imx-uuc.in b/rules/imx-uuc.in
> > new file mode 100644
> > index 000000000..ec0cbcd3a
> > --- /dev/null
> > +++ b/rules/imx-uuc.in
> > @@ -0,0 +1,7 @@
> > +## SECTION=communication
> > +
> > +config IMX_UUC
> > + tristate
> > + prompt "imx-uuc"
> > + help
> > + A Daemon wait for Freescale/NXP mfgtools host's command.
> > diff --git a/rules/imx-uuc.make b/rules/imx-uuc.make
> > new file mode 100644
> > index 000000000..c708f1be2
> > --- /dev/null
> > +++ b/rules/imx-uuc.make
> > @@ -0,0 +1,60 @@
> > +# -*-makefile-*-
> > +#
> > +# Copyright (C) 2016-2020 by Denis Osterland <Denis.Osterland@diehl.com>
> > +#
> > +# For further information about the PTXdist project and license conditions
> > +# see the README file.
> > +#
> > +
> > +PACKAGES-$(PTXCONF_IMX_UUC) += imx-uuc
> > +
> > +#
> > +# Paths and names
> > +#
> > +IMX_UUC_VERSION := 2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc
> > +IMX_UUC_MD5 := 1a807ab59464385309b92794b43b5caa
> > +IMX_UUC := imx-uuc-$(IMX_UUC_VERSION)
> > +IMX_UUC_SUFFIX := tar.gz
> > +IMX_UUC_URL := https://github.com/NXPmicro/imx-uuc/archive/$(IMX_UUC).$(IMX_UUC_SUFFIX)
> > +IMX_UUC_SOURCE := $(SRCDIR)/$(IMX_UUC).$(IMX_UUC_SUFFIX)
> > +IMX_UUC_DIR := $(BUILDDIR)/$(IMX_UUC)
> > +IMX_UUC_LICENSE := GPL-2.0-or-later
> > +IMX_UUC_LICENSE_FILES := \
> > + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
> > +
> > +# ----------------------------------------------------------------------------
> > +# Prepare
> > +# ----------------------------------------------------------------------------
> > +
> > +IMX_UUC_CONF_TOOL := NO
> > +
> > +# ----------------------------------------------------------------------------
> > +# Compile
> > +# ----------------------------------------------------------------------------
> > +
> > +IMX_UUC_MAKE_ENV := $(CROSS_ENV)
> > +
> > +# ----------------------------------------------------------------------------
> > +# Target-Install
> > +# ----------------------------------------------------------------------------
> > +
> > +$(STATEDIR)/imx-uuc.targetinstall:
> > + @$(call targetinfo)
> > +
> > + @$(call install_init, imx-uuc)
> > + @$(call install_fixup, imx-uuc,PRIORITY,optional)
> > + @$(call install_fixup, imx-uuc,SECTION,base)
> > + @$(call install_fixup, imx-uuc,AUTHOR,"Denis Osterland <Denis.Osterland@diehl.com>")
> > + @$(call install_fixup, imx-uuc,DESCRIPTION,missing)
> > +
> > + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/uuc)
> > + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/ufb)
> > + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/sdimage)
> > + @$(call install_alternative, imx-uuc, 0, 0, 0755, /linuxrc)
> > + @$(call install_alternative, imx-uuc, 0, 0, 0644, /fat)
> > +
> > + @$(call install_finish, imx-uuc)
> > +
> > + @$(call touch)
> > +
> > +# vim: syntax=make
> > --
> > 2.26.0
> >
> >
> >
> > 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
> >
>
>
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [ptxdist] [PATCH v2 0/3] Freescale/NXP i.MX mfgtools 3.0
2020-03-27 12:41 ` [ptxdist] [PATCH v2 0/3] Freescale/NXP i.MX mfgtools 3.0 Michael Olbrich
2020-03-27 13:01 ` Denis Osterland-Heim
@ 2020-03-27 13:16 ` Sam Ravnborg
1 sibling, 0 replies; 17+ messages in thread
From: Sam Ravnborg @ 2020-03-27 13:16 UTC (permalink / raw)
To: ptxdist
Hi Michael.
On Fri, Mar 27, 2020 at 01:41:52PM +0100, Michael Olbrich wrote:
> 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.
This reminds me of something reported for buildroot - fixed
by following commit:
commit 2218dc85bef9bb1c9d27788e5ac69593144fe268
Author: Yann E. MORIN <yann.morin.1998@free.fr>
Date: Sat Nov 17 18:15:51 2018 +0100
support/dependencies: add a check for a suitable gzip
Recently, some hash mismatch have been reported, both by users as well
as autobuilder failures, about tarballs generated from git repositories.
This turned out to be caused by users having the 'gzip' command somehow
aliased to 'pigz' (which stand for: parallel implementation of gzip,
which takes advantage of multi-processor system to parallelise the
compression).
...
If this is even remotely relevant for ptxdist I let you conclude.
I remember because I was hit by this when I toyed with buildroot
some time ago.
Sam
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 17+ messages in thread
* [ptxdist] [PATCH v2] fixup! imx-uuc: new package
2020-03-27 12:06 ` Michael Olbrich
2020-03-27 13:07 ` Denis Osterland-Heim
@ 2020-03-31 5:29 ` Denis Osterland-Heim
2020-04-01 15:08 ` Michael Olbrich
1 sibling, 1 reply; 17+ messages in thread
From: Denis Osterland-Heim @ 2020-03-31 5:29 UTC (permalink / raw)
To: ptxdist
NXP user space util used by mfgtool.
Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
---
...001-sh-does-not-support-array-syntax.patch | 117 ++++++++++++++++++
.../series | 4 +
rules/imx-uuc.in | 7 ++
rules/imx-uuc.make | 60 +++++++++
4 files changed, 188 insertions(+)
create mode 100644 patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
create mode 100644 patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
create mode 100644 rules/imx-uuc.in
create mode 100644 rules/imx-uuc.make
diff --git a/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
new file mode 100644
index 000000000..995baea19
--- /dev/null
+++ b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
@@ -0,0 +1,117 @@
+From: Denis Osterland-Heim <Denis.Osterland@diehl.com>
+Date: Thu, 12 Mar 2020 17:36:22 +0100
+Subject: [PATCH] sh does not support array syntax
+
+Remove NFS support, because it uses additional arrays and it is not
+tested.
+
+Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
+---
+ linuxrc | 72 ++++++-----------------------------------------------------------
+ 1 file changed, 6 insertions(+), 66 deletions(-)
+
+diff --git a/linuxrc b/linuxrc
+index 54bb8a2cbbd8..1f15e3cbdff3 100755
+--- a/linuxrc
++++ b/linuxrc
+@@ -16,20 +16,8 @@ last=0;
+
+ UDC_DIR=/sys/class/udc
+
+-function launch_dhcpd() {
+-
+- touch -f /var/lib/misc/udhcpd.leases
+- echo start 168.1.1.50 > /conf
+- echo end 168.1.1.253 >> /conf
+- echo interface usb$1 >>/conf
+-
+- ifconfig usb$1 168.1.1.1
+- udhcpd /conf
+-
+-}
+-
+ function contains() {
+- for i in "${files[@]}"
++ for i in $files
+ do
+ if [ "$i" == "$1" ]; then
+ return 1;
+@@ -45,7 +33,8 @@ function launch_uuc() {
+ echo 0x066F > idVendor
+
+ if [[ ${cmdline} == *nfsroot* ]]; then
+- echo 0x9CFF > idProduct
++ echo "unsupported"
++ exit 1
+ else
+ echo 0x9BFF > idProduct
+ fi
+@@ -69,57 +58,8 @@ function launch_uuc() {
+ echo 0x40 > os_desc/b_vendor_code
+
+ if [[ ${cmdline} == *nfsroot* ]]; then
+- mkdir functions/ncm.1
+- ln -s functions/ncm.1 configs/c.1/
+-# mkdir functions/acm.1
+-# ln -s functions/acm.1 configs/c.1/
+- echo $1 > UDC
+-
+- echo "Start config network"
+-
+- ifconfig usb$2 up
+- while [ ! -e /find_one ]
+- do
+- if [[ `ifconfig usb$2` == *inet6* ]]; then
+- break;
+- fi
+- sleep 1
+- done
+-
+- if [ -e /find_one ]; then
+- exit 0
+- fi
+-
+- touch /find_one
+-
+- launch_dhcpd $2
+-
+- remote=""
+- while [[ "$remote" == "" ]];
+- do
+- sleep 2
+- echo retry get remote ipaddress
+- ping6 -c2 -I usb$2 ff02::1
+-
+- remote=`ip -6 neighbor show dev usb$2`
+- remote=(${remote})
+- remote=${remote[0]}
+- done
+-
+- nfs=${cmdline#*nfsroot=}
+- nfs=($nfs)
+- nfs=${nfs[0]}
+-
+- nfs=${nfs##*:}
+-
+- echo ${remote} ${nfs}
+-
+- mount -t nfs [${remote}%usb$2]:${nfsroot}/${nfs} /mnt/
+-
+- cd /
+-
+- touch /exit_scan
+-
++ echo "unsuppored"
++ exit 1
+ else
+ mkdir functions/ffs.utp$2
+ mkdir /dev/usb-utp$2
+@@ -161,7 +101,7 @@ if test "$(ls -A "$UDC_DIR")"; then
+ for entry in *
+ do
+ if contains $entry; then
+- files[$last]=$entry;
++ files="$files $entry";
+ id=$last;
+ last=`expr $last + 1`;
+ echo "Found New UDC: $entry";
diff --git a/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
new file mode 100644
index 000000000..125c531a3
--- /dev/null
+++ b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-sh-does-not-support-array-syntax.patch
+# a982c4666a0474a014b361496182bd8c - git-ptx-patches magic
diff --git a/rules/imx-uuc.in b/rules/imx-uuc.in
new file mode 100644
index 000000000..ec0cbcd3a
--- /dev/null
+++ b/rules/imx-uuc.in
@@ -0,0 +1,7 @@
+## SECTION=communication
+
+config IMX_UUC
+ tristate
+ prompt "imx-uuc"
+ help
+ A Daemon wait for Freescale/NXP mfgtools host's command.
diff --git a/rules/imx-uuc.make b/rules/imx-uuc.make
new file mode 100644
index 000000000..c708f1be2
--- /dev/null
+++ b/rules/imx-uuc.make
@@ -0,0 +1,60 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016-2020 by Denis Osterland <Denis.Osterland@diehl.com>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+PACKAGES-$(PTXCONF_IMX_UUC) += imx-uuc
+
+#
+# Paths and names
+#
+IMX_UUC_VERSION := 2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc
+IMX_UUC_MD5 := 1a807ab59464385309b92794b43b5caa
+IMX_UUC := imx-uuc-$(IMX_UUC_VERSION)
+IMX_UUC_SUFFIX := tar.gz
+IMX_UUC_URL := https://github.com/NXPmicro/imx-uuc/archive/$(IMX_UUC).$(IMX_UUC_SUFFIX)
+IMX_UUC_SOURCE := $(SRCDIR)/$(IMX_UUC).$(IMX_UUC_SUFFIX)
+IMX_UUC_DIR := $(BUILDDIR)/$(IMX_UUC)
+IMX_UUC_LICENSE := GPL-2.0-or-later
+IMX_UUC_LICENSE_FILES := \
+ file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+IMX_UUC_CONF_TOOL := NO
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+IMX_UUC_MAKE_ENV := $(CROSS_ENV)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/imx-uuc.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, imx-uuc)
+ @$(call install_fixup, imx-uuc,PRIORITY,optional)
+ @$(call install_fixup, imx-uuc,SECTION,base)
+ @$(call install_fixup, imx-uuc,AUTHOR,"Denis Osterland <Denis.Osterland@diehl.com>")
+ @$(call install_fixup, imx-uuc,DESCRIPTION,missing)
+
+ @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/uuc)
+ @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/ufb)
+ @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/sdimage)
+ @$(call install_alternative, imx-uuc, 0, 0, 0755, /linuxrc)
+ @$(call install_alternative, imx-uuc, 0, 0, 0644, /fat)
+
+ @$(call install_finish, imx-uuc)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.26.0
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [ptxdist] [PATCH v2] fixup! imx-uuc: new package
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
0 siblings, 1 reply; 17+ messages in thread
From: Michael Olbrich @ 2020-04-01 15:08 UTC (permalink / raw)
To: ptxdist
On Tue, Mar 31, 2020 at 05:29:01AM +0000, Denis Osterland-Heim wrote:
> NXP user space util used by mfgtool.
>
> Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> ---
> ...001-sh-does-not-support-array-syntax.patch | 117 ++++++++++++++++++
> .../series | 4 +
Now we have two patches :-/. I'll do another fixup myself.
Michael
> rules/imx-uuc.in | 7 ++
> rules/imx-uuc.make | 60 +++++++++
> 4 files changed, 188 insertions(+)
> create mode 100644 patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> create mode 100644 patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> create mode 100644 rules/imx-uuc.in
> create mode 100644 rules/imx-uuc.make
>
> diff --git a/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> new file mode 100644
> index 000000000..995baea19
> --- /dev/null
> +++ b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> @@ -0,0 +1,117 @@
> +From: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> +Date: Thu, 12 Mar 2020 17:36:22 +0100
> +Subject: [PATCH] sh does not support array syntax
> +
> +Remove NFS support, because it uses additional arrays and it is not
> +tested.
> +
> +Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> +---
> + linuxrc | 72 ++++++-----------------------------------------------------------
> + 1 file changed, 6 insertions(+), 66 deletions(-)
> +
> +diff --git a/linuxrc b/linuxrc
> +index 54bb8a2cbbd8..1f15e3cbdff3 100755
> +--- a/linuxrc
> ++++ b/linuxrc
> +@@ -16,20 +16,8 @@ last=0;
> +
> + UDC_DIR=/sys/class/udc
> +
> +-function launch_dhcpd() {
> +-
> +- touch -f /var/lib/misc/udhcpd.leases
> +- echo start 168.1.1.50 > /conf
> +- echo end 168.1.1.253 >> /conf
> +- echo interface usb$1 >>/conf
> +-
> +- ifconfig usb$1 168.1.1.1
> +- udhcpd /conf
> +-
> +-}
> +-
> + function contains() {
> +- for i in "${files[@]}"
> ++ for i in $files
> + do
> + if [ "$i" == "$1" ]; then
> + return 1;
> +@@ -45,7 +33,8 @@ function launch_uuc() {
> + echo 0x066F > idVendor
> +
> + if [[ ${cmdline} == *nfsroot* ]]; then
> +- echo 0x9CFF > idProduct
> ++ echo "unsupported"
> ++ exit 1
> + else
> + echo 0x9BFF > idProduct
> + fi
> +@@ -69,57 +58,8 @@ function launch_uuc() {
> + echo 0x40 > os_desc/b_vendor_code
> +
> + if [[ ${cmdline} == *nfsroot* ]]; then
> +- mkdir functions/ncm.1
> +- ln -s functions/ncm.1 configs/c.1/
> +-# mkdir functions/acm.1
> +-# ln -s functions/acm.1 configs/c.1/
> +- echo $1 > UDC
> +-
> +- echo "Start config network"
> +-
> +- ifconfig usb$2 up
> +- while [ ! -e /find_one ]
> +- do
> +- if [[ `ifconfig usb$2` == *inet6* ]]; then
> +- break;
> +- fi
> +- sleep 1
> +- done
> +-
> +- if [ -e /find_one ]; then
> +- exit 0
> +- fi
> +-
> +- touch /find_one
> +-
> +- launch_dhcpd $2
> +-
> +- remote=""
> +- while [[ "$remote" == "" ]];
> +- do
> +- sleep 2
> +- echo retry get remote ipaddress
> +- ping6 -c2 -I usb$2 ff02::1
> +-
> +- remote=`ip -6 neighbor show dev usb$2`
> +- remote=(${remote})
> +- remote=${remote[0]}
> +- done
> +-
> +- nfs=${cmdline#*nfsroot=}
> +- nfs=($nfs)
> +- nfs=${nfs[0]}
> +-
> +- nfs=${nfs##*:}
> +-
> +- echo ${remote} ${nfs}
> +-
> +- mount -t nfs [${remote}%usb$2]:${nfsroot}/${nfs} /mnt/
> +-
> +- cd /
> +-
> +- touch /exit_scan
> +-
> ++ echo "unsuppored"
> ++ exit 1
> + else
> + mkdir functions/ffs.utp$2
> + mkdir /dev/usb-utp$2
> +@@ -161,7 +101,7 @@ if test "$(ls -A "$UDC_DIR")"; then
> + for entry in *
> + do
> + if contains $entry; then
> +- files[$last]=$entry;
> ++ files="$files $entry";
> + id=$last;
> + last=`expr $last + 1`;
> + echo "Found New UDC: $entry";
> diff --git a/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> new file mode 100644
> index 000000000..125c531a3
> --- /dev/null
> +++ b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> @@ -0,0 +1,4 @@
> +# generated by git-ptx-patches
> +#tag:base --start-number 1
> +0001-sh-does-not-support-array-syntax.patch
> +# a982c4666a0474a014b361496182bd8c - git-ptx-patches magic
> diff --git a/rules/imx-uuc.in b/rules/imx-uuc.in
> new file mode 100644
> index 000000000..ec0cbcd3a
> --- /dev/null
> +++ b/rules/imx-uuc.in
> @@ -0,0 +1,7 @@
> +## SECTION=communication
> +
> +config IMX_UUC
> + tristate
> + prompt "imx-uuc"
> + help
> + A Daemon wait for Freescale/NXP mfgtools host's command.
> diff --git a/rules/imx-uuc.make b/rules/imx-uuc.make
> new file mode 100644
> index 000000000..c708f1be2
> --- /dev/null
> +++ b/rules/imx-uuc.make
> @@ -0,0 +1,60 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2016-2020 by Denis Osterland <Denis.Osterland@diehl.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +PACKAGES-$(PTXCONF_IMX_UUC) += imx-uuc
> +
> +#
> +# Paths and names
> +#
> +IMX_UUC_VERSION := 2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc
> +IMX_UUC_MD5 := 1a807ab59464385309b92794b43b5caa
> +IMX_UUC := imx-uuc-$(IMX_UUC_VERSION)
> +IMX_UUC_SUFFIX := tar.gz
> +IMX_UUC_URL := https://github.com/NXPmicro/imx-uuc/archive/$(IMX_UUC).$(IMX_UUC_SUFFIX)
> +IMX_UUC_SOURCE := $(SRCDIR)/$(IMX_UUC).$(IMX_UUC_SUFFIX)
> +IMX_UUC_DIR := $(BUILDDIR)/$(IMX_UUC)
> +IMX_UUC_LICENSE := GPL-2.0-or-later
> +IMX_UUC_LICENSE_FILES := \
> + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +IMX_UUC_CONF_TOOL := NO
> +
> +# ----------------------------------------------------------------------------
> +# Compile
> +# ----------------------------------------------------------------------------
> +
> +IMX_UUC_MAKE_ENV := $(CROSS_ENV)
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/imx-uuc.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, imx-uuc)
> + @$(call install_fixup, imx-uuc,PRIORITY,optional)
> + @$(call install_fixup, imx-uuc,SECTION,base)
> + @$(call install_fixup, imx-uuc,AUTHOR,"Denis Osterland <Denis.Osterland@diehl.com>")
> + @$(call install_fixup, imx-uuc,DESCRIPTION,missing)
> +
> + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/uuc)
> + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/ufb)
> + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/sdimage)
> + @$(call install_alternative, imx-uuc, 0, 0, 0755, /linuxrc)
> + @$(call install_alternative, imx-uuc, 0, 0, 0644, /fat)
> +
> + @$(call install_finish, imx-uuc)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
> --
> 2.26.0
>
>
>
> 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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [ptxdist] [PATCH v2] fixup! imx-uuc: new package
2020-04-01 15:08 ` Michael Olbrich
@ 2020-04-02 6:28 ` Denis Osterland-Heim
2020-04-02 6:39 ` Michael Olbrich
0 siblings, 1 reply; 17+ messages in thread
From: Denis Osterland-Heim @ 2020-04-02 6:28 UTC (permalink / raw)
To: ptxdist
Hi Michael,
Am Mittwoch, den 01.04.2020, 17:08 +0200 schrieb Michael Olbrich:
> On Tue, Mar 31, 2020 at 05:29:01AM +0000, Denis Osterland-Heim wrote:
> > NXP user space util used by mfgtool.
> >
> > Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> > ---
> > ...001-sh-does-not-support-array-syntax.patch | 117 ++++++++++++++++++
> > .../series | 4 +
>
> Now we have two patches :-/. I'll do another fixup myself.
I am a little bit confused.
I thought you would apply just the fixup version.
It looks like something like: git am; git am; git rebase -i HEAD^^
What happens at your side?
Regards Denis
>
> Michael
>
> > rules/imx-uuc.in | 7 ++
> > rules/imx-uuc.make | 60 +++++++++
> > 4 files changed, 188 insertions(+)
> > create mode 100644 patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> > create mode 100644 patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> > create mode 100644 rules/imx-uuc.in
> > create mode 100644 rules/imx-uuc.make
> >
> > diff --git a/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch b/patches/imx-uuc-2019-11-07-
> > gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> > new file mode 100644
> > index 000000000..995baea19
> > --- /dev/null
> > +++ b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> > @@ -0,0 +1,117 @@
> > +From: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> > +Date: Thu, 12 Mar 2020 17:36:22 +0100
> > +Subject: [PATCH] sh does not support array syntax
> > +
> > +Remove NFS support, because it uses additional arrays and it is not
> > +tested.
> > +
> > +Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> > +---
> > + linuxrc | 72 ++++++-----------------------------------------------------------
> > + 1 file changed, 6 insertions(+), 66 deletions(-)
> > +
> > +diff --git a/linuxrc b/linuxrc
> > +index 54bb8a2cbbd8..1f15e3cbdff3 100755
> > +--- a/linuxrc
> > ++++ b/linuxrc
> > +@@ -16,20 +16,8 @@ last=0;
> > +
> > + UDC_DIR=/sys/class/udc
> > +
> > +-function launch_dhcpd() {
> > +-
> > +- touch -f /var/lib/misc/udhcpd.leases
> > +- echo start 168.1.1.50 > /conf
> > +- echo end 168.1.1.253 >> /conf
> > +- echo interface usb$1 >>/conf
> > +-
> > +- ifconfig usb$1 168.1.1.1
> > +- udhcpd /conf
> > +-
> > +-}
> > +-
> > + function contains() {
> > +- for i in "${files[@]}"
> > ++ for i in $files
> > + do
> > + if [ "$i" == "$1" ]; then
> > + return 1;
> > +@@ -45,7 +33,8 @@ function launch_uuc() {
> > + echo 0x066F > idVendor
> > +
> > + if [[ ${cmdline} == *nfsroot* ]]; then
> > +- echo 0x9CFF > idProduct
> > ++ echo "unsupported"
> > ++ exit 1
> > + else
> > + echo 0x9BFF > idProduct
> > + fi
> > +@@ -69,57 +58,8 @@ function launch_uuc() {
> > + echo 0x40 > os_desc/b_vendor_code
> > +
> > + if [[ ${cmdline} == *nfsroot* ]]; then
> > +- mkdir functions/ncm.1
> > +- ln -s functions/ncm.1 configs/c.1/
> > +-# mkdir functions/acm.1
> > +-# ln -s functions/acm.1 configs/c.1/
> > +- echo $1 > UDC
> > +-
> > +- echo "Start config network"
> > +-
> > +- ifconfig usb$2 up
> > +- while [ ! -e /find_one ]
> > +- do
> > +- if [[ `ifconfig usb$2` == *inet6* ]]; then
> > +- break;
> > +- fi
> > +- sleep 1
> > +- done
> > +-
> > +- if [ -e /find_one ]; then
> > +- exit 0
> > +- fi
> > +-
> > +- touch /find_one
> > +-
> > +- launch_dhcpd $2
> > +-
> > +- remote=""
> > +- while [[ "$remote" == "" ]];
> > +- do
> > +- sleep 2
> > +- echo retry get remote ipaddress
> > +- ping6 -c2 -I usb$2 ff02::1
> > +-
> > +- remote=`ip -6 neighbor show dev usb$2`
> > +- remote=(${remote})
> > +- remote=${remote[0]}
> > +- done
> > +-
> > +- nfs=${cmdline#*nfsroot=}
> > +- nfs=($nfs)
> > +- nfs=${nfs[0]}
> > +-
> > +- nfs=${nfs##*:}
> > +-
> > +- echo ${remote} ${nfs}
> > +-
> > +- mount -t nfs [${remote}%usb$2]:${nfsroot}/${nfs} /mnt/
> > +-
> > +- cd /
> > +-
> > +- touch /exit_scan
> > +-
> > ++ echo "unsuppored"
> > ++ exit 1
> > + else
> > + mkdir functions/ffs.utp$2
> > + mkdir /dev/usb-utp$2
> > +@@ -161,7 +101,7 @@ if test "$(ls -A "$UDC_DIR")"; then
> > + for entry in *
> > + do
> > + if contains $entry; then
> > +- files[$last]=$entry;
> > ++ files="$files $entry";
> > + id=$last;
> > + last=`expr $last + 1`;
> > + echo "Found New UDC: $entry";
> > diff --git a/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> > new file mode 100644
> > index 000000000..125c531a3
> > --- /dev/null
> > +++ b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> > @@ -0,0 +1,4 @@
> > +# generated by git-ptx-patches
> > +#tag:base --start-number 1
> > +0001-sh-does-not-support-array-syntax.patch
> > +# a982c4666a0474a014b361496182bd8c - git-ptx-patches magic
> > diff --git a/rules/imx-uuc.in b/rules/imx-uuc.in
> > new file mode 100644
> > index 000000000..ec0cbcd3a
> > --- /dev/null
> > +++ b/rules/imx-uuc.in
> > @@ -0,0 +1,7 @@
> > +## SECTION=communication
> > +
> > +config IMX_UUC
> > + tristate
> > + prompt "imx-uuc"
> > + help
> > + A Daemon wait for Freescale/NXP mfgtools host's command.
> > diff --git a/rules/imx-uuc.make b/rules/imx-uuc.make
> > new file mode 100644
> > index 000000000..c708f1be2
> > --- /dev/null
> > +++ b/rules/imx-uuc.make
> > @@ -0,0 +1,60 @@
> > +# -*-makefile-*-
> > +#
> > +# Copyright (C) 2016-2020 by Denis Osterland <Denis.Osterland@diehl.com>
> > +#
> > +# For further information about the PTXdist project and license conditions
> > +# see the README file.
> > +#
> > +
> > +PACKAGES-$(PTXCONF_IMX_UUC) += imx-uuc
> > +
> > +#
> > +# Paths and names
> > +#
> > +IMX_UUC_VERSION := 2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc
> > +IMX_UUC_MD5 := 1a807ab59464385309b92794b43b5caa
> > +IMX_UUC := imx-uuc-$(IMX_UUC_VERSION)
> > +IMX_UUC_SUFFIX := tar.gz
> > +IMX_UUC_URL := https://github.com/NXPmicro/imx-uuc/archive/$(IMX_UUC).$(IMX_UUC_SUFFIX)
> > +IMX_UUC_SOURCE := $(SRCDIR)/$(IMX_UUC).$(IMX_UUC_SUFFIX)
> > +IMX_UUC_DIR := $(BUILDDIR)/$(IMX_UUC)
> > +IMX_UUC_LICENSE := GPL-2.0-or-later
> > +IMX_UUC_LICENSE_FILES := \
> > + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
> > +
> > +# ----------------------------------------------------------------------------
> > +# Prepare
> > +# ----------------------------------------------------------------------------
> > +
> > +IMX_UUC_CONF_TOOL := NO
> > +
> > +# ----------------------------------------------------------------------------
> > +# Compile
> > +# ----------------------------------------------------------------------------
> > +
> > +IMX_UUC_MAKE_ENV := $(CROSS_ENV)
> > +
> > +# ----------------------------------------------------------------------------
> > +# Target-Install
> > +# ----------------------------------------------------------------------------
> > +
> > +$(STATEDIR)/imx-uuc.targetinstall:
> > + @$(call targetinfo)
> > +
> > + @$(call install_init, imx-uuc)
> > + @$(call install_fixup, imx-uuc,PRIORITY,optional)
> > + @$(call install_fixup, imx-uuc,SECTION,base)
> > + @$(call install_fixup, imx-uuc,AUTHOR,"Denis Osterland <Denis.Osterland@diehl.com>")
> > + @$(call install_fixup, imx-uuc,DESCRIPTION,missing)
> > +
> > + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/uuc)
> > + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/ufb)
> > + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/sdimage)
> > + @$(call install_alternative, imx-uuc, 0, 0, 0755, /linuxrc)
> > + @$(call install_alternative, imx-uuc, 0, 0, 0644, /fat)
> > +
> > + @$(call install_finish, imx-uuc)
> > +
> > + @$(call touch)
> > +
> > +# vim: syntax=make
> > --
> > 2.26.0
> >
> >
> >
> > 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
> >
>
>
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [ptxdist] [PATCH v2] fixup! imx-uuc: new package
2020-04-02 6:28 ` Denis Osterland-Heim
@ 2020-04-02 6:39 ` Michael Olbrich
0 siblings, 0 replies; 17+ messages in thread
From: Michael Olbrich @ 2020-04-02 6:39 UTC (permalink / raw)
To: ptxdist
On Thu, Apr 02, 2020 at 06:28:30AM +0000, Denis Osterland-Heim wrote:
> Am Mittwoch, den 01.04.2020, 17:08 +0200 schrieb Michael Olbrich:
> > On Tue, Mar 31, 2020 at 05:29:01AM +0000, Denis Osterland-Heim wrote:
> > > NXP user space util used by mfgtool.
> > >
> > > Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> > > ---
> > > ...001-sh-does-not-support-array-syntax.patch | 117 ++++++++++++++++++
> > > .../series | 4 +
> >
> > Now we have two patches :-/. I'll do another fixup myself.
> I am a little bit confused.
> I thought you would apply just the fixup version.
> It looks like something like: git am; git am; git rebase -i HEAD^^
> What happens at your side?
Your subject says 'fixup!' so I assumed it was a fixup :-). And by that I
mean a patch that should be squashed into your original patch. That worked
beacause rules/imx-uuc.in and rules/imx-uuc.make where identical so git-am
dropped that part and I didn't look any closer...
Please either provide a real fixup or just call it 'v3' the next time.
Anyways, I have the correct thing now and it should hit master soon. I
don't know if you'll get a 'applied' mail from my tooling...
Michael
> > > rules/imx-uuc.in | 7 ++
> > > rules/imx-uuc.make | 60 +++++++++
> > > 4 files changed, 188 insertions(+)
> > > create mode 100644 patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> > > create mode 100644 patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> > > create mode 100644 rules/imx-uuc.in
> > > create mode 100644 rules/imx-uuc.make
> > >
> > > diff --git a/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch b/patches/imx-uuc-2019-11-07-
> > > gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> > > new file mode 100644
> > > index 000000000..995baea19
> > > --- /dev/null
> > > +++ b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> > > @@ -0,0 +1,117 @@
> > > +From: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> > > +Date: Thu, 12 Mar 2020 17:36:22 +0100
> > > +Subject: [PATCH] sh does not support array syntax
> > > +
> > > +Remove NFS support, because it uses additional arrays and it is not
> > > +tested.
> > > +
> > > +Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> > > +---
> > > + linuxrc | 72 ++++++-----------------------------------------------------------
> > > + 1 file changed, 6 insertions(+), 66 deletions(-)
> > > +
> > > +diff --git a/linuxrc b/linuxrc
> > > +index 54bb8a2cbbd8..1f15e3cbdff3 100755
> > > +--- a/linuxrc
> > > ++++ b/linuxrc
> > > +@@ -16,20 +16,8 @@ last=0;
> > > +
> > > + UDC_DIR=/sys/class/udc
> > > +
> > > +-function launch_dhcpd() {
> > > +-
> > > +- touch -f /var/lib/misc/udhcpd.leases
> > > +- echo start 168.1.1.50 > /conf
> > > +- echo end 168.1.1.253 >> /conf
> > > +- echo interface usb$1 >>/conf
> > > +-
> > > +- ifconfig usb$1 168.1.1.1
> > > +- udhcpd /conf
> > > +-
> > > +-}
> > > +-
> > > + function contains() {
> > > +- for i in "${files[@]}"
> > > ++ for i in $files
> > > + do
> > > + if [ "$i" == "$1" ]; then
> > > + return 1;
> > > +@@ -45,7 +33,8 @@ function launch_uuc() {
> > > + echo 0x066F > idVendor
> > > +
> > > + if [[ ${cmdline} == *nfsroot* ]]; then
> > > +- echo 0x9CFF > idProduct
> > > ++ echo "unsupported"
> > > ++ exit 1
> > > + else
> > > + echo 0x9BFF > idProduct
> > > + fi
> > > +@@ -69,57 +58,8 @@ function launch_uuc() {
> > > + echo 0x40 > os_desc/b_vendor_code
> > > +
> > > + if [[ ${cmdline} == *nfsroot* ]]; then
> > > +- mkdir functions/ncm.1
> > > +- ln -s functions/ncm.1 configs/c.1/
> > > +-# mkdir functions/acm.1
> > > +-# ln -s functions/acm.1 configs/c.1/
> > > +- echo $1 > UDC
> > > +-
> > > +- echo "Start config network"
> > > +-
> > > +- ifconfig usb$2 up
> > > +- while [ ! -e /find_one ]
> > > +- do
> > > +- if [[ `ifconfig usb$2` == *inet6* ]]; then
> > > +- break;
> > > +- fi
> > > +- sleep 1
> > > +- done
> > > +-
> > > +- if [ -e /find_one ]; then
> > > +- exit 0
> > > +- fi
> > > +-
> > > +- touch /find_one
> > > +-
> > > +- launch_dhcpd $2
> > > +-
> > > +- remote=""
> > > +- while [[ "$remote" == "" ]];
> > > +- do
> > > +- sleep 2
> > > +- echo retry get remote ipaddress
> > > +- ping6 -c2 -I usb$2 ff02::1
> > > +-
> > > +- remote=`ip -6 neighbor show dev usb$2`
> > > +- remote=(${remote})
> > > +- remote=${remote[0]}
> > > +- done
> > > +-
> > > +- nfs=${cmdline#*nfsroot=}
> > > +- nfs=($nfs)
> > > +- nfs=${nfs[0]}
> > > +-
> > > +- nfs=${nfs##*:}
> > > +-
> > > +- echo ${remote} ${nfs}
> > > +-
> > > +- mount -t nfs [${remote}%usb$2]:${nfsroot}/${nfs} /mnt/
> > > +-
> > > +- cd /
> > > +-
> > > +- touch /exit_scan
> > > +-
> > > ++ echo "unsuppored"
> > > ++ exit 1
> > > + else
> > > + mkdir functions/ffs.utp$2
> > > + mkdir /dev/usb-utp$2
> > > +@@ -161,7 +101,7 @@ if test "$(ls -A "$UDC_DIR")"; then
> > > + for entry in *
> > > + do
> > > + if contains $entry; then
> > > +- files[$last]=$entry;
> > > ++ files="$files $entry";
> > > + id=$last;
> > > + last=`expr $last + 1`;
> > > + echo "Found New UDC: $entry";
> > > diff --git a/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> > > new file mode 100644
> > > index 000000000..125c531a3
> > > --- /dev/null
> > > +++ b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> > > @@ -0,0 +1,4 @@
> > > +# generated by git-ptx-patches
> > > +#tag:base --start-number 1
> > > +0001-sh-does-not-support-array-syntax.patch
> > > +# a982c4666a0474a014b361496182bd8c - git-ptx-patches magic
> > > diff --git a/rules/imx-uuc.in b/rules/imx-uuc.in
> > > new file mode 100644
> > > index 000000000..ec0cbcd3a
> > > --- /dev/null
> > > +++ b/rules/imx-uuc.in
> > > @@ -0,0 +1,7 @@
> > > +## SECTION=communication
> > > +
> > > +config IMX_UUC
> > > + tristate
> > > + prompt "imx-uuc"
> > > + help
> > > + A Daemon wait for Freescale/NXP mfgtools host's command.
> > > diff --git a/rules/imx-uuc.make b/rules/imx-uuc.make
> > > new file mode 100644
> > > index 000000000..c708f1be2
> > > --- /dev/null
> > > +++ b/rules/imx-uuc.make
> > > @@ -0,0 +1,60 @@
> > > +# -*-makefile-*-
> > > +#
> > > +# Copyright (C) 2016-2020 by Denis Osterland <Denis.Osterland@diehl.com>
> > > +#
> > > +# For further information about the PTXdist project and license conditions
> > > +# see the README file.
> > > +#
> > > +
> > > +PACKAGES-$(PTXCONF_IMX_UUC) += imx-uuc
> > > +
> > > +#
> > > +# Paths and names
> > > +#
> > > +IMX_UUC_VERSION := 2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc
> > > +IMX_UUC_MD5 := 1a807ab59464385309b92794b43b5caa
> > > +IMX_UUC := imx-uuc-$(IMX_UUC_VERSION)
> > > +IMX_UUC_SUFFIX := tar.gz
> > > +IMX_UUC_URL := https://github.com/NXPmicro/imx-uuc/archive/$(IMX_UUC).$(IMX_UUC_SUFFIX)
> > > +IMX_UUC_SOURCE := $(SRCDIR)/$(IMX_UUC).$(IMX_UUC_SUFFIX)
> > > +IMX_UUC_DIR := $(BUILDDIR)/$(IMX_UUC)
> > > +IMX_UUC_LICENSE := GPL-2.0-or-later
> > > +IMX_UUC_LICENSE_FILES := \
> > > + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
> > > +
> > > +# ----------------------------------------------------------------------------
> > > +# Prepare
> > > +# ----------------------------------------------------------------------------
> > > +
> > > +IMX_UUC_CONF_TOOL := NO
> > > +
> > > +# ----------------------------------------------------------------------------
> > > +# Compile
> > > +# ----------------------------------------------------------------------------
> > > +
> > > +IMX_UUC_MAKE_ENV := $(CROSS_ENV)
> > > +
> > > +# ----------------------------------------------------------------------------
> > > +# Target-Install
> > > +# ----------------------------------------------------------------------------
> > > +
> > > +$(STATEDIR)/imx-uuc.targetinstall:
> > > + @$(call targetinfo)
> > > +
> > > + @$(call install_init, imx-uuc)
> > > + @$(call install_fixup, imx-uuc,PRIORITY,optional)
> > > + @$(call install_fixup, imx-uuc,SECTION,base)
> > > + @$(call install_fixup, imx-uuc,AUTHOR,"Denis Osterland <Denis.Osterland@diehl.com>")
> > > + @$(call install_fixup, imx-uuc,DESCRIPTION,missing)
> > > +
> > > + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/uuc)
> > > + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/ufb)
> > > + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/sdimage)
> > > + @$(call install_alternative, imx-uuc, 0, 0, 0755, /linuxrc)
> > > + @$(call install_alternative, imx-uuc, 0, 0, 0644, /fat)
> > > +
> > > + @$(call install_finish, imx-uuc)
> > > +
> > > + @$(call touch)
> > > +
> > > +# vim: syntax=make
> > > --
> > > 2.26.0
> > >
> > >
> > >
> > > 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
> > >
> >
> >
>
>
> 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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [ptxdist] [v2] fixup! imx-uuc: new package
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-04-02 15:03 ` Michael Olbrich
2020-04-03 5:58 ` [ptxdist] [APPLIED] [v2,1/3] " Michael Olbrich
2 siblings, 0 replies; 17+ messages in thread
From: Michael Olbrich @ 2020-04-02 15:03 UTC (permalink / raw)
To: ptxdist; +Cc: Denis Osterland-Heim
Thanks, applied as 8dc2c7d514233515383a5cadb990edb2be9972d1.
Michael
[sent from post-receive hook]
On Thu, 02 Apr 2020 17:03:30 +0200, Denis Osterland-Heim <denis.osterland@diehl.com> wrote:
> NXP user space util used by mfgtool.
>
> Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> ---
> ...001-sh-does-not-support-array-syntax.patch | 117 ++++++++++++++++++
> .../series | 4 +
> rules/imx-uuc.in | 7 ++
> rules/imx-uuc.make | 60 +++++++++
> 4 files changed, 188 insertions(+)
> create mode 100644 patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> create mode 100644 patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> create mode 100644 rules/imx-uuc.in
> create mode 100644 rules/imx-uuc.make
>
> diff --git a/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> new file mode 100644
> index 000000000..995baea19
> --- /dev/null
> +++ b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> @@ -0,0 +1,117 @@
> +From: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> +Date: Thu, 12 Mar 2020 17:36:22 +0100
> +Subject: [PATCH] sh does not support array syntax
> +
> +Remove NFS support, because it uses additional arrays and it is not
> +tested.
> +
> +Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> +---
> + linuxrc | 72 ++++++-----------------------------------------------------------
> + 1 file changed, 6 insertions(+), 66 deletions(-)
> +
> +diff --git a/linuxrc b/linuxrc
> +index 54bb8a2cbbd8..1f15e3cbdff3 100755
> +--- a/linuxrc
> ++++ b/linuxrc
> +@@ -16,20 +16,8 @@ last=0;
> +
> + UDC_DIR=/sys/class/udc
> +
> +-function launch_dhcpd() {
> +-
> +- touch -f /var/lib/misc/udhcpd.leases
> +- echo start 168.1.1.50 > /conf
> +- echo end 168.1.1.253 >> /conf
> +- echo interface usb$1 >>/conf
> +-
> +- ifconfig usb$1 168.1.1.1
> +- udhcpd /conf
> +-
> +-}
> +-
> + function contains() {
> +- for i in "${files[@]}"
> ++ for i in $files
> + do
> + if [ "$i" == "$1" ]; then
> + return 1;
> +@@ -45,7 +33,8 @@ function launch_uuc() {
> + echo 0x066F > idVendor
> +
> + if [[ ${cmdline} == *nfsroot* ]]; then
> +- echo 0x9CFF > idProduct
> ++ echo "unsupported"
> ++ exit 1
> + else
> + echo 0x9BFF > idProduct
> + fi
> +@@ -69,57 +58,8 @@ function launch_uuc() {
> + echo 0x40 > os_desc/b_vendor_code
> +
> + if [[ ${cmdline} == *nfsroot* ]]; then
> +- mkdir functions/ncm.1
> +- ln -s functions/ncm.1 configs/c.1/
> +-# mkdir functions/acm.1
> +-# ln -s functions/acm.1 configs/c.1/
> +- echo $1 > UDC
> +-
> +- echo "Start config network"
> +-
> +- ifconfig usb$2 up
> +- while [ ! -e /find_one ]
> +- do
> +- if [[ `ifconfig usb$2` == *inet6* ]]; then
> +- break;
> +- fi
> +- sleep 1
> +- done
> +-
> +- if [ -e /find_one ]; then
> +- exit 0
> +- fi
> +-
> +- touch /find_one
> +-
> +- launch_dhcpd $2
> +-
> +- remote=""
> +- while [[ "$remote" == "" ]];
> +- do
> +- sleep 2
> +- echo retry get remote ipaddress
> +- ping6 -c2 -I usb$2 ff02::1
> +-
> +- remote=`ip -6 neighbor show dev usb$2`
> +- remote=(${remote})
> +- remote=${remote[0]}
> +- done
> +-
> +- nfs=${cmdline#*nfsroot=}
> +- nfs=($nfs)
> +- nfs=${nfs[0]}
> +-
> +- nfs=${nfs##*:}
> +-
> +- echo ${remote} ${nfs}
> +-
> +- mount -t nfs [${remote}%usb$2]:${nfsroot}/${nfs} /mnt/
> +-
> +- cd /
> +-
> +- touch /exit_scan
> +-
> ++ echo "unsuppored"
> ++ exit 1
> + else
> + mkdir functions/ffs.utp$2
> + mkdir /dev/usb-utp$2
> +@@ -161,7 +101,7 @@ if test "$(ls -A "$UDC_DIR")"; then
> + for entry in *
> + do
> + if contains $entry; then
> +- files[$last]=$entry;
> ++ files="$files $entry";
> + id=$last;
> + last=`expr $last + 1`;
> + echo "Found New UDC: $entry";
> diff --git a/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> new file mode 100644
> index 000000000..125c531a3
> --- /dev/null
> +++ b/patches/imx-uuc-2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> @@ -0,0 +1,4 @@
> +# generated by git-ptx-patches
> +#tag:base --start-number 1
> +0001-sh-does-not-support-array-syntax.patch
> +# a982c4666a0474a014b361496182bd8c - git-ptx-patches magic
> diff --git a/rules/imx-uuc.in b/rules/imx-uuc.in
> new file mode 100644
> index 000000000..ec0cbcd3a
> --- /dev/null
> +++ b/rules/imx-uuc.in
> @@ -0,0 +1,7 @@
> +## SECTION=communication
> +
> +config IMX_UUC
> + tristate
> + prompt "imx-uuc"
> + help
> + A Daemon wait for Freescale/NXP mfgtools host's command.
> diff --git a/rules/imx-uuc.make b/rules/imx-uuc.make
> new file mode 100644
> index 000000000..c708f1be2
> --- /dev/null
> +++ b/rules/imx-uuc.make
> @@ -0,0 +1,60 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2016-2020 by Denis Osterland <Denis.Osterland@diehl.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +PACKAGES-$(PTXCONF_IMX_UUC) += imx-uuc
> +
> +#
> +# Paths and names
> +#
> +IMX_UUC_VERSION := 2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc
> +IMX_UUC_MD5 := 1a807ab59464385309b92794b43b5caa
> +IMX_UUC := imx-uuc-$(IMX_UUC_VERSION)
> +IMX_UUC_SUFFIX := tar.gz
> +IMX_UUC_URL := https://github.com/NXPmicro/imx-uuc/archive/$(IMX_UUC).$(IMX_UUC_SUFFIX)
> +IMX_UUC_SOURCE := $(SRCDIR)/$(IMX_UUC).$(IMX_UUC_SUFFIX)
> +IMX_UUC_DIR := $(BUILDDIR)/$(IMX_UUC)
> +IMX_UUC_LICENSE := GPL-2.0-or-later
> +IMX_UUC_LICENSE_FILES := \
> + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +IMX_UUC_CONF_TOOL := NO
> +
> +# ----------------------------------------------------------------------------
> +# Compile
> +# ----------------------------------------------------------------------------
> +
> +IMX_UUC_MAKE_ENV := $(CROSS_ENV)
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/imx-uuc.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, imx-uuc)
> + @$(call install_fixup, imx-uuc,PRIORITY,optional)
> + @$(call install_fixup, imx-uuc,SECTION,base)
> + @$(call install_fixup, imx-uuc,AUTHOR,"Denis Osterland <Denis.Osterland@diehl.com>")
> + @$(call install_fixup, imx-uuc,DESCRIPTION,missing)
> +
> + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/uuc)
> + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/ufb)
> + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/sdimage)
> + @$(call install_alternative, imx-uuc, 0, 0, 0755, /linuxrc)
> + @$(call install_alternative, imx-uuc, 0, 0, 0644, /fat)
> +
> + @$(call install_finish, imx-uuc)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
>
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [ptxdist] [v2,3/3] host-mfgtools: new package
2020-03-26 17:03 ` [ptxdist] [PATCH v2 3/3] host-mfgtools: " Denis Osterland-Heim
@ 2020-04-02 15:03 ` Michael Olbrich
0 siblings, 0 replies; 17+ messages in thread
From: Michael Olbrich @ 2020-04-02 15:03 UTC (permalink / raw)
To: ptxdist; +Cc: Denis Osterland-Heim
Thanks, applied as 327162aeb0efdc576ec7f1767f76a266a26a7c13.
Michael
[sent from post-receive hook]
On Thu, 02 Apr 2020 17:03:31 +0200, Denis Osterland-Heim <denis.osterland@diehl.com> wrote:
> Tool to USB boot i.MX systems from NXP via Android fastboot.
>
> Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> ---
> rules/host-mfgtools.in | 13 +++++++++++++
> rules/host-mfgtools.make | 41 ++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 54 insertions(+)
> create mode 100644 rules/host-mfgtools.in
> create mode 100644 rules/host-mfgtools.make
>
> diff --git a/rules/host-mfgtools.in b/rules/host-mfgtools.in
> new file mode 100644
> index 000000000..c9046f10d
> --- /dev/null
> +++ b/rules/host-mfgtools.in
> @@ -0,0 +1,13 @@
> +## SECTION=hosttools
> +
> +config HOST_MFGTOOLS
> + tristate
> + default y if ALLYES
> + prompt "uuu (Universal Update Utility), mfgtools 3.0"
> + select HOST_CMAKE
> + select HOST_LIBUSB
> + select HOST_ZLIB
> + select HOST_BZIP2
> + select HOST_LIBZIP
> + help
> + Freescale/NXP I.MX Chip image deploy tools.
> diff --git a/rules/host-mfgtools.make b/rules/host-mfgtools.make
> new file mode 100644
> index 000000000..f9429ce1e
> --- /dev/null
> +++ b/rules/host-mfgtools.make
> @@ -0,0 +1,41 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2020 by Denis Osterland-Heim <Denis.Osterland@diehl.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +HOST_PACKAGES-$(PTXCONF_HOST_MFGTOOLS) += host-mfgtools
> +
> +#
> +# Paths and names
> +#
> +HOST_MFGTOOLS_VERSION := 1.3.154
> +HOST_MFGTOOLS_MD5 := dd97a479db92b70a36c15d834f1e503c
> +HOST_MFGTOOLS := mfgtools-$(HOST_MFGTOOLS_VERSION)
> +HOST_MFGTOOLS_SUFFIX := tar.gz
> +HOST_MFGTOOLS_URL := https://github.com/NXPmicro/mfgtools/archive/uuu_$(HOST_MFGTOOLS_VERSION).$(HOST_MFGTOOLS_SUFFIX)
> +HOST_MFGTOOLS_SOURCE := $(SRCDIR)/$(HOST_MFGTOOLS).$(HOST_MFGTOOLS_SUFFIX)
> +HOST_MFGTOOLS_DIR := $(HOST_BUILDDIR)/$(HOST_MFGTOOLS)
> +HOST_MFGTOOLS_LICENSE := BSD-3-Clause
> +HOST_MFGTOOLS_LICENSE_FILES := \
> + file://LICENSE;md5=38ec0c18112e9a92cffc4951661e85a5
> +
> +# ----------------------------------------------------------------------------
> +# Extract
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/host-mfgtools.extract.post:
> + @$(call targetinfo)
> + @$(call world/patchin/post, HOST_MFGTOOLS)
> + @echo "uuu_$(HOST_MFGTOOLS_VERSION)" > $(HOST_MFGTOOLS_DIR)/.tarball-version
> + @$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +HOST_MFGTOOLS_CONF_TOOL := cmake
> +
> +# vim: syntax=make
>
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [ptxdist] [APPLIED] [v2,1/3] imx-uuc: new package
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-04-02 15:03 ` [ptxdist] [v2] " Michael Olbrich
@ 2020-04-03 5:58 ` Michael Olbrich
2 siblings, 0 replies; 17+ messages in thread
From: Michael Olbrich @ 2020-04-03 5:58 UTC (permalink / raw)
To: ptxdist; +Cc: Denis Osterland-Heim
Thanks, applied as 8dc2c7d514233515383a5cadb990edb2be9972d1.
Michael
[sent from post-receive hook]
On Fri, 03 Apr 2020 07:58:10 +0200, Denis Osterland-Heim <denis.osterland@diehl.com> wrote:
> NXP user space util used by mfgtool.
>
> Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> ---
> ...001-sh-does-not-support-array-syntax.patch | 117 ++++++++++++++++++
> .../series | 4 +
> rules/imx-uuc.in | 7 ++
> rules/imx-uuc.make | 60 +++++++++
> 4 files changed, 188 insertions(+)
> create mode 100644 patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> create mode 100644 patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> create mode 100644 rules/imx-uuc.in
> create mode 100644 rules/imx-uuc.make
>
> diff --git a/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch b/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> new file mode 100644
> index 000000000..995baea19
> --- /dev/null
> +++ b/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/0001-sh-does-not-support-array-syntax.patch
> @@ -0,0 +1,117 @@
> +From: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> +Date: Thu, 12 Mar 2020 17:36:22 +0100
> +Subject: [PATCH] sh does not support array syntax
> +
> +Remove NFS support, because it uses additional arrays and it is not
> +tested.
> +
> +Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> +---
> + linuxrc | 72 ++++++-----------------------------------------------------------
> + 1 file changed, 6 insertions(+), 66 deletions(-)
> +
> +diff --git a/linuxrc b/linuxrc
> +index 54bb8a2cbbd8..1f15e3cbdff3 100755
> +--- a/linuxrc
> ++++ b/linuxrc
> +@@ -16,20 +16,8 @@ last=0;
> +
> + UDC_DIR=/sys/class/udc
> +
> +-function launch_dhcpd() {
> +-
> +- touch -f /var/lib/misc/udhcpd.leases
> +- echo start 168.1.1.50 > /conf
> +- echo end 168.1.1.253 >> /conf
> +- echo interface usb$1 >>/conf
> +-
> +- ifconfig usb$1 168.1.1.1
> +- udhcpd /conf
> +-
> +-}
> +-
> + function contains() {
> +- for i in "${files[@]}"
> ++ for i in $files
> + do
> + if [ "$i" == "$1" ]; then
> + return 1;
> +@@ -45,7 +33,8 @@ function launch_uuc() {
> + echo 0x066F > idVendor
> +
> + if [[ ${cmdline} == *nfsroot* ]]; then
> +- echo 0x9CFF > idProduct
> ++ echo "unsupported"
> ++ exit 1
> + else
> + echo 0x9BFF > idProduct
> + fi
> +@@ -69,57 +58,8 @@ function launch_uuc() {
> + echo 0x40 > os_desc/b_vendor_code
> +
> + if [[ ${cmdline} == *nfsroot* ]]; then
> +- mkdir functions/ncm.1
> +- ln -s functions/ncm.1 configs/c.1/
> +-# mkdir functions/acm.1
> +-# ln -s functions/acm.1 configs/c.1/
> +- echo $1 > UDC
> +-
> +- echo "Start config network"
> +-
> +- ifconfig usb$2 up
> +- while [ ! -e /find_one ]
> +- do
> +- if [[ `ifconfig usb$2` == *inet6* ]]; then
> +- break;
> +- fi
> +- sleep 1
> +- done
> +-
> +- if [ -e /find_one ]; then
> +- exit 0
> +- fi
> +-
> +- touch /find_one
> +-
> +- launch_dhcpd $2
> +-
> +- remote=""
> +- while [[ "$remote" == "" ]];
> +- do
> +- sleep 2
> +- echo retry get remote ipaddress
> +- ping6 -c2 -I usb$2 ff02::1
> +-
> +- remote=`ip -6 neighbor show dev usb$2`
> +- remote=(${remote})
> +- remote=${remote[0]}
> +- done
> +-
> +- nfs=${cmdline#*nfsroot=}
> +- nfs=($nfs)
> +- nfs=${nfs[0]}
> +-
> +- nfs=${nfs##*:}
> +-
> +- echo ${remote} ${nfs}
> +-
> +- mount -t nfs [${remote}%usb$2]:${nfsroot}/${nfs} /mnt/
> +-
> +- cd /
> +-
> +- touch /exit_scan
> +-
> ++ echo "unsuppored"
> ++ exit 1
> + else
> + mkdir functions/ffs.utp$2
> + mkdir /dev/usb-utp$2
> +@@ -161,7 +101,7 @@ if test "$(ls -A "$UDC_DIR")"; then
> + for entry in *
> + do
> + if contains $entry; then
> +- files[$last]=$entry;
> ++ files="$files $entry";
> + id=$last;
> + last=`expr $last + 1`;
> + echo "Found New UDC: $entry";
> diff --git a/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series b/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> new file mode 100644
> index 000000000..125c531a3
> --- /dev/null
> +++ b/patches/imx-uuc-0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc/series
> @@ -0,0 +1,4 @@
> +# generated by git-ptx-patches
> +#tag:base --start-number 1
> +0001-sh-does-not-support-array-syntax.patch
> +# a982c4666a0474a014b361496182bd8c - git-ptx-patches magic
> diff --git a/rules/imx-uuc.in b/rules/imx-uuc.in
> new file mode 100644
> index 000000000..ec0cbcd3a
> --- /dev/null
> +++ b/rules/imx-uuc.in
> @@ -0,0 +1,7 @@
> +## SECTION=communication
> +
> +config IMX_UUC
> + tristate
> + prompt "imx-uuc"
> + help
> + A Daemon wait for Freescale/NXP mfgtools host's command.
> diff --git a/rules/imx-uuc.make b/rules/imx-uuc.make
> new file mode 100644
> index 000000000..c708f1be2
> --- /dev/null
> +++ b/rules/imx-uuc.make
> @@ -0,0 +1,60 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2016-2020 by Denis Osterland <Denis.Osterland@diehl.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +PACKAGES-$(PTXCONF_IMX_UUC) += imx-uuc
> +
> +#
> +# Paths and names
> +#
> +IMX_UUC_VERSION := 2019-11-07-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc
> +IMX_UUC_MD5 := 1a807ab59464385309b92794b43b5caa
> +IMX_UUC := imx-uuc-$(IMX_UUC_VERSION)
> +IMX_UUC_SUFFIX := tar.gz
> +IMX_UUC_URL := https://github.com/NXPmicro/imx-uuc/archive/$(IMX_UUC).$(IMX_UUC_SUFFIX)
> +IMX_UUC_SOURCE := $(SRCDIR)/$(IMX_UUC).$(IMX_UUC_SUFFIX)
> +IMX_UUC_DIR := $(BUILDDIR)/$(IMX_UUC)
> +IMX_UUC_LICENSE := GPL-2.0-or-later
> +IMX_UUC_LICENSE_FILES := \
> + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +IMX_UUC_CONF_TOOL := NO
> +
> +# ----------------------------------------------------------------------------
> +# Compile
> +# ----------------------------------------------------------------------------
> +
> +IMX_UUC_MAKE_ENV := $(CROSS_ENV)
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/imx-uuc.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, imx-uuc)
> + @$(call install_fixup, imx-uuc,PRIORITY,optional)
> + @$(call install_fixup, imx-uuc,SECTION,base)
> + @$(call install_fixup, imx-uuc,AUTHOR,"Denis Osterland <Denis.Osterland@diehl.com>")
> + @$(call install_fixup, imx-uuc,DESCRIPTION,missing)
> +
> + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/uuc)
> + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/ufb)
> + @$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/sdimage)
> + @$(call install_alternative, imx-uuc, 0, 0, 0755, /linuxrc)
> + @$(call install_alternative, imx-uuc, 0, 0, 0644, /fat)
> +
> + @$(call install_finish, imx-uuc)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
>
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [ptxdist] [APPLIED] [v2,2/3] host-libzip: new package
2020-03-26 17:03 ` [ptxdist] [PATCH v2 2/3] host-libzip: " Denis Osterland-Heim
@ 2020-04-03 5:58 ` Michael Olbrich
0 siblings, 0 replies; 17+ messages in thread
From: Michael Olbrich @ 2020-04-03 5:58 UTC (permalink / raw)
To: ptxdist; +Cc: Denis Osterland-Heim
Thanks, applied as 2117120e28a770d8a77678b2cfe7855f85d76a88.
Michael
[sent from post-receive hook]
On Fri, 03 Apr 2020 07:58:11 +0200, Denis Osterland-Heim <denis.osterland@diehl.com> wrote:
> Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> ---
> rules/host-libzip.in | 8 ++++++++
> rules/host-libzip.make | 11 +++++++++++
> 2 files changed, 19 insertions(+)
> create mode 100644 rules/host-libzip.in
> create mode 100644 rules/host-libzip.make
>
> diff --git a/rules/host-libzip.in b/rules/host-libzip.in
> new file mode 100644
> index 000000000..14689309f
> --- /dev/null
> +++ b/rules/host-libzip.in
> @@ -0,0 +1,8 @@
> +## SECTION=hosttools_noprompt
> +
> +config HOST_LIBZIP
> + tristate
> + select HOST_CMAKE
> + select HOST_ZLIB
> + select HOST_BZIP2
> + default y if ALLYES
> diff --git a/rules/host-libzip.make b/rules/host-libzip.make
> new file mode 100644
> index 000000000..54b16cad0
> --- /dev/null
> +++ b/rules/host-libzip.make
> @@ -0,0 +1,11 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2020 by Denis Osterland-Heim <Denis.Osterland@diehl.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +HOST_PACKAGES-$(PTXCONF_HOST_LIBZIP) += host-libzip
> +
> +# vim: syntax=make
>
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2020-04-03 5:58 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26 17:03 [ptxdist] [PATCH v2 0/3] Freescale/NXP i.MX mfgtools 3.0 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 ` [ptxdist] [PATCH v2 0/3] Freescale/NXP i.MX mfgtools 3.0 Michael Olbrich
2020-03-27 13:01 ` Denis Osterland-Heim
2020-03-27 13:16 ` Sam Ravnborg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox