于 2018年2月13日 GMT+08:00 上午4:25:35, "Mr. Fülöp" <alexandru.fu...@gmail.com> 写到: >Hi Icenowy, > >Thank you for your reply! >I worked much and got this close, so I really want to make this thing >work >:) >Do you have any suggestions/patches/directions? This "ugly hack" is >there >somewhere? :)
The Linux version of this hack is at [1]. [1] https://github.com/wens/linux/tree/gic-secure-workaround > >I think the issue resides on the "switching" to the next cpu... > >Thank you in advance! > >Alex > > >On Wednesday, February 7, 2018 at 8:04:41 PM UTC+2, Icenowy Zheng >wrote: >> >> >> >> 于 2018年2月8日 GMT+08:00 上午2:02:39, "Mr. Fülöp" <alexand...@gmail.com >> <javascript:>> 写到: >> >Hi Guys, >> > >> >I think I reached a dead end... >> >Can you please tell me why does it hang on "(XEN) Bringing up CPU1"? > >> >I compiled many xen version, but my feeling is that in the u-boot is > >> >sth. that makes Xen hang... >> > >> >Any suggestions? >> > >> >Thank you in advance! >> > >> >========================================= >> > >> > Xen 4.11-unstable >> >(XEN) Xen version 4.11-unstable (@) (arm-linux-gnueabi-gcc (Debian >> >6.1.1-9) 6.1.1 20160705) debug=y Fri Feb 2 16:48:36 UTC 2018 >> >(XEN) Latest ChangeSet: Fri Nov 3 16:43:02 2017 +0000 git:4c7e478 >> >(XEN) Processor: 410fc075: "ARM Limited", variant: 0x0, part 0xc07, >rev >> >0x5 >> >(XEN) 32-bit Execution: >> >(XEN) Processor Features: 00001131:00011011 >> >(XEN) Instruction Sets: AArch32 A32 Thumb Thumb-2 ThumbEE >Jazelle >> >(XEN) Extensions: GenericTimer Security >> >(XEN) Debug Features: 02010555 >> >(XEN) Auxiliary Features: 00000000 >> >(XEN) Memory Model Features: 10101105 40000000 01240000 02102211 >> >(XEN) ISA Features: 02101110 13112111 21232041 11112131 10011142 >> >00000000 >> >(XEN) Using PSCI-0.1 for SMP bringup >> >(XEN) SMP: Allowing 8 CPUs >> >(XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27 Freq: 24000 KHz >> >(XEN) GICv2 initialization: >> >(XEN) gic_dist_addr=0000000001c81000 >> >(XEN) gic_cpu_addr=0000000001c82000 >> >(XEN) gic_hyp_addr=0000000001c84000 >> >(XEN) gic_vcpu_addr=0000000001c86000 >> >(XEN) gic_maintenance_irq=25 >> >(XEN) GICv2: 224 lines, 8 cpus, secure (IID 0200143b). >> >(XEN) Using scheduler: SMP Credit Scheduler (credit) >> >(XEN) Allocated console ring of 64 KiB. >> >(XEN) VFP implementer 0x41 architecture 2 part 0x30 variant 0x7 rev >0x5 >> >(XEN) Bringing up CPU1 ----- HERE IT HANGS ----- >> >> I think you just met the bug we mentioned in this thread. >> With this patchset applied a Linux kernel will also hang >> here without ugly hack. >> >> -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.