Re: boot armv7 on qemu-linaro

2012-01-17 Thread Andrei Gherzan
On 01/17/2012 07:41 AM, Deepti Kalakeri wrote: On Tue, Jan 17, 2012 at 12:06 AM, Andrei Gherzan and...@gherzan.ro mailto:and...@gherzan.ro wrote: I just cannot make it (qemu) print all serial messages in in default qemu windows and not in the terminal. If i don't use the

Re: boot armv7 on qemu-linaro

2012-01-16 Thread Andrei Gherzan
I just cannot make it (qemu) print all serial messages in in default qemu windows and not in the terminal. If i don't use the argument -serial, i still have to CTRL+3 in the qemu window to see serial messages. Any ideas? How can i have all serial messages in the default qemu window? @g

Re: boot armv7 on qemu-linaro

2012-01-16 Thread Deepti Kalakeri
On Tue, Jan 17, 2012 at 12:06 AM, Andrei Gherzan and...@gherzan.ro wrote: I just cannot make it (qemu) print all serial messages in in default qemu windows and not in the terminal. If i don't use the argument -serial, i still have to CTRL+3 in the qemu window to see serial messages. Any

Re: boot armv7 on qemu-linaro

2012-01-12 Thread Andrei Gherzan
On 01/11/2012 07:44 PM, Ash Charles wrote: Hi, I've used this script (http://wiki.gumstix.org/index.php?title=Overo_qemu_script) to package binary bootloaders, kernels and a rootfs into a qemu-bootable format. I tweaked it specifically for the Cortex-A8 based Gumstix Overo but it should also

Re: boot armv7 on qemu-linaro

2012-01-12 Thread Andrei Gherzan
On 01/11/2012 07:44 PM, Ash Charles wrote: Hi, I've used this script (http://wiki.gumstix.org/index.php?title=Overo_qemu_script) to package binary bootloaders, kernels and a rootfs into a qemu-bootable format. I tweaked it specifically for the Cortex-A8 based Gumstix Overo but it should also

Re: boot armv7 on qemu-linaro

2012-01-12 Thread Andrei Gherzan
On 01/12/2012 02:04 PM, Andrei Gherzan wrote: I used linux-yocto kernel for beagleboard and got over my last problem: KMACHINE_qemuarmv7 = yocto/standard/beagleboard SRCREV_machine_qemuarmv7 ?= 6b4bf6173b0bd2d1619a8218bac66ebc4681dd35 COMPATIBLE_MACHINE_qemuarmv7 = qemuarmv7 Now my boot process

Re: boot armv7 on qemu-linaro

2012-01-12 Thread Ash Charles
On Thu, Jan 12, 2012 at 8:30 AM, Andrei Gherzan and...@gherzan.ro wrote: Does anybody know why these boot messages are not printed on serial in qemu? What are the kernel boot parameters? I.e. if you 'cat /proc/cmdline' after the system is booted, do you see a 'console=ttyO2,115200n8'? Equally,

Re: boot armv7 on qemu-linaro

2012-01-12 Thread Andrei Gherzan
No quiet in it but console is ttyS2. On Jan 12, 2012 7:05 PM, Ash Charles a...@gumstix.com wrote: On Thu, Jan 12, 2012 at 8:30 AM, Andrei Gherzan and...@gherzan.ro wrote: Does anybody know why these boot messages are not printed on serial in qemu? What are the kernel boot parameters? I.e.

Re: boot armv7 on qemu-linaro

2012-01-12 Thread Ash Charles
Try interrupting u-boot on boot and typing 'setenv console ttyO2,115200n8' then 'boot' A 'saveenv' would normally make this permanent but I suspect this will fail on qemu (nand flash emulation?) so a boot.scr could do the trick. -Ash On Thu, Jan 12, 2012 at 11:20 AM, Andrei Gherzan

Re: boot armv7 on qemu-linaro

2012-01-12 Thread Andrei Gherzan
On 01/12/2012 09:25 PM, Ash Charles wrote: Try interrupting u-boot on boot and typing 'setenv console ttyO2,115200n8' then 'boot' A 'saveenv' would normally make this permanent but I suspect this will fail on qemu (nand flash emulation?) so a boot.scr could do the trick. -Ash On Thu, Jan 12,

boot armv7 on qemu-linaro

2012-01-11 Thread Andrei Gherzan
Hello everybody, I'm struggling to find a way of booting an armv7 fs compiled with poky / yocto. I found some resources on the internet but none proved to be successful for me. Would you be so kind and provide me some infos upon this topic? I would be so grateful if anybody could explain

Re: boot armv7 on qemu-linaro

2012-01-11 Thread Loïc Minier
Hey On Wed, Jan 11, 2012, Andrei Gherzan wrote: I'm struggling to find a way of booting an armv7 fs compiled with poky / yocto. I found some resources on the internet but none proved to be successful for me. Would you be so kind and provide me some infos upon this topic? There are a

Re: boot armv7 on qemu-linaro

2012-01-11 Thread Andrei Gherzan
On 01/11/2012 05:25 PM, Peter Maydell wrote: On 11 January 2012 15:12, Andrei Gherzanand...@gherzan.ro wrote: -M vexpress-a9 -hda /home/xxx/work/yyy/yocto/2012-01-08-14-57/tmp/deploy/images/image-qemuarmv7.ext3 vexpress-a9 does not support hard disks, so -hda won't work. Use -drive

Re: boot armv7 on qemu-linaro

2012-01-11 Thread Andrei Gherzan
On 01/11/2012 05:21 PM, Loïc Minier wrote: Hey On Wed, Jan 11, 2012, Andrei Gherzan wrote: I'm struggling to find a way of booting an armv7 fs compiled with poky / yocto. I found some resources on the internet but none proved to be successful for me. Would you be so kind and provide

Re: boot armv7 on qemu-linaro

2012-01-11 Thread Ash Charles
Hi, I've used this script (http://wiki.gumstix.org/index.php?title=Overo_qemu_script) to package binary bootloaders, kernels and a rootfs into a qemu-bootable format. I tweaked it specifically for the Cortex-A8 based Gumstix Overo but it should also work for Beagleboard and should be a good