Re: MFGTools from NXP
Hello, On 10/17/19 10:40 AM, Mihaita Ivascu wrote: > Yes I have tried with 2019.01.0 barebox but no change. On linux I > cannot even connect with PUTTY even though /dev/ttyACM0 is present. On > Windows at least I can connect via PUTTY There's A Linux PuTTY client? Have you tried with a more traditional client, e.g. screen or microcom? > On both OSes fastboot does not list any device. But the board is > detected in device manager/dmesg. :/ I don't know why it doesn't work for you. I've used so far at least barebox v2018.12.0, v2019.03.0 and v2019.09.0 on my i.MX6UL board and all were correctly detected by the fastboot installed on my system (1:7.0.+r33-1 in debian 9.11). If you want to debug it, you should start by looking into why the ttyACM doesn't work for you. Cheers Ahmad > > Best regards, > Mihaita Ivascu > > On Wed, Oct 16, 2019 at 2:46 PM Ahmad Fatoum wrote: >> >> On 10/16/19 2:44 PM, Mihaita Ivascu wrote: >>> 2018.04.0 >> >> I've v2019.09.0 and did the same steps you described and it works for me. >> Can you try with a newer version? >> >>> >>> On Wed, Oct 16, 2019 at 2:41 PM Ahmad Fatoum >>> wrote: On 10/16/19 2:35 PM, Mihaita Ivascu wrote: > No it does not. Still no devices listed. Strange. What barebox version? > > Thanks, > Mihaita > > On Wed, Oct 16, 2019 at 1:36 PM Ahmad Fatoum > wrote: >> >> On 10/16/19 1:28 PM, Mihaita Ivascu wrote: >>> On Wed, Oct 16, 2019 at 11:53 AM Ahmad Fatoum >>> wrote: On 10/16/19 11:48 AM, Mihaita Ivascu wrote: > On Wed, Oct 16, 2019 at 11:26 AM Ahmad Fatoum > >>> wrote: >> >> On 10/16/19 11:21 AM, Mihaita Ivascu wrote: >>> Hello, >>> >>>Thanks for your answer. Yes i am able to connect via PUTTY to the >>> target. >>>Then I should use some adb commands in order to push the new >>> barebox/firmware ? do you know where I could find some examples? >> >> fastboot device -l works normally on Linux. You need to check what >> you >>> need >> to do on Windows to do the same. You should only need the Fastboot >>> utility >> for this. >> > [mi] Yes I have both fastboot and adb installed on both Windows and > Linux machines. In both cases it does not list any device. >The board is detected as fastboot android is windows device > manager. But the fastboot and adb does not list it. same for Linux. > Please see attachment Let's focus on Linux. You don't see a device there? What does barebox say? Does it say 'multi_bind: creating Fastboot >>> function'? What does you Linux host's dmesg say? >>> >>> barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ usbgadget -aA >>> udc0: registering UDC driver [g_multi] >>> multi_bind: creating Fastboot function >>> multi_bind: creating ACM function >>> g_multi usbgadget: Multifunction Composite Gadget >>> g_multi usbgadget: userspace failed to provide iSerialNumber >>> g_multi usbgadget: g_multi ready >>> barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ g_multi usbgadget: >>> high-speed >>> config #1: Multifunction Composite Gadget >>> >>> dmesg: >>> >>> [ 25.602275] usb 1-1.3: USB disconnect, device number 3 >>> [ 28.359930] usb 1-1.3: new high-speed USB device number 5 using >>> ehci-pci >>> [ 28.452971] usb 1-1.3: New USB device found, idVendor=1d6b, >>> idProduct=0104 >>> [ 28.452976] usb 1-1.3: New USB device strings: Mfr=0, Product=2, >>> SerialNumber=0 >>> [ 28.452980] usb 1-1.3: Product: Phytec phyCORE-i.MX6 Ultra Lite SOM >>> [ 28.457925] cdc_acm 1-1.3:1.1: ttyACM0: USB ACM device >>> >>> >>> So I see the device on Linux. But fastboot does not list any device on >>> Linux. >> >> sudo doesn't change this? >> >>> > >>> >>>Also I have a question: purpose of this activity is for me to be >>> able to flash some imx6ul boards that have no firmware: no barebox. >>>So I know hardware config for the port is otg mode but as I have >>> no >>> barebox running them before I am wondering if I will be able to >>> connect via PUTTY if I do not set the ACM gadget from barebox? >> >> Check the Embest MarS board's environment in barebox master. It sets >> up >> a fastboot gadget automatically on boot from imx-usb-loader. >> You can adjust it to your liking. > > [mi] I was not able to find any docs about this board. I will keep > searching/asking in the nxp community. If you have already ahve any > files related to it would be helpful. Thanks It's in the barebox next branch (not master, sorry), see
Re: MFGTools from NXP
Yes I have tried with 2019.01.0 barebox but no change. On linux I cannot even connect with PUTTY even though /dev/ttyACM0 is present. On Windows at least I can connect via PUTTY On both OSes fastboot does not list any device. But the board is detected in device manager/dmesg. Best regards, Mihaita Ivascu On Wed, Oct 16, 2019 at 2:46 PM Ahmad Fatoum wrote: > > On 10/16/19 2:44 PM, Mihaita Ivascu wrote: > > 2018.04.0 > > I've v2019.09.0 and did the same steps you described and it works for me. > Can you try with a newer version? > > > > > On Wed, Oct 16, 2019 at 2:41 PM Ahmad Fatoum > > wrote: > >> > >> On 10/16/19 2:35 PM, Mihaita Ivascu wrote: > >>> No it does not. Still no devices listed. > >> > >> Strange. What barebox version? > >> > >>> > >>> Thanks, > >>> Mihaita > >>> > >>> On Wed, Oct 16, 2019 at 1:36 PM Ahmad Fatoum > >>> wrote: > > On 10/16/19 1:28 PM, Mihaita Ivascu wrote: > > On Wed, Oct 16, 2019 at 11:53 AM Ahmad Fatoum > > wrote: > >> > >> > >> On 10/16/19 11:48 AM, Mihaita Ivascu wrote: > >>> On Wed, Oct 16, 2019 at 11:26 AM Ahmad Fatoum > >>> > > wrote: > > On 10/16/19 11:21 AM, Mihaita Ivascu wrote: > > Hello, > > > >Thanks for your answer. Yes i am able to connect via PUTTY to the > > target. > >Then I should use some adb commands in order to push the new > > barebox/firmware ? do you know where I could find some examples? > > fastboot device -l works normally on Linux. You need to check what > you > > need > to do on Windows to do the same. You should only need the Fastboot > > utility > for this. > > >>> [mi] Yes I have both fastboot and adb installed on both Windows and > >>> Linux machines. In both cases it does not list any device. > >>>The board is detected as fastboot android is windows device > >>> manager. But the fastboot and adb does not list it. same for Linux. > >>> Please see attachment > >> > >> Let's focus on Linux. You don't see a device there? > >> What does barebox say? Does it say 'multi_bind: creating Fastboot > > function'? > >> What does you Linux host's dmesg say? > >> > > > > barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ usbgadget -aA > > udc0: registering UDC driver [g_multi] > > multi_bind: creating Fastboot function > > multi_bind: creating ACM function > > g_multi usbgadget: Multifunction Composite Gadget > > g_multi usbgadget: userspace failed to provide iSerialNumber > > g_multi usbgadget: g_multi ready > > barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ g_multi usbgadget: > > high-speed > > config #1: Multifunction Composite Gadget > > > > dmesg: > > > > [ 25.602275] usb 1-1.3: USB disconnect, device number 3 > > [ 28.359930] usb 1-1.3: new high-speed USB device number 5 using > > ehci-pci > > [ 28.452971] usb 1-1.3: New USB device found, idVendor=1d6b, > > idProduct=0104 > > [ 28.452976] usb 1-1.3: New USB device strings: Mfr=0, Product=2, > > SerialNumber=0 > > [ 28.452980] usb 1-1.3: Product: Phytec phyCORE-i.MX6 Ultra Lite SOM > > [ 28.457925] cdc_acm 1-1.3:1.1: ttyACM0: USB ACM device > > > > > > So I see the device on Linux. But fastboot does not list any device on > > Linux. > > sudo doesn't change this? > > > > >> > > > > >Also I have a question: purpose of this activity is for me to be > > able to flash some imx6ul boards that have no firmware: no barebox. > >So I know hardware config for the port is otg mode but as I have > > no > > barebox running them before I am wondering if I will be able to > > connect via PUTTY if I do not set the ACM gadget from barebox? > > Check the Embest MarS board's environment in barebox master. It sets > up > a fastboot gadget automatically on boot from imx-usb-loader. > You can adjust it to your liking. > >>> > >>> [mi] I was not able to find any docs about this board. I will keep > >>> searching/asking in the nxp community. If you have already ahve any > >>> files related to it would be helpful. Thanks > >> > >> It's in the barebox next branch (not master, sorry), see here: > >> > > https://github.com/saschahauer/barebox/blob/next/arch/arm/boards/embest-marsboard/defaultenv-mars/init/fastboot > >> > >> You can copy and adjust the environment setup for your board. > >> > > Cheers > Ahmad > > > > > Thanks, > > Mihaita > > > > On Wed, Oct 16, 2019 at 10:51 AM Ahmad Fatoum > > > > wrote: > >> > >> On 10/16/19 10:40 AM, Mihaita Ivascu wrote: > >>> Hello again,
Re: MFGTools from NXP
On 10/16/19 2:44 PM, Mihaita Ivascu wrote: > 2018.04.0 I've v2019.09.0 and did the same steps you described and it works for me. Can you try with a newer version? > > On Wed, Oct 16, 2019 at 2:41 PM Ahmad Fatoum wrote: >> >> On 10/16/19 2:35 PM, Mihaita Ivascu wrote: >>> No it does not. Still no devices listed. >> >> Strange. What barebox version? >> >>> >>> Thanks, >>> Mihaita >>> >>> On Wed, Oct 16, 2019 at 1:36 PM Ahmad Fatoum >>> wrote: On 10/16/19 1:28 PM, Mihaita Ivascu wrote: > On Wed, Oct 16, 2019 at 11:53 AM Ahmad Fatoum > wrote: >> >> >> On 10/16/19 11:48 AM, Mihaita Ivascu wrote: >>> On Wed, Oct 16, 2019 at 11:26 AM Ahmad Fatoum > wrote: On 10/16/19 11:21 AM, Mihaita Ivascu wrote: > Hello, > >Thanks for your answer. Yes i am able to connect via PUTTY to the > target. >Then I should use some adb commands in order to push the new > barebox/firmware ? do you know where I could find some examples? fastboot device -l works normally on Linux. You need to check what you > need to do on Windows to do the same. You should only need the Fastboot > utility for this. >>> [mi] Yes I have both fastboot and adb installed on both Windows and >>> Linux machines. In both cases it does not list any device. >>>The board is detected as fastboot android is windows device >>> manager. But the fastboot and adb does not list it. same for Linux. >>> Please see attachment >> >> Let's focus on Linux. You don't see a device there? >> What does barebox say? Does it say 'multi_bind: creating Fastboot > function'? >> What does you Linux host's dmesg say? >> > > barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ usbgadget -aA > udc0: registering UDC driver [g_multi] > multi_bind: creating Fastboot function > multi_bind: creating ACM function > g_multi usbgadget: Multifunction Composite Gadget > g_multi usbgadget: userspace failed to provide iSerialNumber > g_multi usbgadget: g_multi ready > barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ g_multi usbgadget: > high-speed > config #1: Multifunction Composite Gadget > > dmesg: > > [ 25.602275] usb 1-1.3: USB disconnect, device number 3 > [ 28.359930] usb 1-1.3: new high-speed USB device number 5 using > ehci-pci > [ 28.452971] usb 1-1.3: New USB device found, idVendor=1d6b, > idProduct=0104 > [ 28.452976] usb 1-1.3: New USB device strings: Mfr=0, Product=2, > SerialNumber=0 > [ 28.452980] usb 1-1.3: Product: Phytec phyCORE-i.MX6 Ultra Lite SOM > [ 28.457925] cdc_acm 1-1.3:1.1: ttyACM0: USB ACM device > > > So I see the device on Linux. But fastboot does not list any device on > Linux. sudo doesn't change this? > >> > > >Also I have a question: purpose of this activity is for me to be > able to flash some imx6ul boards that have no firmware: no barebox. >So I know hardware config for the port is otg mode but as I have no > barebox running them before I am wondering if I will be able to > connect via PUTTY if I do not set the ACM gadget from barebox? Check the Embest MarS board's environment in barebox master. It sets up a fastboot gadget automatically on boot from imx-usb-loader. You can adjust it to your liking. >>> >>> [mi] I was not able to find any docs about this board. I will keep >>> searching/asking in the nxp community. If you have already ahve any >>> files related to it would be helpful. Thanks >> >> It's in the barebox next branch (not master, sorry), see here: >> > https://github.com/saschahauer/barebox/blob/next/arch/arm/boards/embest-marsboard/defaultenv-mars/init/fastboot >> >> You can copy and adjust the environment setup for your board. >> Cheers Ahmad > > Thanks, > Mihaita > > On Wed, Oct 16, 2019 at 10:51 AM Ahmad Fatoum > > wrote: >> >> On 10/16/19 10:40 AM, Mihaita Ivascu wrote: >>> Hello again, >>> >>>I have the target in otg peripheral mode, ADB and fastboot > drivers >>> installed but fastboot does not list any device. The board is > detected >>> in device manager >> >> Try enabling the ACM gadget in barebox and connect with PuTTY and > see if >> at least that works. It worked for me on Windows with another i.MX > board >> a month ago. >> >> As for fastboot, I don't know how to configure it on Windows, but > surely >> Android Modding boards will have you covered there. >> >>>Please see attachment. Any ideas how
Re: MFGTools from NXP
2018.04.0 On Wed, Oct 16, 2019 at 2:41 PM Ahmad Fatoum wrote: > > On 10/16/19 2:35 PM, Mihaita Ivascu wrote: > > No it does not. Still no devices listed. > > Strange. What barebox version? > > > > > Thanks, > > Mihaita > > > > On Wed, Oct 16, 2019 at 1:36 PM Ahmad Fatoum > > wrote: > >> > >> On 10/16/19 1:28 PM, Mihaita Ivascu wrote: > >>> On Wed, Oct 16, 2019 at 11:53 AM Ahmad Fatoum > >>> wrote: > > > On 10/16/19 11:48 AM, Mihaita Ivascu wrote: > > On Wed, Oct 16, 2019 at 11:26 AM Ahmad Fatoum > >>> wrote: > >> > >> On 10/16/19 11:21 AM, Mihaita Ivascu wrote: > >>> Hello, > >>> > >>>Thanks for your answer. Yes i am able to connect via PUTTY to the > >>> target. > >>>Then I should use some adb commands in order to push the new > >>> barebox/firmware ? do you know where I could find some examples? > >> > >> fastboot device -l works normally on Linux. You need to check what you > >>> need > >> to do on Windows to do the same. You should only need the Fastboot > >>> utility > >> for this. > >> > > [mi] Yes I have both fastboot and adb installed on both Windows and > > Linux machines. In both cases it does not list any device. > >The board is detected as fastboot android is windows device > > manager. But the fastboot and adb does not list it. same for Linux. > > Please see attachment > > Let's focus on Linux. You don't see a device there? > What does barebox say? Does it say 'multi_bind: creating Fastboot > >>> function'? > What does you Linux host's dmesg say? > > >>> > >>> barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ usbgadget -aA > >>> udc0: registering UDC driver [g_multi] > >>> multi_bind: creating Fastboot function > >>> multi_bind: creating ACM function > >>> g_multi usbgadget: Multifunction Composite Gadget > >>> g_multi usbgadget: userspace failed to provide iSerialNumber > >>> g_multi usbgadget: g_multi ready > >>> barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ g_multi usbgadget: > >>> high-speed > >>> config #1: Multifunction Composite Gadget > >>> > >>> dmesg: > >>> > >>> [ 25.602275] usb 1-1.3: USB disconnect, device number 3 > >>> [ 28.359930] usb 1-1.3: new high-speed USB device number 5 using > >>> ehci-pci > >>> [ 28.452971] usb 1-1.3: New USB device found, idVendor=1d6b, > >>> idProduct=0104 > >>> [ 28.452976] usb 1-1.3: New USB device strings: Mfr=0, Product=2, > >>> SerialNumber=0 > >>> [ 28.452980] usb 1-1.3: Product: Phytec phyCORE-i.MX6 Ultra Lite SOM > >>> [ 28.457925] cdc_acm 1-1.3:1.1: ttyACM0: USB ACM device > >>> > >>> > >>> So I see the device on Linux. But fastboot does not list any device on > >>> Linux. > >> > >> sudo doesn't change this? > >> > >>> > > > >>> > >>>Also I have a question: purpose of this activity is for me to be > >>> able to flash some imx6ul boards that have no firmware: no barebox. > >>>So I know hardware config for the port is otg mode but as I have no > >>> barebox running them before I am wondering if I will be able to > >>> connect via PUTTY if I do not set the ACM gadget from barebox? > >> > >> Check the Embest MarS board's environment in barebox master. It sets up > >> a fastboot gadget automatically on boot from imx-usb-loader. > >> You can adjust it to your liking. > > > > [mi] I was not able to find any docs about this board. I will keep > > searching/asking in the nxp community. If you have already ahve any > > files related to it would be helpful. Thanks > > It's in the barebox next branch (not master, sorry), see here: > > >>> https://github.com/saschahauer/barebox/blob/next/arch/arm/boards/embest-marsboard/defaultenv-mars/init/fastboot > > You can copy and adjust the environment setup for your board. > > >> > >> Cheers > >> Ahmad > >> > >>> > >>> Thanks, > >>> Mihaita > >>> > >>> On Wed, Oct 16, 2019 at 10:51 AM Ahmad Fatoum > >>> > >>> wrote: > > On 10/16/19 10:40 AM, Mihaita Ivascu wrote: > > Hello again, > > > >I have the target in otg peripheral mode, ADB and fastboot > >>> drivers > > installed but fastboot does not list any device. The board is > >>> detected > > in device manager > > Try enabling the ACM gadget in barebox and connect with PuTTY and > >>> see if > at least that works. It worked for me on Windows with another i.MX > >>> board > a month ago. > > As for fastboot, I don't know how to configure it on Windows, but > >>> surely > Android Modding boards will have you covered there. > > >Please see attachment. Any ideas how should I proceed? Thanks for > > the support. > > You can enable the ACM gadget in barebox and see if that works, I > >>> tested > it
Re: MFGTools from NXP
On 10/16/19 2:35 PM, Mihaita Ivascu wrote: > No it does not. Still no devices listed. Strange. What barebox version? > > Thanks, > Mihaita > > On Wed, Oct 16, 2019 at 1:36 PM Ahmad Fatoum wrote: >> >> On 10/16/19 1:28 PM, Mihaita Ivascu wrote: >>> On Wed, Oct 16, 2019 at 11:53 AM Ahmad Fatoum >>> wrote: On 10/16/19 11:48 AM, Mihaita Ivascu wrote: > On Wed, Oct 16, 2019 at 11:26 AM Ahmad Fatoum >>> wrote: >> >> On 10/16/19 11:21 AM, Mihaita Ivascu wrote: >>> Hello, >>> >>>Thanks for your answer. Yes i am able to connect via PUTTY to the >>> target. >>>Then I should use some adb commands in order to push the new >>> barebox/firmware ? do you know where I could find some examples? >> >> fastboot device -l works normally on Linux. You need to check what you >>> need >> to do on Windows to do the same. You should only need the Fastboot >>> utility >> for this. >> > [mi] Yes I have both fastboot and adb installed on both Windows and > Linux machines. In both cases it does not list any device. >The board is detected as fastboot android is windows device > manager. But the fastboot and adb does not list it. same for Linux. > Please see attachment Let's focus on Linux. You don't see a device there? What does barebox say? Does it say 'multi_bind: creating Fastboot >>> function'? What does you Linux host's dmesg say? >>> >>> barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ usbgadget -aA >>> udc0: registering UDC driver [g_multi] >>> multi_bind: creating Fastboot function >>> multi_bind: creating ACM function >>> g_multi usbgadget: Multifunction Composite Gadget >>> g_multi usbgadget: userspace failed to provide iSerialNumber >>> g_multi usbgadget: g_multi ready >>> barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ g_multi usbgadget: high-speed >>> config #1: Multifunction Composite Gadget >>> >>> dmesg: >>> >>> [ 25.602275] usb 1-1.3: USB disconnect, device number 3 >>> [ 28.359930] usb 1-1.3: new high-speed USB device number 5 using ehci-pci >>> [ 28.452971] usb 1-1.3: New USB device found, idVendor=1d6b, >>> idProduct=0104 >>> [ 28.452976] usb 1-1.3: New USB device strings: Mfr=0, Product=2, >>> SerialNumber=0 >>> [ 28.452980] usb 1-1.3: Product: Phytec phyCORE-i.MX6 Ultra Lite SOM >>> [ 28.457925] cdc_acm 1-1.3:1.1: ttyACM0: USB ACM device >>> >>> >>> So I see the device on Linux. But fastboot does not list any device on >>> Linux. >> >> sudo doesn't change this? >> >>> > >>> >>>Also I have a question: purpose of this activity is for me to be >>> able to flash some imx6ul boards that have no firmware: no barebox. >>>So I know hardware config for the port is otg mode but as I have no >>> barebox running them before I am wondering if I will be able to >>> connect via PUTTY if I do not set the ACM gadget from barebox? >> >> Check the Embest MarS board's environment in barebox master. It sets up >> a fastboot gadget automatically on boot from imx-usb-loader. >> You can adjust it to your liking. > > [mi] I was not able to find any docs about this board. I will keep > searching/asking in the nxp community. If you have already ahve any > files related to it would be helpful. Thanks It's in the barebox next branch (not master, sorry), see here: >>> https://github.com/saschahauer/barebox/blob/next/arch/arm/boards/embest-marsboard/defaultenv-mars/init/fastboot You can copy and adjust the environment setup for your board. >> >> Cheers >> Ahmad >> >>> >>> Thanks, >>> Mihaita >>> >>> On Wed, Oct 16, 2019 at 10:51 AM Ahmad Fatoum >>> wrote: On 10/16/19 10:40 AM, Mihaita Ivascu wrote: > Hello again, > >I have the target in otg peripheral mode, ADB and fastboot >>> drivers > installed but fastboot does not list any device. The board is >>> detected > in device manager Try enabling the ACM gadget in barebox and connect with PuTTY and >>> see if at least that works. It worked for me on Windows with another i.MX >>> board a month ago. As for fastboot, I don't know how to configure it on Windows, but >>> surely Android Modding boards will have you covered there. >Please see attachment. Any ideas how should I proceed? Thanks for > the support. You can enable the ACM gadget in barebox and see if that works, I >>> tested it on Windows with an i.MX board a month ago Cheers Ahmad > > Thanks, > Mihaita > > On Wed, Oct 16, 2019 at 9:32 AM Mihaita Ivascu > wrote: >> >> Thanks. I have installed ADB and fastboot drivers for Win from >> >>>
Re: MFGTools from NXP
No it does not. Still no devices listed. Thanks, Mihaita On Wed, Oct 16, 2019 at 1:36 PM Ahmad Fatoum wrote: > > On 10/16/19 1:28 PM, Mihaita Ivascu wrote: > > On Wed, Oct 16, 2019 at 11:53 AM Ahmad Fatoum > > wrote: > >> > >> > >> On 10/16/19 11:48 AM, Mihaita Ivascu wrote: > >>> On Wed, Oct 16, 2019 at 11:26 AM Ahmad Fatoum > > wrote: > > On 10/16/19 11:21 AM, Mihaita Ivascu wrote: > > Hello, > > > >Thanks for your answer. Yes i am able to connect via PUTTY to the > > target. > >Then I should use some adb commands in order to push the new > > barebox/firmware ? do you know where I could find some examples? > > fastboot device -l works normally on Linux. You need to check what you > > need > to do on Windows to do the same. You should only need the Fastboot > > utility > for this. > > >>> [mi] Yes I have both fastboot and adb installed on both Windows and > >>> Linux machines. In both cases it does not list any device. > >>>The board is detected as fastboot android is windows device > >>> manager. But the fastboot and adb does not list it. same for Linux. > >>> Please see attachment > >> > >> Let's focus on Linux. You don't see a device there? > >> What does barebox say? Does it say 'multi_bind: creating Fastboot > > function'? > >> What does you Linux host's dmesg say? > >> > > > > barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ usbgadget -aA > > udc0: registering UDC driver [g_multi] > > multi_bind: creating Fastboot function > > multi_bind: creating ACM function > > g_multi usbgadget: Multifunction Composite Gadget > > g_multi usbgadget: userspace failed to provide iSerialNumber > > g_multi usbgadget: g_multi ready > > barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ g_multi usbgadget: high-speed > > config #1: Multifunction Composite Gadget > > > > dmesg: > > > > [ 25.602275] usb 1-1.3: USB disconnect, device number 3 > > [ 28.359930] usb 1-1.3: new high-speed USB device number 5 using ehci-pci > > [ 28.452971] usb 1-1.3: New USB device found, idVendor=1d6b, > > idProduct=0104 > > [ 28.452976] usb 1-1.3: New USB device strings: Mfr=0, Product=2, > > SerialNumber=0 > > [ 28.452980] usb 1-1.3: Product: Phytec phyCORE-i.MX6 Ultra Lite SOM > > [ 28.457925] cdc_acm 1-1.3:1.1: ttyACM0: USB ACM device > > > > > > So I see the device on Linux. But fastboot does not list any device on > > Linux. > > sudo doesn't change this? > > > > >> > > > > >Also I have a question: purpose of this activity is for me to be > > able to flash some imx6ul boards that have no firmware: no barebox. > >So I know hardware config for the port is otg mode but as I have no > > barebox running them before I am wondering if I will be able to > > connect via PUTTY if I do not set the ACM gadget from barebox? > > Check the Embest MarS board's environment in barebox master. It sets up > a fastboot gadget automatically on boot from imx-usb-loader. > You can adjust it to your liking. > >>> > >>> [mi] I was not able to find any docs about this board. I will keep > >>> searching/asking in the nxp community. If you have already ahve any > >>> files related to it would be helpful. Thanks > >> > >> It's in the barebox next branch (not master, sorry), see here: > >> > > https://github.com/saschahauer/barebox/blob/next/arch/arm/boards/embest-marsboard/defaultenv-mars/init/fastboot > >> > >> You can copy and adjust the environment setup for your board. > >> > > Cheers > Ahmad > > > > > Thanks, > > Mihaita > > > > On Wed, Oct 16, 2019 at 10:51 AM Ahmad Fatoum > > wrote: > >> > >> On 10/16/19 10:40 AM, Mihaita Ivascu wrote: > >>> Hello again, > >>> > >>>I have the target in otg peripheral mode, ADB and fastboot > > drivers > >>> installed but fastboot does not list any device. The board is > > detected > >>> in device manager > >> > >> Try enabling the ACM gadget in barebox and connect with PuTTY and > > see if > >> at least that works. It worked for me on Windows with another i.MX > > board > >> a month ago. > >> > >> As for fastboot, I don't know how to configure it on Windows, but > > surely > >> Android Modding boards will have you covered there. > >> > >>>Please see attachment. Any ideas how should I proceed? Thanks for > >>> the support. > >> > >> You can enable the ACM gadget in barebox and see if that works, I > > tested > >> it on Windows with an i.MX board a month ago > >> > >> Cheers > >> Ahmad > >> > >>> > >>> Thanks, > >>> Mihaita > >>> > >>> On Wed, Oct 16, 2019 at 9:32 AM Mihaita Ivascu > >>> wrote: > > Thanks. I have installed ADB and fastboot drivers for Win from > > > https://www.getdroidtips.com/how-to-install-adb-and-fastboot-on-windows/ > I have installed according to the
Re: MFGTools from NXP
On 10/16/19 1:28 PM, Mihaita Ivascu wrote: > On Wed, Oct 16, 2019 at 11:53 AM Ahmad Fatoum > wrote: >> >> >> On 10/16/19 11:48 AM, Mihaita Ivascu wrote: >>> On Wed, Oct 16, 2019 at 11:26 AM Ahmad Fatoum > wrote: On 10/16/19 11:21 AM, Mihaita Ivascu wrote: > Hello, > >Thanks for your answer. Yes i am able to connect via PUTTY to the > target. >Then I should use some adb commands in order to push the new > barebox/firmware ? do you know where I could find some examples? fastboot device -l works normally on Linux. You need to check what you > need to do on Windows to do the same. You should only need the Fastboot > utility for this. >>> [mi] Yes I have both fastboot and adb installed on both Windows and >>> Linux machines. In both cases it does not list any device. >>>The board is detected as fastboot android is windows device >>> manager. But the fastboot and adb does not list it. same for Linux. >>> Please see attachment >> >> Let's focus on Linux. You don't see a device there? >> What does barebox say? Does it say 'multi_bind: creating Fastboot > function'? >> What does you Linux host's dmesg say? >> > > barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ usbgadget -aA > udc0: registering UDC driver [g_multi] > multi_bind: creating Fastboot function > multi_bind: creating ACM function > g_multi usbgadget: Multifunction Composite Gadget > g_multi usbgadget: userspace failed to provide iSerialNumber > g_multi usbgadget: g_multi ready > barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ g_multi usbgadget: high-speed > config #1: Multifunction Composite Gadget > > dmesg: > > [ 25.602275] usb 1-1.3: USB disconnect, device number 3 > [ 28.359930] usb 1-1.3: new high-speed USB device number 5 using ehci-pci > [ 28.452971] usb 1-1.3: New USB device found, idVendor=1d6b, > idProduct=0104 > [ 28.452976] usb 1-1.3: New USB device strings: Mfr=0, Product=2, > SerialNumber=0 > [ 28.452980] usb 1-1.3: Product: Phytec phyCORE-i.MX6 Ultra Lite SOM > [ 28.457925] cdc_acm 1-1.3:1.1: ttyACM0: USB ACM device > > > So I see the device on Linux. But fastboot does not list any device on > Linux. sudo doesn't change this? > >> > > >Also I have a question: purpose of this activity is for me to be > able to flash some imx6ul boards that have no firmware: no barebox. >So I know hardware config for the port is otg mode but as I have no > barebox running them before I am wondering if I will be able to > connect via PUTTY if I do not set the ACM gadget from barebox? Check the Embest MarS board's environment in barebox master. It sets up a fastboot gadget automatically on boot from imx-usb-loader. You can adjust it to your liking. >>> >>> [mi] I was not able to find any docs about this board. I will keep >>> searching/asking in the nxp community. If you have already ahve any >>> files related to it would be helpful. Thanks >> >> It's in the barebox next branch (not master, sorry), see here: >> > https://github.com/saschahauer/barebox/blob/next/arch/arm/boards/embest-marsboard/defaultenv-mars/init/fastboot >> >> You can copy and adjust the environment setup for your board. >> Cheers Ahmad > > Thanks, > Mihaita > > On Wed, Oct 16, 2019 at 10:51 AM Ahmad Fatoum > wrote: >> >> On 10/16/19 10:40 AM, Mihaita Ivascu wrote: >>> Hello again, >>> >>>I have the target in otg peripheral mode, ADB and fastboot > drivers >>> installed but fastboot does not list any device. The board is > detected >>> in device manager >> >> Try enabling the ACM gadget in barebox and connect with PuTTY and > see if >> at least that works. It worked for me on Windows with another i.MX > board >> a month ago. >> >> As for fastboot, I don't know how to configure it on Windows, but > surely >> Android Modding boards will have you covered there. >> >>>Please see attachment. Any ideas how should I proceed? Thanks for >>> the support. >> >> You can enable the ACM gadget in barebox and see if that works, I > tested >> it on Windows with an i.MX board a month ago >> >> Cheers >> Ahmad >> >>> >>> Thanks, >>> Mihaita >>> >>> On Wed, Oct 16, 2019 at 9:32 AM Mihaita Ivascu >>> wrote: Thanks. I have installed ADB and fastboot drivers for Win from > https://www.getdroidtips.com/how-to-install-adb-and-fastboot-on-windows/ I have installed according to the attachment. But is not recognized in Windows. I did reboot the system after installation but did not add any new env variable. H:\>fastboot devices -l 'fastboot' is not recognized as an internal or external command, operable program or batch file. Thanks, Mihaita On Tue,
Re: MFGTools from NXP
On Wed, Oct 16, 2019 at 11:53 AM Ahmad Fatoum wrote: > > > On 10/16/19 11:48 AM, Mihaita Ivascu wrote: > > On Wed, Oct 16, 2019 at 11:26 AM Ahmad Fatoum > > wrote: > >> > >> On 10/16/19 11:21 AM, Mihaita Ivascu wrote: > >>> Hello, > >>> > >>>Thanks for your answer. Yes i am able to connect via PUTTY to the > >>> target. > >>>Then I should use some adb commands in order to push the new > >>> barebox/firmware ? do you know where I could find some examples? > >> > >> fastboot device -l works normally on Linux. You need to check what you need > >> to do on Windows to do the same. You should only need the Fastboot utility > >> for this. > >> > > [mi] Yes I have both fastboot and adb installed on both Windows and > > Linux machines. In both cases it does not list any device. > >The board is detected as fastboot android is windows device > > manager. But the fastboot and adb does not list it. same for Linux. > > Please see attachment > > Let's focus on Linux. You don't see a device there? > What does barebox say? Does it say 'multi_bind: creating Fastboot function'? > What does you Linux host's dmesg say? barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ usbgadget -aA udc0: registering UDC driver [g_multi] multi_bind: creating Fastboot function multi_bind: creating ACM function g_multi usbgadget: Multifunction Composite Gadget g_multi usbgadget: userspace failed to provide iSerialNumber g_multi usbgadget: g_multi ready barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ g_multi usbgadget: high-speed config #1: Multifunction Composite Gadget dmesg: [ 25.602275] usb 1-1.3: USB disconnect, device number 3 [ 28.359930] usb 1-1.3: new high-speed USB device number 5 using ehci-pci [ 28.452971] usb 1-1.3: New USB device found, idVendor=1d6b, idProduct=0104 [ 28.452976] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ 28.452980] usb 1-1.3: Product: Phytec phyCORE-i.MX6 Ultra Lite SOM [ 28.457925] cdc_acm 1-1.3:1.1: ttyACM0: USB ACM device So I see the device on Linux. But fastboot does not list any device on Linux. > > > > > >>> > >>>Also I have a question: purpose of this activity is for me to be > >>> able to flash some imx6ul boards that have no firmware: no barebox. > >>>So I know hardware config for the port is otg mode but as I have no > >>> barebox running them before I am wondering if I will be able to > >>> connect via PUTTY if I do not set the ACM gadget from barebox? > >> > >> Check the Embest MarS board's environment in barebox master. It sets up > >> a fastboot gadget automatically on boot from imx-usb-loader. > >> You can adjust it to your liking. > > > > [mi] I was not able to find any docs about this board. I will keep > > searching/asking in the nxp community. If you have already ahve any > > files related to it would be helpful. Thanks > > It's in the barebox next branch (not master, sorry), see here: > https://github.com/saschahauer/barebox/blob/next/arch/arm/boards/embest-marsboard/defaultenv-mars/init/fastboot > > You can copy and adjust the environment setup for your board. > > >> > >> Cheers > >> Ahmad > >> > >>> > >>> Thanks, > >>> Mihaita > >>> > >>> On Wed, Oct 16, 2019 at 10:51 AM Ahmad Fatoum > >>> wrote: > > On 10/16/19 10:40 AM, Mihaita Ivascu wrote: > > Hello again, > > > >I have the target in otg peripheral mode, ADB and fastboot drivers > > installed but fastboot does not list any device. The board is detected > > in device manager > > Try enabling the ACM gadget in barebox and connect with PuTTY and see if > at least that works. It worked for me on Windows with another i.MX board > a month ago. > > As for fastboot, I don't know how to configure it on Windows, but surely > Android Modding boards will have you covered there. > > >Please see attachment. Any ideas how should I proceed? Thanks for > > the support. > > You can enable the ACM gadget in barebox and see if that works, I tested > it on Windows with an i.MX board a month ago > > Cheers > Ahmad > > > > > Thanks, > > Mihaita > > > > On Wed, Oct 16, 2019 at 9:32 AM Mihaita Ivascu > > wrote: > >> > >> Thanks. I have installed ADB and fastboot drivers for Win from > >> https://www.getdroidtips.com/how-to-install-adb-and-fastboot-on-windows/ > >> I have installed according to the attachment. > >> But is not recognized in Windows. I did reboot the system after > >> installation but did not add any new env variable. > >> > >> H:\>fastboot devices -l > >> 'fastboot' is not recognized as an internal or external command, > >> operable program or batch file. > >> > >> Thanks, > >> Mihaita > >> > >> > >> On Tue, Oct 15, 2019 at 4:44 PM Ahmad Fatoum > >> wrote: > >>> > >>> On 10/15/19 4:41 PM, Mihaita Ivascu wrote: > barebox@Phytec
Re: MFGTools from NXP
On 10/16/19 11:48 AM, Mihaita Ivascu wrote: > On Wed, Oct 16, 2019 at 11:26 AM Ahmad Fatoum wrote: >> >> On 10/16/19 11:21 AM, Mihaita Ivascu wrote: >>> Hello, >>> >>>Thanks for your answer. Yes i am able to connect via PUTTY to the target. >>>Then I should use some adb commands in order to push the new >>> barebox/firmware ? do you know where I could find some examples? >> >> fastboot device -l works normally on Linux. You need to check what you need >> to do on Windows to do the same. You should only need the Fastboot utility >> for this. >> > [mi] Yes I have both fastboot and adb installed on both Windows and > Linux machines. In both cases it does not list any device. >The board is detected as fastboot android is windows device > manager. But the fastboot and adb does not list it. same for Linux. > Please see attachment Let's focus on Linux. You don't see a device there? What does barebox say? Does it say 'multi_bind: creating Fastboot function'? What does you Linux host's dmesg say? > >>> >>>Also I have a question: purpose of this activity is for me to be >>> able to flash some imx6ul boards that have no firmware: no barebox. >>>So I know hardware config for the port is otg mode but as I have no >>> barebox running them before I am wondering if I will be able to >>> connect via PUTTY if I do not set the ACM gadget from barebox? >> >> Check the Embest MarS board's environment in barebox master. It sets up >> a fastboot gadget automatically on boot from imx-usb-loader. >> You can adjust it to your liking. > > [mi] I was not able to find any docs about this board. I will keep > searching/asking in the nxp community. If you have already ahve any > files related to it would be helpful. Thanks It's in the barebox next branch (not master, sorry), see here: https://github.com/saschahauer/barebox/blob/next/arch/arm/boards/embest-marsboard/defaultenv-mars/init/fastboot You can copy and adjust the environment setup for your board. >> >> Cheers >> Ahmad >> >>> >>> Thanks, >>> Mihaita >>> >>> On Wed, Oct 16, 2019 at 10:51 AM Ahmad Fatoum >>> wrote: On 10/16/19 10:40 AM, Mihaita Ivascu wrote: > Hello again, > >I have the target in otg peripheral mode, ADB and fastboot drivers > installed but fastboot does not list any device. The board is detected > in device manager Try enabling the ACM gadget in barebox and connect with PuTTY and see if at least that works. It worked for me on Windows with another i.MX board a month ago. As for fastboot, I don't know how to configure it on Windows, but surely Android Modding boards will have you covered there. >Please see attachment. Any ideas how should I proceed? Thanks for > the support. You can enable the ACM gadget in barebox and see if that works, I tested it on Windows with an i.MX board a month ago Cheers Ahmad > > Thanks, > Mihaita > > On Wed, Oct 16, 2019 at 9:32 AM Mihaita Ivascu > wrote: >> >> Thanks. I have installed ADB and fastboot drivers for Win from >> https://www.getdroidtips.com/how-to-install-adb-and-fastboot-on-windows/ >> I have installed according to the attachment. >> But is not recognized in Windows. I did reboot the system after >> installation but did not add any new env variable. >> >> H:\>fastboot devices -l >> 'fastboot' is not recognized as an internal or external command, >> operable program or batch file. >> >> Thanks, >> Mihaita >> >> >> On Tue, Oct 15, 2019 at 4:44 PM Ahmad Fatoum >> wrote: >>> >>> On 10/15/19 4:41 PM, Mihaita Ivascu wrote: barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ fastboot devices -l >>> That's what you run on your host system, not on the target. >>> -- >>> Pengutronix e.K. | >>> | >>> Industrial Linux Solutions | http://www.pengutronix.de/ >>> | >>> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 >>> | >>> Amtsgericht Hildesheim, HRA 2686 | Fax: >>> +49-5121-206917- | -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | >>> >> >> >> -- >> Pengutronix e.K. | | >> Industrial Linux Solutions | http://www.pengutronix.de/ | >> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| >> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | -- Pengutronix e.K. |
Re: MFGTools from NXP
On Wed, Oct 16, 2019 at 11:26 AM Ahmad Fatoum wrote: > > On 10/16/19 11:21 AM, Mihaita Ivascu wrote: > > Hello, > > > >Thanks for your answer. Yes i am able to connect via PUTTY to the target. > >Then I should use some adb commands in order to push the new > > barebox/firmware ? do you know where I could find some examples? > > fastboot device -l works normally on Linux. You need to check what you need > to do on Windows to do the same. You should only need the Fastboot utility > for this. > [mi] Yes I have both fastboot and adb installed on both Windows and Linux machines. In both cases it does not list any device. The board is detected as fastboot android is windows device manager. But the fastboot and adb does not list it. same for Linux. Please see attachment > > > >Also I have a question: purpose of this activity is for me to be > > able to flash some imx6ul boards that have no firmware: no barebox. > >So I know hardware config for the port is otg mode but as I have no > > barebox running them before I am wondering if I will be able to > > connect via PUTTY if I do not set the ACM gadget from barebox? > > Check the Embest MarS board's environment in barebox master. It sets up > a fastboot gadget automatically on boot from imx-usb-loader. > You can adjust it to your liking. [mi] I was not able to find any docs about this board. I will keep searching/asking in the nxp community. If you have already ahve any files related to it would be helpful. Thanks > > Cheers > Ahmad > > > > > Thanks, > > Mihaita > > > > On Wed, Oct 16, 2019 at 10:51 AM Ahmad Fatoum > > wrote: > >> > >> On 10/16/19 10:40 AM, Mihaita Ivascu wrote: > >>> Hello again, > >>> > >>>I have the target in otg peripheral mode, ADB and fastboot drivers > >>> installed but fastboot does not list any device. The board is detected > >>> in device manager > >> > >> Try enabling the ACM gadget in barebox and connect with PuTTY and see if > >> at least that works. It worked for me on Windows with another i.MX board > >> a month ago. > >> > >> As for fastboot, I don't know how to configure it on Windows, but surely > >> Android Modding boards will have you covered there. > >> > >>>Please see attachment. Any ideas how should I proceed? Thanks for > >>> the support. > >> > >> You can enable the ACM gadget in barebox and see if that works, I tested > >> it on Windows with an i.MX board a month ago > >> > >> Cheers > >> Ahmad > >> > >>> > >>> Thanks, > >>> Mihaita > >>> > >>> On Wed, Oct 16, 2019 at 9:32 AM Mihaita Ivascu > >>> wrote: > > Thanks. I have installed ADB and fastboot drivers for Win from > https://www.getdroidtips.com/how-to-install-adb-and-fastboot-on-windows/ > I have installed according to the attachment. > But is not recognized in Windows. I did reboot the system after > installation but did not add any new env variable. > > H:\>fastboot devices -l > 'fastboot' is not recognized as an internal or external command, > operable program or batch file. > > Thanks, > Mihaita > > > On Tue, Oct 15, 2019 at 4:44 PM Ahmad Fatoum > wrote: > > > > On 10/15/19 4:41 PM, Mihaita Ivascu wrote: > >> barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ fastboot devices -l > > That's what you run on your host system, not on the target. > > -- > > Pengutronix e.K. | > > | > > Industrial Linux Solutions | http://www.pengutronix.de/ > > | > > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 > > | > > Amtsgericht Hildesheim, HRA 2686 | Fax: > > +49-5121-206917- | > >> > >> > >> -- > >> Pengutronix e.K. | | > >> Industrial Linux Solutions | http://www.pengutronix.de/ | > >> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > >> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | > > > > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MFGTools from NXP
On 10/16/19 11:21 AM, Mihaita Ivascu wrote: > Hello, > >Thanks for your answer. Yes i am able to connect via PUTTY to the target. >Then I should use some adb commands in order to push the new > barebox/firmware ? do you know where I could find some examples? fastboot device -l works normally on Linux. You need to check what you need to do on Windows to do the same. You should only need the Fastboot utility for this. > >Also I have a question: purpose of this activity is for me to be > able to flash some imx6ul boards that have no firmware: no barebox. >So I know hardware config for the port is otg mode but as I have no > barebox running them before I am wondering if I will be able to > connect via PUTTY if I do not set the ACM gadget from barebox? Check the Embest MarS board's environment in barebox master. It sets up a fastboot gadget automatically on boot from imx-usb-loader. You can adjust it to your liking. Cheers Ahmad > > Thanks, > Mihaita > > On Wed, Oct 16, 2019 at 10:51 AM Ahmad Fatoum wrote: >> >> On 10/16/19 10:40 AM, Mihaita Ivascu wrote: >>> Hello again, >>> >>>I have the target in otg peripheral mode, ADB and fastboot drivers >>> installed but fastboot does not list any device. The board is detected >>> in device manager >> >> Try enabling the ACM gadget in barebox and connect with PuTTY and see if >> at least that works. It worked for me on Windows with another i.MX board >> a month ago. >> >> As for fastboot, I don't know how to configure it on Windows, but surely >> Android Modding boards will have you covered there. >> >>>Please see attachment. Any ideas how should I proceed? Thanks for >>> the support. >> >> You can enable the ACM gadget in barebox and see if that works, I tested >> it on Windows with an i.MX board a month ago >> >> Cheers >> Ahmad >> >>> >>> Thanks, >>> Mihaita >>> >>> On Wed, Oct 16, 2019 at 9:32 AM Mihaita Ivascu >>> wrote: Thanks. I have installed ADB and fastboot drivers for Win from https://www.getdroidtips.com/how-to-install-adb-and-fastboot-on-windows/ I have installed according to the attachment. But is not recognized in Windows. I did reboot the system after installation but did not add any new env variable. H:\>fastboot devices -l 'fastboot' is not recognized as an internal or external command, operable program or batch file. Thanks, Mihaita On Tue, Oct 15, 2019 at 4:44 PM Ahmad Fatoum wrote: > > On 10/15/19 4:41 PM, Mihaita Ivascu wrote: >> barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ fastboot devices -l > That's what you run on your host system, not on the target. > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | >> >> >> -- >> Pengutronix e.K. | | >> Industrial Linux Solutions | http://www.pengutronix.de/ | >> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| >> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MFGTools from NXP
Hello, Thanks for your answer. Yes i am able to connect via PUTTY to the target. Then I should use some adb commands in order to push the new barebox/firmware ? do you know where I could find some examples? Also I have a question: purpose of this activity is for me to be able to flash some imx6ul boards that have no firmware: no barebox. So I know hardware config for the port is otg mode but as I have no barebox running them before I am wondering if I will be able to connect via PUTTY if I do not set the ACM gadget from barebox? Thanks, Mihaita On Wed, Oct 16, 2019 at 10:51 AM Ahmad Fatoum wrote: > > On 10/16/19 10:40 AM, Mihaita Ivascu wrote: > > Hello again, > > > >I have the target in otg peripheral mode, ADB and fastboot drivers > > installed but fastboot does not list any device. The board is detected > > in device manager > > Try enabling the ACM gadget in barebox and connect with PuTTY and see if > at least that works. It worked for me on Windows with another i.MX board > a month ago. > > As for fastboot, I don't know how to configure it on Windows, but surely > Android Modding boards will have you covered there. > > >Please see attachment. Any ideas how should I proceed? Thanks for > > the support. > > You can enable the ACM gadget in barebox and see if that works, I tested > it on Windows with an i.MX board a month ago > > Cheers > Ahmad > > > > > Thanks, > > Mihaita > > > > On Wed, Oct 16, 2019 at 9:32 AM Mihaita Ivascu > > wrote: > >> > >> Thanks. I have installed ADB and fastboot drivers for Win from > >> https://www.getdroidtips.com/how-to-install-adb-and-fastboot-on-windows/ > >> I have installed according to the attachment. > >> But is not recognized in Windows. I did reboot the system after > >> installation but did not add any new env variable. > >> > >> H:\>fastboot devices -l > >> 'fastboot' is not recognized as an internal or external command, > >> operable program or batch file. > >> > >> Thanks, > >> Mihaita > >> > >> > >> On Tue, Oct 15, 2019 at 4:44 PM Ahmad Fatoum > >> wrote: > >>> > >>> On 10/15/19 4:41 PM, Mihaita Ivascu wrote: > barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ fastboot devices -l > >>> That's what you run on your host system, not on the target. > >>> -- > >>> Pengutronix e.K. | | > >>> Industrial Linux Solutions | http://www.pengutronix.de/ | > >>> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > >>> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | > > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MFGTools from NXP
On 10/16/19 10:40 AM, Mihaita Ivascu wrote: > Hello again, > >I have the target in otg peripheral mode, ADB and fastboot drivers > installed but fastboot does not list any device. The board is detected > in device manager Try enabling the ACM gadget in barebox and connect with PuTTY and see if at least that works. It worked for me on Windows with another i.MX board a month ago. As for fastboot, I don't know how to configure it on Windows, but surely Android Modding boards will have you covered there. >Please see attachment. Any ideas how should I proceed? Thanks for > the support. You can enable the ACM gadget in barebox and see if that works, I tested it on Windows with an i.MX board a month ago Cheers Ahmad > > Thanks, > Mihaita > > On Wed, Oct 16, 2019 at 9:32 AM Mihaita Ivascu > wrote: >> >> Thanks. I have installed ADB and fastboot drivers for Win from >> https://www.getdroidtips.com/how-to-install-adb-and-fastboot-on-windows/ >> I have installed according to the attachment. >> But is not recognized in Windows. I did reboot the system after >> installation but did not add any new env variable. >> >> H:\>fastboot devices -l >> 'fastboot' is not recognized as an internal or external command, >> operable program or batch file. >> >> Thanks, >> Mihaita >> >> >> On Tue, Oct 15, 2019 at 4:44 PM Ahmad Fatoum wrote: >>> >>> On 10/15/19 4:41 PM, Mihaita Ivascu wrote: barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ fastboot devices -l >>> That's what you run on your host system, not on the target. >>> -- >>> Pengutronix e.K. | | >>> Industrial Linux Solutions | http://www.pengutronix.de/ | >>> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| >>> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MFGTools from NXP
Hello again, I have the target in otg peripheral mode, ADB and fastboot drivers installed but fastboot does not list any device. The board is detected in device manager Please see attachment. Any ideas how should I proceed? Thanks for the support. Thanks, Mihaita On Wed, Oct 16, 2019 at 9:32 AM Mihaita Ivascu wrote: > > Thanks. I have installed ADB and fastboot drivers for Win from > https://www.getdroidtips.com/how-to-install-adb-and-fastboot-on-windows/ > I have installed according to the attachment. > But is not recognized in Windows. I did reboot the system after > installation but did not add any new env variable. > > H:\>fastboot devices -l > 'fastboot' is not recognized as an internal or external command, > operable program or batch file. > > Thanks, > Mihaita > > > On Tue, Oct 15, 2019 at 4:44 PM Ahmad Fatoum wrote: > > > > On 10/15/19 4:41 PM, Mihaita Ivascu wrote: > > > barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ fastboot devices -l > > That's what you run on your host system, not on the target. > > -- > > Pengutronix e.K. | | > > Industrial Linux Solutions | http://www.pengutronix.de/ | > > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MFGTools from NXP
Thanks. I have installed ADB and fastboot drivers for Win from https://www.getdroidtips.com/how-to-install-adb-and-fastboot-on-windows/ I have installed according to the attachment. But is not recognized in Windows. I did reboot the system after installation but did not add any new env variable. H:\>fastboot devices -l 'fastboot' is not recognized as an internal or external command, operable program or batch file. Thanks, Mihaita On Tue, Oct 15, 2019 at 4:44 PM Ahmad Fatoum wrote: > > On 10/15/19 4:41 PM, Mihaita Ivascu wrote: > > barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ fastboot devices -l > That's what you run on your host system, not on the target. > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MFGTools from NXP
On 10/15/19 4:41 PM, Mihaita Ivascu wrote: > barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ fastboot devices -l That's what you run on your host system, not on the target. -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MFGTools from NXP
Hello, Thanks for your link. I have tried and got to the step shown in the attachment. Looked here: https://www.barebox.org/doc/latest/user/usb.html#usb-gadget-autostart-support did not understand how to create and execute a script from the host. For me the imx6ul board must be in peripheral mode. I wish to flash the barebox from a windows/Linux workstation, not using usb stick. barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ otg.mode=peripheral barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ usbgadget -A /kernel(kernel)c,/initrd(initrd)c,/devicetree(devicetree)c udc0: registering UDC driver [g_multi] multi_bind: creating Fastboot function g_multi usbgadget: Multifunction Composite Gadget g_multi usbgadget: userspace failed to provide iSerialNumber g_multi usbgadget: g_multi ready barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ fastboot devices -l fastboot: No such file or directory barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ thanks, Mihaita On Tue, Oct 15, 2019 at 4:17 PM Ahmad Fatoum wrote: > > Hello, > > On 10/15/19 4:07 PM, Mihaita Ivascu wrote: > > Hello, > > > >does anyone have experience with using imx_usb_loader to flash the > > barebox on a NAND(mtd partition)? If yes some reference scripts would > > be helpful for me. Or where should I look for an example? > > Check out this thread: > https://www.spinics.net/lists/u-boot-v2/msg37199.html > > TL;DR: imx_usb_loader to get barebox into SDRAM, then Android Fastboot for > flashing > > > > > Thanks, > > Mihaita Ivascu > > > > > > > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | > > ___ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MFGTools from NXP
Hello, On 10/15/19 4:07 PM, Mihaita Ivascu wrote: > Hello, > >does anyone have experience with using imx_usb_loader to flash the > barebox on a NAND(mtd partition)? If yes some reference scripts would > be helpful for me. Or where should I look for an example? Check out this thread: https://www.spinics.net/lists/u-boot-v2/msg37199.html TL;DR: imx_usb_loader to get barebox into SDRAM, then Android Fastboot for flashing > > Thanks, > Mihaita Ivascu > > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MFGTools from NXP
Hello, does anyone have experience with using imx_usb_loader to flash the barebox on a NAND(mtd partition)? If yes some reference scripts would be helpful for me. Or where should I look for an example? Thanks, Mihaita Ivascu On Mon, Oct 14, 2019 at 3:07 PM Mihaita Ivascu wrote: > > Hello all, > > Can I use imx-usb-loader tool from a windows host? I don't think > so. If that is the case then I am stuck with MFGTools > > Thanks, >Mihaita > > > On Fri, Oct 11, 2019 at 11:47 AM Mihaita Ivascu > wrote: > > > > Hello Marco, > > > >Thanks to your reply. I am not keen to use specifically MFGTool but > > I do need a method to load flash new barebox and kernel images from > > windows side. > >I have tried with MFGTools but was not successfully when using > > kobs-ng to flash the barebox. I have attached a log that I send to > > NXP. > > > >If there is more knowledge on how to use imx-usb-loader than I > > would give it a try. > > > > Thanks, > > Mihaita > > > > On Fri, Oct 11, 2019 at 9:21 AM Marco Felsch > > wrote: > > > > > > Hi Mihaita, > > > > > > On 19-10-10 15:03, Mihaita Ivascu wrote: > > > > Hello all, > > > > > > > > Does anybody have experience with using MFGTools to flash the > > > > barebox and kernel in NAND for imx6ul platforms? > > > > > > Hm.. I think the most of us are using the imx-usb-loader tool ;) I > > > used it a long time ago but let's try if I can help you. So what is your > > > question? > > > > > > Regards, > > > Marco > > > > > > > Thanks, > > > >Mihaita > > > > > > > > ___ > > > > barebox mailing list > > > > barebox@lists.infradead.org > > > > http://lists.infradead.org/mailman/listinfo/barebox > > > > > > > > > > -- > > > Pengutronix e.K. | | > > > Industrial Linux Solutions | http://www.pengutronix.de/ | > > > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > > > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MFGTools from NXP
Hello all, Can I use imx-usb-loader tool from a windows host? I don't think so. If that is the case then I am stuck with MFGTools Thanks, Mihaita On Fri, Oct 11, 2019 at 11:47 AM Mihaita Ivascu wrote: > > Hello Marco, > >Thanks to your reply. I am not keen to use specifically MFGTool but > I do need a method to load flash new barebox and kernel images from > windows side. >I have tried with MFGTools but was not successfully when using > kobs-ng to flash the barebox. I have attached a log that I send to > NXP. > >If there is more knowledge on how to use imx-usb-loader than I > would give it a try. > > Thanks, > Mihaita > > On Fri, Oct 11, 2019 at 9:21 AM Marco Felsch wrote: > > > > Hi Mihaita, > > > > On 19-10-10 15:03, Mihaita Ivascu wrote: > > > Hello all, > > > > > > Does anybody have experience with using MFGTools to flash the > > > barebox and kernel in NAND for imx6ul platforms? > > > > Hm.. I think the most of us are using the imx-usb-loader tool ;) I > > used it a long time ago but let's try if I can help you. So what is your > > question? > > > > Regards, > > Marco > > > > > Thanks, > > >Mihaita > > > > > > ___ > > > barebox mailing list > > > barebox@lists.infradead.org > > > http://lists.infradead.org/mailman/listinfo/barebox > > > > > > > -- > > Pengutronix e.K. | | > > Industrial Linux Solutions | http://www.pengutronix.de/ | > > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MFGTools from NXP
Hello Marco, Thanks to your reply. I am not keen to use specifically MFGTool but I do need a method to load flash new barebox and kernel images from windows side. I have tried with MFGTools but was not successfully when using kobs-ng to flash the barebox. I have attached a log that I send to NXP. If there is more knowledge on how to use imx-usb-loader than I would give it a try. Thanks, Mihaita On Fri, Oct 11, 2019 at 9:21 AM Marco Felsch wrote: > > Hi Mihaita, > > On 19-10-10 15:03, Mihaita Ivascu wrote: > > Hello all, > > > > Does anybody have experience with using MFGTools to flash the > > barebox and kernel in NAND for imx6ul platforms? > > Hm.. I think the most of us are using the imx-usb-loader tool ;) I > used it a long time ago but let's try if I can help you. So what is your > question? > > Regards, > Marco > > > Thanks, > >Mihaita > > > > ___ > > barebox mailing list > > barebox@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/barebox > > > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | I am trying to update the mtd partitions on imx6ul platform using mfgtools . I have created a .xml script Everything runs without issues until I want to flash the new barebox bootloader using kobs-ng tool. UTP: received command '$ mount -t debugfs debugfs /sys/kernel/debug' UTP: executing "mount -t debugfs debugfs /sys/kernel/debug" UTP: sending Success to kernel for command $ mount -t debugfs debugfs /sys/kernel/debug. [ 6.009463] utp_poll: pass returned. UTP: received command '$ mount | grep ^debugfs' UTP: executing "mount | grep ^debugfs" debugfs on /sys/kernel/debug type debugfs (rw,relatime) UTP: sending Success to kernel for command $ mount | grep ^debugfs. [ 6.271066] utp_poll: pass returned. UTP: received command '$ flash_erase /dev/mtd0 0 0' UTP: executing "flash_erase /dev/mtd0 0 0" Erasing 128 Kibyte @ 64004e -- -1 % complete UTP: sending Success to kernel for command $ flash_erase /dev/mtd0 0 0. [ 6.530622] utp_poll: pass returned. UTP: received command 'send' UTP: sending Success to kernel for command send. UTP: received command '$ kobs-ng init -x -v --chip_0_device_path=/dev/mtd0 $FILE' UTP: executing "kobs-ng init -x -v --chip_0_device_path=/dev/mtd0 $FILE" MTD CONFIG: chip_0_device_path = "/dev/mtd0" chip_1_device_path = "(null)" search_exponent = 2 data_setup_time = 80 data_hold_time = 60 address_setup_time = 25 data_sample_time = 6 row_address_size = 3 column_address_size = 2 read_command_code1 = 0 read_command_code2 = 48 boot_stream_major_version = 1 boot_stream_minor_version = 0 boot_stream_sub_version = 0 ncb_version = 3 boot_stream_1_address = 0 boot_stream_2_address = 0 -- We add the 1k-padding to the uboot. .tmp_kobs_ng: verifying using key '' .tmp_kobs_ng: is a valid bootstream for key '' mtd: Linux[ 6.693158] [ cut here ] [ 6.698005] Kernel BUG at c057cdfc [verbose debug info unavailable] [ 6.704291] Internal error: Oops - BUG: 0 [#1] SMP ARM [ 6.709449] Modules linked in: [ 6.712552] CPU: 0 PID: 111 Comm: kobs-ng Not tainted 4.8.0 #18 [ 6.718486] Hardware name: Freescale i.MX6 Ultralite (Device Tree) [ 6.724684] task: c3e58000 task.stack: c3e2e000 [ 6.729248] PC is at nand_fill_oob+0x44/0xac [ 6.733546] LR is at mtd_ooblayout_free+0x5c/0x74 [ 6.738272] pc : [] lr : [] psr: a013 [ 6.738272] sp : c3e2fca0 ip : c3e2fbf0 fp : c3e2fcc4 [ 6.749770] r10: c3d89800 r9 : 0100 r8 : [ 6.755013] r7 : r6 : c3e2fdc8 r5 : de42e0b8 r4 : 0010 [ 6.761561] r3 : c3e2fc50 r2 : c3e2fc50 r1 : 0001 r0 : ffde [ 6.768109] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 6.775262] Control: 10c5387d Table: 83e6006a DAC: 0051 [ 6.781023] Process kobs-ng (pid: 111, stack limit = 0xc3e2e210) [ 6.787046] Stack: (0xc3e2fca0 to 0xc3e3) [ 6.791432] fca0: c3e2fcb0 de42e0b8 0800 0800 c3e2fd34 c3e2fcc8 [ 6.799634] fcc0: c057d19c c057cdc4 c3e2fcec c3e2fcd8 c0964e78 c0173f98 de42e0b8 de42e710 [ 6.807838] fce0: c3e2fd34 003f 0010 0010 c3d89800 [ 6.816039] fd00: 0100 6013 c3e2fdc8 de42e0b8 0008 0800 [ 6.824241] fd20: c3e2fd5c c3e2fd38 c057d6a8 c057ce70 c3e2fdc8 c3e2fd48 [ 6.832444] fd40: 00080800 c3e2fd84 c3e2fd60 c0562670 c057d614 [ 6.840646] fd60: c3e2fdc8 0800 c0562604 0051 c3ccb800 bede4ac8 c3e2fda4 c3e2fd88 [ 6.848847] fd80: c055ec9c c0562610 c3e2fdc8 bede4ac8 0800 00099110 c3e2fedc c3e2fda8 [ 6.857049] fda0: c0564b8c c055ec64 c3e2fdc8 0002
Re: MFGTools from NXP
Hi Mihaita, On 19-10-10 15:03, Mihaita Ivascu wrote: > Hello all, > > Does anybody have experience with using MFGTools to flash the > barebox and kernel in NAND for imx6ul platforms? Hm.. I think the most of us are using the imx-usb-loader tool ;) I used it a long time ago but let's try if I can help you. So what is your question? Regards, Marco > Thanks, >Mihaita > > ___ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
MFGTools from NXP
Hello all, Does anybody have experience with using MFGTools to flash the barebox and kernel in NAND for imx6ul platforms? Thanks, Mihaita ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox