기타/Dual linux booting(AMP mode booting)

linux multi core operation(AMP booting)

Onionfra 2017. 6. 20. 14:44

Asymmetric Multi-processing (AMP) = 비대칭 core

Symmetric Multi-processing (SMP) = 대칭 core


  • ARM & Linux change to AMP mode (ARM cp15 register,)
  • Define Cache initialize scheme
  • Define GIC initialize & distribute to core
  • Core Communication rule(IPI, SharedM, scretch register)
  • ......

                 


AMP & SMP of Multicore processor
reference: http://www.embedded.com/design/mcus-processors-and-socs/4429496/Multicore-basics





Linux booting sequence of AMP system




AMP-Linux&Android Linux(Asymmetric Multi-processing)



Interrupts, NAND, DRAM sharing of AMP system(Asymmetric Multi-processing)




u-boot on multi core
U-boot must have a MP driver(multi processor driver)
TI have no MP driver now

u-boot on single core




Action item

Memory map(Dram) design for muti os(define address)
Flash map design for muti os(define address)
u-boot change for multi image load
u-boot change for multi os booting(boot logic)
Port MP driver or Fix kernel jump code
Kernel0/Kernel1 change for AMP
Kernel0/Kernel1 change for multi boot image
Kernel0/Kernel1 change for cache enable scheme
Kernel0/Kernel1 change for GIC
Kernel0/Kernel1 change for Serial

Device driver allocate to each kernel




Code tracing