[riot-devel] Make bootable .elf file!

2016-07-28 Thread MiTsArAs Jimaras
Hello.
I just ended a project of mine using RIOT OS.
I produced the .elf file and now I want to make this bootable, in order to 
start at QEMU autonomus.
How can this be possible? Do I need to make an .img file? And if yes, how?
Thanks!
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] Make bootable .elf file!

2016-07-28 Thread Michael Frey
Hi,

Am Do, 28.07.2016, 09:44, schrieb MiTsArAs Jimaras:

> I just ended a project of mine using RIOT OS.

that's cool!

> I produced the .elf file and now I want to make this bootable, in order to
> start at QEMU autonomus.

You mean you want to run your project on native? Have you tried to run
'make term'?

Best,
 Michael
-- 
Dipl.-Inf. (FH), M. Sc. Michael Frey
Humboldt-Universität zu Berlin
Department of Computer Science
Rudower Chaussee 25
12489 Berlin, Germany

___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] Make bootable .elf file!

2016-07-28 Thread Michael Frey
Hi,

for the future, could you please just write to _one_ mailing list. Thanks!

Best,
 Michael
-- 
Dipl.-Inf. (FH), M. Sc. Michael Frey
Humboldt-Universität zu Berlin
Department of Computer Science
Rudower Chaussee 25
12489 Berlin, Germany

___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


[riot-devel] Απ: Make bootable .elf file!

2016-07-28 Thread MiTsArAs Jimaras
Hello and sorry for that multi-sending mails!

I have done this 'make term' and 'make all' processes. I have produced .elf and 
.hex files.

Now I want that .elf file to somehow boot on QEMU. Do I have to convert it to 
.bin and do the process?
I am not sure how to do this. My .elf file runs fine on native debian.
I try to boot from .elf wirh qemu-system-i386 command but nothing happens.
Every solution you can come up with, would be a huge boost for me!
Thanks!

Από: devel  εκ μέρους του Michael Frey 

Στάλθηκε: Πέμπτη, 28 Ιουλίου 2016 3:52:53 μμ
Προς: RIOT OS kernel developers
Κοιν.: us...@riot-os.org; devel@riot-os.org; comm...@riot-os.org
Θέμα: Re: [riot-devel] Make bootable .elf file!

Hi,

Am Do, 28.07.2016, 09:44, schrieb MiTsArAs Jimaras:

> I just ended a project of mine using RIOT OS.

that's cool!

> I produced the .elf file and now I want to make this bootable, in order to
> start at QEMU autonomus.

You mean you want to run your project on native? Have you tried to run
'make term'?

Best,
 Michael
--
Dipl.-Inf. (FH), M. Sc. Michael Frey
Humboldt-Universitat zu Berlin
Department of Computer Science
Rudower Chaussee 25
12489 Berlin, Germany

___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] Απ: Make bootable .elf file!

2016-07-28 Thread astralien3000

Hello,

I am not sure of what you are doing with qemu, but, even if RIOT is 
called an OS, it can't be executed on i386 without a mainstream OS 
(=Linux, Windows, ...). Indeed, the "native" implementation is not a 
bootloader.


Loïc


Le 28/07/2016 à 20:01, MiTsArAs Jimaras a écrit :

Hello and sorry for that multi-sending mails!

I have done this 'make term' and 'make all' processes. I have produced 
.elf and .hex files.


Now I want that .elf file to somehow boot on QEMU. Do I have to 
convert it to .bin and do the process?

I am not sure how to do this. My .elf file runs fine on native debian.
I try to boot from .elf wirh qemu-system-i386 command but nothing happens.
Every solution you can come up with, would be a huge boost for me!
Thanks!

*Από:* devel  εκ μέρους του Michael Frey 


*Στάλθηκε:* Πέμπτη, 28 Ιουλίου 2016 3:52:53 μμ
*Προς:* RIOT OS kernel developers
*Κοιν.:* us...@riot-os.org; devel@riot-os.org; comm...@riot-os.org
*Θέμα:* Re: [riot-devel] Make bootable .elf file!
Hi,

Am Do, 28.07.2016, 09:44, schrieb MiTsArAs Jimaras:

> I just ended a project of mine using RIOT OS.

that's cool!

> I produced the .elf file and now I want to make this bootable, in 
order to

> start at QEMU autonomus.

You mean you want to run your project on native? Have you tried to run
'make term'?

Best,
 Michael
--
Dipl.-Inf. (FH), M. Sc. Michael Frey
Humboldt-Universität zu Berlin
Department of Computer Science
Rudower Chaussee 25
12489 Berlin, Germany

___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] Make bootable .elf file!

2016-07-28 Thread Ludwig Knüpfer
Hi,

please compare this answer:
https://lists.riot-os.org/pipermail/devel/2016-July/004312.html

Cheers,
Ludwig

On Thu, Jul 28, 2016 at 07:44:44AM +, MiTsArAs Jimaras wrote:
> Hello.
> I just ended a project of mine using RIOT OS.
> I produced the .elf file and now I want to make this bootable, in order to 
> start at QEMU autonomus.
> How can this be possible? Do I need to make an .img file? And if yes, how?
> Thanks!

> ___
> devel mailing list
> devel@riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel

___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] Απ: Make bootable .elf file!

2016-07-28 Thread Oleg Hahm
Hi Loïc!

On Thu, Jul 28, 2016 at 08:49:54PM +0200, astralien3000 wrote:
> I am not sure of what you are doing with qemu, but, even if RIOT is called
> an OS, it can't be executed on i386 without a mainstream OS (=Linux,
> Windows, ...). Indeed, the "native" implementation is not a bootloader.

Not quite true: there is support for RIOT on QEMU-i385 [1]. However, this
board is not really well maintained and rather rudimentary. So, in the end one
would indeed rather use native instead.

Cheers,
Oleg

[1] https://github.com/RIOT-OS/RIOT/tree/master/boards/qemu-i386
-- 
printk(KERN_WARNING MYNAM ": (bad VooDoo)\n");
linux-2.6.6/drivers/message/fusion/mptctl.c


signature.asc
Description: PGP signature
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


[riot-devel] Make bootable .elf file!

2016-07-28 Thread MiTsArAs Jimaras


Hello!

Perhaps my English isn't correct. Listen to the point.

I have created an application (a clock/stopwatch with specific functions).

I compiled it with (like the API documentation says: 
http://riot-os.org/api/index.html#the-quickest-start )

Now i have a folder with my app (time), which contains various folders and also 
time.elf, time.hex and time.map.

All I want to do now, is take that .elf executable file (the file runs 
correctly with ./time.elf or ./time.elf -i 0) and make that time.elf run on 
QEMU.

By "run on QEMU" I mean with some QEMU commands (like qemu-system-i386), my 
stopwatch to start counting on boot.

I don't know if I made this clear to you, or if I messed up your minds more!

Thanks!
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] Απ: Make bootable .elf file!

2016-07-28 Thread astralien3000
Ah, ok I understood MiTsArAs was trying to run the native implementation 
on qemu-i385, which is not possible, right ?


But I did not know this target existed, anyway.

Loïc


Le 28/07/2016 à 21:18, Oleg Hahm a écrit :

Hi Loïc!

On Thu, Jul 28, 2016 at 08:49:54PM +0200, astralien3000 wrote:

I am not sure of what you are doing with qemu, but, even if RIOT is called
an OS, it can't be executed on i386 without a mainstream OS (=Linux,
Windows, ...). Indeed, the "native" implementation is not a bootloader.

Not quite true: there is support for RIOT on QEMU-i385 [1]. However, this
board is not really well maintained and rather rudimentary. So, in the end one
would indeed rather use native instead.

Cheers,
Oleg

[1] https://github.com/RIOT-OS/RIOT/tree/master/boards/qemu-i386


___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel