GithubHelp home page GithubHelp logo

faust93 / android_kernel_nx512j Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 138.04 MB

ZTE Z9 MAX NX512J Kernel

License: Other

Makefile 0.27% C 96.54% Assembly 1.91% C++ 0.89% Objective-C 0.24% Shell 0.03% Clojure 0.01% Awk 0.01% SourcePawn 0.01% Python 0.01% Perl 0.08% Yacc 0.02% Lex 0.01% Groff 0.01% UnrealScript 0.01% Scilab 0.01% ASP 0.01% M4 0.01%

android_kernel_nx512j's People

Contributors

codyps avatar faust93 avatar faux123 avatar flar2 avatar franciscofranco avatar hellsgod avatar hyperb1iss avatar jeffvanderstoep avatar kashifmin avatar mhalcrow-google avatar minchank avatar neobuddy89 avatar nicolasdichtel avatar pcmoore avatar ramgear avatar rmcc avatar sandymanu avatar savoca avatar shoaib0597 avatar stephensmalley avatar sultanqasim avatar sunghan-suh avatar tdmcyngn avatar vadimtk avatar varunchitre15 avatar webhaikal avatar xileforce avatar yank555-lu avatar zeroblade1984 avatar zhuowei avatar

Stargazers

 avatar

Watchers

 avatar  avatar

android_kernel_nx512j's Issues

kexec hardboot not work..

hi @faust93 ,i have pick up some func from you repo

now i have test the kexec hardboot code ..

i have meet a big problem. the kexec cann't load new kernel to hardboot

my log is below .

/data/media/0/multirom/kexec /data/media/0/kernel --mem-min=0x008500000 --dtb=/data/media/0/dt.img --load-hardboot --initrd=./initrd.img --command-line=console=null androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk androidboot.selinux=permissive boot_cpus=0,4,5,6,7 sched_enable_hmp=1 androidboot.emmc=true androidboot.serialno=NX511J BOARD_INFO=:0,0:0,0,0:1778: androidboot.baseband=msm mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_sharp_nt35595_1080p_5p0_command:1:none mrom_kexecd=1

kexec version: 16.02.07.19.31-g364a380
arch_process_options:112: command_line: console=null androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk androidboot.selinux=permissive boot_cpus=0,4,5,6,7 sched_enable_hmp=1 androidboot.emmc=true androidboot.serialno=NX511J BOARD_INFO=:0,0:0,0,0:1778: androidboot.baseband=msm mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_sharp_nt35595_1080p_5p0_command:1:none mrom_kexecd=1
arch_process_options:114: initrd: ./initrd.img
arch_process_options:115: dtb: (null)
arch_process_options:117: port: 0x0
Try gzip decompression.
kernel: 0x7fa7f92010 kernel_size: 0x141edc8
read_1st_dtb: found /sys/firmware/fdt
get_memory_ranges_dt:825: /sys/firmware/fdt: fdt_check_header failed:FDT_ERR_BADMAGIC
get_memory_ranges_dt:894: /sys/firmware/fdt: Unusable device-tree file
get_memory_ranges_iomem:936: SKIP: 000000000005c000 - 000000000005d000 : tsens_eeprom_physical
get_memory_ranges_iomem:936: SKIP: 00000000000601d0 - 00000000000611d0 : vmpm
get_memory_ranges_iomem:936: SKIP: 00000000004a8000 - 00000000004aa000 : tsens_physical
get_memory_ranges_iomem:936: SKIP: 00000000004ab000 - 00000000004ab004 : /soc/restart@4ab000
get_memory_ranges_iomem:936: SKIP: 0000000001810000 - 0000000001810004 : restart_reg_sec
get_memory_ranges_iomem:936: SKIP: 0000000001b00020 - 0000000001b00030 : csi_clk_mux
get_memory_ranges_iomem:936: SKIP: 0000000001b00030 - 0000000001b00034 : csiphy_clk_mux
get_memory_ranges_iomem:936: SKIP: 0000000001b00038 - 0000000001b0003c : csiphy_clk_mux
get_memory_ranges_iomem:936: SKIP: 0000000001b04000 - 0000000001b04100 : 1b04000.qcom,cpp
get_memory_ranges_iomem:936: SKIP: 0000000001b08000 - 0000000001b08100 : 1b08000.qcom,csid
get_memory_ranges_iomem:936: SKIP: 0000000001b08400 - 0000000001b08500 : 1b08400.qcom,csid
get_memory_ranges_iomem:936: SKIP: 0000000001b08800 - 0000000001b08900 : 1b08800.qcom,csid
get_memory_ranges_iomem:936: SKIP: 0000000001b0a000 - 0000000001b0a500 : 1b0a000.qcom,ispif
get_memory_ranges_iomem:936: SKIP: 0000000001b0ac00 - 0000000001b0ae00 : 1b0ac00.qcom,csiphy
get_memory_ranges_iomem:936: SKIP: 0000000001b0b000 - 0000000001b0b200 : 1b0b000.qcom,csiphy
get_memory_ranges_iomem:936: SKIP: 0000000001b0c000 - 0000000001b0d000 : 1b0c000.qcom,cci
get_memory_ranges_iomem:936: SKIP: 0000000001c00000 - 0000000001c10000 : kgsl-3d0
get_memory_ranges_iomem:936: SKIP: 0000000001c20000 - 0000000001c30000 : kgsl-3d0
get_memory_ranges_iomem:936: SKIP: 0000000004020000 - 0000000004020040 : rmb_base
get_memory_ranges_iomem:936: SKIP: 0000000004080000 - 0000000004080100 : qdsp6_base
get_memory_ranges_iomem:936: SKIP: 0000000007824900 - 0000000007824a1c : mmc0
get_memory_ranges_iomem:936: SKIP: 0000000007864900 - 0000000007864a1c : mmc1
get_memory_ranges_iomem:936: SKIP: 00000000078b6000 - 00000000078b6600 : 78b6000.i2c
get_memory_ranges_iomem:936: SKIP: 00000000078b7000 - 00000000078b8000 : 78b7000.i2c
get_memory_ranges_iomem:936: SKIP: 00000000078b8000 - 00000000078b9000 : 78b8000.i2c
get_memory_ranges_iomem:936: SKIP: 00000000078b9000 - 00000000078b9600 : 78b9000.i2c
get_memory_ranges_iomem:936: SKIP: 00000000078ba000 - 00000000078bb000 : 78ba000.i2c
get_memory_ranges_iomem:936: SKIP: 00000000078d9000 - 00000000078d9400 : core
get_memory_ranges_iomem:936: SKIP: 00000000078d9000 - 00000000078d9400 : core
get_memory_ranges_iomem:936: SKIP: 000000000a0120a8 - 000000000a0120b0 : alarms_txctl
get_memory_ranges_iomem:936: SKIP: 000000000a012448 - 000000000a012450 : alarms_tactl
get_memory_ranges_iomem:936: SKIP: 000000000a08040c - 000000000a080414 : wlan_tx_status
get_memory_ranges_iomem:936: SKIP: 000000000a080488 - 000000000a080490 : wlan_tx_phy_aborts
get_memory_ranges_iomem:936: SKIP: 000000000a080c00 - 000000000a080c01 : pronto_mcu_base
get_memory_ranges_iomem:936: SKIP: 000000000a080fb0 - 000000000a080fb8 : wlan_brdg_err_source
get_memory_ranges_iomem:936: SKIP: 000000000a100400 - 000000000a100600 : pronto_a2xb_base
get_memory_ranges_iomem:936: SKIP: 000000000a205050 - 000000000a205250 : pronto_ccpu_base
get_memory_ranges_iomem:936: SKIP: 000000000a219000 - 000000000a219020 : pronto_saw2_base
get_memory_ranges_iomem:936: SKIP: 000000000a21b000 - 000000000a21e000 : pronto_phy_base
get_memory_ranges_iomem:936: SKIP: 000000000b017000 - 000000000b018000 : msm-watchdog
get_memory_ranges_iomem:943: RAM: 0000007f80000000 - 0000000086000000 : System RAM
get_memory_ranges_iomem:936: SKIP: 0000000080080000 - 000000008149f000 : Kernel code
get_memory_ranges_iomem:936: SKIP: 000000008154d1ac - 00000000818958ac : Kernel data
get_memory_ranges_iomem:943: RAM: 0000007f8c300000 - 000000009ff00000 : System RAM
get_memory_ranges_iomem:943: RAM: 0000007fa0100000 - 0000000100000000 : System RAM
get_memory_ranges_iomem:957: Success
elf_arm64_probe: Not an ELF executable.
image_arm64_probe: PE format: no
kernel symbol _text vaddr =                0
0x8149efff > 0xffffffffffffffff
Invalid memory segment 0x80080000 - 0x8149efff
1|root@nx511j:/data/media/0/multirom/roms/bckp_1970-01-04--21-54-41_/boot # 

from the log, it seems , kernel code cann't load in the origin phy_address -> which i have adjust
my origin kernel_code is show as below
2016-03-26 21 38 42

my kexec-tools hold at https://github.com/nx511j-multirom/kexec-tools
i have ajust the code to point the rd_base && dtb_base to compat Nx511j( Nubia z9 mini)


in the end, can you point the key of this problem.

Thank's a lot .
Best wish!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.