Re: i.MX6ul USB serial downloader and Barebox

2019-02-22 Thread Sascha Hauer
On Fri, Feb 22, 2019 at 08:12:49AM +, Patrick Schneider wrote: > Hi again, > thanks for that suggestion, I'll look into that, because 'no console > interaction' would indeed be the preferable way to go here. But in > the production process we also need to burn some ocotp fuses (which we >

AW: i.MX6ul USB serial downloader and Barebox

2019-02-22 Thread Patrick Schneider
Hi again, thanks for that suggestion, I'll look into that, because 'no console interaction' would indeed be the preferable way to go here. But in the production process we also need to burn some ocotp fuses (which we would do by automated console commands atm). Is it possible to send commands

Re: i.MX6ul USB serial downloader and Barebox

2019-02-21 Thread Sascha Hauer
On Thu, Feb 21, 2019 at 02:30:36PM +, Patrick Schneider wrote: > Hi Sascha, > > $ otg.mode=host > > Did the trick for me. Now I can flash the nand from usb-stick data on > /dev/disk0.0 > Works like a charm, thanks! Well if you like that, try otg.mode=peripheral and

AW: i.MX6ul USB serial downloader and Barebox

2019-02-21 Thread Patrick Schneider
Hi Sascha, $ otg.mode=host Did the trick for me. Now I can flash the nand from usb-stick data on /dev/disk0.0 Works like a charm, thanks! Regards, Patrick > > Hi Sascha, > > thanks for the reply. > > It seems that I am lacking something in the usb configuration. I am always > getting: > > >

Re: i.MX6ul USB serial downloader and Barebox

2019-02-21 Thread Sascha Hauer
On Thu, Feb 21, 2019 at 12:01:40PM +, Patrick Schneider wrote: > Hi Sascha, > thanks for the reply. > It seems that I am lacking something in the usb configuration. I am always > getting: > > couldn't find an available UDC > usbgadget: No such device I don't know which hardware you are on,

AW: i.MX6ul USB serial downloader and Barebox

2019-02-21 Thread Patrick Schneider
Hi Sascha, thanks for the reply. It seems that I am lacking something in the usb configuration. I am always getting: couldn't find an available UDC usbgadget: No such device $ fastboot devices -l Delivers nothing on my windows host side. Before I proceed, wouldn't it be also possible to just

Re: i.MX6ul USB serial downloader and Barebox

2019-02-21 Thread Sascha Hauer
Hi Patrick, On Thu, Feb 21, 2019 at 10:01:27AM +, Patrick Schneider wrote: > Hi guys, > I'm trying to find out if the following is possible: In a production > environment, there is only the USB connection present, no console > access to the device. The USB serial downloader mode starts and I

Re: i.MX6ul USB serial downloader and Barebox

2019-02-21 Thread Ahmad Fatoum
Hello Patrick, On 2/21/19 11:01 AM, Patrick Schneider wrote: > Hi guys, > I'm trying to find out if the following is possible: > In a production environment, there is only the USB connection present, no > console access to the device. > The USB serial downloader mode starts and I am able to

i.MX6ul USB serial downloader and Barebox

2019-02-21 Thread Patrick Schneider
Hi guys, I'm trying to find out if the following is possible: In a production environment, there is only the USB connection present, no console access to the device. The USB serial downloader mode starts and I am able to load a barebox image to the i.MX6ul RAM. That works either with MFGTools