[BUGREPORT] stock kernel 3.4.0-perf-g32ce454 - Xperia Z Q&A, Help & Troubleshooting

Hi, i think that there is a network-related bug in stock kernel.
Phone reboots very often, when in stamina mode is on
Here is part oflast_kmsg:
Code:
[ 440.537078] active wake lock mmc1_detect
[ 440.537475] active wake lock msm_hsic_host
[ 440.537689] active wake lock alarm, time left 497
[ 440.589263] [B][COLOR="Red"]skb_under_panic: text:c04dd4e8 len:66 put:6 head:cd3af000 data:cd3aeffa tail:0xcd3af03c end:0xcd3af140 [U]dev:rmnet_usb0[/U][/COLOR][/B]
[ 440.589874] ------------[ cut here ]------------
[ 440.590332] kernel BUG at /home/hudsonslave/root/workspace/offbuild_lagan-1.3_android_matrix/HUDSON_PRODUCT/yuga/HUDSON_VARIANT/user/label/CM-12/kernel/net/core/skbuff.c:146!
[ 440.590789] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
[ 440.591247] Modules linked in: wlan(O) texfat(PO) cfg80211
[ 440.592376] CPU: 0 Tainted: P W O (3.4.0-perf-g32ce454 #1)
[ 440.592803] PC is at skb_push+0x6c/0x80
[ 440.593017] LR is at skb_push+0x6c/0x80
"head:cd3af000 data:cd3aeffa" - data before head ??? What might cause that???

Related

Android on HTC S730 Wings

Hello All,
I would like to run Android on my HTC S730.
Tried to run the Kaiser optimised kernel as the hardware is somewhat similar.
I am using haret.exe and the kernel does start running, however there is nothing shown on the screen and the process gets stuck always at the same point.
The only proof of it running is that there is a dmesg file created on the SD.
I will put the contents of the file and the default.txt in a separate post.
Any idea what to change, I am hoping that by playing with the kernel parameters it would be possible to get further ahead.
Thanks and all the best,
dmesg on HTC S730
[ 0.000000] Linux version 2.6.25-01025-g3c90f25 ([email protected]) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #4505 PREEMPT Fri Mar 26 13:36:25 NZDT 2010
[ 0.000000] CPU: ARMv6-compatible processor [4107b364] revision 4 (ARMv6TEJ), cr=00c5387f
[ 0.000000] Machine: HTC Kaiser
[ 0.000000] Ignoring unrecognised tag 0x00000000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 24576
[ 0.000000] DMA zone: 208 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 24368 pages, LIFO batch:3
[ 0.000000] Normal zone: 0 pages used for memmap
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] CPU0: D VIPT write-back cache
[ 0.000000] CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
[ 0.000000] CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 24368
[ 0.000000] Kernel command line: ppp.nostart=0 pm.sleep_mode=1 mddi.width=240 mddi.height=320 no_console_suspend board-kaiser-keypad.atttilt=0
[ 0.000000] Unknown boot option `ppp.nostart=0': ignoring
[ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
[ 0.000000] Console: colour dummy device 80x30
[ 0.000040] console [tty0] enabled
[ 0.000941] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.001693] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.013030] Memory: 56MB 40MB = 96MB total
[ 0.013130] Memory: 91964KB available (2772K code, 1263K data, 120K init)
[ 0.014561] Calibrating delay loop... 383.38 BogoMIPS (lpj=1916928)
[ 0.230795] Mount-cache hash table entries: 512
[ 0.232220] CPU: Testing write buffer coherency: ok
[ 0.235221] net_namespace: 440 bytes
[ 0.237593] NET: Registered protocol family 16
[ 0.239481] set gpio 21 wakeup 40000000
[ 0.249781] msm_i2c_probe
[ 0.249945] msm_i2c_probe: clk_ctl 35d, 100000 Hz
[ 0.280248] Bluetooth: Core ver 2.11
[ 0.281433] NET: Registered protocol family 31
[ 0.281560] Bluetooth: HCI device and connection manager initialized
[ 0.281651] Bluetooth: HCI socket layer initialized
[ 0.284658] NET: Registered protocol family 2
[ 0.290096] Switched to high resolution mode on CPU 0
[ 0.370686] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.372900] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.373320] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.373571] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.373651] TCP reno registered
[ 0.401651] Unpacking initramfs... done
[ 0.944525] Freeing initrd memory: 1193K
[ 0.945080] kaiser i2c touch screen
[ 0.945691] input: kaiser-ts as /devices/virtual/input/input0
[ 0.945821] No IRQF_TRIGGER set_type function for IRQ 190 (kaisergpio)
[ 0.946703] msm7200: Copying audio table 0 to fd000
[ 0.946838] msm7200: Copying audio table 1 to fd080
[ 0.946908] msm7200: Copying audio table 2 to fd100
[ 0.946975] msm7200: Copying audio table 3 to fd180
[ 0.947040] msm7200: Copying audio table 4 to fd200
[ 0.947103] msm7200: Copying audio table 5 to fd280
[ 0.947166] msm7200: Copying audio table 6 to fd300
[ 0.947231] msm7200: Copying audio table 7 to fd380
[ 0.947295] msm7200: Copying audio table 8 to fd400
[ 0.947360] msm7200: Copying audio table 9 to fd480
[ 0.947423] msm7200: Copying audio table 10 to fd500
[ 0.947488] msm7200: Copying audio table 11 to fd580
[ 0.947553] msm7200: Copying audio table 12 to fd600
[ 0.947618] msm7200: Copying audio table 13 to fd680
[ 0.947683] msm7200: Copying audio table 14 to fd700
[ 0.947748] msm7200: Copying audio table 15 to fd780
[ 0.947813] msm7200: Copying audio table 16 to fd800
[ 0.947878] msm7200: Copying audio table 17 to fd880
[ 0.947943] msm7200: Copying audio table 18 to fd900
[ 0.948008] msm7200: Copying audio table 19 to fd980
[ 0.948073] msm7200: Copying audio table 20 to fda00
[ 0.948138] msm7200: Copying audio table 21 to fda80
[ 0.948203] msm7200: Copying audio table 22 to fdb00
[ 0.948268] msm7200: Copying audio table 23 to fdb80
[ 0.949003] Registered led device: lcd-backlight
[ 0.949365] Registered led device: button-backlight
[ 0.949645] Registered led device: keyboard-backlight
[ 0.949893] Registered led device: green
[ 0.950305] Registered led device: red
[ 0.950586] Registered led device: amber
[ 0.950865] Registered led device: blue
[ 0.951123] Registered led device: wifi
[ 0.951373] Registered led device: gps
[ 0.956066] titan ts_init
[ 0.956570] Modem Status:
[ 0.956731] <SM 00000929 00010929>
[ 1.002071] input: kaiser_kbd as /devices/virtual/input/input1
[ 1.002481] DS-2746 Probe
[ 1.002815] Initialise htc_rfkill for Bluetooth
[ 1.002911] Bluetooth 0
[ 1.021578] clk_get grp_clk
[ 1.021721] clk_get imem_clk
[ 1.021836] hw3d: 0 init
[ 1.022263] PMEM:hw3d a0000000 100000 at c7000000
[ 1.022533] clk_get acpu_clk
[ 1.025585] ashmem: initialized
[ 1.027053] squashfs: version 3.4 (2008/08/26) Phillip Lougher
[ 1.027365] yaffs Mar 4 2010 10:36:01 Installing.
[ 1.028015] io scheduler noop registered (default)
[ 1.028100] io scheduler deadline registered
[ 1.029040] logger: created 64K log 'log_main'
[ 1.029360] logger: created 256K log 'log_events'
[ 1.029671] logger: created 64K log 'log_radio'
[ 1.029850] ram_console: got buffer at e0000, size 20000
[ 1.030160] ram_console: no valid data in buffer (sig = 0xffffffff)
[ 1.030340] console [ram-1] enabled
[ 1.035103] pmem: 1 init
[ 1.035678] PMEMmem 16800000 800000 at c8000000
[ 1.036055] pmem_adsp: 0 init
[ 1.036710] PMEMmem_adsp 17000000 800000 at c9000000
[ 1.037163] pmem_gpu0: 0 init
[ 1.038060] PMEMmem_gpu0 100000 700000 at c7800000
[ 1.038440] pmem_gpu1: 0 init
[ 1.039093] PMEMmem_gpu1 17800000 800000 at ca000000
[ 1.039496] pmem_camera: 1 init
[ 1.040400] PMEMmem_camera 17800000 800000 at cb000000
[ 1.041256] clk_get mdp_clk
[ 1.041916] mddi_pmdh: init() base=0xe000b000 irq=16
[ 1.042035] clk_get pmdh_clk
[ 1.042400] mddi_pmdh: unsupported version 0x19
[ 1.042628] mddi cmd send rtd: int 23a000, stat 808063, rtd val d
[ 1.042941] mddi_pmdh: publish: mddi_c_0000_0000
[ 1.043973] vsync on gpio 97 now 0
[ 1.044100] mddi_pmdh: mddi_add_panel(c040ccf0, c0312628)
[ 1.044176] mddi_pmdh: publish: mddi_panel
[ 1.044580] msmfb_probe() installing 240 x 320 panel
[ 1.050000] fus
[ 1.050000] fake_vsync_int for update
[ 1.050000] mddi0_panel_power(1) type=0
[ 1.050788] Console: switching to colour frame buffer device 40x29
[ 1.100915] set gpio 20 wakeup 40000000
[ 1.105701] No IRQF_TRIGGER set_type function for IRQ 186 (kaisergpio)
[ 1.110223] No IRQF_TRIGGER set_type function for IRQ 187 (kaisergpio)
[ 1.115476] No IRQF_TRIGGER set_type function for IRQ 188 (kaisergpio)
[ 1.121208] clk_get uart1dm_clk
[ 1.123966] clk_set_rate 34:1843200
[ 1.126686] msm_serial_hs.0: ttyMSM0 at MMIO 0xa0200000 (irq = 45) is a MSM HS UART
[ 1.133160] loop: module loaded
[ 1.140258] PPP generic driver version 2.4.2
[ 1.146556] PPP Deflate Compression module registered
[ 1.150061] PPP BSD Compression module registered
[ 1.162623] allocated dma buffer at ffc7b000, dma_addr 15cc1000
[ 1.168583] read CFG0 = aad400c0, CFG1 = 4747c
[ 1.170165] CFG0 = a8d408c0, CFG1 = 4745c
[ 1.180156] CFG0: cw/page=3 ud_sz=516 ecc_sz=10 spare_sz=1 num_addr_cycles=5
[ 1.185925] NAND_READ_ID = 15c1aaec
[ 1.188931] status: e03020
[ 1.190050] nandid: 15c1aaec maker ec device aa
[ 1.195780] CFG0: cw/page=3 ud_sz=512 ecc_sz=10 spare_sz=5
[ 1.200223] DEV_CMD1: f00f3000
[ 1.203695] <6>NAND_EBI2_ECC_BUF_CFG: 0
[ 1.210138] flash_id: 15c1aaec size 5580ba2c10000000
[ 1.220481] usb_probe() io=c7106000, irq=15, dma=ffc7c000(15cc6000)
[ 1.226401] clk_get usb_hs_clk
[ 1.229231] clk_get usb_hs_pclk
[ 1.230726] usb_function_register() 'adb'
[ 1.236900] usb_function_register() 'usb_mass_storage'
[ 1.240070] msm_hsusb: functions bound. starting.
[ 1.250306] usb_mass_storage usb_mass_storage: Number of LUNs=1
[ 1.256563] hsusb: IDLE -> ONLINE
[ 1.259478] hsusb: reset controller c5cc5c00
[ 1.285320] usb: notify offline
[ 1.288195] hsusb: ONLINE -> OFFLINE
[ 1.290870] usb_ether_setup()
[ 1.295711] usb_function_register() 'ether'
[ 1.360338] GPIO Event Driver
[ 1.363418] MSM RTC init
[ 1.366105] RTC probe
[ 1.369483] msm_rtc msm_rtc.0: rtc core: registered msm_rtc as rtc0
[ 1.370275] MSM RTC started
[ 1.373880] s5k3c1fx: probe
[ 1.380523] Bluetooth: HCI UART driver ver 2.2
[ 1.385413] Bluetooth: HCI H4 protocol initialized
[ 1.390095] Bluetooth: HCILL protocol initialized
[ 1.395555] clk_get sdc1_pclk
[ 1.398186] clk_get_rate 20:66000000
[ 1.400210] clk_get sdc1_clk
[ 1.403218] clk_set_rate 19:144000
[ 1.407681] set sd clock - 0 1
[ 1.513335] clk_get_rate 19:144000
[ 1.516431] mmc0: Qualcomm MSM SDCC at 0x00000000e1000000 irq 24,0 dma 8
[ 1.520215] mmc0: 4 bit data mode enabled
[ 1.525160] mmc0: MMC clock 144000 -> 32000000 Hz, PCLK 66000000 Hz
[ 1.530045] mmc0: Slot eject status = 1
[ 1.535388] mmc0: Power save feature enable = 1
[ 1.540081] mmc0: DM non-cached buffer at ffc7e000, dma_addr 0x15cdd000
[ 1.545468] mmc0: DM cmd busaddr 0x15cdd000, cmdptr busaddr 0x15cdd300
[ 1.550468] clk_get sdc2_pclk
[ 1.553311] clk_get_rate 22:66000000
[ 1.556043] clk_get sdc2_clk
[ 1.560068] clk_set_rate 21:144000
[ 1.564816] set sd clock - 0 1
[ 1.670560] clk_get_rate 21:144000
[ 1.674050] mmc1: Qualcomm MSM SDCC at 0x00000000e1001000 irq 26,0 dma 8
[ 1.679563] mmc1: 4 bit data mode enabled
[ 1.680385] mmc1: MMC clock 144000 -> 32000000 Hz, PCLK 66000000 Hz
[ 1.690193] mmc1: Slot eject status = 0
[ 1.695496] mmc1: Power save feature enable = 1
[ 1.700093] mmc1: DM non-cached buffer at ffc7f000, dma_addr 0x15ce0000
[ 1.705535] mmc1: DM cmd busaddr 0x15ce0000, cmdptr busaddr 0x15ce0300
[ 1.710370] mmc1: Polling status mode enabled
[ 1.720261] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[ 1.732728] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.739298] ClusterIP Version 0.8 loaded successfully
[ 1.740293] arp_tables: (C) 2002 David S. Miller
[ 1.750320] TCP cubic registered
[ 1.753566] NET: Registered protocol family 1
[ 1.760316] NET: Registered protocol family 17
[ 1.766313] Bluetooth: L2CAP ver 2.9
[ 1.770183] Bluetooth: L2CAP socket layer initialized
[ 1.776468] Bluetooth: SCO (Voice Link) ver 0.6
[ 1.780045] Bluetooth: SCO socket layer initialized
[ 1.786118] Bluetooth: RFCOMM socket layer initialized
[ 1.790150] Bluetooth: RFCOMM TTY layer initialized
[ 1.800348] Bluetooth: RFCOMM ver 1.9
[ 1.803741] Bluetooth: BNEP (Ethernet Emulation) ver 1.2
[ 1.809265] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 1.811738] msm_rtc msm_rtc.0: setting system clock to 2007-11-13 21:10:55 UTC (1194988255)
[ 1.820211] Freeing init memory: 120K
[ 2.119216] mmc1: Command timeout
[ 2.120000] mmc1: Command timeout
[ 2.120000] mmc1: Command timeout
[ 2.120000] mmc1: Command timeout
[ 2.120000] SD Init
[ 2.148356] mmc_sd_init_card: Delay 250 ms
[ 2.409845] clk_set_rate 21:25000000
[ 2.412045] set sd clock - 0 1
[ 2.517448] mmc1: host does not support reading read-only switch. assuming write-enable.
[ 2.520031] SD Init Retry
[ 2.522411] mmc1: new SD card at address b7b8
[ 2.531265] mmcblk0: mmc1:b7b8 SU02G 1985024KiB
[ 2.536631] mmcblk0: p1
default.txt kernel parameters HTC S730 Android
#alloctest 0x2000
set RAMSIZE 0x04000000
set RAMADDR 0x10000000
set FBDURINGBOOT 0
set MTYPE 1553
set KERNEL zImage-26-03-10
set initrd initrd.gz
#
# The following kernel parameters are useful
# ppp.nostart - Set ppp.nostart=1 to disable starting the ppp connection on boot
# msm_sdcc.msmsdcc_fmax - The maximum frequency (in Hz) used by the SD controller
# pm.sleep_mode - The mode used when the phone is off
# 0=Power Collapse Suspend, 1=Power Collapse, 2=Apps Sleep,
# 3=Slow Clock and Wait for Interrupt 4=Wait for Interrupt
# Default is 1, use 1 for best power savings
# board-htckaiser.panel_type - Panel type used to power the panel off and on
# 0=Don't power off the panel (Default)
# 1=Sony 2=Topoly 3=Topoly (probably just the same as 2)
# lcd.density - Defaults to 160, 128 shows more on screen
#
set cmdline "ppp.nostart=0 pm.sleep_mode=1 mddi.width=240 mddi.height=320 no_console_suspend board-kaiser-keypad.atttilt=0"
boot
Hello.
You really think it's possible to run Android on the Wings?
Good luck then!
Happily waiting your progress on this!
correct me if i'm wrong be doesn't android need touchscreen ?
Not the original android. Like the one from google's test device

Need some help compiling Ubuntu Touch for sensation

Using trusty branch of ubuntutouch with teamhydra kernel from https://github.com/Team-Hydra/android_kernel_htc_msm8660
No problems during compiling but whilst booting i get direct panic after mounting /data
Code:
[ 2.373443] Warning: unable to open an initial console.
[ 2.373657] Freeing init memory: 208K
[ 2.553283] systemd-udevd[132]: starting version 204
[ 4.405456] [USBH] ac_detect_expired: count = 0, connect_type = -1
[ 4.709136] initrd: mounting /dev/mmcblk0p23
[ 4.723815] EXT4-fs (mmcblk0p23): couldn't mount as ext3 due to feature incompatibilities
[ 4.758453] EXT4-fs (mmcblk0p23): couldn't mount as ext2 due to feature incompatibilities
[ 4.823120] EXT4-fs (mmcblk0p23): recovery complete
[ 4.823852] EXT4-fs (mmcblk0p23): mounted filesystem with ordered data mode. Opts: discard
[ 5.081878] [K] Kernel panic - not syncing: Attempted to kill init!
[ 5.082061] [<c010bf14>] (unwind_backtrace+0x0/0xf8) from [<c076cd2c>] (panic+0x74/0x1a4)
[ 5.082244] [<c076cd2c>] (panic+0x74/0x1a4) from [<c018e26c>] (do_exit+0x804/0x8a4)
[ 5.082336] [<c018e26c>] (do_exit+0x804/0x8a4) from [<c018e374>] (do_group_exit+0x3c/0xb0)
[ 5.082489] [<c018e374>] (do_group_exit+0x3c/0xb0) from [<c018e3f8>] (__wake_up_parent+0x0/0x18)
[ 5.082672] CPU1: stopping
[ 5.083099] [<c010bf14>] (unwind_backtrace+0x0/0xf8) from [<c010ae60>] (handle_IPI+0x128/0x154)
[ 5.083801] [<c010ae60>] (handle_IPI+0x128/0x154) from [<c01063cc>] (__irq_svc+0x4c/0xe4)
[ 5.084472] [<c01063cc>] (__irq_svc+0x4c/0xe4) from [<c0107500>] (cpu_idle+0x88/0xfc)
[ 5.084869] [<c0107500>] (cpu_idle+0x88/0xfc) from [<48768c14>] (0x48768c14)
[ 5.185821] subsystem-fatal-8x60: Q6 NMI was sent.
[ 5.190948] [K] Rebooting in 5 seconds..
[ 9.415405] [USBH] ac_detect_expired: count = 1, connect_type = -1
[ 10.198364] [K] Going down for restart now
[ 10.198516] [K] arch_reset: mode 104
[ 10.198608] [K] arch_reset: no command restart.
[ 10.198699] [K] from arch_reset
[ 10.198852] [K] back arch_reset
[ 10.299224] subsystem-fatal-8x60: Q6 NMI was sent.
[ 10.299346] [K] arch_reset: wait for modem flushing caches.
[ 19.435424] [USBH] ac_detect_expired: count = 2, connect_type = -1
[ 19.445404] [USBH] ac_detect_expired: count = 3, connect_type = -1
[ 20.314056] [K] arch_reset: modem flushes cache timeout.
[ 20.314117]
[ 20.314270] [K] Restarting Linux version 3.0.101-UbuntuTouch-Sensation-g886cfa4 ([email protected]) (gcc version 4.7.4 20131207 (prerelease) (Linaro GCC 4.7-2013.12) ) #3 SMP PREEMPT Sat Jan 25 16:55:58 EST 2014
[ 20.314300]
[ 20.364593] [K] restart: Console was locked!
Kernel config:
https://gist.github.com/cwxda/8624363
Someone can help me on this?
Try to disable VT_CONSOLE. I had a similar issue and that fixed it.
Sent from my TF300T using Tapatalk
Tried different combinations with VT_CONSOLE and HW_CONSOLE stuff, all didn't help :c
CoreWolf said:
Tried different combinations with VT_CONSOLE and HW_CONSOLE stuff, all didn't help :c
Click to expand...
Click to collapse
You need to turn all those CONSOLE settings off, did you try that?
Do you have console= in the command line? Remove that too.
Seems Ubuntu Touch does not like a console; I have not yet investigated deeper. Possible reason is that tty0 is used to communicate with the Android container. Then it might help to define a different tty for the kernel console, but I have not tried. Disabling all CONSOLE configs "N" fixed it for me and I have more urgent issues.
Sent from my TF300T using Tapatalk

[Q] Overclock omap4470 Kernel.

Has anyone tried this? Seems to be easy enough.
Code:
@@ -545,6 +546,8 @@
OPP_INITIALIZER("mpu", "virt_dpll_mpu_ck", "mpu", true, 1300000000, OMAP4470_VDD_MPU_OPPNITRO_UV),
/* MPU OPP4 - OPP-Nitro SpeedBin */
OPP_INITIALIZER("mpu", "virt_dpll_mpu_ck", "mpu", false, 1500000000, OMAP4470_VDD_MPU_OPPNITROSB_UV),
+ /*OVERCLOCK*/
+ OPP_INITIALIZER("mpu", "virt_dpll_mpu_ck", "mpu", false, 1600000000, OMAP4470_VDD_MPU_OPPNITROSB_UV),
/* L3 OPP1 - OPP50 */
OPP_INITIALIZER("l3_main_1", "virt_l3_ck", "core", true, 116000000, OMAP4470_VDD_CORE_OPP50_UV),
/* L3 OPP2 - OPP100 */
Not so sure this is needed, but doesn't hurt, I guess.
Code:
@@ -733,7 +736,10 @@
if (!trimmed)
pr_info("This is DPLL un-trimmed SOM. OPP is limited at 1.2 GHz\n");
if (omap4_has_mpu_1_5ghz() && trimmed)
+ omap4_opp_enable("mpu", 1100000000);
+ omap4_opp_enable("mpu", 1300000000);
omap4_opp_enable("mpu", 1500000000);
+ omap4_opp_enable("mpu", 1600000000);
GPU overclock
Code:
@@ -567,13 +570,13 @@
/* SGX OPP2 - OPP100*/
OPP_INITIALIZER("gpu", "dpll_per_m7x2_ck", "core", true, 307200000, OMAP4470_VDD_CORE_OPP100H_UV),
/* SGX OPP3 - OPPOV */
- OPP_INITIALIZER("gpu", "dpll_per_m7x2_ck", "core", true, 384000000, OMAP4470_VDD_CORE_OPP100_OV_UV),
+ OPP_INITIALIZER("gpu", "dpll_per_m7x2_ck", "core", true, 416000000, OMAP4470_VDD_CORE_OPP100_OV_UV),
/* BB2D OPP1 - OPP50 */
OPP_INITIALIZER("bb2d", "dpll_per_m6x2_ck", "core", true, 192000000, OMAP4470_VDD_CORE_OPP50_UV),
/* BB2D OPP2 - OPP100 */
OPP_INITIALIZER("bb2d", "dpll_per_m6x2_ck", "core", true, 307200000, OMAP4470_VDD_CORE_OPP100H_UV),
/* BB2D OPP3 - OPP-OV */
- OPP_INITIALIZER("bb2d", "dpll_per_m6x2_ck", "core", true, 384000000, OMAP4470_VDD_CORE_OPP100_OV_UV),
+ OPP_INITIALIZER("bb2d", "dpll_per_m6x2_ck", "core", true, 416000000, OMAP4470_VDD_CORE_OPP100_OV_UV),
/* FDIF OPP1 - OPP25 */
OPP_INITIALIZER("fdif", "fdif_fck", "core", true, 32000000, OMAP4470_VDD_CORE_OPP50_UV),
/* FDIF OPP2 - OPP50 */
So in making the following changes, if I go to /sys/devices/system/cpu/cpu0/cpufreq
and do a 'cat cpuinfo_max_freq' , I get 1600
a 'cat scaling_available_frequencies' gives:
396800 800000 1100000 1300000 1500000 1600000
I have been unable to test properly because my attempts to make a working boot.img have been unsuccessful.
If anyone could share on how to properly package a zImage and ramdisk.cpio.gz into a flashable boot.img, I would be forever thankful.
I've already extracted the "green loader"/cyanoboot and ramdisk from a working boot.img
I would love to get this working. It would also be fairly easy to tweak the Samsung lpddr ram timings. I also noticed the 'succulent' kernel turned down the core voltage slightly...
OK, so,... are you saying if I go into that folder and make that change it will overclock it?
cuz I'll just go and do that if its that easy.
I don't have any knowlege of compiling kernels so I can't help with that.
I believe it was verygreen who said that he experimented with overclock when building CM and determined it was of little benefit to our devices. That said, I would be most interested in seeing how far we can push the OC on these things, but so far no one with knowledge of Android inner workings wants to build anything for our devices.
Sent from my BN NookHD+ using XDA Premium HD app
I have more questions than answers about it myself.
Nook development seems to be from an "elite" group with closely guarded secrets.
I was actually able to get a "ram console"/last_kmsg
Code:
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.0.31-green+ ([email protected]) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-188) ) #6 SMP PREEMPT Sun Jan 26 09:22:35 EST 2014
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: OMAP4 ovation board
[ 0.000000] Ovation EVT1B detected - selecting Novatek panel
[ 0.000000] android_display: setting default resolution 1920*1280, bpp=4
[ 0.000000] android_display: tiler1d 56623104
[ 0.000000] android_display: setting fb0.vram to 39321600
[ 0.000000] android_display: setting vram to 39321600
[ 0.000000] android_display: ion carveouts: 77594624 tiler2d, 0 nonsecure
[ 0.000000] omap4_total_ram_size = 0x40000000
[ 0.000000] omap4_smc_size = 0x300000
[ 0.000000] omap4_ion_heap_secure_input_size = 0x3000000
[ 0.000000] omap4_ion_heap_secure_output_wfdhdcp_size = 0x1000000
[ 0.000000] omap4_ducati_heap_size = 0x3000000
[ 0.000000] omap4_ion_heap_tiler_mem_size = 0x4a00000
[ 0.000000] omap4_ion_heap_nonsec_tiler_mem_size = 0x0
[ 0.000000] omap4_smc_addr = 0xbfd00000
[ 0.000000] omap4_ion_heap_secure_input_addr = 0xbcd00000
[ 0.000000] omap4_ion_heap_secure_output_wfdhdcp_addr = 0xbbd00000
[ 0.000000] omap4_ducati_heap_addr = 0xb8d00000
[ 0.000000] omap4_ion_heap_tiler_mem_addr = 0xb4300000
[ 0.000000] omap4_ion_heap_nonsec_tiler_mem_addr = 0xb4300000
[ 0.000000] omap_ion_init: secure_input id=2 [bcd00000-bfd00000] size=3000000
[ 0.000000] omap_ion_init: secure_output_wfdhdcp id=5 [bbd00000-bcd00000] size=1000000
[ 0.000000] omap_ion_init: tiler id=1 [b4300000-b8d00000] size=4a00000
[ 0.000000] omap_ion_init: nonsecure_tiler id=3 [b4300000-b4300000] size=0
[ 0.000000] omap_ion_init: system id=0 [0-0] size=0
[ 0.000000] omap_ion_init: tiler_reservation id=4 [0-0] size=0
[ 0.000000] Reserving 39845888 bytes SDRAM for VRAM
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] OMAP4470 ES1.0
[ 0.000000] SRAM: Mapped pa 0x4030d000 to va 0xfe40d000 size: 0x1000
[ 0.000000] SMC: Allocated workspace of 0x300000 Bytes at (0xbfd00000)
[ 0.000000] PERCPU: Embedded 7 pages/cpu @c10a7000 s7136 r8192 d13344 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 197536
[ 0.000000] Kernel command line: androidboot.hardware=ovation androidboot.serialno=3024550263104319 boot.fb=b2200000
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 256MB 506MB 17MB = 779MB total
[ 0.000000] Memory: 778596k/778596k available, 269980k reserved, 18048K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xf0800000 - 0xf8000000 ( 120 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .init : 0xc0008000 - 0xc0083000 ( 492 kB)
[ 0.000000] .text : 0xc0083000 - 0xc06ea000 (6556 kB)
[ 0.000000] .data : 0xc06ea000 - 0xc073ff00 ( 344 kB)
[ 0.000000] .bss : 0xc073ff24 - 0xc089bdf8 (1392 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:410
[ 0.000000] omap_hwmod: dpll_mpu_m2_ck: missing clockdomain for dpll_mpu_m2_ck.
[ 0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty0] enabled
[ 0.000915] Calibrating delay loop... 1590.23 BogoMIPS (lpj=6213632)
[ 0.007904] pid_max: default: 32768 minimum: 301
[ 0.031616] Mount-cache hash table entries: 512
[ 0.031616] Initializing cgroup subsys debug
[ 0.031616] Initializing cgroup subsys cpuacct
[ 0.032348] Initializing cgroup subsys freezer
[ 0.032409] CPU: Testing write buffer coherency: ok
[ 0.032928] L310 cache controller enabled
[ 0.032928] l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x5e470000, Cache size: 1048576 B
[ 0.111358] CPU1: Booted secondary processor
[ 0.181396] Brought up 2 CPUs
[ 0.181427] SMP: Total of 2 processors activated (3188.82 BogoMIPS).
[ 0.184509] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for emif_fw
[ 0.184509] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l3_instr
[ 0.184509] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l3_main_1
[ 0.184509] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l3_main_2
[ 0.184509] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_abe
[ 0.184509] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_cfg
[ 0.184509] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_per
[ 0.184509] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_wkup
[ 0.184509] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for mpu_private
[ 0.184814] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for sl2if
[ 0.184814] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for thermal_sensor
[ 0.184906] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for usbhs_ohci
[ 0.184906] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for usbhs_ehci
[ 0.184906] omap_hwmod: l3_div_ck: missing clockdomain for l3_div_ck.
[ 0.184906] omap_hwmod: l4_div_ck: missing clockdomain for l4_div_ck.
[ 0.186859] _omap4_module_wait_ready: Timeout waiting for module enable (mcpdm_fck: clkctrl = 0x30002)
[ 0.189697] omap_hwmod: mcpdm: cannot be enabled (3)
[ 0.194641] print_constraints: dummy:
[ 0.194641] NET: Registered protocol family 16
[ 0.195312] GPMC revision 6.0
[ 0.195312] EMIF0 is enabled with IRQ142
[ 0.196380] EMIF1 is enabled with IRQ143
[ 0.196380] Last reset was cold reset (PRM_RSTST=0x1)
[ 0.196380]
[ 0.196624] OMAP GPIO hardware version 0.1
[ 0.197662] omap_mux_init: Add partition: #1: core, flags: 2
[ 0.199371] omap_mux_init: Add partition: #2: wkup, flags: 2
[ 0.199554] Samsung DDR Memory
[ 0.199645] kxtf9 i2c address = 0xe
[ 0.199920] ovation_touch_init: Registering touch controller device
[ 0.201629] Using Ovation ETV1A wifi configuration
[ 0.206634] OMAP DMA hardware revision 0.0
[ 0.206634] omap_rproc_get_pool: dsp - static memory is unavailable: 0x0, 0x0
[ 0.207031] omap_rproc_get_pool: ipu - carveout memory is unavailable: 0x0, 0x0
[ 0.212768] bio: create slab <bio-0> at 0
[ 0.212951] print_constraints: vdd_lcdtp: 3300 mV normal
[ 0.213531] print_constraints: vwl1271: 1800 mV
[ 0.213531] print_constraints: vsys-wlan: 3875 mV
[ 0.213714] i2c-core: driver [twl] using legacy suspend method
[ 0.213714] i2c-core: driver [twl] using legacy resume method
[ 0.213714] usbcore: registered new interface driver usbfs
[ 0.214172] usbcore: registered new interface driver hub
[ 0.214355] usbcore: registered new device driver usb
[ 0.214935] omap_i2c omap_i2c.1: bus 1 rev4.0 at 400 kHz
[ 0.214935] Skipping twl internal clock init and using bootloader value (unknown osc rate)
[ 0.217071] twl6030: PIH (irq 39) chaining IRQs 368..387
[ 0.218963] print_constraints: LDOUSB: 3300 mV normal standby
[ 0.221466] twl6030_usb twl6030_usb: Initialized TWL6030 USB module
[ 0.224090] print_constraints: VANA: 2100 mV normal standby
[ 0.224731] print_constraints: CLK32KG:
[ 0.225402] print_constraints: CLK32KAUDIO:
[ 0.226318] print_constraints: SYSEN:
[ 0.227203] print_constraints: REGEN1:
[ 0.227630] print_constraints: LDO5: 1200 <--> 3000 mV at 3000 mV normal standby
[ 0.228210] print_constraints: LDO1: 1800 <--> 2500 mV at 1700 mV normal standby
[ 0.228668] suspend_set_state: LDO7: No configuration
[ 0.228881] print_constraints: LDO7: 1800 mV normal standby
[ 0.229858] print_constraints: LDO6: 1800 mV normal standby
[ 0.230651] print_constraints: LDOLN: 1800 mV normal standby
[ 0.231506] print_constraints: LDO2: 1000 <--> 3000 mV at 2800 mV normal standby
[ 0.231903] print_constraints: LDO4: 1800 mV normal standby
[ 0.232696] print_constraints: LDO3: 1800 mV normal standby
[ 0.233123] omap_i2c omap_i2c.3: bus 3 rev4.0 at 400 kHz
[ 0.233825] omap-rproc omap-rproc.0: dsp is available
[ 0.233825] omap-rproc omap-rproc.1: ipu is available
[ 0.233825] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.234588] Bluetooth: Core ver 2.16
[ 0.234588] NET: Registered protocol family 31
[ 0.234588] Bluetooth: HCI device and connection manager initialized
[ 0.234588] Bluetooth: HCI socket layer initialized
[ 0.234588] Bluetooth: L2CAP socket layer initialized
[ 0.234771] Bluetooth: SCO socket layer initialized
[ 0.234771] Switching to clocksource 32k_counter
[ 0.236053] Switched to NOHz mode on CPU #0
[ 0.236083] Switched to NOHz mode on CPU #1
[ 0.241699] musb-hdrc: version 6.0, musb-dma, otg (peripheral+host)
[ 0.242248] musb-hdrc musb-hdrc: USB OTG mode controller at fc0ab000 using DMA, IRQ 124
[ 0.242675] NET: Registered protocol family 2
[ 0.242706] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.243774] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.243774] TCP bind hash table entries: 65536 (order: 8, 1572864 bytes)
[ 0.243774] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.243774] TCP reno registered
[ 0.243774] UDP hash table entries: 512 (order: 3, 32768 bytes)
[ 0.248352] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
[ 0.248352] NET: Registered protocol family 1
[ 0.267456] Trying to unpack rootfs image as initramfs...
[ 0.359802] Freeing initrd memory: 1832K
[ 0.812927] omap_init_opp_table: no hwmod or odev for hsi, [26] cannot add OPPs.
[ 0.812927] omap_init_opp_table: no hwmod or odev for hsi, [27] cannot add OPPs.
[ 1.328552] ram_console: got buffer at 90000000, size 200000
[ 1.329376] ram_console: no valid data in buffer (sig = 0x08f9f706)
[ 1.329650] console [ram-1] enabled
[ 1.329650] omap-iommu omap-iommu.0: ducati registered
[ 1.329650] omap-iommu omap-iommu.1: tesla registered
[ 1.337341] highmem bounce pool size: 64 pages
[ 1.337646] ashmem: initialized
[ 1.344177] fuse init (API version 7.16)
[ 1.344787] msgmni has been set to 1489
[ 1.344787] Registering char device tf_driver (122:0)
[ 1.344787] SMCAG01.06p6.0 D
[ 1.346649] io scheduler noop registered
[ 1.346649] io scheduler deadline registered (default)
[ 1.346649] io scheduler cfq registered
[ 1.346771] start plist test
[ 1.350708] end plist test
[ 1.751861] OMAP DSS rev 4.1
[ 1.754333] Keyboard driver not present
[ 1.755004] novatek-panel display0: novatek_probe
[ 1.755065] novatek-panel display0: novatek_probe done
[ 1.755065] dsscomp: initializing.
[ 1.755065] misc dsscomp: display0=novatek-panel
[ 1.755065] misc dsscomp: display1=hdmi_panel
[ 1.755065] misc dsscomp: found 2 displays and 4 overlays, WB overlay 1
[ 1.755859] could not allocate slot
[ 1.756011] omap-rproc omap-rproc.1: powering up ipu
[ 1.756378] virtio_rpmsg_bus virtio0: rpmsg backend virtproc probed successfully
[ 1.756988] virtio_rpmsg_bus virtio1: rpmsg backend virtproc probed successfully
[ 1.756988] omap-rproc omap-rproc.0: powering up dsp
[ 1.757446] virtio_rpmsg_bus virtio2: rpmsg backend virtproc probed successfully
[ 1.757446] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 104) is a OMAP UART0
[ 1.758636] omap_uart.3: ttyO3 at MMIO 0x4806e000 (irq = 102) is a OMAP UART3
[ 1.759094] omap_ion_probe: adding heap secure_input of type 2 with [email protected]
[ 1.759094] omap_ion_probe: adding heap secure_output_wfdhdcp of type 2 with [email protected]
[ 1.759552] omap_ion_probe: adding heap tiler of type 4 with [email protected]
[ 1.759552] omap_ion_probe: adding heap nonsecure_tiler of type 4 with [email protected]
[ 1.759704] omap_ion_probe: adding heap system of type 0 with [email protected]
[ 1.759704] omap_ion_probe: adding heap tiler_reservation of type 5 with [email protected]
[ 1.759704] brd: module loaded
[ 1.766052] loop: module loaded
[ 1.766052] usbcore: registered new interface driver ub
[ 1.766052] (stk) :sysfs entries created
[ 1.766052] (stk) : debugfs entries created
[ 1.769134] (hci_tty): inside hci_tty_init
[ 1.769134] (hci_tty): allocated 251, 0
[ 1.799896] tun: Universal TUN/TAP device driver, 1.6
[ 1.799896] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
[ 1.799896] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.799896] usbcore: registered new interface driver usbserial
[ 1.802398] USB Serial support registered for generic
[ 1.802398] usbcore: registered new interface driver usbserial_generic
[ 1.802490] usbserial: USB Serial Driver core
[ 1.802490] USB Serial support registered for GSM modem (1-port)
[ 1.802490] usbcore: registered new interface driver option
[ 1.802490] option: v0.7.2:USB Driver for GSM modems
[ 1.802673] USB Serial support registered for pl2303
[ 1.802673] usbcore: registered new interface driver pl2303
[ 1.802825] pl2303: Prolific PL2303 USB to serial adaptor driver
[ 1.804382] android_usb gadget: Mass Storage Function, version: 2009/09/11
[ 1.804412] android_usb gadget: Number of LUNs=1
[ 1.804412] lun0: LUN: removable file: (no medium)
[ 1.804504] android_usb gadget: android_usb ready
[ 1.804504] musb-hdrc musb-hdrc: MUSB HDRC host driver
[ 1.804504] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1
[ 1.804931] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.804931] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.805114] usb usb1: Product: MUSB HDRC host driver
[ 1.805114] usb usb1: Manufacturer: Linux 3.0.31-green+ musb-hcd
[ 1.805114] usb usb1: SerialNumber: musb-hdrc
[ 1.805694] hub 1-0:1.0: USB hub found
[ 1.805694] hub 1-0:1.0: 1 port detected
[ 1.806274] mousedev: PS/2 mouse device common for all mice
[ 1.806854] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 1.807067] input: omap4-keypad as /devices/platform/omap/omap4-keypad/input/input1
[ 1.807800] usbcore: registered new interface driver xpad
[ 1.807861] FTX: ft5x06_module_init(): INFO: Initializing FT I2C Touchscreen Driver (Built Jan 26 2014 @ 09:05:13)
[ 1.807861] 3-0038: FTX: ft5x06_probe(): INFO: probing for ft5x06-i2c @ 3-0038 .
[ 2.079406] 3-0038: FTX: ft5x06_probe(): INFO: focaltech controller with Product ID=0x06 found @ 0x38.
[ 2.138580] 3-0038: FTX: ftx_input_device_initialize(): INFO: Successfully initialzed slots; using Type B protocol.
[ 2.138580] input: ft5x06-i2c as /devices/platform/omap/omap_i2c.3/i2c-3/3-0038/input/input2
[ 2.138580] twl6030_pwrbutton_probe: Enter
[ 2.139739] input: twl6030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl6030_pwrbutton/input/input3
[ 2.242523] kxtf9 1-000e: WHO_AM_I = 0x08
[ 2.242523] kxtf9(8) detected
[ 2.243164] input: kxtf9_accel as /devices/virtual/input/input4
[ 2.244049] input: twl6040_hskeys as /devices/platform/omap/omap_i2c.1/i2c-1/1-004b/twl6040-audio/twl6040-hskeys/input/input5
[ 2.247314] using rtc device, twl_rtc, for alarms
[ 2.247680] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[ 2.247894] i2c /dev entries driver
[ 2.247894] Linux video capture interface: v2.00
[ 2.248321] usbcore: registered new interface driver uvcvideo
[ 2.248321] USB Video Class driver (v1.1.0)
[ 2.248321] dmm: probe base: fd300000, irq 145
[ 2.248321] finish bat_low irq. gpio_bat_low:42
[ 2.250579] bq27x00-battery 1-0055: support ver. 1.2.0 enabled
[ 2.466979] bq2419x driver init
[ 2.467041] bq2419x probe
[ 2.467254] bq24196 1-006b: read_reg=0x2a
[ 2.467254] bq24196 1-006b: identified chip BQ24196_REV_1_3
[ 2.467315] bq24196 1-006b: found chip at 0x6b
[ 2.468292] bq24196 1-006b: omap_get_clk_load: 0x821d6fff
[ 2.468780] bq24196 1-006b: resting registers
[ 2.469787] bq24196 1-006b: INTERRUPT 08=0, 09=0
[ 2.469787] bq24196 1-006b: S: Not Power Good
[ 2.469848] bq24196 1-006b: S: CHARGE STATE = 0 (NOT CHARGING)
[ 2.469879] bq24196 1-006b: S: VBUS STATE = 0 (Unknown)
[ 2.469909] device-mapper: uevent: version 1.0.3
[ 2.469909] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: [email protected]
[ 2.469909] Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0
[ 2.473449] cpuidle: using governor ladder
[ 2.473480] cpuidle: using governor menu
[ 2.478057] Registered led device: omap4:green:debug0
[ 2.479034] usbcore: registered new interface driver usbhid
[ 2.479064] usbhid: USB HID core driver
[ 2.479095] usbip_core: USB/IP Core v1.0.0
[ 2.479370] vhci_hcd vhci_hcd: USB/IP Virtual Host Controller
[ 2.479431] vhci_hcd vhci_hcd: new USB bus registered, assigned bus number 2
[ 2.479888] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.479919] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.479949] usb usb2: Product: USB/IP Virtual Host Controller
[ 2.479980] usb usb2: Manufacturer: Linux 3.0.31-green+ vhci_hcd
[ 2.480010] usb usb2: SerialNumber: vhci_hcd
[ 2.480529] hub 2-0:1.0: USB hub found
[ 2.480560] hub 2-0:1.0: 8 ports detected
[ 2.480895] vhci_hcd: USB/IP 'Virtual' Host Controller (VHCI) Driver v1.0.0
[ 2.481079] usbcore: registered new interface driver usbip
[ 2.481109] usbip_host: USB/IP Host Driver 1.0.0
[ 2.481445] logger: created 256K log 'log_main'
[ 2.481567] logger: created 256K log 'log_events'
[ 2.481689] logger: created 256K log 'log_radio'
[ 2.481811] logger: created 256K log 'log_system'
[ 2.482147] pcb_temp_sensor pcb_temp_sensor.0: pcb_sensor : 'pcb_temp_sensor'
[ 2.485229] SDP4430 SoC init
[ 2.489685] twl6040-codec twl6040-codec: couldn't get VDDHF regulator -19
[ 2.521148] asoc: null-codec-dai <-> MultiMedia1 mapping ok
[ 2.522430] asoc: null-codec-dai <-> MultiMedia2 mapping ok
[ 2.527130] asoc: null-codec-dai <-> Voice mapping ok
[ 2.528259] asoc: null-codec-dai <-> Tones mapping ok
[ 2.529388] asoc: null-codec-dai <-> Vibra mapping ok
[ 2.530212] asoc: null-codec-dai <-> MODEM mapping ok
[ 2.530944] asoc: null-codec-dai <-> MultiMedia1 LP mapping ok
[ 2.532409] asoc: FM Digital <-> omap-mcbsp-dai.1 mapping ok
[ 2.533508] asoc: twl6040-dl1 <-> mcpdm-dl mapping ok
[ 2.535247] asoc: dmic-hifi <-> omap-dmic-dai-0 mapping ok
[ 2.537628] twl6040-codec twl6040-codec: ASoC: Failed to create Aux/FM Stereo In debugfs file
[ 2.538574] asoc: twl6040-dl1 <-> mcpdm-dl1 mapping ok
[ 2.539398] asoc: twl6040-ul <-> mcpdm-ul1 mapping ok
[ 2.540252] asoc: twl6040-dl2 <-> mcpdm-dl2 mapping ok
[ 2.541107] asoc: twl6040-vib <-> mcpdm-vib mapping ok
[ 2.541992] asoc: Bluetooth <-> omap-mcbsp-dai.2 mapping ok
[ 2.542877] asoc: Bluetooth <-> omap-mcbsp-dai.2 mapping ok
[ 2.543762] asoc: FM Digital <-> omap-mcbsp-dai.1 mapping ok
[ 2.544616] asoc: MODEM <-> omap-mcbsp-dai.1 mapping ok
[ 2.545501] asoc: dmic-hifi <-> omap-dmic-abe-dai-0 mapping ok
[ 2.546356] asoc: dmic-hifi <-> omap-dmic-abe-dai-1 mapping ok
[ 2.547210] asoc: dmic-hifi <-> omap-dmic-abe-dai-2 mapping ok
[ 2.548187] asoc: null-codec-dai <-> omap-abe-vxrec-dai mapping ok
[ 2.550445] input: Ovation Line-Out Jack as /devices/platform/soc-audio/sound/card0/input6
[ 2.550781] input: Ovation Headset Jack as /devices/platform/soc-audio/sound/card0/input7
[ 2.553558] asoc: hdmi-audio-codec <-> hdmi-audio-dai mapping ok
[ 2.554046] ALSA device list:
[ 2.554046] #0: TI OMAP4 Board
[ 2.554077] #1: OMAP4HDMI
[ 2.554168] GACT probability NOT on
[ 2.554199] Mirror/redirect action on
[ 2.554229] u32 classifier
[ 2.554229] Actions configured
[ 2.554260] Netfilter messages via NETLINK v0.30.
[ 2.554351] nf_conntrack version 0.5.0 (12194 buckets, 48776 max)
[ 2.555267] xt_time: kernel timezone is -0000
[ 2.556274] IPv4 over IPv4 tunneling driver
[ 2.557647] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.557739] TCP cubic registered
[ 2.557769] NET: Registered protocol family 17
[ 2.557800] NET: Registered protocol family 15
[ 2.557922] Bluetooth: RFCOMM TTY layer initialized
[ 2.557952] Bluetooth: RFCOMM socket layer initialized
[ 2.557983] Bluetooth: RFCOMM ver 1.11
[ 2.558013] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.558105] lib80211: common routines for IEEE802.11 drivers
[ 2.558135] lib80211_crypt: registered algorithm 'NULL'
[ 2.558166] Registering the dns_resolver key type
[ 2.558197] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 2.558258] ThumbEE CPU extension supported.
[ 2.558288] Registering SWP/SWPB emulation handler
[ 2.561767] >>> setting nvalues for oh = smartreflex_core
[ 2.561828] >>> sr_set_nvalues v = 10145780, sr_efuse_offs = 254
[ 2.561828] >>> sr_set_nvalues v = 10126506, sr_efuse_offs = 257
[ 2.561859] >>> sr_set_nvalues v = 10126506, sr_efuse_offs = 257
[ 2.561889] >>> sr_set_nvalues v = 11198099, sr_efuse_offs = 25a
[ 2.562133] >>> setting nvalues for oh = smartreflex_iva
[ 2.562164] >>> sr_set_nvalues v = 10091001, sr_efuse_offs = 22c
[ 2.562194] >>> sr_set_nvalues v = 10063493, sr_efuse_offs = 22f
[ 2.562194] >>> sr_set_nvalues v = 11202269, sr_efuse_offs = 232
[ 2.562225] >>> sr_set_nvalues v = 11182739, sr_efuse_offs = 235
[ 2.562255] >>> sr_set_nvalues v = 11177602, sr_efuse_offs = 238
[ 2.562408] >>> setting nvalues for oh = smartreflex_mpu
[ 2.562438] >>> sr_set_nvalues v = 10141671, sr_efuse_offs = 240
[ 2.562469] >>> sr_set_nvalues v = 11205796, sr_efuse_offs = 243
[ 2.562500] >>> sr_set_nvalues v = 11190917, sr_efuse_offs = 246
[ 2.562530] >>> sr_set_nvalues v = 11247585, sr_efuse_offs = 249
[ 2.562561] >>> sr_set_nvalues v = 11245013, sr_efuse_offs = 24c
[ 2.562774] Reprogramming LPDDR2 timings to 466666666 Hz
[ 2.563018] sr_init: No PMIC hook to init smartreflex
[ 2.563201] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
[ 2.563415] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
[ 2.563598] smartreflex smartreflex.2: omap_sr_probe: SmartReflex driver initialized
[ 2.563903] SmartReflex class 1.5 driver: initialized (86400000ms)
[ 2.564117] cpufreq_interactive_input_connect: connect to ft5x06-i2c
[ 2.564178] 3-0038: FTX: ft5x06_resume(): INFO: driver is resuming.
[ 2.564575] Power Management for TI OMAP4.
[ 2.564727] OMAP4 PM: Static dependency added between MPUSS and DUCATI <-> L4_PER/CFG and L3_1.
[ 2.570953] mmc0: new high speed DDR MMC card at address 0001
[ 2.571380] mmcblk0: mmc0:0001 MBG4GA 29.1 GiB
[ 2.571563] mmcblk0boot0: mmc0:0001 MBG4GA partition 1 2.00 MiB
[ 2.571746] mmcblk0boot1: mmc0:0001 MBG4GA partition 2 2.00 MiB
[ 2.574066] Alternate GPT is invalid, using primary GPT.
[ 2.574188] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
[ 2.576599] mmcblk0boot1: unknown partition table
[ 2.577514] mmcblk0boot0: unknown partition table
[ 2.579376] clock: disabling unused clocks to save power
[ 2.641052] sr_class1p5_calib_work: iva Stop sampling: Voltage Nominal=950000 samples=12
[ 2.641082] sr_class1p5_calib_work: iva: Calibration complete: Voltage Nominal=950000Calib=835600 margin=0
[ 2.714233] mmc1: host does not support reading read-only switch. assuming write-enable.
[ 2.727020] mmc1: new high speed SDHC card at address 1234
[ 2.727325] mmcblk1: mmc1:1234 SA16G 14.6 GiB
[ 2.728820] mmcblk1: p1 p2 p3
[ 2.729339] Enable wl12xx power
[ 2.821319] 3-0038: FTX: ft5x06_resume(): INFO: driver resumed.
[ 2.950256] mmc2: card claims to support voltages below the defined range. These will be ignored.
[ 2.953399] copying uboot splash: 39321600 bytes from 0xf5000000 to 0xf2000000
[ 2.985473] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
[ 2.986083] mmc2: new SDIO card at address 0001
[ 2.986694] Disable wl12xx power
[ 3.144378] cannot apply mgr(lcd) on inactive device
[ 3.163330] Console: switching to colour frame buffer device 240x80
[ 3.182678] cannot apply mgr(lcd) on inactive device
[ 3.182769] omapfb omapfb: failed to apply dispc config
[ 3.182861] cannot apply mgr(tv) on inactive device
[ 3.182983] omapfb omapfb: failed to apply dispc config
[ 3.183074] cannot apply mgr(lcd2) on inactive device
[ 3.183197] omapfb omapfb: failed to apply dispc config
[ 3.183258] novatek-panel display0: enable
[ 3.183319] novatek-panel display0: power_on
[ 3.183746] novatek-panel display0: power_on done
[ 3.184326] regulator_init_complete: LDO1: disabling
[ 3.185791] twl_rtc twl_rtc: setting system clock to 2014-01-27 04:13:49 UTC (1390796029)
[ 3.186096] Warning: unable to open an initial console.
[ 3.186218] Freeing init memory: 492K
[ 3.203613] sr_class1p5_calib_work: mpu: Calibration complete: Voltage Nominal=1380000Calib=1316680 margin=0
[ 3.219207] sr_class1p5_calib_work: core: Calibration complete: Voltage Nominal=1190000Calib=1076140 margin=0
[ 3.259979] init: cannot open '/initlogo.rle'
[ 3.280609] init: Unable to open persistent property directory /data/property errno: 2
[ 3.280883] 3-0038: FTX: ft5x06_suspend(): INFO: driver is suspending.
[ 3.289459] 3-0038: FTX: ft5x06_suspend(): INFO: driver suspended.
[ 3.311126] omap-rproc omap-rproc.0: rproc_loader_cont: failed to load tesla-dsp.bin
[ 3.311523] omap-rproc omap-rproc.1: rproc_loader_cont: failed to load ducati-m3.bin
[ 3.330047] HDCP: failed to load keys
[ 3.353820] android_usb: already disabled
[ 3.354064] init: using deprecated syntax for specifying property 'ro.product.manufacturer', use ${name} instead
[ 3.354278] init: using deprecated syntax for specifying property 'ro.product.model', use ${name} instead
[ 3.354492] init: using deprecated syntax for specifying property 'ro.serialno', use ${name} instead
[ 3.354766] android_usb: already disabled
[ 3.355957] adb_open
[ 3.355987] adb_bind_config
[ 3.356567] SysRq : Emergency Remount R/O
[ 3.356689] Emergency Remount complete
[ 3.357208] Disabling non-boot CPUs ...
[ 3.357666] CPU1: shutdown
[ 3.563873] 3-0038: FTX: INFO: Shutdown.
[ 3.579956] bq24196 1-006b: bq2419x_charger_shutdown
[ 3.595825] kxtf9: Shutdown.
[ 3.626617] omap_hsmmc omap_hsmmc.1: shutting down mmc
[ 3.667175] novatek-panel display0: disable
[ 3.685577] Restarting system with command 'bootloader'.
[ 3.700927]
[ 3.716278] Restarting Linux version 3.0.31-green+ ([email protected]) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-188) ) #6 SMP PREEMPT Sun Jan 26 09:22:35 EST 2014
[ 3.716278]
0 Corrected bytes, 218 unrecoverable blocks
I believe part of my problem is that (my) toolchain needs to match that with what CM was built with. (Which means I would probably have to build the whole CM package in order for it to work). I have an overclocked recovery, but that doesn't make much sense
There seems to be lots of discussion between conflicts between smartreflex and various governors.
Since these things normally run at 396 or 800 Mhz, I wonder if it would be more advantageous to tweak ram settings and such at those speeds
TBH, my main goal is to get Arch linux on this thing.
To that end, I plan on purchasing a Prolific PL2303 USB to serial adaptor so as to have a console.
This won't help me with any bootloader work, but I don't wish to disassemble my nook to solder in two wires to get a uart console (would still have to purchase a FT232RL USB to Serial breakout board for voltage level shifting).
Success! Check out the attached screenshots. First benchmark is stock CM10.1, second benchmark is with overclocked kernel. CM10.1 doesn't benchmark near as well as CM11 or Carbon, so I imagine I could great results using a Carbon rom.
Awesome man, I'm impressed. Were you modifying voltage as well? Also let us know how far you can take it.
Holy cr$$. Does actual use feel as fast as benchmark indicates? Is your nook hot? Does it crash all over the place? (I guess it's stable enough to finish the benchmark!) What does this do to your battery life?
This was mainly meant as a proof of concept, in trying to elicit kernel development discussion and trying to fish for more information on how to do it.
I was slightly frustrated in that there's overclock kernels available for the kindle fire hd (same proc as ours), but if you follow the links to source, the overclock code is always missing. They have AVAILABLE: CPU up to 1.7 and GPU up to 512. I don't think anyone is actually achieving that.
After playing with it for awhile my take is that these things are maxed out already. I did leave stock voltages alone.
1600 seems to work OK, instead of adding extra stepping, prolly easier just to change the two 1500's to 1600's.
GPU over clock is buggy in that it breaks video playback of certain formats (probably a timings issue). I've heard of people getting up to 440.
No overclock is bug free for me.
Samsung lpddr ram timings are interesting, but again not much leeway.
Here's some info to anyone interested.
I used the gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux.tar toolchain, available on the launchpad linaro toolchain binaries download page (after fighting with crosstool-ng).
A big help for me was using a hex editor, ended up compiling okteta.
Take a working boot.img open it in your hex editor. Cut 0000:0000 - 000F:FFFF, this is your "green loader". (I realize this can be done with dd, have at it).
After this has been cut out, your boot.img can be split into zImage and initramfs.cpio.gz using umkbootimg. This will also give the command to put it back together.
Code:
mkbootimg --kernel zImage --ramdisk initramfs.cpio.gz --base 0x80000000 --cmdline 'androidboot.console=ttyO0 console=ttyO0,115200n8 def_disp=lcd2' --pagesize 4096 -o new_boot.img
Then you will need to take your new_boot.img and append the green loader onto the beginning (turn off overwrite mode).
To fix ram_console turn on little endian support in kernel config (missing in official builds to date).
Good luck! I wish I had been given this tutorial....
Edit: I also played around with adding various I/O schedulers, I expect to do the same with governors as time permits.
These would probably make the most difference in battery life and performance.
Wrong boot.img. The one posted has IPv6 disabled in the kernel (as an experiment). Most everything google is broken (although browser still works). It does have some interesting logcat entries (googleconversionpings and such). It actually does a good job if you want a very basic secure tablet.
Here, this should be correct.
(1620/405)
mediafire<dot>com/download/6xjogrrbt1693ps/cm-10.1.3-ovation_OC2.zip
BTW, the config can be found in /proc/config.gz. Also compiled with kexec support.
Third version.
I believe this to be the smoothest, fastest, (and I dare say), most stable rom out there available for the HD+/ovation.
Give it a test run and tell me what you think.
Video playback performance is phenomenal.
mediafire<dot>com/download/6uvpqid45l5s99d/cm-10.1.3-ovation_OC3.zip
(kernel version should read Tue Mar 11 17:14, if I packed it correctly)
my kernel source:
mediafire<dot>com/download/d289cudx4pq6bvm/android_kernel_bn_omap-cm-10.1_v1.tar.gz
extra kernel modules, most users won't need these unless you're trying to set up a vpn or something:
mediafire<dot>com/download/670pzf1r2lu1dy8/extra_modules_ovation_cm10.1.3.tar.gz
A collection of linux tools for .img file work in case someone wants to make their own kernel
mediafire<dot>com/download/ny2209vapfi8ngg/bootimg_tools_ovation_1.tar.gz
What I have for pvr-sgx kernel module source.
mediafire<dot>com/download/04z6o0xlp513h4l/pvr_source.tar.gz
I think the kernel or the pvr source needs a patch (possibly something to do with remoteproc power management), as the versions I've compiled are unstable.
It could possibly be the command line I'm using?
make ARCH=arm CROSS_COMPILE=arm-eabi- BUILD=release TARGET_SGX=544sc
Click to expand...
Click to collapse
Could anyone help me on this? Being able to compile working pvr modules would help greatly with kernel development (so the pvr matches the kernel you're hacking).
Anyway I believe the above ROM is going to be my go-to daily driver.
Took a stab at fixing our ft5x06 touchscreen issues.
This is the result:
http://www.mediafire.com/download/he3reojs86oh0b3/ovation-kernel-cm10.1.3_v1.zip
(just the kernel- to be flashed over one of my previous roms).
Much better touchscreen performance (took out the twitch without using "fuzz", and I haven't experienced any more lockups with random/phantom touches, focus/selecting seems to work better too... but I'm still testing).
Surprisingly enough the issues seem to have been with kernel 3.0 i2c-core bus drivers rather than the touchscreen driver itself.
OCCCC
Although overclocking is obviously against CM policy, I'd love it for our Nooks to have access to modifying our CPU speeds.
But then I read awhile back that verygreen said that ocing the CPU didn't improve much and speculated that ocing the GPU would help more. o.o
I'm continuing to work on it and fine tune the results as time permits (until I'm happy with it).
This is my latest.
http://www.mediafire.com/download/hk136whf6f0ew60/ovation-kernel-cm10.1.3_v2.zip
(again kernel update only- to be flashed over one of my previous roms).
This one has lowered voltages. Slightly modified ram timings.
Same basic overclock and has the touchscreen fixes.
I ran into a problem where my browser was crashing and logs indicated libdrm/dalvik.
Wiping the dalvik cache took care of it. Just FYI, as it took me forever to figure out.
I haven't had a single crash on this kernel yet.
This one should run much cooler than even stock.
Jon Lee said:
I'm continuing to work on it and fine tune the results as time permits (until I'm happy with it).
This is my latest.
http://www.mediafire.com/download/hk136whf6f0ew60/ovation-kernel-cm10.1.3_v2.zip
(again kernel update only- to be flashed over one of my previous roms).
This one has lowered voltages. Slightly modified ram timings.
Same basic overclock and has the touchscreen fixes.
I ran into a problem where my browser was crashing and logs indicated libdrm/dalvik.
Wiping the dalvik cache took care of it. Just FYI, as it took me forever to figure out.
I haven't had a single crash on this kernel yet.
This one should run much cooler than even stock.
Click to expand...
Click to collapse
I flashed this over CM10.1 stable and got a bootloop. What do you mean with "flash over one my previous roms" - which ROMs?
EDIT: My bad, didn't see the links you posted. They weren't red like usual.
I will try it! Thanks!
EDIT2: Wow, it is really stable and fast. But i have extreme touchscreen twitching on the right hand side of the screen. Increasing Fuzz fixed that for me in other builds.
EDIT3: Got random reboot while restoring apps with Titanium Backup. It would be great it you could take a look at the log. I have been getting reboots on every ROM out there, maybe you know the problem.
last_kmsg: https://drive.google.com/file/d/0B5xpEXQcSQncMENxR3lyOXAwNlU/edit?usp=sharing
And do I have to flash the ROM, Kernel v1 and then v2 or does v2 include the changes from v1?
Here's a complete, to-date ROM. (So as to save from flashing multiple files).
http://www.mediafire.com/download/cifx5qa8xvv3u1j/cm-10.1.3-ovation_OC4.zip
Be sure to wipe dalvik cache!
I'm not sure if you can use titanium to restore apps from 10.2 to 10.1 without causing problems.
Just a note, you won't be able to flash my kernel updates on stock CM without being prepared to adb push /system/lib/modules/*
(IE bootloops, etc)
If you continue to have problems with wl12xx, I would take a look at your wireless access point settings (perhaps change encryption type, etc).
I see a lot of deauthenticated, reason 7. I would love to fix this but compiling my own working wl12xx drivers is a major PITA.
Jon Lee said:
Here's a complete, to-date ROM. (So as to save from flashing multiple files).
http://www.mediafire.com/download/cifx5qa8xvv3u1j/cm-10.1.3-ovation_OC4.zip
Be sure to wipe dalvik cache!
I'm not sure if you can use titanium to restore apps from 10.2 to 10.1 without causing problems.
Just a note, you won't be able to flash my kernel updates on stock CM without being prepared to adb push /system/lib/modules/*
(IE bootloops, etc)
If you continue to have problems with wl12xx, I would take a look at your wireless access point settings (perhaps change encryption type, etc).
I see a lot of deauthenticated, reason 7. I would love to fix this but compiling my own working wl12xx drivers is a major PITA.
Click to expand...
Click to collapse
This one has your kernel already in it correct? Any special recovery needed?
Jon Lee said:
Here's a complete, to-date ROM. (So as to save from flashing multiple files).
http://www.mediafire.com/download/cifx5qa8xvv3u1j/cm-10.1.3-ovation_OC4.zip
Be sure to wipe dalvik cache!
I'm not sure if you can use titanium to restore apps from 10.2 to 10.1 without causing problems.
Just a note, you won't be able to flash my kernel updates on stock CM without being prepared to adb push /system/lib/modules/*
(IE bootloops, etc)
If you continue to have problems with wl12xx, I would take a look at your wireless access point settings (perhaps change encryption type, etc).
I see a lot of deauthenticated, reason 7. I would love to fix this but compiling my own working wl12xx drivers is a major PITA.
Click to expand...
Click to collapse
Okay, I will try that.
So what exactly was the reason for my reboot? What is wl 12xx? I am not an expert
Slightly aggravated. Typed a long post, only to be logged out, and lost it, and I continue to have login/password issues.
Calling this project quits.
This is THE FINAL VERSION.
http://www.mediafire.com/download/x4cksy5scvi1874/cm-10.1.3-ovation_OC5.zip
WORKING PVR SOURCE.
http://www.mediafire.com/download/at6yl23jrvpweav/pvr_source_1.tar.gz
Kernel source than matches rom above.
http://www.mediafire.com/download/ohcxmrgz9j4ly8y/android_kernel_bn_omap-cm-10.1_v2.tar.gz
What this lacks.
http://processors.wiki.ti.com/index...1_compat_wireless_implementation_Architecture
Thank you.
Edit: BTW, that was a quick fix from OC4, which was no good (voltages). Working pvr_sgx source opens up a whole can of worms as far as having matching dpll_cascading symbols in the pvr module or not (as far as kernel updates go), which is a good enough reason to call it quits here to save on confusion. Seriously, the above is as good as I'm going to get it.
To put it another way, no other kernels will work on this ROM (pvr missing dpll_cascading symbols), and If I were to make any other kernel updates, they wouldn't work on any other roms (including the first ones I did).
Jon Lee said:
Here's a complete, to-date ROM. (So as to save from flashing multiple files).
cm-10.1.3-ovation_OC4.zip
Be sure to wipe dalvik cache!
I'm not sure if you can use titanium to restore apps from 10.2 to 10.1 without causing problems.
Just a note, you won't be able to flash my kernel updates on stock CM without being prepared to adb push /system/lib/modules/*
(IE bootloops, etc)
If you continue to have problems with wl12xx, I would take a look at your wireless access point settings (perhaps change encryption type, etc).
I see a lot of deauthenticated, reason 7. I would love to fix this but compiling my own working wl12xx drivers is a major PITA.
Click to expand...
Click to collapse
wow I don't know, what was wrong with my device or with CM10.2 (I had a lot of Reboots every day) but this release works like a charm :good:
actually i wasn't intrested in OC (becauce of Battery usage) but if this CM is the only stable release for my device I will keep it
thx man
Thanks, if it wasn't obvious, I was more interested in stability than I was in any overclock... (for me), because I'm wanting to use this too. I did try to take care of several kernel bugs that were common across all ROMS (l3_noc, mmc, I2C), without causing further problems.
That last version does seem stable (especially if you clear dalvik cache after installing). One thing I did notice is that I played with IVA clock a little (as an experiment), and although we don't use DSP/tesla, it seems to have slightly affected the I2C touchscreen bug. Perhaps the IVA clock is somehow connected to the I2C clock. I'm making one now where I reduced it instead of increasing it, and see if that further reduces any I2C jitters. Shouldn't affect performance because we don't use tesla (although as an experiment, I did get a tesla bin to load properly, and even had the rpmsg communication channel and everything).
I also managed to compile a compat.ko module last night. Still doesn't work properly. WIFI is going to kick my butt. That is really the last thing that remains to be done.
Eventually, if I could leave well enough alone, I would like to see how long I could go without a reboot, and we could prove "What is the Most Stable ROM" debate scientifically with a 'cat /proc/uptime', but at the moment I'm continually playing with it, so I'm not going to have a decent uptime.

Something useful?

So me and my friend tried to trace what's really wrong with most of the Lollipop ROM's and he told me this is the cause why it doesn't wake up when in deep sleep:
[ 434.688710] C3 [ system_server, 953] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 434.706116] C3 [ system_server, 953] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
[ 434.708361] C3 [ system_server, 953] Suspending console(s) (use no_console_suspend to debug)
more:
[ 0.167669] C0 [ swapper/0, 1] msm-thermal qcom,msm-thermal.79: probe_psm:Failed reading node=/soc/qcom,msm-thermal, key=qcom,pmic-sw-mode-temp. KTM continues
[ 0.168493] C0 [ swapper/0, 1] vdd_restriction_reg_initefer vdd rstr freq init
[ 0.168513] C0 [ swapper/0, 1] msm-thermal qcom,msm-thermal.79: probe_ocr:Failed reading node=/soc/qcom,msm-thermal, key=qti,pmic-opt-curr-temp. KTM continues
[ 1.125917] C0 [ swapper/0, 1] msm_thermal: Interrupt mode init
I hope this is useful to the devs around here.

[KERNEL][MODULE][KEXEC][DEV] kexec for ford

Trying to get kexec working on Fire, to bypass locked bootloader.
XDA:DevDB Information
KEXEC, Kernel for the Amazon Fire
Contributors
k4y0z
Source Code: https://github.com/chaosmaster
Kernel Special Features: kexec, atags
Version Information
Status: Alpha
Created 2015-12-13
Last Updated 2015-12-13
I have successfully compiled kexec for the ford, however booting a kernel doesn't completely work.
It seems like the cpu-cores aren't shut down completely, hopefully someone here has an Idea how to get that going.
This is what it currently looks like trying to boot a kernel using kexec:
Code:
[ 0.000000]-(0)[0:swapper]Linux version 3.10.54+ ([email protected]) (gcc version 4.8 (GCC) ) #17 SMP PREEMPT Sun Dec 13 18:00:30 CET 2015
[ 0.000000]-(0)[0:swapper]CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
[ 0.000000]-(0)[0:swapper]CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000]-(0)[0:swapper]Machine: MT8117
[ 0.000000]-(0)[0:swapper]Load default dfo data...
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] DFO:MTK_MD5_SUPPORT:0x00000005
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] DFO:MTK_ENABLE_MD5:0x00000000
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] DFO:MD5_SIZE:0x01600000
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] Get DFO:MTK_MD5_SUPPORT:0x00000005
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] Get DFO:MTK_ENABLE_MD5:0x00000000
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] Get DFO:MD5_SIZE:0x01600000
[ 0.000000]-(0)[0:swapper]tag_devinfo_data_rid, index[12]:0xd7b56d97
[ 0.000000]-(0)[0:swapper]tag_devinfo_data size:26
[ 0.000000]-(0)[0:swapper]Get MD inf from META
[ 0.000000]-(0)[0:swapper]md_inf[0]=0
[ 0.000000]-(0)[0:swapper]md_inf[1]=0
[ 0.000000]-(0)[0:swapper]md_inf[2]=0
[ 0.000000]-(0)[0:swapper]md_inf[3]=0
[ 0.000000]-(0)[0:swapper][LCM Auto Detect], we have 1 lcm drivers built in
[ 0.000000]-(0)[0:swapper][LCM Auto Detect], try to find driver for [hx8282_a01_lvds_dpi_vdo]
[ 0.000000]-(0)[0:swapper][LCM Specified] [hx8282_a01_lvds_dpi_vdo]
[ 0.000000]-(0)[0:swapper][PHY layout]avaiable DRAM size (lk) = 0x37a00000
[ 0.000000][PHY layout]avaiable DRAM size = 0x37a00000
[ 0.000000][PHY layout]FB : 0xb6a00000 - 0xb79fffff (0x1000000)
[ 0.000000]-(0)[0:swapper]Ignoring unrecognised tag 0x41000802
[ 0.000000]-(0)[0:swapper]Ignoring unrecognised tag 0x41000804
[ 0.000000]-(0)[0:swapper]Ignoring unrecognised tag 0x54410008
[ 0.000000]-(0)[0:swapper]Ignoring unrecognised tag 0x41000806
[ 0.000000]-(0)[0:swapper][memblock]mt_reserve: 0x83f00000 - 0x83ffffff (0x00100000)
[ 0.000000]-(0)[0:swapper][PHY layout]mtk_wcn_consys_memory_reserve : 0xb6900000 - 0xb69fffff (0x00100000)
[ 0.000000]-(0)[0:swapper][WMT-CONSYS-HW][I]mtk_wcn_consys_memory_reserve:memblock done: 0xb6900000
[ 0.000000]-(0)[0:swapper]Memory policy: ECC disabled, Data cache writealloc
[ 0.000000]-(0)[0:swapper][PHY layout]kernel : 0x80000000 - 0xb68fffff (0x36900000)
[ 0.000000]-(0)[0:swapper]creating mapping start pa: 0x80000000 @ 0xc0000000 , end pa: 0xa0000000 @ 0xe0000000
[ 0.000000]-(0)[0:swapper][CORE] num:4
[ 0.000000]-(0)[0:swapper]Built 1 zonelists in Zone order, mobility grouping on. Total pages: 222464
[ 0.000000]-(0)[0:swapper][cpu_ntf] <00>c01241a0 (page_alloc_cpu_notify)
[ 0.000000]-(0)[0:swapper]Kernel command line: console=tty0 console=ttyMT3,921600n1 root=/dev/ram vmalloc=496M slub_max_order=0 slub_debug=O coherent_pool=3240K androidboot.unlocked_kernel=false androidboot.rpmb_state=1 androidboot.prod=1 lcm=1-hx8282_a01_lvds_dpi_vdo fps=5962 vram=16777216 bootprof.pl_t=1981 bootprof.lk_t=1571 printk.disable_uart=0 boot_reason=4 androidboot.serialno=################ androidboot.bootreason=wdt_by_pass_pwk kexec
[ 0.000000]-(0)[0:swapper]Memory: 868192k/868192k available, 26784k reserved, 369664K highmem
[ 0.000000]-(0)[0:swapper]Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0ad2e0c (11052 kB)
[ 0.000000] .init : 0xc0ad3000 - 0xc0b2d480 ( 362 kB)
[ 0.000000] .data : 0xc0b2e000 - 0xc0bf0c28 ( 780 kB)
[ 0.000000] .bss : 0xc0bf0c28 - 0xc0d884c4 (1631 kB)
[ 0.000000]-(0)[0:swapper][cpu_ntf] <01>c07f40b8 (slab_cpuup_callback)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <02>c07f3418 (sched_ilb_notifier)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <03>c07f3ed0 (perf_cpu_notify)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <04>c07f36ec (rcu_cpu_notify)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <05>c02b803c (radix_tree_callback)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <06>c07f2638 (timer_cpu_notify)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <07>c07f2cf8 (hrtimer_cpu_notify)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <08>c07f23f8 (remote_softirq_cpu_notify)
[ 0.000000]-(0)[0:swapper/0]GPT1_CMP = 130000, HZ = 100
[ 0.000000]-(0)[0:swapper/0]fwq sysc count
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <09>c00d3c68 (hotplug_cfd)
[ 0.000000].(0)[0:swapper/0]ram_console: buffer start: 0xe0800000, size: 0x100000
[ 0.000000].(0)[0:swapper/0]ram_console: log size 0xffc80, start 0x49da8, off_console 0x380, buffer_size 0x100000
[ 0.000000].(0)[0:swapper/0]ram_console: lk[0], linux[200], console[380]
[ 0.000000].(0)[0:swapper/0]ram_console: old_header[df806000], buffer[e0800000], header_size[380]
[ 0.000000].(0)[0:swapper/0]ram_console:bin_log_count[190]
[ 0.000000].(0)[0:swapper/0][UART] mtk console setup : co->index 3 options:921600n1
[ 0.000000]-(0)[0:swapper/0]No Flow Control
[ 0.000000].(0)[0:swapper/0][UART] mtk console setup : uart_set_option port(3) baud(921600) parity(n) bits(1) flow(n) - ret(0)
[ 0.000000].(0)[0:swapper/0][UART] mtk setting: (0, 0, 0, 0, 128)
[ 0.122572].(0)[0:swapper/0][cpu_ntf] <10>c018c618 (buffer_cpu_notify)
[ 0.123957].(0)[0:swapper/0][cpu_ntf] <11>c07f3f1c (ratelimit_handler)
[ 0.125373]Calibrating local timer... 13.01MHz.
[ 0.183230].(0)[1:swapper/0][init] f(c0ad567c)
[ 0.184007].(0)[1:swapper/0] s:183221461 e:183222923 d:1462
[ 0.184781].(0)[1:swapper/0][init] f(c0ad5658)
[ 0.185558].(0)[1:swapper/0] s:184776230 e:184776615 d:385
[ 0.186368].(0)[1:swapper/0][init] f(c0ad803c)
[ 0.187148].(0)[1:swapper/0] s:186327846 e:186358615 d:30769
[ 0.187931].(0)[1:swapper/0][cpu_ntf] <12>c07f24c0 (cpu_callback)
[ 0.203282].(0)[1:swapper/0][init] f(c0adbdcc)
[ 0.204063].(0)[1:swapper/0] s:187918461 e:203274923 d:15356462
[ 0.204850].(0)[1:swapper/0][cpu_ntf] <13>c07f290c (workqueue_cpu_up_callback)
[ 0.205628].(0)[1:swapper/0][cpu_ntf] <14>c07f2c50 (workqueue_cpu_down_callback)
[ 0.206782].(0)[1:swapper/0][init] f(c0add0ac)
[ 0.207560].(0)[1:swapper/0] s:204833076 e:206774076 d:1941000
[ 0.208337].(0)[1:swapper/0][init] f(c0add608)
[ 0.209115].(0)[1:swapper/0] s:208331153 e:208332615 d:1462
[ 0.209897].(0)[1:swapper/0][cpu_ntf] <15>c07f3028 (migration_call)
[ 0.210676].(0)[1:swapper/0][cpu_ntf] <16>c07f2fa4 (sched_cpu_active)
[ 0.211454].(0)[1:swapper/0][cpu_ntf] <17>c07f2fd8 (sched_cpu_inactive)
[ 0.212230].(0)[1:swapper/0][init] f(c0adefbc)
[ 0.213007].(0)[1:swapper/0] s:209884461 e:212225230 d:2340769
[ 0.233863].(0)[1:swapper/0][init] f(c0ae2094)
[ 0.234643].(0)[1:swapper/0] s:213814692 e:233855923 d:20041231
[ 0.235419].(0)[1:swapper/0][init] f(c0ae25d8)
[ 0.236196].(0)[1:swapper/0] s:235413923 e:235414692 d:769
[ 0.237161].(0)[1:swapper/0][init] f(c0ae25fc)
[ 0.237940].(0)[1:swapper/0] s:236965000 e:237153384 d:188384
[ 0.238783].(0)[1:swapper/0][cpu_ntf] <18>c00fb0a0 (rb_cpu_notify)
[ 0.239619].(0)[1:swapper/0][init] f(c0ae2fb4)
[ 0.240397].(0)[1:swapper/0] s:238710846 e:239613615 d:902769
[ 0.241180].(0)[1:swapper/0][init] f(c0ae3188)
[ 0.241955].(0)[1:swapper/0] s:241166923 e:241175461 d:8538
[ 0.242731].(0)[1:swapper/0][init] f(c0ae3244)
[ 0.243507].(0)[1:swapper/0] s:242724692 e:242726153 d:1461
[ 0.244322].(0)[1:swapper/0][init] f(c0ae32a4)
[ 0.245101].(0)[1:swapper/0] s:244310307 e:244315230 d:4923
[ 0.245877].(0)[1:swapper/0][init] f(c0afe5a4)
[ 0.246652].(0)[1:swapper/0] s:245871384 e:245872076 d:692
[ 0.264649].(0)[1:swapper/0]Boot slave CPU
[ 0.265425].(0)[1:swapper/0][Power/hotplug] boot_secondary, cpu: 1
[ 0.266202].(0)[1:swapper/0][Power/hotplug] SLAVE1_MAGIC_NUM:534c4131
[ 0.266977].(0)[1:swapper/0]mt_wakeup_cpu: first boot!(1)
[ 1.265757].(0)[1:swapper/0]CPU1, debug event: 0x00000009, debug monitor: 0x00000000
[ 1.266531]Backtrace:
[ 1.268103]-(0)[1:swapper/0][<c00129c8>] (dump_backtrace+0x0/0x110) from [<c07f4ac0>] (dump_stack+0x18/0x1c)
[ 1.268878] r6:400e0113 r5:00000000 r4:c07f4aa8 r3:df828000
[ 1.272771]-(0)[1:swapper/0][<c07f4aa8>] (dump_stack+0x0/0x1c) from [<c00d442c>] (on_each_cpu+0x44/0x78)
[ 1.273563]-(0)[1:swapper/0][<c00d43e8>] (on_each_cpu+0x0/0x78) from [<c07f202c>] (mt_boot_secondary+0x228/0x244)
[ 1.274337] r7:c0b330c0 r6:ffff8b4e r5:c0b71278 r4:c0bee0fc
[ 1.278201]-(0)[1:swapper/0][<c07f1e04>] (mt_boot_secondary+0x0/0x244) from [<c07f1518>] (boot_secondary+0x24/0x30)
[ 1.278991]-(0)[1:swapper/0][<c07f14f4>] (boot_secondary+0x0/0x30) from [<c07f1588>] (__cpu_up+0x64/0xf8)
[ 1.279781]-(0)[1:swapper/0][<c07f1524>] (__cpu_up+0x0/0xf8) from [<c07f22a4>] (_cpu_up+0xf8/0x160)
[ 1.280555] r6:00000000 r5:c0b43944 r4:00000001 r3:00000000
[ 1.284417]-(0)[1:swapper/0][<c07f21ac>] (_cpu_up+0x0/0x160) from [<c07f2384>] (cpu_up+0x78/0x94)
[ 1.285207]-(0)[1:swapper/0][<c07f230c>] (cpu_up+0x0/0x94) from [<c0ae0ff4>] (smp_init+0xe8/0xec)
[ 1.285981] r4:00000001 r3:00000001
[ 1.288310]-(0)[1:swapper/0][<c0ae0f0c>] (smp_init+0x0/0xec) from [<c0ad3c1c>] (kernel_init_freeable+0x94/0x1e8)
[ 1.289100]-(0)[1:swapper/0][<c0ad3b88>] (kernel_init_freeable+0x0/0x1e8) from [<c07ee3d8>] (kernel_init+0x10/0x170)
[ 1.289890]-(0)[1:swapper/0][<c07ee3c8>] (kernel_init+0x0/0x170) from [<c000e6d8>] (ret_from_fork+0x14/0x3c)
[ 1.290664] r5:c07ee3c8 r4:00000000
[ 2.294354].(0)[1:swapper/0]CPU1: failed to come online
[ 2.314673].(0)[1:swapper/0]Boot slave CPU
[ 2.315449].(0)[1:swapper/0][Power/hotplug] boot_secondary, cpu: 2
[ 2.316226].(0)[1:swapper/0][Power/hotplug] SLAVE2_MAGIC_NUM:4c415332
[ 2.317000].(0)[1:swapper/0]mt_wakeup_cpu: first boot!(2)
[ 3.315794].(0)[1:swapper/0]CPU2, debug event: 0x0000000a, debug monitor: 0x00000000
[ 3.316568]Backtrace:
[ 3.318131]-(0)[1:swapper/0][<c00129c8>] (dump_backtrace+0x0/0x110) from [<c07f4ac0>] (dump_stack+0x18/0x1c)
[ 3.318905] r6:400e0113 r5:00000000 r4:c07f4aa8 r3:df828000
[ 3.322791]-(0)[1:swapper/0][<c07f4aa8>] (dump_stack+0x0/0x1c) from [<c00d442c>] (on_each_cpu+0x44/0x78)
[ 3.323582]-(0)[1:swapper/0][<c00d43e8>] (on_each_cpu+0x0/0x78) from [<c07f202c>] (mt_boot_secondary+0x228/0x244)
[ 3.324355] r7:c0b330c0 r6:ffff8c19 r5:c0b71278 r4:c0bee0fc
[ 3.328234]-(0)[1:swapper/0][<c07f1e04>] (mt_boot_secondary+0x0/0x244) from [<c07f1518>] (boot_secondary+0x24/0x30)
[ 3.329024]-(0)[1:swapper/0][<c07f14f4>] (boot_secondary+0x0/0x30) from [<c07f1588>] (__cpu_up+0x64/0xf8)
[ 3.329814]-(0)[1:swapper/0][<c07f1524>] (__cpu_up+0x0/0xf8) from [<c07f22a4>] (_cpu_up+0xf8/0x160)
[ 3.330587] r6:00000000 r5:c0b43944 r4:00000002 r3:00000000
[ 3.334459]-(0)[1:swapper/0][<c07f21ac>] (_cpu_up+0x0/0x160) from [<c07f2384>] (cpu_up+0x78/0x94)
[ 3.335247]-(0)[1:swapper/0][<c07f230c>] (cpu_up+0x0/0x94) from [<c0ae0ff4>] (smp_init+0xe8/0xec)
[ 3.336020] r4:00000002 r3:00000001
[ 3.338347]-(0)[1:swapper/0][<c0ae0f0c>] (smp_init+0x0/0xec) from [<c0ad3c1c>] (kernel_init_freeable+0x94/0x1e8)
[ 3.339137]-(0)[1:swapper/0][<c0ad3b88>] (kernel_init_freeable+0x0/0x1e8) from [<c07ee3d8>] (kernel_init+0x10/0x170)
[ 3.339926]-(0)[1:swapper/0][<c07ee3c8>] (kernel_init+0x0/0x170) from [<c000e6d8>] (ret_from_fork+0x14/0x3c)
[ 3.340700] r5:c07ee3c8 r4:00000000
[ 4.344395].(0)[1:swapper/0]CPU2: failed to come online
[ 4.364721].(0)[1:swapper/0]Boot slave CPU
[ 4.365497].(0)[1:swapper/0][Power/hotplug] boot_secondary, cpu: 3
[ 4.366273].(0)[1:swapper/0][Power/hotplug] SLAVE3_MAGIC_NUM:41534c33
[ 4.367047].(0)[1:swapper/0]mt_wakeup_cpu: first boot!(3)
[ 5.365829].(0)[1:swapper/0]CPU3, debug event: 0x0000000b, debug monitor: 0x00000000
[ 5.366603]Backtrace:
[ 5.368167]-(0)[1:swapper/0][<c00129c8>] (dump_backtrace+0x0/0x110) from [<c07f4ac0>] (dump_stack+0x18/0x1c)
[ 5.368941] r6:400e0113 r5:00000000 r4:c07f4aa8 r3:df828000
[ 5.372834]-(0)[1:swapper/0][<c07f4aa8>] (dump_stack+0x0/0x1c) from [<c00d442c>] (on_each_cpu+0x44/0x78)
[ 5.373626]-(0)[1:swapper/0][<c00d43e8>] (on_each_cpu+0x0/0x78) from [<c07f202c>] (mt_boot_secondary+0x228/0x244)
[ 5.374400] r7:c0b330c0 r6:ffff8ce4 r5:c0b71278 r4:c0bee0fc
[ 5.378286]-(0)[1:swapper/0][<c07f1e04>] (mt_boot_secondary+0x0/0x244) from [<c07f1518>] (boot_secondary+0x24/0x30)
[ 5.379075]-(0)[1:swapper/0][<c07f14f4>] (boot_secondary+0x0/0x30) from [<c07f1588>] (__cpu_up+0x64/0xf8)
[ 5.379863]-(0)[1:swapper/0][<c07f1524>] (__cpu_up+0x0/0xf8) from [<c07f22a4>] (_cpu_up+0xf8/0x160)
[ 5.380637] r6:00000000 r5:c0b43944 r4:00000003 r3:00000000
[ 5.384511]-(0)[1:swapper/0][<c07f21ac>] (_cpu_up+0x0/0x160) from [<c07f2384>] (cpu_up+0x78/0x94)
[ 5.385298]-(0)[1:swapper/0][<c07f230c>] (cpu_up+0x0/0x94) from [<c0ae0ff4>] (smp_init+0xe8/0xec)
[ 5.386070] r4:00000003 r3:00000001
[ 5.388398]-(0)[1:swapper/0][<c0ae0f0c>] (smp_init+0x0/0xec) from [<c0ad3c1c>] (kernel_init_freeable+0x94/0x1e8)
[ 5.389187]-(0)[1:swapper/0][<c0ad3b88>] (kernel_init_freeable+0x0/0x1e8) from [<c07ee3d8>] (kernel_init+0x10/0x170)
[ 5.389974]-(0)[1:swapper/0][<c07ee3c8>] (kernel_init+0x0/0x170) from [<c000e6d8>] (ret_from_fork+0x14/0x3c)
[ 5.390747] r5:c07ee3c8 r4:00000000
[ 6.394433].(0)[1:swapper/0]CPU3: failed to come online
[ 6.395403].(0)[1:swapper/0][cpu_ntf] <19>c00855d0 (sched_domains_numa_masks_update)
[ 6.396186].(0)[1:swapper/0][cpu_ntf] <20>c008ed1c (cpuset_cpu_active)
[ 6.396966].(0)[1:swapper/0][cpu_ntf] <21>c008edc0 (cpuset_cpu_inactive)
[ 6.397747].(0)[1:swapper/0][cpu_ntf] <22>c009bd70 (update_runtime)
[ 6.398525].(0)[1:swapper/0][cpu_ntf] <23>c0088a1c (hotplug_hrtick)
[ 6.405437].(0)[1:swapper/0][init] f(c0af4a6c)
[ 6.406219].(0)[1:swapper/0] s:6405422923 e:6405425000 d:2077
[ 6.406994].(0)[1:swapper/0][init] f(c0af4b04)
[ 6.407771].(0)[1:swapper/0] s:6406988692 e:6406989384 d:692
[ 6.408561].(0)[1:swapper/0][init] f(c0b047b0)
[ 6.409337].(0)[1:swapper/0] s:6408541461 e:6408555615 d:14154
[ 6.410120].(0)[1:swapper/0][init] f(c0b06668)
[ 6.410898].(0)[1:swapper/0] s:6410105846 e:6410115308 d:9462
[ 6.412218].(0)[1:swapper/0][init] f(c0ad56a0)
[ 6.412995].(0)[1:swapper/0] s:6412210538 e:6412212538 d:2000
[ 6.413772].(0)[1:swapper/0][init] f(c0ad6a64)
[ 6.414604].(0)[1:swapper/0] s:6413765538 e:6413767384 d:1846
[ 6.415382].(0)[1:swapper/0][init] f(c0ad9618)
[ 6.416158].(0)[1:swapper/0] s:6415376231 e:6415376846 d:615
[ 6.416933].(0)[1:swapper/0][init] f(c0adbd68)
[ 6.417709].(0)[1:swapper/0] s:6416926769 e:6416928308 d:1539
[ 6.418485].(0)[1:swapper/0][init] f(c0adbd54)
[ 6.419261].(0)[1:swapper/0] s:6418479769 e:6418480154 d:385
[ 6.420097].(0)[1:swapper/0][init] f(c0adcf04)
[ 6.420876].(0)[1:swapper/0] s:6420029538 e:6420091154 d:61616
[ 6.421683].(0)[1:swapper/0][init] f(c0addd44)
[ 6.422460].(0)[1:swapper/0] s:6421645923 e:6421677461 d:31538
[ 6.423293].(0)[1:swapper/0][init] f(c0adfaa8)
[ 6.424073].(0)[1:swapper/0] s:6423229538 e:6423286692 d:57154
[ 6.424899].(0)[1:swapper/0][init] f(c0adfdbc)
[ 6.425677].(0)[1:swapper/0] s:6424881769 e:6424892154 d:10385
[ 6.426455].(0)[1:swapper/0][init] f(c00bf528)
[ 6.427231].(0)[1:swapper/0] s:6426448384 e:6426450384 d:2000
[ 6.428209].(0)[1:swapper/0][init] f(c0ae0060)
[ 6.428987].(0)[1:swapper/0] s:6428000077 e:6428201384 d:201307
[ 6.429768].(0)[1:swapper/0][init] f(c0ae02e0)
[ 6.430545].(0)[1:swapper/0] s:6429757538 e:6429762538 d:5000
[ 6.431322].(0)[1:swapper/0][init] f(c0ae0738)
[ 6.432097].(0)[1:swapper/0] s:6431315308 e:6431317615 d:2307
[ 6.432964].(0)[1:swapper/0][init] f(c0ae1bd0)
[ 6.433742].(0)[1:swapper/0] s:6432866384 e:6432957308 d:90924
[ 6.435605].(0)[1:swapper/0][init] f(c0ae3548)
[ 6.436386].(0)[1:swapper/0] s:6434513538 e:6435595846 d:1082308
[ 6.437164].(0)[1:swapper/0][init] f(c01102e0)
[ 6.437940].(0)[1:swapper/0] s:6437157692 e:6437159231 d:1539
[ 6.438715].(0)[1:swapper/0][init] f(c0ae7994)
[ 6.439492].(0)[1:swapper/0] s:6438709308 e:6438710077 d:769
[ 6.440280].(0)[1:swapper/0][init] f(c0aeb2d0)
[ 6.441056].(0)[1:swapper/0] s:6440261692 e:6440275308 d:13616
[ 6.441852].(0)[1:swapper/0][init] f(c0aeb6f8)
[ 6.442628].(0)[1:swapper/0] s:6441825154 e:6441846231 d:21077
[ 6.443404].(0)[1:swapper/0][init] f(c0aeb740)
[ 6.444181].(0)[1:swapper/0] s:6443397846 e:6443399384 d:1538
[ 6.444978].(0)[1:swapper/0][init] f(c0aeb764)
[ 6.445756].(0)[1:swapper/0] s:6444971692 e:6444972615 d:923
[ 6.446544].(0)[1:swapper/0][init] f(c0af4890)
[ 6.447320].(0)[1:swapper/0] s:6446524461 e:6446539000 d:14539
[ 6.448097].(0)[1:swapper/0][init] f(c0af7ecc)
[ 6.448874].(0)[1:swapper/0] s:6448090308 e:6448092461 d:2153
[ 6.449666].(0)[1:swapper/0][init] f(c0afbadc)
[ 6.450442].(0)[1:swapper/0] s:6449643308 e:6449661231 d:17923
[ 6.451314].(0)[1:swapper/0][init] f(c0afe39c)
[ 6.452092].(0)[1:swapper/0] s:6451211692 e:6451307769 d:96077
[ 6.452874].(0)[1:swapper/0][init] f(c0b047dc)
[ 6.453651].(0)[1:swapper/0] s:6452862692 e:6452869538 d:6846
[ 6.454577].(0)[1:swapper/0][init] f(c0b064e4)
[ 6.455377].(0)[1:swapper/0] s:6454420461 e:6454569692 d:149231
[ 6.456205].(0)[1:swapper/0][init] f(c0b07da0)
[ 6.456982].(0)[1:swapper/0] s:6456148461 e:6456198461 d:50000
[ 6.459952].(0)[1:swapper/0][init] f(c0ad70b8)
[ 6.460729].(0)[1:swapper/0] s:6458310538 e:6459946769 d:1636231
[ 6.461636].(0)[1:swapper/0][init] f(c0ae63d8)
[ 6.462415].(0)[1:swapper/0] s:6461497923 e:6461627615 d:129692
[ 6.463202].(0)[1:swapper/0][init] f(c0af7e18)
[ 6.463978].(0)[1:swapper/0] s:6463184923 e:6463196769 d:11846
[ 6.464788].(0)[1:swapper/0][init] f(c0af8478)
[ 6.465589].(0)[1:swapper/0] s:6464749000 e:6464782231 d:33231
[ 6.466382].(0)[1:swapper/0][init] f(c0af8494)
[ 6.467159].(0)[1:swapper/0] s:6466360154 e:6466376692 d:16538
[ 6.467949].(0)[1:swapper/0][init] f(c0afb534)
[ 6.468727].(0)[1:swapper/0] s:6467930154 e:6467942769 d:12615
[ 6.469502].(0)[1:swapper/0][PWRAP] common driver init, version $Revision$
[ 6.470305].(0)[1:swapper/0][init] f(c0afeb34)
[ 6.471082].(0)[1:swapper/0] s:6469496846 e:6470300538 d:803692
[ 6.471856].(0)[1:swapper/0][PWRAP] HAL init: version $Revision$
[ 6.472650].(0)[1:swapper/0][init] f(c0afebac)
[ 6.473427].(0)[1:swapper/0] s:6471851846 e:6472644231 d:792385
[ 6.474244].(0)[1:swapper/0][init] f(c0b01a80)
[ 6.475022].(0)[1:swapper/0] s:6474197308 e:6474238769 d:41461
[ 6.475875].(0)[1:swapper/0][init] f(c0b03324)
[ 6.476652].(0)[1:swapper/0] s:6475806077 e:6475868692 d:62615
[ 6.477979].(0)[1:swapper/0][init] f(c0ad5628)
[ 6.478757].(0)[1:swapper/0] s:6477972769 e:6477973461 d:692
[ 6.479534].(0)[1:swapper/0][init] f(c0ad57d8)
[ 6.480310].(0)[1:swapper/0] s:6479527692 e:6479529308 d:1616
[ 6.481104].(0)[1:swapper/0][init] f(c0ad6870)
[ 6.481880].(0)[1:swapper/0] s:6481079231 e:6481098461 d:19230
[ 6.482664]-(0)[1:swapper/0]hw-breakpoint: Failed to enable monitor mode on CPU 0.
[ 6.483441].(0)[1:swapper/0][init] f(c0ad6d24)
[ 6.484217].(0)[1:swapper/0] s:6482650692 e:6483436538 d:785846
[ 6.484992].(0)[1:swapper/0][init] f(c0ad7318)
[ 6.485768].(0)[1:swapper/0] s:6484986231 e:6484987538 d:1307
[ 6.486608].(0)[1:swapper/0][pdev] dbg_reg_dump
[ 6.487386].(0)[1:swapper/0] s:6486555538 e:6486602615 d:47077
[ 6.488160].(0)[1:swapper/0][init] f(c0ada494)
[ 6.488938].(0)[1:swapper/0] s:6486554615 e:6488155923 d:1601308
[ 6.489718].(0)[1:swapper/0][Power/PM_INIT] Bus Frequency = 273000 KHz
[ 6.491727].(0)[1:swapper/0][SPM] PWAKE_EN:1, PCMWDT_EN:1, BYPASS_SYSPWREQ:0
[ 6.492505].(0)[1:swapper/0][SLP] SLEEP_DPIDLE_EN:1, REPLACE_DEF_WAKESRC:0, SUSPEND_LOG_EN:1
Reserved #2
Reserved #3
@k4y0z This looks promising. Thanks for being such a great help to the community. Devs like you are the reason I am on XDA. Also a shout out to @csolanol for being such a cool dude and ignoring the haters because I'm loving SlimLP on this bad boy.
Not too much knowledge about this stuff here but assuming that you are building your own kernel and boot image maybe CPU cores can't go up because of system permissions on /proc stuff.
Just an idea.
Ty for sharing your awesome work.
csolanol said:
Not too much knowledge about this stuff here but assuming that you are building your own kernel and boot image maybe CPU cores can't go up because of system permissions on /proc stuff.
Just an idea.
Ty for sharing your awesome work.
Click to expand...
Click to collapse
The kernel boots fine when I load it via fastboot.
I believe the problem is SMP-related.
It seems kexec doesn't reset the cpu-cores properly and when it jumps to the new kernel, the initialization fails.
k4y0z said:
I have successfully compiled kexec for the ford, however booting a kernel doesn't completely work.
It seems like the cpu-cores aren't shut down completely, hopefully someone here has an Idea how to get that going.
This is what it currently looks like trying to boot a kernel using kexec:
Code:
[ 0.000000]-(0)[0:swapper]Linux version 3.10.54+ ([email protected]) (gcc version 4.8 (GCC) ) #17 SMP PREEMPT Sun Dec 13 18:00:30 CET 2015
[ 0.000000]-(0)[0:swapper]CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
[ 0.000000]-(0)[0:swapper]CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000]-(0)[0:swapper]Machine: MT8117
[ 0.000000]-(0)[0:swapper]Load default dfo data...
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] DFO:MTK_MD5_SUPPORT:0x00000005
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] DFO:MTK_ENABLE_MD5:0x00000000
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] DFO:MD5_SIZE:0x01600000
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] Get DFO:MTK_MD5_SUPPORT:0x00000005
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] Get DFO:MTK_ENABLE_MD5:0x00000000
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] Get DFO:MD5_SIZE:0x01600000
[ 0.000000]-(0)[0:swapper]tag_devinfo_data_rid, index[12]:0xd7b56d97
[ 0.000000]-(0)[0:swapper]tag_devinfo_data size:26
[ 0.000000]-(0)[0:swapper]Get MD inf from META
[ 0.000000]-(0)[0:swapper]md_inf[0]=0
[ 0.000000]-(0)[0:swapper]md_inf[1]=0
[ 0.000000]-(0)[0:swapper]md_inf[2]=0
[ 0.000000]-(0)[0:swapper]md_inf[3]=0
[ 0.000000]-(0)[0:swapper][LCM Auto Detect], we have 1 lcm drivers built in
[ 0.000000]-(0)[0:swapper][LCM Auto Detect], try to find driver for [hx8282_a01_lvds_dpi_vdo]
[ 0.000000]-(0)[0:swapper][LCM Specified] [hx8282_a01_lvds_dpi_vdo]
[ 0.000000]-(0)[0:swapper][PHY layout]avaiable DRAM size (lk) = 0x37a00000
[ 0.000000][PHY layout]avaiable DRAM size = 0x37a00000
[ 0.000000][PHY layout]FB : 0xb6a00000 - 0xb79fffff (0x1000000)
[ 0.000000]-(0)[0:swapper]Ignoring unrecognised tag 0x41000802
[ 0.000000]-(0)[0:swapper]Ignoring unrecognised tag 0x41000804
[ 0.000000]-(0)[0:swapper]Ignoring unrecognised tag 0x54410008
[ 0.000000]-(0)[0:swapper]Ignoring unrecognised tag 0x41000806
[ 0.000000]-(0)[0:swapper][memblock]mt_reserve: 0x83f00000 - 0x83ffffff (0x00100000)
[ 0.000000]-(0)[0:swapper][PHY layout]mtk_wcn_consys_memory_reserve : 0xb6900000 - 0xb69fffff (0x00100000)
[ 0.000000]-(0)[0:swapper][WMT-CONSYS-HW][I]mtk_wcn_consys_memory_reserve:memblock done: 0xb6900000
[ 0.000000]-(0)[0:swapper]Memory policy: ECC disabled, Data cache writealloc
[ 0.000000]-(0)[0:swapper][PHY layout]kernel : 0x80000000 - 0xb68fffff (0x36900000)
[ 0.000000]-(0)[0:swapper]creating mapping start pa: 0x80000000 @ 0xc0000000 , end pa: 0xa0000000 @ 0xe0000000
[ 0.000000]-(0)[0:swapper][CORE] num:4
[ 0.000000]-(0)[0:swapper]Built 1 zonelists in Zone order, mobility grouping on. Total pages: 222464
[ 0.000000]-(0)[0:swapper][cpu_ntf] <00>c01241a0 (page_alloc_cpu_notify)
[ 0.000000]-(0)[0:swapper]Kernel command line: console=tty0 console=ttyMT3,921600n1 root=/dev/ram vmalloc=496M slub_max_order=0 slub_debug=O coherent_pool=3240K androidboot.unlocked_kernel=false androidboot.rpmb_state=1 androidboot.prod=1 lcm=1-hx8282_a01_lvds_dpi_vdo fps=5962 vram=16777216 bootprof.pl_t=1981 bootprof.lk_t=1571 printk.disable_uart=0 boot_reason=4 androidboot.serialno=################ androidboot.bootreason=wdt_by_pass_pwk kexec
[ 0.000000]-(0)[0:swapper]Memory: 868192k/868192k available, 26784k reserved, 369664K highmem
[ 0.000000]-(0)[0:swapper]Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0ad2e0c (11052 kB)
[ 0.000000] .init : 0xc0ad3000 - 0xc0b2d480 ( 362 kB)
[ 0.000000] .data : 0xc0b2e000 - 0xc0bf0c28 ( 780 kB)
[ 0.000000] .bss : 0xc0bf0c28 - 0xc0d884c4 (1631 kB)
[ 0.000000]-(0)[0:swapper][cpu_ntf] <01>c07f40b8 (slab_cpuup_callback)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <02>c07f3418 (sched_ilb_notifier)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <03>c07f3ed0 (perf_cpu_notify)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <04>c07f36ec (rcu_cpu_notify)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <05>c02b803c (radix_tree_callback)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <06>c07f2638 (timer_cpu_notify)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <07>c07f2cf8 (hrtimer_cpu_notify)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <08>c07f23f8 (remote_softirq_cpu_notify)
[ 0.000000]-(0)[0:swapper/0]GPT1_CMP = 130000, HZ = 100
[ 0.000000]-(0)[0:swapper/0]fwq sysc count
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <09>c00d3c68 (hotplug_cfd)
[ 0.000000].(0)[0:swapper/0]ram_console: buffer start: 0xe0800000, size: 0x100000
[ 0.000000].(0)[0:swapper/0]ram_console: log size 0xffc80, start 0x49da8, off_console 0x380, buffer_size 0x100000
[ 0.000000].(0)[0:swapper/0]ram_console: lk[0], linux[200], console[380]
[ 0.000000].(0)[0:swapper/0]ram_console: old_header[df806000], buffer[e0800000], header_size[380]
[ 0.000000].(0)[0:swapper/0]ram_console:bin_log_count[190]
[ 0.000000].(0)[0:swapper/0][UART] mtk console setup : co->index 3 options:921600n1
[ 0.000000]-(0)[0:swapper/0]No Flow Control
[ 0.000000].(0)[0:swapper/0][UART] mtk console setup : uart_set_option port(3) baud(921600) parity(n) bits(1) flow(n) - ret(0)
[ 0.000000].(0)[0:swapper/0][UART] mtk setting: (0, 0, 0, 0, 128)
[ 0.122572].(0)[0:swapper/0][cpu_ntf] <10>c018c618 (buffer_cpu_notify)
[ 0.123957].(0)[0:swapper/0][cpu_ntf] <11>c07f3f1c (ratelimit_handler)
[ 0.125373]Calibrating local timer... 13.01MHz.
[ 0.183230].(0)[1:swapper/0][init] f(c0ad567c)
[ 0.184007].(0)[1:swapper/0] s:183221461 e:183222923 d:1462
[ 0.184781].(0)[1:swapper/0][init] f(c0ad5658)
[ 0.185558].(0)[1:swapper/0] s:184776230 e:184776615 d:385
[ 0.186368].(0)[1:swapper/0][init] f(c0ad803c)
[ 0.187148].(0)[1:swapper/0] s:186327846 e:186358615 d:30769
[ 0.187931].(0)[1:swapper/0][cpu_ntf] <12>c07f24c0 (cpu_callback)
[ 0.203282].(0)[1:swapper/0][init] f(c0adbdcc)
[ 0.204063].(0)[1:swapper/0] s:187918461 e:203274923 d:15356462
[ 0.204850].(0)[1:swapper/0][cpu_ntf] <13>c07f290c (workqueue_cpu_up_callback)
[ 0.205628].(0)[1:swapper/0][cpu_ntf] <14>c07f2c50 (workqueue_cpu_down_callback)
[ 0.206782].(0)[1:swapper/0][init] f(c0add0ac)
[ 0.207560].(0)[1:swapper/0] s:204833076 e:206774076 d:1941000
[ 0.208337].(0)[1:swapper/0][init] f(c0add608)
[ 0.209115].(0)[1:swapper/0] s:208331153 e:208332615 d:1462
[ 0.209897].(0)[1:swapper/0][cpu_ntf] <15>c07f3028 (migration_call)
[ 0.210676].(0)[1:swapper/0][cpu_ntf] <16>c07f2fa4 (sched_cpu_active)
[ 0.211454].(0)[1:swapper/0][cpu_ntf] <17>c07f2fd8 (sched_cpu_inactive)
[ 0.212230].(0)[1:swapper/0][init] f(c0adefbc)
[ 0.213007].(0)[1:swapper/0] s:209884461 e:212225230 d:2340769
[ 0.233863].(0)[1:swapper/0][init] f(c0ae2094)
[ 0.234643].(0)[1:swapper/0] s:213814692 e:233855923 d:20041231
[ 0.235419].(0)[1:swapper/0][init] f(c0ae25d8)
[ 0.236196].(0)[1:swapper/0] s:235413923 e:235414692 d:769
[ 0.237161].(0)[1:swapper/0][init] f(c0ae25fc)
[ 0.237940].(0)[1:swapper/0] s:236965000 e:237153384 d:188384
[ 0.238783].(0)[1:swapper/0][cpu_ntf] <18>c00fb0a0 (rb_cpu_notify)
[ 0.239619].(0)[1:swapper/0][init] f(c0ae2fb4)
[ 0.240397].(0)[1:swapper/0] s:238710846 e:239613615 d:902769
[ 0.241180].(0)[1:swapper/0][init] f(c0ae3188)
[ 0.241955].(0)[1:swapper/0] s:241166923 e:241175461 d:8538
[ 0.242731].(0)[1:swapper/0][init] f(c0ae3244)
[ 0.243507].(0)[1:swapper/0] s:242724692 e:242726153 d:1461
[ 0.244322].(0)[1:swapper/0][init] f(c0ae32a4)
[ 0.245101].(0)[1:swapper/0] s:244310307 e:244315230 d:4923
[ 0.245877].(0)[1:swapper/0][init] f(c0afe5a4)
[ 0.246652].(0)[1:swapper/0] s:245871384 e:245872076 d:692
[ 0.264649].(0)[1:swapper/0]Boot slave CPU
[ 0.265425].(0)[1:swapper/0][Power/hotplug] boot_secondary, cpu: 1
[ 0.266202].(0)[1:swapper/0][Power/hotplug] SLAVE1_MAGIC_NUM:534c4131
[ 0.266977].(0)[1:swapper/0]mt_wakeup_cpu: first boot!(1)
[ 1.265757].(0)[1:swapper/0]CPU1, debug event: 0x00000009, debug monitor: 0x00000000
[ 1.266531]Backtrace:
[ 1.268103]-(0)[1:swapper/0][<c00129c8>] (dump_backtrace+0x0/0x110) from [<c07f4ac0>] (dump_stack+0x18/0x1c)
[ 1.268878] r6:400e0113 r5:00000000 r4:c07f4aa8 r3:df828000
[ 1.272771]-(0)[1:swapper/0][<c07f4aa8>] (dump_stack+0x0/0x1c) from [<c00d442c>] (on_each_cpu+0x44/0x78)
[ 1.273563]-(0)[1:swapper/0][<c00d43e8>] (on_each_cpu+0x0/0x78) from [<c07f202c>] (mt_boot_secondary+0x228/0x244)
[ 1.274337] r7:c0b330c0 r6:ffff8b4e r5:c0b71278 r4:c0bee0fc
[ 1.278201]-(0)[1:swapper/0][<c07f1e04>] (mt_boot_secondary+0x0/0x244) from [<c07f1518>] (boot_secondary+0x24/0x30)
[ 1.278991]-(0)[1:swapper/0][<c07f14f4>] (boot_secondary+0x0/0x30) from [<c07f1588>] (__cpu_up+0x64/0xf8)
[ 1.279781]-(0)[1:swapper/0][<c07f1524>] (__cpu_up+0x0/0xf8) from [<c07f22a4>] (_cpu_up+0xf8/0x160)
[ 1.280555] r6:00000000 r5:c0b43944 r4:00000001 r3:00000000
[ 1.284417]-(0)[1:swapper/0][<c07f21ac>] (_cpu_up+0x0/0x160) from [<c07f2384>] (cpu_up+0x78/0x94)
[ 1.285207]-(0)[1:swapper/0][<c07f230c>] (cpu_up+0x0/0x94) from [<c0ae0ff4>] (smp_init+0xe8/0xec)
[ 1.285981] r4:00000001 r3:00000001
[ 1.288310]-(0)[1:swapper/0][<c0ae0f0c>] (smp_init+0x0/0xec) from [<c0ad3c1c>] (kernel_init_freeable+0x94/0x1e8)
[ 1.289100]-(0)[1:swapper/0][<c0ad3b88>] (kernel_init_freeable+0x0/0x1e8) from [<c07ee3d8>] (kernel_init+0x10/0x170)
[ 1.289890]-(0)[1:swapper/0][<c07ee3c8>] (kernel_init+0x0/0x170) from [<c000e6d8>] (ret_from_fork+0x14/0x3c)
[ 1.290664] r5:c07ee3c8 r4:00000000
[ 2.294354].(0)[1:swapper/0]CPU1: failed to come online
[ 2.314673].(0)[1:swapper/0]Boot slave CPU
[ 2.315449].(0)[1:swapper/0][Power/hotplug] boot_secondary, cpu: 2
[ 2.316226].(0)[1:swapper/0][Power/hotplug] SLAVE2_MAGIC_NUM:4c415332
[ 2.317000].(0)[1:swapper/0]mt_wakeup_cpu: first boot!(2)
[ 3.315794].(0)[1:swapper/0]CPU2, debug event: 0x0000000a, debug monitor: 0x00000000
[ 3.316568]Backtrace:
[ 3.318131]-(0)[1:swapper/0][<c00129c8>] (dump_backtrace+0x0/0x110) from [<c07f4ac0>] (dump_stack+0x18/0x1c)
[ 3.318905] r6:400e0113 r5:00000000 r4:c07f4aa8 r3:df828000
[ 3.322791]-(0)[1:swapper/0][<c07f4aa8>] (dump_stack+0x0/0x1c) from [<c00d442c>] (on_each_cpu+0x44/0x78)
[ 3.323582]-(0)[1:swapper/0][<c00d43e8>] (on_each_cpu+0x0/0x78) from [<c07f202c>] (mt_boot_secondary+0x228/0x244)
[ 3.324355] r7:c0b330c0 r6:ffff8c19 r5:c0b71278 r4:c0bee0fc
[ 3.328234]-(0)[1:swapper/0][<c07f1e04>] (mt_boot_secondary+0x0/0x244) from [<c07f1518>] (boot_secondary+0x24/0x30)
[ 3.329024]-(0)[1:swapper/0][<c07f14f4>] (boot_secondary+0x0/0x30) from [<c07f1588>] (__cpu_up+0x64/0xf8)
[ 3.329814]-(0)[1:swapper/0][<c07f1524>] (__cpu_up+0x0/0xf8) from [<c07f22a4>] (_cpu_up+0xf8/0x160)
[ 3.330587] r6:00000000 r5:c0b43944 r4:00000002 r3:00000000
[ 3.334459]-(0)[1:swapper/0][<c07f21ac>] (_cpu_up+0x0/0x160) from [<c07f2384>] (cpu_up+0x78/0x94)
[ 3.335247]-(0)[1:swapper/0][<c07f230c>] (cpu_up+0x0/0x94) from [<c0ae0ff4>] (smp_init+0xe8/0xec)
[ 3.336020] r4:00000002 r3:00000001
[ 3.338347]-(0)[1:swapper/0][<c0ae0f0c>] (smp_init+0x0/0xec) from [<c0ad3c1c>] (kernel_init_freeable+0x94/0x1e8)
[ 3.339137]-(0)[1:swapper/0][<c0ad3b88>] (kernel_init_freeable+0x0/0x1e8) from [<c07ee3d8>] (kernel_init+0x10/0x170)
[ 3.339926]-(0)[1:swapper/0][<c07ee3c8>] (kernel_init+0x0/0x170) from [<c000e6d8>] (ret_from_fork+0x14/0x3c)
[ 3.340700] r5:c07ee3c8 r4:00000000
[ 4.344395].(0)[1:swapper/0]CPU2: failed to come online
[ 4.364721].(0)[1:swapper/0]Boot slave CPU
[ 4.365497].(0)[1:swapper/0][Power/hotplug] boot_secondary, cpu: 3
[ 4.366273].(0)[1:swapper/0][Power/hotplug] SLAVE3_MAGIC_NUM:41534c33
[ 4.367047].(0)[1:swapper/0]mt_wakeup_cpu: first boot!(3)
[ 5.365829].(0)[1:swapper/0]CPU3, debug event: 0x0000000b, debug monitor: 0x00000000
[ 5.366603]Backtrace:
[ 5.368167]-(0)[1:swapper/0][<c00129c8>] (dump_backtrace+0x0/0x110) from [<c07f4ac0>] (dump_stack+0x18/0x1c)
[ 5.368941] r6:400e0113 r5:00000000 r4:c07f4aa8 r3:df828000
[ 5.372834]-(0)[1:swapper/0][<c07f4aa8>] (dump_stack+0x0/0x1c) from [<c00d442c>] (on_each_cpu+0x44/0x78)
[ 5.373626]-(0)[1:swapper/0][<c00d43e8>] (on_each_cpu+0x0/0x78) from [<c07f202c>] (mt_boot_secondary+0x228/0x244)
[ 5.374400] r7:c0b330c0 r6:ffff8ce4 r5:c0b71278 r4:c0bee0fc
[ 5.378286]-(0)[1:swapper/0][<c07f1e04>] (mt_boot_secondary+0x0/0x244) from [<c07f1518>] (boot_secondary+0x24/0x30)
[ 5.379075]-(0)[1:swapper/0][<c07f14f4>] (boot_secondary+0x0/0x30) from [<c07f1588>] (__cpu_up+0x64/0xf8)
[ 5.379863]-(0)[1:swapper/0][<c07f1524>] (__cpu_up+0x0/0xf8) from [<c07f22a4>] (_cpu_up+0xf8/0x160)
[ 5.380637] r6:00000000 r5:c0b43944 r4:00000003 r3:00000000
[ 5.384511]-(0)[1:swapper/0][<c07f21ac>] (_cpu_up+0x0/0x160) from [<c07f2384>] (cpu_up+0x78/0x94)
[ 5.385298]-(0)[1:swapper/0][<c07f230c>] (cpu_up+0x0/0x94) from [<c0ae0ff4>] (smp_init+0xe8/0xec)
[ 5.386070] r4:00000003 r3:00000001
[ 5.388398]-(0)[1:swapper/0][<c0ae0f0c>] (smp_init+0x0/0xec) from [<c0ad3c1c>] (kernel_init_freeable+0x94/0x1e8)
[ 5.389187]-(0)[1:swapper/0][<c0ad3b88>] (kernel_init_freeable+0x0/0x1e8) from [<c07ee3d8>] (kernel_init+0x10/0x170)
[ 5.389974]-(0)[1:swapper/0][<c07ee3c8>] (kernel_init+0x0/0x170) from [<c000e6d8>] (ret_from_fork+0x14/0x3c)
[ 5.390747] r5:c07ee3c8 r4:00000000
[ 6.394433].(0)[1:swapper/0]CPU3: failed to come online
[ 6.395403].(0)[1:swapper/0][cpu_ntf] <19>c00855d0 (sched_domains_numa_masks_update)
[ 6.396186].(0)[1:swapper/0][cpu_ntf] <20>c008ed1c (cpuset_cpu_active)
[ 6.396966].(0)[1:swapper/0][cpu_ntf] <21>c008edc0 (cpuset_cpu_inactive)
[ 6.397747].(0)[1:swapper/0][cpu_ntf] <22>c009bd70 (update_runtime)
[ 6.398525].(0)[1:swapper/0][cpu_ntf] <23>c0088a1c (hotplug_hrtick)
[ 6.405437].(0)[1:swapper/0][init] f(c0af4a6c)
[ 6.406219].(0)[1:swapper/0] s:6405422923 e:6405425000 d:2077
[ 6.406994].(0)[1:swapper/0][init] f(c0af4b04)
[ 6.407771].(0)[1:swapper/0] s:6406988692 e:6406989384 d:692
[ 6.408561].(0)[1:swapper/0][init] f(c0b047b0)
[ 6.409337].(0)[1:swapper/0] s:6408541461 e:6408555615 d:14154
[ 6.410120].(0)[1:swapper/0][init] f(c0b06668)
[ 6.410898].(0)[1:swapper/0] s:6410105846 e:6410115308 d:9462
[ 6.412218].(0)[1:swapper/0][init] f(c0ad56a0)
[ 6.412995].(0)[1:swapper/0] s:6412210538 e:6412212538 d:2000
[ 6.413772].(0)[1:swapper/0][init] f(c0ad6a64)
[ 6.414604].(0)[1:swapper/0] s:6413765538 e:6413767384 d:1846
[ 6.415382].(0)[1:swapper/0][init] f(c0ad9618)
[ 6.416158].(0)[1:swapper/0] s:6415376231 e:6415376846 d:615
[ 6.416933].(0)[1:swapper/0][init] f(c0adbd68)
[ 6.417709].(0)[1:swapper/0] s:6416926769 e:6416928308 d:1539
[ 6.418485].(0)[1:swapper/0][init] f(c0adbd54)
[ 6.419261].(0)[1:swapper/0] s:6418479769 e:6418480154 d:385
[ 6.420097].(0)[1:swapper/0][init] f(c0adcf04)
[ 6.420876].(0)[1:swapper/0] s:6420029538 e:6420091154 d:61616
[ 6.421683].(0)[1:swapper/0][init] f(c0addd44)
[ 6.422460].(0)[1:swapper/0] s:6421645923 e:6421677461 d:31538
[ 6.423293].(0)[1:swapper/0][init] f(c0adfaa8)
[ 6.424073].(0)[1:swapper/0] s:6423229538 e:6423286692 d:57154
[ 6.424899].(0)[1:swapper/0][init] f(c0adfdbc)
[ 6.425677].(0)[1:swapper/0] s:6424881769 e:6424892154 d:10385
[ 6.426455].(0)[1:swapper/0][init] f(c00bf528)
[ 6.427231].(0)[1:swapper/0] s:6426448384 e:6426450384 d:2000
[ 6.428209].(0)[1:swapper/0][init] f(c0ae0060)
[ 6.428987].(0)[1:swapper/0] s:6428000077 e:6428201384 d:201307
[ 6.429768].(0)[1:swapper/0][init] f(c0ae02e0)
[ 6.430545].(0)[1:swapper/0] s:6429757538 e:6429762538 d:5000
[ 6.431322].(0)[1:swapper/0][init] f(c0ae0738)
[ 6.432097].(0)[1:swapper/0] s:6431315308 e:6431317615 d:2307
[ 6.432964].(0)[1:swapper/0][init] f(c0ae1bd0)
[ 6.433742].(0)[1:swapper/0] s:6432866384 e:6432957308 d:90924
[ 6.435605].(0)[1:swapper/0][init] f(c0ae3548)
[ 6.436386].(0)[1:swapper/0] s:6434513538 e:6435595846 d:1082308
[ 6.437164].(0)[1:swapper/0][init] f(c01102e0)
[ 6.437940].(0)[1:swapper/0] s:6437157692 e:6437159231 d:1539
[ 6.438715].(0)[1:swapper/0][init] f(c0ae7994)
[ 6.439492].(0)[1:swapper/0] s:6438709308 e:6438710077 d:769
[ 6.440280].(0)[1:swapper/0][init] f(c0aeb2d0)
[ 6.441056].(0)[1:swapper/0] s:6440261692 e:6440275308 d:13616
[ 6.441852].(0)[1:swapper/0][init] f(c0aeb6f8)
[ 6.442628].(0)[1:swapper/0] s:6441825154 e:6441846231 d:21077
[ 6.443404].(0)[1:swapper/0][init] f(c0aeb740)
[ 6.444181].(0)[1:swapper/0] s:6443397846 e:6443399384 d:1538
[ 6.444978].(0)[1:swapper/0][init] f(c0aeb764)
[ 6.445756].(0)[1:swapper/0] s:6444971692 e:6444972615 d:923
[ 6.446544].(0)[1:swapper/0][init] f(c0af4890)
[ 6.447320].(0)[1:swapper/0] s:6446524461 e:6446539000 d:14539
[ 6.448097].(0)[1:swapper/0][init] f(c0af7ecc)
[ 6.448874].(0)[1:swapper/0] s:6448090308 e:6448092461 d:2153
[ 6.449666].(0)[1:swapper/0][init] f(c0afbadc)
[ 6.450442].(0)[1:swapper/0] s:6449643308 e:6449661231 d:17923
[ 6.451314].(0)[1:swapper/0][init] f(c0afe39c)
[ 6.452092].(0)[1:swapper/0] s:6451211692 e:6451307769 d:96077
[ 6.452874].(0)[1:swapper/0][init] f(c0b047dc)
[ 6.453651].(0)[1:swapper/0] s:6452862692 e:6452869538 d:6846
[ 6.454577].(0)[1:swapper/0][init] f(c0b064e4)
[ 6.455377].(0)[1:swapper/0] s:6454420461 e:6454569692 d:149231
[ 6.456205].(0)[1:swapper/0][init] f(c0b07da0)
[ 6.456982].(0)[1:swapper/0] s:6456148461 e:6456198461 d:50000
[ 6.459952].(0)[1:swapper/0][init] f(c0ad70b8)
[ 6.460729].(0)[1:swapper/0] s:6458310538 e:6459946769 d:1636231
[ 6.461636].(0)[1:swapper/0][init] f(c0ae63d8)
[ 6.462415].(0)[1:swapper/0] s:6461497923 e:6461627615 d:129692
[ 6.463202].(0)[1:swapper/0][init] f(c0af7e18)
[ 6.463978].(0)[1:swapper/0] s:6463184923 e:6463196769 d:11846
[ 6.464788].(0)[1:swapper/0][init] f(c0af8478)
[ 6.465589].(0)[1:swapper/0] s:6464749000 e:6464782231 d:33231
[ 6.466382].(0)[1:swapper/0][init] f(c0af8494)
[ 6.467159].(0)[1:swapper/0] s:6466360154 e:6466376692 d:16538
[ 6.467949].(0)[1:swapper/0][init] f(c0afb534)
[ 6.468727].(0)[1:swapper/0] s:6467930154 e:6467942769 d:12615
[ 6.469502].(0)[1:swapper/0][PWRAP] common driver init, version $Revision$
[ 6.470305].(0)[1:swapper/0][init] f(c0afeb34)
[ 6.471082].(0)[1:swapper/0] s:6469496846 e:6470300538 d:803692
[ 6.471856].(0)[1:swapper/0][PWRAP] HAL init: version $Revision$
[ 6.472650].(0)[1:swapper/0][init] f(c0afebac)
[ 6.473427].(0)[1:swapper/0] s:6471851846 e:6472644231 d:792385
[ 6.474244].(0)[1:swapper/0][init] f(c0b01a80)
[ 6.475022].(0)[1:swapper/0] s:6474197308 e:6474238769 d:41461
[ 6.475875].(0)[1:swapper/0][init] f(c0b03324)
[ 6.476652].(0)[1:swapper/0] s:6475806077 e:6475868692 d:62615
[ 6.477979].(0)[1:swapper/0][init] f(c0ad5628)
[ 6.478757].(0)[1:swapper/0] s:6477972769 e:6477973461 d:692
[ 6.479534].(0)[1:swapper/0][init] f(c0ad57d8)
[ 6.480310].(0)[1:swapper/0] s:6479527692 e:6479529308 d:1616
[ 6.481104].(0)[1:swapper/0][init] f(c0ad6870)
[ 6.481880].(0)[1:swapper/0] s:6481079231 e:6481098461 d:19230
[ 6.482664]-(0)[1:swapper/0]hw-breakpoint: Failed to enable monitor mode on CPU 0.
[ 6.483441].(0)[1:swapper/0][init] f(c0ad6d24)
[ 6.484217].(0)[1:swapper/0] s:6482650692 e:6483436538 d:785846
[ 6.484992].(0)[1:swapper/0][init] f(c0ad7318)
[ 6.485768].(0)[1:swapper/0] s:6484986231 e:6484987538 d:1307
[ 6.486608].(0)[1:swapper/0][pdev] dbg_reg_dump
[ 6.487386].(0)[1:swapper/0] s:6486555538 e:6486602615 d:47077
[ 6.488160].(0)[1:swapper/0][init] f(c0ada494)
[ 6.488938].(0)[1:swapper/0] s:6486554615 e:6488155923 d:1601308
[ 6.489718].(0)[1:swapper/0][Power/PM_INIT] Bus Frequency = 273000 KHz
[ 6.491727].(0)[1:swapper/0][SPM] PWAKE_EN:1, PCMWDT_EN:1, BYPASS_SYSPWREQ:0
[ 6.492505].(0)[1:swapper/0][SLP] SLEEP_DPIDLE_EN:1, REPLACE_DEF_WAKESRC:0, SUSPEND_LOG_EN:1
Click to expand...
Click to collapse
- Had similiar issues when booting a kernel via kexec on the Kindle HDX
- Using plain kexec some of the hardware regsiters etc was not in the correct state for the kexec kernel to bring the hardware up correctly
- I was able to solve some of the problems by implementing Hardboot Patch
- If it's applicable don't know if you can do something similiar in the module.
- Here's the patch I implemented: https://bitbucket.org/slimlphdx/and...a063c7415bd4b157ece9c8c1438fb0524ac?at=master
ggow said:
- Had similiar issues when booting a kernel via kexec on the Kindle HDX
- Using plain kexec some of the hardware regsiters etc was not in the correct state for the kexec kernel to bring the hardware up correctly
- I was able to solve some of the problems by implementing Hardboot Patch
- If it's applicable don't know if you can do something similiar in the module.
- Here's the patch I implemented: https://bitbucket.org/slimlphdx/and...a063c7415bd4b157ece9c8c1438fb0524ac?at=master
Click to expand...
Click to collapse
I have looked into hardboot, as I understand it, this won't be possible to implement in a module,
since it modifies the startup-code of the original kernel (head.S), to jump to the new kernel way before initialization takes place.
If we where able to boot a custom-kernel with hardboot (untethered) we wouldn't need kexec in the first place
k4y0z said:
I have looked into hardboot, as I understand it, this won't be possible to implement in a module,
since it modifies the startup-code of the original kernel (head.S), to jump to the new kernel way before initialization takes place.
If we where able to boot a custom-kernel with hardboot (untethered) we wouldn't need kexec in the first place
Click to expand...
Click to collapse
So you could compare this to a semi-untethered jailbreak for an iPhone in a way?
If we got kexec working, we would still install custom roms like we do now.
I guess you could call this semi-untethered.
But we could then load a custom kernel or even a recovery.
ATM I haven't looked much deeper into this, but haven't given up completely yet either.
k4y0z said:
If we got kexec working, we would still install custom roms like we do now.
I guess you could call this semi-untethered.
But we could then load a custom kernel or even a recovery.
ATM I haven't looked much deeper into this, but haven't given up completely yet either.
Click to expand...
Click to collapse
Agreed. At the current state though it is much better than a semi-untethered jailbroken iPhone tbh.
Glad you agree!
I'd be interested in seeing kexec take off for the KKFOWI since it would allow you to boot a recovery directly from the tablet versus having to push *insert your favorite recovery* via fastboot each time you wanted to enter recovery mode. It wouldn't be as bulletproof as being able to unlock the bootloader, but it's like this over in the land of iOS...you get what you can take. Being able to make complete and restore nandroid backups without using a computer would be enough for me with this tablet considering just how freaking cheap this thing is.
bmurphr1 said:
I'd be interested in seeing kexec take off for the KKFOWI since it would allow you to boot a recovery directly from the tablet versus having to push *insert your favorite recovery* via fastboot each time you wanted to enter recovery mode. It wouldn't be as bulletproof as being able to unlock the bootloader, but it's like this over in the land of iOS...you get what you can take. Being able to make complete and restore nandroid backups without using a computer would be enough for me with this tablet considering just how freaking cheap this thing is.
Click to expand...
Click to collapse
I agree completely. Just being able to boot into a recovery of sorts without the need for my PC or laptop would be awesome. Even if it was just for nandroid backups and restoring. Out of the 3 tablets that I purchased I kept this one on the stock 5.0.2 and did not update it so I could use TWRP as apposed to Flashfire. But I am happy that we have what we do. For the price of this tablet it was well worth all 3 purchases.
Sent from my KFFOWI using XDA Premium HD app
Personally I've owned several Kindle tablets (at least 3-4 that I can remember), and I always purchased them because the models I chose had micro-SD expansion and the ability to completely ditch FireOS as I think it's a dreadful implementation of Android. I used what I believe was a second gen Kindle with 16GB of internal RAM running CM10 that I used at the gym for over a year just for watching movies and connecting to my gym's WiFi so that I could watch cable TV using my home NextPVR server and Kodi (beats the crap out of anything Sling has to offer or anybody else for that matter). These days though I tend to use my Dell Venue 8 Pro 5830 (2GB of RAM, 32GB eMMC, and a 128GB Samsung EVO micro-SD card for movie storage - also running Win10) since I actually prefer Windows tablets over Android - except for anything Metro UI based. People have asked me how I tolerate using the tablet in normal desktop mode and honestly I have no problems tapping or typing on anything with it particularly since I use the Dell pen with it, and it comes in handy. When it comes to smartphones, I'd rather have a jailbroken iOS device though...just boils down to personal preference. Anyways, off of my tangent...
For $35 there isn't any other tablet that you can buy on the market even in China that is as high quality as this tablet is. Granted it's not what you'd expect from a high end Samsung Galaxy Tab, but for $35 shipped and being able to run the latest version of CyanogenMod, for me it was a no-brainer. Somebody could even steal it from me and I'd probably just laugh and forget all about it. Right now mine is used for reading books very occasionally, and at night I prop it up next to my bedside and use it as my alarm clock - just installed a free clock app that takes up the entire screen, keep the screen on 24/7, and run a script that auto-dims the screen at 10pm every night and goes back to normal brightness at 8am. It's literally the ultimate alarm clock in my opinion.
k4y0z said:
I have successfully compiled kexec for the ford, however booting a kernel doesn't completely work.
It seems like the cpu-cores aren't shut down completely, hopefully someone here has an Idea how to get that going.
This is what it currently looks like trying to boot a kernel using kexec:
<log cut>
Click to expand...
Click to collapse
Could you try disabling SMP – therefore stopping the kernel from trying to spin up the first, second, and third cores?
You can do this by appending 'nosmp' or 'maxcpus=0' to the kernel command line.
OR
You can try and 'hotplug' the CPUs manually before running kexec:
You can disable CPU cores manually if you wish in Linux by editing some files under /sys, @k4y0z: http://unix.stackexchange.com/a/145815/102769
Click to expand...
Click to collapse
Secondary CPU cores not coming online is a known kexec bug on ARM processor platforms.
Yes! I've just tried it, and now I've got the first working custom kernel on my Fire!
HOWEVER, it's pretty much useless. I can't get some devices to work. This includes the display.
gwhite5 said:
Yes! I've just tried it, and now I've got the first working custom kernel on my Fire!
I repeat:
FIRST CUSTOM KERNEL WHICH BOOTS ON THE AMAZON FIRE 5th GENERATION, FIREOS 5.1.1!
Expect a screenshot soon.
Click to expand...
Click to collapse
Great, this is awesome news!
Is this with or without SMP now?
I've actually tried playing arround with the bringup code (is_secondary_cpu_first_boot) but didn't get anywhere.
the value is read from the atags, so if your hack works we could update the atag-module to set the correct value there.
Even without SMP this would mean a custom recovery for 5.1.1 :good:
k4y0z said:
Great, this is awesome news!
Is this with or without SMP now?
I've actually tried playing arround with the bringup code (is_secondary_cpu_first_boot) but didn't get anywhere.
the value is read from the atags, so if your hack works we could update the atag-module to set the correct value there.
Even without SMP this would mean a custom recovery for 5.1.1 :good:
Click to expand...
Click to collapse
The kernel works with nosmp and maxcpus=0 kernel command line arguments. To be honest I haven't tried to patch because disabling SMP worked and I'm not at my computer anymore.
Sent from my D816w using Tapatalk

Categories

Resources