|
回复:[Zephyr-devel] How to compile riscv64 program with 0.10.3 sdk "riscv64-zephyr-elf-gcc" toolchain?
Thank you! if so,it seems riscv32 toolchain also can take this flag and generate the 64 bit program. riscv32-zephyr-elf-gcc -march=rv64i -mabi=lp64 -c main.c -o main caozilong@Exdroid94:~/WorkSpace/ri
Thank you! if so,it seems riscv32 toolchain also can take this flag and generate the 64 bit program. riscv32-zephyr-elf-gcc -march=rv64i -mabi=lp64 -c main.c -o main caozilong@Exdroid94:~/WorkSpace/ri
|
By
"曹子龙
· #6996
·
|
|
How to compile riscv64 program with 0.10.3 sdk "riscv64-zephyr-elf-gcc" toolchain?
I try to compile program with "zephyr-sdk-0.10.3/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc " to compile my program, but it seems the result still be 32 bit program: czl@czl-Vostro-3268:~/zephyr-sd
I try to compile program with "zephyr-sdk-0.10.3/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc " to compile my program, but it seems the result still be 32 bit program: czl@czl-Vostro-3268:~/zephyr-sd
|
By
"曹子龙
· #6993
·
|
|
回复:回复:回复:[Zephyr-devel] is there any gudeline on how to run SMP mode kernel on X86 architecture?
Thank you! It seems work seeing the source code, but still has problem on connection: (gdb) target remote localhost:1234 Remote debugging using localhost:1234 warning: Selected architecture i386:x64-3
Thank you! It seems work seeing the source code, but still has problem on connection: (gdb) target remote localhost:1234 Remote debugging using localhost:1234 warning: Selected architecture i386:x64-3
|
By
"曹子龙
· #6692
·
|
|
why no matches found in "west build -t menuconfig" during find "CONFIG_THREAD_NAME" flag?
See blow picture, i try to enable the flag "CONFIG_THREAD_NAME" because it was disabled by default, but still cant see the configuration items in menuconfig, can anyone tell me why? 曹子龙 珠海全志科技股份有限公司 B
See blow picture, i try to enable the flag "CONFIG_THREAD_NAME" because it was disabled by default, but still cant see the configuration items in menuconfig, can anyone tell me why? 曹子龙 珠海全志科技股份有限公司 B
|
By
"曹子龙
· #6688
·
|
|
回复:回复:[Zephyr-devel] is there any gudeline on how to run SMP mode kernel on X86 architecture?
Thank you! But it seems cant load the symbol, so how to compile the debug elf files? BTW: there are two elf files exist in build dir, zephyr.elf and zepyhr-qemu.elf, what is the difference? Thread 1 r
Thank you! But it seems cant load the symbol, so how to compile the debug elf files? BTW: there are two elf files exist in build dir, zephyr.elf and zepyhr-qemu.elf, what is the difference? Thread 1 r
|
By
"曹子龙
· #6687
·
|
|
回复:[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
Thanks Can it be debuged by GDB? how to with west? 曹子龙 珠海全志科技股份有限公司 BU1-PSW 地址:广东省珠海市高新区唐家湾镇科技2路9号 TEL:13824125580 Email:caozilong@... 网址: http://www.allwinnertech.com
|
By
"曹子龙
· #6683
·
|
|
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? t
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? t
|
By
"曹子龙
· #6677
·
|
|
回复:回复:[Zephyr-devel] Is this a bug? how to guarantee the "atomic semantics access of readyqueue" in "do_swap" function during context switch in SMP mode?
hi : would the "wait_for_switch(new_thread)" would aggravate the race condition not fix the race condition? the old thread save state still cant guarantee to be saved before it pick up by other cpus t
hi : would the "wait_for_switch(new_thread)" would aggravate the race condition not fix the race condition? the old thread save state still cant guarantee to be saved before it pick up by other cpus t
|
By
"曹子龙
· #6675
·
|
|
回复:回复:[Zephyr-devel] Is this a bug? how to guarantee the "atomic semantics access of readyqueue" in "do_swap" function during context switch in SMP mode?
HI folks: i still belive there are race conditions exist. in "do_swap" function, what would happen if others cpus pick up the "old" thread to run before it do the actual context backup? because if "is
HI folks: i still belive there are race conditions exist. in "do_swap" function, what would happen if others cpus pick up the "old" thread to run before it do the actual context backup? because if "is
|
By
"曹子龙
· #6674
·
|
|
回复:[Zephyr-devel] Is this a bug? how to guarantee the "atomic semantics access of readyqueue" in "do_swap" function during context switch in SMP mode?
Hi andy: so, this is turely a issue that i have illustrated in last emai? is that true? so the mainline code still has this issue, right? thank you. 曹子龙 珠海全志科技股份有限公司 BU1-PSW 地址:广东省珠海市高新区唐家湾镇科技2路9号 TEL
Hi andy: so, this is turely a issue that i have illustrated in last emai? is that true? so the mainline code still has this issue, right? thank you. 曹子龙 珠海全志科技股份有限公司 BU1-PSW 地址:广东省珠海市高新区唐家湾镇科技2路9号 TEL
|
By
"曹子龙
· #6669
·
|
|
Is this a bug? how to guarantee the "atomic semantics access of readyqueue" in "do_swap" function during context switch in SMP mode?
HI folks: if from the call pass of z_swap, which with parameter, do_swap(key.key, lock, 1); because is_spinlock is 1, so the lock would be released before invoke the actual switch function "arch_switc
HI folks: if from the call pass of z_swap, which with parameter, do_swap(key.key, lock, 1); because is_spinlock is 1, so the lock would be released before invoke the actual switch function "arch_switc
|
By
"曹子龙
· #6661
·
|
|
What is the difference "z_reschedule_irqlock" and "z_reschedule“? why two implementations?
Hi folks: why there are two implmentations of schedule? What is the difference "z_reschedule_irqlock" and "z_reschedule“? why two implementations? 曹子龙 珠海全志科技股份有限公司 BU1-PSW 地址:广东省珠海市高新区唐家湾镇科技2路9号 TEL:1
Hi folks: why there are two implmentations of schedule? What is the difference "z_reschedule_irqlock" and "z_reschedule“? why two implementations? 曹子龙 珠海全志科技股份有限公司 BU1-PSW 地址:广东省珠海市高新区唐家湾镇科技2路9号 TEL:1
|
By
"曹子龙
· #6660
·
|
|
Did the SMP support arm architecture boards presents? if yes, which one?
HI folks: Did the SMP support arm architecture boards presents? if yes, which one? Thank you! 曹子龙 珠海全志科技股份有限公司 BU1-PSW 地址:广东省珠海市高新区唐家湾镇科技2路9号 TEL:13824125580 Email:caozilong@... 网址: http
HI folks: Did the SMP support arm architecture boards presents? if yes, which one? Thank you! 曹子龙 珠海全志科技股份有限公司 BU1-PSW 地址:广东省珠海市高新区唐家湾镇科技2路9号 TEL:13824125580 Email:caozilong@... 网址: http
|
By
"曹子龙
· #6656
·
|
|
where is the "z_smp_reacquire_global_lock" called to restore the lock state to whatever the thread's counter?
Hi folks: throught the docment of zephyr smp imple. a task take the irq_lock can be yield to another thread, but would restore the spinlock own status when it comes back but, throught the code, i just
Hi folks: throught the docment of zephyr smp imple. a task take the irq_lock can be yield to another thread, but would restore the spinlock own status when it comes back but, throught the code, i just
|
By
"曹子龙
· #6655
·
|
|
about the SMP implement ion, did the zephyr SMP support cpu affinity settings?
Hi folks: Did the SMP impl. of zephyr support the cpu affinity settings? i have not seen the related members in k_thread structure. Thanks for your kindly help.! 曹子龙 珠海全志科技股份有限公司 BU1-PSW 地址:广东省珠海市高新区唐
Hi folks: Did the SMP impl. of zephyr support the cpu affinity settings? i have not seen the related members in k_thread structure. Thanks for your kindly help.! 曹子龙 珠海全志科技股份有限公司 BU1-PSW 地址:广东省珠海市高新区唐
|
By
"曹子龙
· #6654
·
|
|
about the difference of device tree use method compare with linux?
Hi folks: I know the device tree mechanism is also applied in zephyr sdk, but it seems something diffferent compare with in linux. in linux, the dtsi script file would be compiled to a binary blob whi
Hi folks: I know the device tree mechanism is also applied in zephyr sdk, but it seems something diffferent compare with in linux. in linux, the dtsi script file would be compiled to a binary blob whi
|
By
"曹子龙
· #6497
·
|
|
Is the devicetree in zephyr sdk supports the dynamic running time flow control ?
Hi folks: I know the device three mechanism is also applied in zephyr sdk, but it seems something diffferent compare with in linux. in linux, the dtsi script file would be compiled to a binary blob wh
Hi folks: I know the device three mechanism is also applied in zephyr sdk, but it seems something diffferent compare with in linux. in linux, the dtsi script file would be compiled to a binary blob wh
|
By
"曹子龙
· #6490
·
|
|
how to get the verbose output the check the compile details using west?
Hi folks: i want to get the compiler process details output when using west build command, so, how to get this? 曹子龙 珠海全志科技股份有限公司 BU1-PSW 地址:广东省珠海市高新区唐家湾镇科技2路9号 TEL:13824125580 Email:caozilong@allwinne
Hi folks: i want to get the compiler process details output when using west build command, so, how to get this? 曹子龙 珠海全志科技股份有限公司 BU1-PSW 地址:广东省珠海市高新区唐家湾镇科技2路9号 TEL:13824125580 Email:caozilong@allwinne
|
By
"曹子龙
· #6352
·
|
|
why the reschrdule not permitted if lock key nested ?
HI guys: in kerne impl. many scenarios would call the z_reschedule to yield volunteer if the thread`s resource request did not meets. but the "resched" condition check confuse me, it seems only the ca
HI guys: in kerne impl. many scenarios would call the z_reschedule to yield volunteer if the thread`s resource request did not meets. but the "resched" condition check confuse me, it seems only the ca
|
By
"曹子龙
· #6254
·
|
|
回复:[Zephyr-devel] Is The tick handler "z_clock_announce" in SMP mode dupulicate caculated?
Hi andrew: i find the place you said laste emai, it seems only xtensa and x84 arch supports the SMP mode, so take xtensa for exmaple. it seems the mechanism you said in the laste email only effect whe
Hi andrew: i find the place you said laste emai, it seems only xtensa and x84 arch supports the SMP mode, so take xtensa for exmaple. it seems the mechanism you said in the laste email only effect whe
|
By
"曹子龙
· #6200
·
|