Topics

回复:[Zephyr-devel] is there any gudeline on how to run SMP mode kernel on X86 architecture?

"曹子龙
 

Thanks

Can it be debuged by GDB? how to with west? 


曹子龙

珠海全志科技股份有限公司      BU1-PSW

地址:广东省珠海市高新区唐家湾镇科技2路9号

TEL:13824125580

Email:caozilong@...

网址: http://www.allwinnertech.com

 


------------------------------------------------------------------
发件人:Boie, Andrew P <andrew.p.boie@...>
发送时间:2020年1月24日(星期五) 02:37
收件人:曹子龙 <caozilong@...>; devel <devel@...>
主 题:RE: [Zephyr-devel] is there any gudeline on how to run SMP mode kernel on X86 architecture?

The qemu_x86_64 target is configured to use two cores and SMP by default.

 

Regards,

Andrew

 

From: devel@... <devel@...> On Behalf Of "???
Sent: Thursday, January 23, 2020 3:36 AM
To: devel <devel@...>
Subject: [Zephyr-devel] is there any gudeline on how to run SMP mode kernel on X86 architecture?

 

 

Now SMP only supported on xtensa, arc and x86 arch, but it seems more diffculte to run on xtensa and arc becasue of no boards.

so anybody can tell me how to launch a smp run environment on x86 arch? thank you!

 

曹子

珠海全志科技股份有限公司      BU1-PSW

地址:广东省珠海市高新区唐家湾镇科技2路9号

TEL:13824125580

Email:caozilong@...

网址: http://www.allwinnertech.com

 

 


Carles Cufi
 

$ cd ~/zephyrproject/zephyr

$ source zephyr-env.sh

$ west build -b qemu_x86_64 samples/hello_world/

$ cd build/

$ ninja debugserver

 

and then in another terminal

 

$ gdb

(gdb) target remote localhost:1234

(gdb) dir ~/zephyrproject/zephyr/

(gdb) continue

 

See https://docs.zephyrproject.org/latest/application/index.html#id1

 

 

From: devel@... <devel@...> On Behalf Of "??? via Lists.Zephyrproject.Org
Sent: 24 January 2020 07:36
To: Boie, Andrew P <andrew.p.boie@...>; devel <devel@...>
Cc: devel@...
Subject:
回复:[Zephyr-devel] is there any gudeline on how to run SMP mode kernel on X86 architecture?

 

Thanks

 

Can it be debuged by GDB? how to with west? 

 

 

曹子

珠海全志科技股份有限公司      BU1-PSW

地址:广东省珠海市高新区唐家湾镇科技2路9号

TEL:13824125580

Email:caozilong@...

网址: http://www.allwinnertech.com

 

 

------------------------------------------------------------------

发件人:Boie, Andrew P <andrew.p.boie@...>

发送时间:2020124(星期五) 02:37

收件人:曹子 <caozilong@...>; devel <devel@...>

主 题:RE: [Zephyr-devel] is there any gudeline on how to run SMP mode kernel on X86 architecture?

 

The qemu_x86_64 target is configured to use two cores and SMP by default.

 

Regards,

Andrew

 

From: devel@... <devel@...> On Behalf Of "???
Sent: Thursday, January 23, 2020 3:36 AM
To: devel <devel@...>
Subject: [Zephyr-devel] is there any gudeline on how to run SMP mode kernel on X86 architecture?

 

 

Now SMP only supported on xtensa, arc and x86 arch, but it seems more diffculte to run on xtensa and arc becasue of no boards.

so anybody can tell me how to launch a smp run environment on x86 arch? thank you!

 

曹子

珠海全志科技股份有限公司      BU1-PSW

地址:广东省珠海市高新区唐家湾镇科技2路9号

TEL:13824125580

Email:caozilong@...

网址: http://www.allwinnertech.com