Re: mynewt create-image no work at windows

2019-11-18 Thread Christopher Collins
On Mon, Nov 18, 2019 at 11:07:17AM +0100, Szymon Janc wrote:
> Hi,
> 
> So I was able to bisect this to
> 
> commit e3fdcd68c9ed6fa58a6b68bbf3c45a780c57ab40 (refs/bisect/bad)
> Author: Christopher Collins 
> Date:   Mon Aug 5 11:15:33 2019 -0700
> 
> create-image: Generate a .hex file
> 
> Create a `.hex` equivalent of the `.img` file.  This feature used to be
> present but was inadvertently removed at some point.

Thanks for chasing this down, Szymon.  I will take a look.

Chris


Re: mynewt create-image no work at windows

2019-11-18 Thread Szymon Janc
Hi,

So I was able to bisect this to

commit e3fdcd68c9ed6fa58a6b68bbf3c45a780c57ab40 (refs/bisect/bad)
Author: Christopher Collins 
Date:   Mon Aug 5 11:15:33 2019 -0700

create-image: Generate a .hex file

Create a `.hex` equivalent of the `.img` file.  This feature used to be
present but was inadvertently removed at some point.




On Mon, 18 Nov 2019 at 10:21, Szymon Janc  wrote:

> Hi Jezus,
>
> Yes, I've been able to reproduce this and this indeed looks like false
> error message.
>
>
> On Fri, 15 Nov 2019 at 23:13, J. Ipanienko 
> wrote:
>
>> Hi there,
>>
>> good new
>>
>> create-image does image, error printing but image creating
>>
>> command which no work is:
>> MYNEWT /home/ipan/dev/myproj> newt run bluepill_blinky 0
>> Error: arm-none-eabi-objcopy: error: the input file
>> 'H:/msys64/home/ipan/dev/myproj/bin/targets/bluepill_blinky/app/apps/blinky/blinky.img'
>> is empty
>>
>> I may load image with out error:
>> MYNEWT /home/ipan/dev/myproj> newt load bluepill_blinky 0
>> Loading app image into slot 1
>> MYNEWT /home/ipan/dev/myproj>
>>
>> then debug:
>> MYNEWT /home/ipan/dev/myproj> newt debug bluepill_blinky
>>
>> best lack
>> ipan
>>
>> > Sent: Thursday, November 14, 2019 at 11:13 PM
>> > From: "Jezus Ipanienko" 
>> > To: dev@mynewt.apache.org
>> > Subject: mynewt create-image no work at windows
>> >
>> > Welcome there,
>> >
>> > I have bluepill modul and I learned mynewt supporting it.
>> > I new at mynewt.
>> > I try newt release 1.7, work good.
>> > How I try build newt.exe at git master I have newt version 1.8.0-dev
>> >
>> > MYNEWT /home/ipan/dev/myproj> newt version
>> > Apache Newt
>> >Version: 1.8.0-dev
>> >   Git Hash: unknown
>> > Build Date: unknown
>> >
>> > How I try do:
>> > newt.exe create-image bluepill_blinky 0.0.0
>> > it do error:
>> > ...
>> > Linking
>> H:/msys64/home/ipan/dev/myproj/bin/targets/bluepill_blinky/app/apps/blinky/blinky.elf
>> > Error: arm-none-eabi-objcopy: error: the input file
>> 'H:/msys64/home/ipan/dev/myproj/bin/targets/bluepill_blinky/app/apps/blinky/blinky.img'
>> is empty
>> >
>> > version 1.7 do image, version 1.8 do not image
>> >
>> >
>> > I am interesting if newt version 1.7 work on mynewt-core master (no 1.7
>> release)?
>> >
>> > I have:
>> > MYNEWT /home/ipan/dev/myproj> go version
>> > go version go1.13.3 windows/amd64
>> > MYNEWT /home/ipan/dev/myproj> arm-none-eabi-gcc --version
>> > arm-none-eabi-gcc.exe (GNU Tools for Arm Embedded Processors
>> 9-2019-q4-major) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]
>> >
>> > best luck
>> > ipan
>> >
>>
>
>
> --
> pozdrawiam
> Szymon K. Janc
>


-- 
pozdrawiam
Szymon K. Janc


Re: mynewt create-image no work at windows

2019-11-18 Thread Szymon Janc
Hi Jezus,

Yes, I've been able to reproduce this and this indeed looks like false
error message.


On Fri, 15 Nov 2019 at 23:13, J. Ipanienko 
wrote:

> Hi there,
>
> good new
>
> create-image does image, error printing but image creating
>
> command which no work is:
> MYNEWT /home/ipan/dev/myproj> newt run bluepill_blinky 0
> Error: arm-none-eabi-objcopy: error: the input file
> 'H:/msys64/home/ipan/dev/myproj/bin/targets/bluepill_blinky/app/apps/blinky/blinky.img'
> is empty
>
> I may load image with out error:
> MYNEWT /home/ipan/dev/myproj> newt load bluepill_blinky 0
> Loading app image into slot 1
> MYNEWT /home/ipan/dev/myproj>
>
> then debug:
> MYNEWT /home/ipan/dev/myproj> newt debug bluepill_blinky
>
> best lack
> ipan
>
> > Sent: Thursday, November 14, 2019 at 11:13 PM
> > From: "Jezus Ipanienko" 
> > To: dev@mynewt.apache.org
> > Subject: mynewt create-image no work at windows
> >
> > Welcome there,
> >
> > I have bluepill modul and I learned mynewt supporting it.
> > I new at mynewt.
> > I try newt release 1.7, work good.
> > How I try build newt.exe at git master I have newt version 1.8.0-dev
> >
> > MYNEWT /home/ipan/dev/myproj> newt version
> > Apache Newt
> >Version: 1.8.0-dev
> >   Git Hash: unknown
> > Build Date: unknown
> >
> > How I try do:
> > newt.exe create-image bluepill_blinky 0.0.0
> > it do error:
> > ...
> > Linking
> H:/msys64/home/ipan/dev/myproj/bin/targets/bluepill_blinky/app/apps/blinky/blinky.elf
> > Error: arm-none-eabi-objcopy: error: the input file
> 'H:/msys64/home/ipan/dev/myproj/bin/targets/bluepill_blinky/app/apps/blinky/blinky.img'
> is empty
> >
> > version 1.7 do image, version 1.8 do not image
> >
> >
> > I am interesting if newt version 1.7 work on mynewt-core master (no 1.7
> release)?
> >
> > I have:
> > MYNEWT /home/ipan/dev/myproj> go version
> > go version go1.13.3 windows/amd64
> > MYNEWT /home/ipan/dev/myproj> arm-none-eabi-gcc --version
> > arm-none-eabi-gcc.exe (GNU Tools for Arm Embedded Processors
> 9-2019-q4-major) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]
> >
> > best luck
> > ipan
> >
>


-- 
pozdrawiam
Szymon K. Janc


Re: mynewt create-image no work at windows

2019-11-15 Thread J. Ipanienko
Hi there,

good new

create-image does image, error printing but image creating

command which no work is:
MYNEWT /home/ipan/dev/myproj> newt run bluepill_blinky 0
Error: arm-none-eabi-objcopy: error: the input file 
'H:/msys64/home/ipan/dev/myproj/bin/targets/bluepill_blinky/app/apps/blinky/blinky.img'
 is empty

I may load image with out error:
MYNEWT /home/ipan/dev/myproj> newt load bluepill_blinky 0
Loading app image into slot 1
MYNEWT /home/ipan/dev/myproj>

then debug:
MYNEWT /home/ipan/dev/myproj> newt debug bluepill_blinky

best lack
ipan

> Sent: Thursday, November 14, 2019 at 11:13 PM
> From: "Jezus Ipanienko" 
> To: dev@mynewt.apache.org
> Subject: mynewt create-image no work at windows
>
> Welcome there,
>
> I have bluepill modul and I learned mynewt supporting it.
> I new at mynewt.
> I try newt release 1.7, work good.
> How I try build newt.exe at git master I have newt version 1.8.0-dev
>
> MYNEWT /home/ipan/dev/myproj> newt version
> Apache Newt
>Version: 1.8.0-dev
>   Git Hash: unknown
> Build Date: unknown
>
> How I try do:
> newt.exe create-image bluepill_blinky 0.0.0
> it do error:
> ...
> Linking 
> H:/msys64/home/ipan/dev/myproj/bin/targets/bluepill_blinky/app/apps/blinky/blinky.elf
> Error: arm-none-eabi-objcopy: error: the input file 
> 'H:/msys64/home/ipan/dev/myproj/bin/targets/bluepill_blinky/app/apps/blinky/blinky.img'
>  is empty
>
> version 1.7 do image, version 1.8 do not image
>
>
> I am interesting if newt version 1.7 work on mynewt-core master (no 1.7 
> release)?
>
> I have:
> MYNEWT /home/ipan/dev/myproj> go version
> go version go1.13.3 windows/amd64
> MYNEWT /home/ipan/dev/myproj> arm-none-eabi-gcc --version
> arm-none-eabi-gcc.exe (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 
> 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]
>
> best luck
> ipan
>