cal network cable between my host and the board.
(host 10.10.10.1 and the board 10.10.10.11)
I tried setting ETH0IP to 129.254.132.47 in qemu-ifup script but it didn't
work.
Please anyone tell me what the problem is..
Kind regards,
Chan Kim
se by foreign host.' I remember)
Thanks a lot.
Chan Kim
보낸 사람 : "김찬"
보낸 날짜 : 2014-09-18 22:00:32 ( +09:00 )
받는 사람 : qemu-discuss@nongnu.org
참조 :
제목 : need help in setting up tap networking for using qemu virtual machine
Hello, everyone!
It's good to have some people to ask th
ing qemu
virtual machine
Without actually testing your scripts,
- Have you checked you don't have a name resolution problem? Try
pinging one of Google's IP addresses instead of the name.
- Do you have a DG configured? Run the route command to verify.
Tony
On Thu, Sep 18, 2014 at 6:08 AM
I was reading again
http://en.wikibooks.org/wiki/QEMU/Networking
it says I can redirect some hosts TCP ports to guest TCP ports.
How do I route IP packets between the two?
(in user mode, the guest is in 10.0.2.x buy my host is in 129.254.132.x)
This is not clearly shown.
Thanks
Chan
받는 사람 : *qemu-discuss@nongnu.org
> *참조 : *
> *제목 : *RE: need help in setting up tap networking for using qemu
> virtual machine
>
>
> Forgot to mention that while qemu is running with RTEMS telnetd.exe,
> (with ETH0IP set to 48)
> from the host I get ping response from
; *보낸 날짜 : *2014-09-18 22:09:00 ( +09:00 )
> *받는 사람 : *qemu-discuss@nongnu.org
> *참조 : *
> *제목 : *RE: need help in setting up tap networking for using qemu
> virtual machine
>
>
> Forgot to mention that while qemu is running with RTEMS telnetd.exe,
> (with ETH0IP set to 48)
>
I think my email is not exploded to the mailing list after I tried sending html
body yesterday.
Does anybody see this? Please reply to me(and the list so that too many will
not respond).
Chan
c...@etri.re.kr
What does CONFIG_USER_ONLY mean?
Does QEMU have a special user-only mode of operation? In which case? Is it
determined by the cpu type?
I couldn't find any clue on the email archive.
Thanks!
Chan
I was trying to run RTEMS(a real-time OS) application on a sparc virtual
machine using QEMU.
I'm almost there and I've seen it working hours ago. But after removing some
prints it is not working and later I found it's not because of the removed
prints. The data is not being passed between the R
seen as such at the device's qemu write function. Isn't this the
normal behavior? (If I write 0x12345678, it is seen 0x12345678 not 0x78563412).
Chan
보낸 사람 : "Chan Kim"
보낸 날짜 : 2014-09-29 17:30:12 ( +09:00 )
받는 사람 : qemu-discuss@nongnu.org
참조 :
제목 : [Qemu-discuss] CPU wri
lue passed from application to qemu is
strange
On 29 September 2014 12:37, Chan Kim wrote:
> So whatever 32bit value I write, it should be seen as such
> at the device's qemu write function. Isn't this the normal
> behavior? (If I write 0x12345678, it is seen 0x12345678 not
> 0
Dear QEMU users,
About a month ago, I successfully made the QEMU work in our real network using
TAP networking.
I made tap0 device, created a bridge, with eth0 of my host and tap0 of qemu
connected to the bridge br0.
Now I can run linux and rtems image on the virtual machine and can communicate
Hi, qemu users,
I used to build qemu ( a couple of device models added) many times last year
and
I remember I've built it several times since I upgraded to CentOS 6.6 end of
last year.
But I'm seeing this error when I build it now. I use this procedure
$ make distclean
$ make clean
$ ./
on is
related to vscclient. Just curious.
Chan
보낸 사람 : "Peter Maydell"
보낸 날짜 : 2015-01-21 03:53:05 ( +09:00 )
받는 사람 : 김찬
참조 : qemu-discuss@nongnu.org
제목 : Re: [Qemu-discuss] Please Help! qemu build error (/usr/bin/ld: -f may not
be used without -shared)
On 20 January 2015 at 12:10,
Hello,
I git pulled to version qemu 2.3.50 and ran
Downloads/qemu] ./configure --prefix=/home/ckim/RTEMS/qemu
--target-list=arm-softmmu
then ran
Downloads/qemu] make
I see this compile error.
CHK version_gen.h
CCblock/raw-posix.o
block/raw-posix.c: In function 'xfs_write_zeroes':
block/
so I can't
use qemu_fdt_setprop_string function.
Is there a way to put this /memreserve/ string effect in the fdt the virt
machine generates?
Thanks for the help.
Chan Kim
hen the ref count
is non zero, the object can't be removed.
Then why does it call sysbus_realize_and_unref function to reduce the ref
count of the system bus(=parent object) of the device being create?
Thank you,
Chan Kim
port number, but the example doesn't
show how. The -gdb option seems to expect char device.
I think I have used different port for debugging qemu itself and another
port for the application on it in the past, but forgot how to do it. (can't
find any memo)
How should I do it? (using different port)
Thanks!
Chan Kim
Oh, I found it was -gdb tcp::1235. (I had tried only -gdb tcp:1235)
I think the manual should better have this information there.
From: Chan Kim
Sent: Saturday, January 29, 2022 11:38 AM
To: 'qemu-discuss'
Subject: How can I use different tcp port other than 1234 to u
hat am I missing?
(I tried doing it with qemu-6.2.0 today by adding my virtual machine there.
Linux boots ok with 'kernel=Image' method but when I do u-boot method, it
doesn't proceed somewhere in u-boot so I couldn't check the above code. But
start_kernel is in el1 as in 5.1.0)
Any comment will be appreciated.
Thank you!
Chan Kim
I found by setting -cpu max, this ID_AA64MMFR1 register value is read
correctly.
With this setting, the start_kernel is entered in el2 as in the fpga test.
Thanks!
Chan Kim
From: Chan Kim
Sent: Thursday, February 17, 2022 4:18 PM
To: 'qemu-discuss'
Subject: ID_AA64MMFR1
art_kernel () at init/main.c:614
#9 0x in ?? ()
Is this normal, or do I have any problem with the command or in my Image
file?
Thank you,
Chan Kim
this happen? Should I set something in the kernel configuration?
Any help will be really appreciated.
Thank you!
Chan Kim
s not coming.
Thank you.
Chan Kim
From: Chan Kim
Sent: Tuesday, February 22, 2022 3:15 PM
To: 'qemu-discuss@nongnu.org'
Subject: read_sysreg(TTBR_EL2) not work in linux, but read_sysreg(CurrentEL)
works. (arm64)
When running u-boot starting linux on qemu and using gdb to deb
I'm using qemu-6.2.0. using gdb, after I executed 'msr ttbr1_el1, x1' (when
x1 = 0x80737000), when I examine TTBR1_EL1 register by 'info reg
TTBR1_EL1', the value is 0. Is it gdb problem? Or qemu problem?
Chan Kim
From: Chan Kim
Sent: Wednesday, February 2
th seure=on?
Thanks!
Chan Kim
From: Chan Kim
Sent: Saturday, February 19, 2022 10:20 AM
To: 'qemu-discuss'
Subject: linux doesn't boot with secure=on option (arm64 virt)
Hello all
When I use this command(secure=off),
../qemu-6.2.0/build-baremetal/aarch64-softmmu/qe
e of the 'Rom' and not in
the memory??
Can't I really load the kernel Image at 0x8020? (actually I want to load
it at 0x8000).
Thank you for reading and any help will be really appreciated.
Chan Kim
Hi, Peter Maydell,
I see. So qemu seems to mimic rom->ram loading.
When I examined the memory at 0x8020 (host virtual 0x7fff6300) near the
end of qemu_init(),
I could see the kernel Image loaded as I expected.
Thank you!
Chan Kim
> -Original Message-
> From: Pete
nt or help will be much appreciated.
Thank you!
Chan Kim
he uart
device.
(earlier exception occurred because the second uart device was not there)
The code above seems to tell the stdio cannot be used twice as backend of a
chardev, even though I set 'mux=on' for the chardev char0 above.
Is this a bug in qemu-6.2.0 or am I missing somethin
lue in the qemu
source?
Thank you.
Chan Kim
)
Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive,
,, )
{
0x00D0,
}
})
}
I'm not sure what I should fix in acpi table.
Any comment or advice will be deeply appreciated.
Thank you!
Chan Kim
p.s. I put the same question on the stackoverflow :
https://stackoverflow.com/questions/71702591/qemu-interrupt-not-connected.
Answering there is also good because more people could get help using
search.
upt. But now seems to be
the time for investigation in the S/W and qemu signal path.
Thanks for the helps many times.
Best regards,
Chan Kim
s
[ 584.886735] Mem abort info:
If you have any idea where I should check, please tell me.
Thank you.
Chan Kim
?).
How can I make my interrupt have higher priority other that 0xff? Should I do
it in qemu device tree?(or ACPI table?)
Or should I do it in linux driver (when calling request_irq function). I'm lost
here.
Any comment or advice will be really appreciated. (this test is using
qemu-5.1.0)
Tha
red the handler in the driver using request_irq function hoping the OS
will set the registers for me but it's not working.
I don't know what's wrong and I'll check the qemu interrupt path and the
driver..
Thank you.
Chan Kim
and I can run the executable on ubuntu-20.04 on
the virtual machine.
The difference is that now I'm trying to run it on vanilla 5.4.0 on the
virtual machine)
Thank you and any comment/advice will be welcomed.
Chan Kim
I found adding -static option in the compile solves the problem.
Thank you!
Chan Kim
> -Original Message-
> From: Chan Kim
> Sent: Tuesday, April 5, 2022 5:11 PM
> To: 'qemu-discuss'
> Subject: can't execute any executable in shell except busybox com
add-symbol-file for the driver image relative to that loaded address, it is
possible to do kernel module debug. I think this is what driver developers
will be doing always. Please tell me how I can do it. If this is possible,
it will save many days for me.
Thank you!
Chan Kim
Hello all,
I found how to do it, I had asked it on stackoverflow.com and posted it as
an answer there.
Please see if you are interested.
https://stackoverflow.com/questions/71749640/how-can-i-debug-kernel-module-r
unning-on-a-virtual-machine/71753139#71753139
Thank you!
Chan Kim
ml_interrupt(AML_CONSUMER, AML_LEVEL, AML_ACTIVE_HIGH,
AML_EXCLUSIVE, &irq, 1));
aml_append(dev, aml_name_decl("_CRS", crs));
aml_append(scope, dev);
}
I'm not sure if I can just use _HID value as "AXPU0011".
If you see anything wrong and have a suggestion, please tell me.
Thank you!
Chan Kim
s 0.
So this irq_desc problem was solved(?) for now. (I don't know why this is so
small when CONFIG_SPARSE_IRQS=y).
And still the handler is not called even when I set qemu_set_irq.
_
From: Chan Kim
for INTID < 16. Because it's SGI..?)
I thought I connected my device (axpu) to SPI 15 in qemu code but this GICv3
input number changes according to with what number I called reqeust_irq.
Could anyone tell me what is going on here?
Thank you.
Chan Kim
tual irq).
So I registered the handler by request_irq(6,...) and the interrupt works
fine.
So now my question is : how can find my irq number (correct irq_desc number)
in kernel driver module?
I'll appreciate it if you could tell me how to do it.
Thank you!
Chan Kim
> -Original Messag
ce). What function should I use to get the irq number in this case?
I couldn't find a function with a likely name in the tags file for linux
source.(5.4.188)
Thanks a lot!
Chan Kim
Kara
Sent: Monday, April 11, 2022 10:10 PM
To: Chan Kim ; 'qemu-discuss' ;
kernelnewb...@kernelnewbies.org
Subject: Re: Can't understand /proc/interrupts output for GICv3 case
Hello,
firstly when you say SPI so can you give some more information about your
hardware?
I thin
irq",
&axpu_cdev);
printk("request_irq returned %d\n", ret); // -EINVAL
printk(KERN_INFO "Device driver inserted ..done properly..\n");
return 0;
r_device :
class_destroy(dev_class);
r_class :
unregister_chrdev_region(dev,1);
return -1;
}
Thank you.
Chan Kim
Hi, Greg KH,
Thanks for the advices.
Some questions inline.
> -Original Message-
> From: 'Greg KH'
> Sent: Monday, April 11, 2022 11:26 PM
> To: Chan Kim
> Cc: 'qemu-discuss' ;
> kernelnewb...@kernelnewbies.org
> Subject: Re: Can't und
Hi Ozgur,
My replies in-line.
Thanks!
From: Ozgur Karatas
Sent: Monday, April 11, 2022 11:53 PM
To: Chan Kim
Cc: Greg KH ; kernelnewb...@kernelnewbies.org; qemu-discuss
Subject: Re: Can't understand /proc/interrupts output for GICv3 case
Re-hi,
On Mon, Apr 11, 2022 at
Hi Greg KH,
I see, I understand what the proper method should be for this.
I'll take it as an almost official answer from the linux people :)
Thank you.
Chan Kim
> -Original Message-
> From: 'Greg KH'
> Sent: Tuesday, April 12, 2022 1:50 PM
> To: Ch
t;);
goto r_device;
}
ret = request_irq(i, axpu_irq_handler, IRQF_SHARED, "axpu_irq",
&axpu_cdev);
This way I could find the correct irq number on ubuntu and vanilla linux.
Hope this is helpful to someone. (anyway you know the hardware connection so
you can use it)
Thank
reading the references again soon)
Chan
From: Ozgur Karatas
Sent: Tuesday, April 12, 2022 4:15 PM
To: Chan Kim
Cc: Greg KH ; kernelnewb...@kernelnewbies.org; qemu-discuss
Subject: Re: Can't understand /proc/interrupts output for GICv3 case
On Tue, Apr 12, 2022 at 6:44 AM Cha
your virtual machine from outside. (you should use
TUN/TAP networking, I once used it but forget how to setup).
Chan Kim
get 'network unreachable' error.
Could anyone tell me what is wrong in the invocation parameters above?
Thank you!
Chan Kim
.
But the problem is, in qemu virtual machine, after linux boots and the shell
prompt is output, when I enter something in the shell, it just comes out to
qemu monitor.
I have put off this problem till now but I have to fix this anyway.
Could anyone give me an advice?
Thank you!
Best regards,
Chan Kim
only my loaded dtb is used and the qemu-generated fdt is
not used at all, is this correct?
Best regards,
Chan Kim
>-Original Message-
>From: Peter Maydell
>Sent: Wednesday, July 20, 2022 7:44 PM
>To: Chan Kim
>Cc: qemu-discuss
>Subject: Re: linux shell comes out to qemu-mo
automatic dtb load?
Thanks in advance.
Chan Kim
the memory(0x8000 in my case) and doesn't load the dtb it generated
instead. My virtual machine is a modified version of arm/virt).
Chan Kim
>-Original Message-
>From: Alex Bennée
>Sent: Thursday, August 4, 2022 7:04 PM
>To: Chan Kim
>Cc: qemu-discuss@nongnu.o
execution(I mean in my virtual machine)?
BTW, this is an arm64 board.
Chan Kim
ok in the FPGA board.
Hope this helps someone later.
Chan Kim
>-Original Message-
>From: Chan Kim
>Sent: Monday, August 29, 2022 3:42 PM
>To: 'qemu-discuss@nongnu.org'
>Subject: schedule() or scheduler_tick() not called during qemu run
>
>Hello qemu experts,
enter something in the linux shell, the input is taken by my ubuntu
host's /bin/sh.
How can I use xterm just to be used by virtual machine's serial ports? Or in
different words, how can I disconnect xterm from my host machine's shell
program?
Thank you for reading.
Chan Kim
he driver!
Hope this helps someone later.
Thank you!
Chan Kim
>-Original Message-
>From: Chan Kim
>Sent: Friday, October 14, 2022 11:59 AM
>To: 'qemu-discuss@nongnu.org'
>Subject: using xterms for connecting to multiple uarts of the virtual
>machine
>
>H
Just an update.
Using xterm is also possible.
See
https://stackoverflow.com/questions/39373236/redirect-multiple-uarts-in-qemu
/39376502#comment130819387_39376502 (alexei's answer)
Thanks.
Chan Kim
>-Original Message-
>From: Chan Kim
>Sent: Monday, October 17, 2022 11:45
e dts, in the
chosen node, I have this line
bootargs = "earlycon root=/dev/ram init=/init nokaslr, cpuidle.off=1";
But as you know qemu has its own boot loader.
What can I try to make printk in the driver appear?
Thank you!
Chan Kim
at this time."
Then, does this mean I cannot attach a PCIe device model in qemu and debug
PCIe related S/W operation?
Can I do it with higher version of qemu?
Thank you!
Chan Kim
U_DATA_BUF_SIZE=0x80
CONFIG_SYS_DFU_MAX_FILE_SIZE=0x80
CONFIG_SPL_OF_LIBFDT_ASSUME_MASK=0xff
CONFIG_TPL_OF_LIBFDT_ASSUME_MASK=0xff
CONFIG_VPL_OF_LIBFDT_ASSUME_MASK=0xff
Thank you.
Chan Kim
oot-spl
too, I should run it from u-boot-spl first, shouldn't I?
How am I supposed to run u-boot-spl and u-boot on this qemu machine? (from
lds files, it looks like they both start at address 0).
(qemu machine is arm64 virt machine, qemu 6.2.0).
Thank you.
Chan Kim
image node. And I turned off
SPL_BOOT_OS of course. I referenced the sample its files in u-boot.
(I can't copy-paste the file now so I just tell you the key lines)
Hope this helps someone layter.
Thank you.
Chan Kim
>-Original Message-
>From: U-Boot On Behalf Of 김찬
>S
isb
Can anyone suggest what I can try to solve this problem? (I mean, the
problem of linux shell not responding in qemu virtual machine)
I would appreciate it for any comment or help.
Thank you.
Chan Kim
e later.
Thank you!
Chan Kim
From: Chan Kim
Sent: Friday, June 2, 2023 6:28 PM
To: U-Boot Mailing List ; 'qemu-discuss@nongnu.org'
; kernelnewb...@kernelnewbies.org
Subject: Running u-boot and linux on qemu arm64 virt machine, linux shell
does not respond..
Hello all,
I
70 matches
Mail list logo