Closed sndnvaps closed 8 years ago
when i use kexec --load --mem-min=0x85000000 --command-line='$(cat /proc/cmdline)' --ramdisk=./ram_disk.img --atags-addr=0x0x00000100 ./aries-boot.img-zImage
i got this segment info
kernel: 0xb5fd2008 kernel_size: 713640
kexec_load: entry = 0x80208000 flags = 280000
nr_segments = 3
segment[0].buf = 0x114f1f0
segment[0].bufsz = cc
segment[0].mem = 0x80201000
segment[0].memsz = 1000
segment[1].buf = 0xb5fd2008
segment[1].bufsz = 713640
segment[1].mem = 0x80208000
segment[1].memsz = 714000
segment[2].buf = 0xb6e55008
segment[2].bufsz = 1746f0
segment[2].mem = 0x81e4e000
segment[2].memsz = 175000
my system membank info at below
0010bb00-0010bc00 : msm_rpm_master_stat
00500000-00500fff : msm_ssbi.0
00700000-007060ff : hdmi_msm_qfprom_addr
008003e0-008003e7 : i2c_mux_rw
008003e0-008003e7 : msm_cam_i2c_mux
0080207c-0080207f : slimbus_slew_reg
0080207c-0080207f : msm_slim_ctrl
008020b8-008020bb : i2c_mux_ctl
008020b8-008020bb : msm_cam_i2c_mux
00a40000-00a40fff : msm_ebi_erp.0
00c00000-00c00fff : msm_ssbi.1
00d40000-00d40fff : msm_ebi_erp.1
03000000-0327ffff : wcnss_mmio
03204000-032040ff : pil_riva
04300000-0430ffff : kgsl_3d0_reg_memory
04300000-0430ffff : kgsl-3d0
04310000-0431ffff : kgsl_3d0_shader_memory
04310000-0431ffff : kgsl-3d0
04400000-044fffff : msm_vidc.0
04500000-045fffff : vfe32
04500000-045fffff : msm_vfe
04600000-046fffff : msm_gemini.0
04700000-047effff : mipi_dsi
04800000-048003ff : csid
04800000-048003ff : msm_csid
04800400-048007ff : csid
04800400-048007ff : msm_csid
04800800-04800bff : ispif
04800800-04800bff : msm_ispif
04800c00-04800fff : csiphy
04800c00-04800fff : msm_csiphy
04801000-048013ff : csiphy
04801000-048013ff : msm_csiphy
04a00000-04a00fff : hdmi_msm_hdmi_addr
04e00000-04efffff : msm_rotator.0
05100000-051effff : mdp
05300000-053fffff : vpe
05300000-053fffff : msm_vpe
07200000-072fffff : physbase
07200000-072fffff : physbase
07300000-073fffff : physbase
07300000-073fffff : physbase
07400000-074fffff : physbase
07400000-074fffff : physbase
07500000-075fffff : physbase
07500000-075fffff : physbase
07600000-076fffff : physbase
07600000-076fffff : physbase
07700000-077fffff : physbase
07700000-077fffff : physbase
07800000-078fffff : physbase
07800000-078fffff : physbase
07900000-079fffff : physbase
07900000-079fffff : physbase
07a00000-07afffff : physbase
07a00000-07afffff : physbase
07b00000-07bfffff : physbase
07b00000-07bfffff : physbase
07c00000-07cfffff : physbase
07c00000-07cfffff : physbase
07d00000-07dfffff : physbase
07d00000-07dfffff : physbase
10000000-100000ff : pil_gss
10008000-100080ff : pil_gss
12080000-12081fff : ppss_reg
12240000-12240fff : bamdma_dma
12244000-12247fff : bamdma_bam
12400000-124007ff : core_mem
12400800-12401fff : dml_mem
12402000-12403fff : bam_mem
12440000-12440fff : gsbi_resource
12440000-12440003 : gsbi_qup_i2c_addr
12450000-12450fff : uartdm_resource
12450000-12450fff : msm_serial_hsl
12460000-12460fff : qup_phys_addr
12460000-12460fff : qup_i2c
12500000-12500fff : msm_hsusb_host
12500000-12500fff : msm_hsusb
12500000-12500fff : msm_otg
12510000-12510fff :
12800000-12803fff : pipe_mem
16200000-16200003 : gsbi_qup_i2c_addr
16200000-16200003 : qup_i2c
16280000-16280fff : qup_phys_addr
16280000-16280fff : qup_i2c
16300000-16300003 : gsbi_qup_i2c_addr
16300000-16300003 : qup_i2c
16380000-16380fff : qup_phys_addr
16380000-16380fff : qup_i2c
16600000-16600fff : gsbi_resource
16640000-16640fff : uartdm_resource
16640000-16640fff : msm_serial_hsl
18200000-182001ff : MSM_TSIF0_PHYS
18200000-182001ff : msm_tsif.0
18201000-182011ff : MSM_TSIF1_PHYS
18201000-182011ff : msm_tsif.1
18202000-18202fff : MSM_TSPP_PHYS
18204000-18205fff : MSM_TSPP_BAM_PHYS
18320000-1841ffff : msm_dmov
1a200000-1a200fff : gsbi_resource
1a200000-1a200003 : gsbi_qup_i2c_addr
1a240000-1a240fff : uartdm_resource
1a280000-1a280fff : qup_phys_addr
1a280000-1a280fff : qup_i2c
1a500000-1a5001ff : msm_rng.0
28080000-28081fff : slimbus_physical
28080000-28081fff : msm_slim_ctrl
28084000-28085fff : slimbus_bam_physical
28084000-28085fff : msm_slim_ctrl
28800000-288000ff : pil_qdsp6v4.0
2a03f720-2a04071f : tz_log.0
80200000-88dfffff : System RAM
80208000-80eaad97 : Kernel code
8101a000-819e488b : Kernel data
88f00000-88ffffff : ram_console #this is enable by my self
89000000-890fffff : System RAM
89200000-8d9fffff : System RAM
8ec00000-8effffff : System RAM
8f700000-8fdfffff : System RAM
8ff00000-9fdfffff : System RAM
8ff00000-8ff3ffff : rmtfs
a0000000-a57fffff : System RAM
a5900000-fd3fefff : System RAM
when use kexec -e to exec the hardboot ,
the device get into qsd mode
my kernel source code at https://github.com/multirom-aries/android_kernel_xiaomi_msm8960
most inportant thing , the guest kernel it doesn't support kexec hardboot ..
in some old device , it does not support dtb(device tree blob), just have atags ... how can it work with it ..
do you have plan to backport atags support for mako ... or the other old kernel (who does not have the dtb support ) @Tasssadar