Re: MFGTools support in barebox

2018-08-06 Thread Oleksij Rempel
Hi Am 06.08.2018 um 10:15 schrieb Mihaita Ivascu: > Hello, >     Yes, thanks. Setting otg mode manually in barebox helped. >      I have on device side: > /barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ usbgadget -A /fit(fit)c > udc0: registering UDC driver [g_multi] > multi_bind: creating

Re: MFGTools support in barebox

2018-08-03 Thread Oleksij Rempel
Am 03.08.2018 um 18:37 schrieb Mihaita Ivascu: > Hi, > > I have usb controller configured for OTG both in .config and > device tree sources. But still usbgadget complains about not finding try: otg.mode=peripheral usbgadget (your options) > > Thanks, >Mihaita > On Fri, Aug 3, 2018

Re: MFGTools support in barebox

2018-08-03 Thread Mihaita Ivascu
Hi, I have usb controller configured for OTG both in .config and device tree sources. But still usbgadget complains about not finding UDC Thanks, Mihaita On Fri, Aug 3, 2018 at 10:38 AM Oleksij Rempel wrote: > > Hi > > Am 03.08.2018 um 10:21 schrieb Mihaita Ivascu: > > Hello, > > > >

Re: MFGTools support in barebox

2018-08-03 Thread Oleksij Rempel
Hi Am 03.08.2018 um 10:21 schrieb Mihaita Ivascu: > Hello, > > On the topic of enabling fastboot in barebox 2018.04, I have > enabled USB gadget support: > USB_GADGET_DRIVER_ARC=y > USB_GADGET_AUTOSTART=y > USB_GADGET=y > USB_GADGET_FASTBOOT=y > USB_GADGET_FASTBOOT_SPARSE=y > >

Re: MFGTools support in barebox

2018-08-03 Thread Mihaita Ivascu
Hello, On the topic of enabling fastboot in barebox 2018.04, I have enabled USB gadget support: USB_GADGET_DRIVER_ARC=y USB_GADGET_AUTOSTART=y USB_GADGET=y USB_GADGET_FASTBOOT=y USB_GADGET_FASTBOOT_SPARSE=y I am using board and BSP from Phytec for imx6ul evk. I have reviews

Re: MFGTools support in barebox

2018-07-20 Thread Mihaita Ivascu
Thanks for the info. i got that already. Some configs that should be enabled are not to be found in my barebox yet. I will work on it and if I am not successful maybe I will return with a question. Best regards, Mihaita On Fri, Jul 20, 2018 at 11:57 AM Oleksij Rempel wrote: > > Am

Re: MFGTools support in barebox

2018-07-20 Thread Oleksij Rempel
Am 20.07.2018 um 11:32 schrieb Mihaita Ivascu: > Hi, > >I have both Android Fastboot support and Fastboot sparse image > support enabled in barebox config(is by default) but I see not device > node created when connecting USB device nor do I see any fastboot > commands in barebox shell. >

Re: MFGTools support in barebox

2018-07-20 Thread Mihaita Ivascu
Hi, I have both Android Fastboot support and Fastboot sparse image support enabled in barebox config(is by default) but I see not device node created when connecting USB device nor do I see any fastboot commands in barebox shell. My question is: how do I use fastboot? What is the complete

Re: MFGTools support in barebox

2018-07-20 Thread Uwe Kleine-König
On Wed, Jul 18, 2018 at 09:39:23AM +0200, Mihaita Ivascu wrote: > Hello, > > I would like to flash a barebox image on NAND for a Phytec imx6ul > evk board using MFGTools. > I have added support for UTP protocol in kernel image so commands > could be "pushed" using MFGtools app from

Re: MFGtools support in barebox

2018-07-19 Thread Mihaita Ivascu
Hi, Yes, thanks for your answer. That is true. Also I think mtd-utils from withing Linux will not work also to update barebox mtd partition? I have tried using kobs-ng init command from with Linux(as an alternative to barebox_update) and it did seem it writes additional BBU and other

Re: MFGtools support in barebox

2018-07-19 Thread Jan Lübbe
On Thu, 2018-07-19 at 07:08 +0200, Oleksij Rempel wrote: > > Aside from this issue, are you aware of any method of > > flashing the barebox on NAND from Linux(after the kernel was loaded > > successfully on the target) ? > > barebox_update does not exist in Linux obviously and porting

Re: MFGtools support in barebox

2018-07-18 Thread Oleksij Rempel
On 18.07.2018 19:56, Mihaita Ivascu wrote: > Ok, thanks. I will take a look. I think for that scenario I > do not need fastboot. Once I have barebox in RAM I can do > barebox_update to flash it in NAND, reboot and then run a script from > USB > that created partitions in NAND and

Re: MFGtools support in barebox

2018-07-18 Thread Mihaita Ivascu
Ok, thanks. I will take a look. I think for that scenario I do not need fastboot. Once I have barebox in RAM I can do barebox_update to flash it in NAND, reboot and then run a script from USB that created partitions in NAND and copies FIT image(which contains kernel+rootfs) on NAND

Re: MFGtools support in barebox

2018-07-18 Thread Oleksij Rempel
Am 18.07.2018 um 17:11 schrieb Mihaita Ivascu: > Hi, > > Thanks for answer. > I think I need it to do it from Windows as we have some boards > that need to be updated in the factory by people that do not necessary > have Linux skills or Linux workstation. > That is why we thought we

Re: MFGtools support in barebox

2018-07-18 Thread Mihaita Ivascu
Hi, Thanks for answer. I think I need it to do it from Windows as we have some boards that need to be updated in the factory by people that do not necessary have Linux skills or Linux workstation. That is why we thought we could use MFGtools app. My problem is that the board we

Re: MFGtools support in barebox

2018-07-18 Thread Jan Lübbe
On Wed, 2018-07-18 at 15:53 +0200, Bastian Stender wrote: > Hi, > > On 07/18/2018 03:01 PM, Oleksij Rempel wrote: > > you email is in the list. (well, different version of it are already > > in the list). Please wait if some one can respond here. > > > > I'm not an expert, but probably what you

Re: MFGtools support in barebox

2018-07-18 Thread Bastian Stender
Hi, On 07/18/2018 03:01 PM, Oleksij Rempel wrote: you email is in the list. (well, different version of it are already in the list). Please wait if some one can respond here. I'm not an expert, but probably what you need is https://github.com/rauc Have a look here:

Re: MFGtools support in barebox

2018-07-18 Thread Oleksij Rempel
Hi, you email is in the list. (well, different version of it are already in the list). Please wait if some one can respond here. I'm not an expert, but probably what you need is https://github.com/rauc Am 18.07.2018 um 14:05 schrieb Mihaita Ivascu: > Hi , > > > > I would like to flash a