Re: [Qemu-devel] HelloWord kernel for qemu-system-aarch64

2014-09-05 Thread Christopher Covington
On 09/05/2014 01:52 PM, Semion Prihodko wrote: > This is tricky to deepen in this large code base. It looks strange that > there's no simple concrete tutorial like we have for all other CPU > architectures (e.g. in osdev.org ). AArch64 hasn't really changed the PL011 UART (nor GI

Re: [Qemu-devel] HelloWord kernel for qemu-system-aarch64

2014-09-05 Thread Semion Prihodko
This is tricky to deepen in this large code base. It looks strange that there's no simple concrete tutorial like we have for all other CPU architectures (e.g. in osdev.org). 05 Сен 2014 г. 19:57 пользователь "Claudio Fontana" < claudio.font...@huawei.com> написал: > On 05.09.2014 16:50, Semion Pri

Re: [Qemu-devel] HelloWord kernel for qemu-system-aarch64

2014-09-05 Thread Claudio Fontana
On 05.09.2014 16:50, Semion Prihodko wrote: > Let's discard semihosting. I have aarch64-linux-gnu-* toolchain and > qemu-system-aarch64 emulator. How can I build a minimal kernel which > outputs Hello World! via serial port and run it on the emulator? > If you run qemu with the "virt" platform, y

Re: [Qemu-devel] HelloWord kernel for qemu-system-aarch64

2014-09-05 Thread Semion Prihodko
Let's discard semihosting. I have aarch64-linux-gnu-* toolchain and qemu-system-aarch64 emulator. How can I build a minimal kernel which outputs Hello World! via serial port and run it on the emulator? 2014-09-04 21:15 GMT+03:00 Christopher Covington : > Hi Semion, > > On 09/04/2014 09:40 AM, Se

Re: [Qemu-devel] HelloWord kernel for qemu-system-aarch64

2014-09-04 Thread Christopher Covington
Hi Semion, On 09/04/2014 09:40 AM, Semion Prihodko wrote: > Still don't know how to build/run a simple Hello World kernel on > qemu-system-aarch64? > > Guys, this is a very basic thing, please provide concrete steps. Thanks. Here you go. Start at the wget. http://lists.gnu.org/archive/html/qemu

Re: [Qemu-devel] HelloWord kernel for qemu-system-aarch64

2014-09-04 Thread Semion Prihodko
Does it mean QEMU emulator is designed to run Linux only? This is not true. So I ask QEMU developers for help, because they are able to resolve problems to some extent. Please help me guys. Thanks. 2014-09-04 16:44 GMT+03:00 Peter Maydell : > On 4 September 2014 14:40, Semion Prihodko wrote: >

Re: [Qemu-devel] HelloWord kernel for qemu-system-aarch64

2014-09-04 Thread Peter Maydell
On 4 September 2014 14:49, Semion Prihodko wrote: > Does it mean QEMU emulator is designed to run Linux only? This is not true. No. It means what I said: you can do this, but you're doing something odd and therefore you can't expect that there will be documentation holding your hand every step of

Re: [Qemu-devel] HelloWord kernel for qemu-system-aarch64

2014-09-04 Thread Peter Maydell
On 4 September 2014 14:40, Semion Prihodko wrote: > Still don't know how to build/run a simple Hello World kernel on > qemu-system-aarch64? > > Guys, this is a very basic thing, please provide concrete steps. Thanks It's a non-standard use case. The usual use case is "boot Linux", which you can f

Re: [Qemu-devel] HelloWord kernel for qemu-system-aarch64

2014-09-04 Thread Semion Prihodko
Still don't know how to build/run a simple Hello World kernel on qemu-system-aarch64? Guys, this is a very basic thing, please provide concrete steps. Thanks. 2014-09-04 16:29 GMT+03:00 Peter Maydell : > On 4 September 2014 11:40, Semion Prihodko wrote: > > Hi guys, > > > > Need your help. I t

Re: [Qemu-devel] HelloWord kernel for qemu-system-aarch64

2014-09-04 Thread Peter Maydell
On 4 September 2014 11:40, Semion Prihodko wrote: > Hi guys, > > Need your help. I trying to find a way to compile/link a minimal kernel > which outputs "Hello World" in qemu-system-aarch64. No tutorial found. There > is no problem running the same example in Foundation emulator, but I need > QEMU