Showing posts with label Attempting. Show all posts
Showing posts with label Attempting. Show all posts

Friday, 16 October 2015

Attempting to compile using Sabermod



Compiling the code from https://github.com/SaberMod/android_kernel_moto_shamu using sabermod-prebuilts-07042015.tar.xz, arm-linux-androideabi-5.2-08-28-15.tar.xz.

It compiles well, until the very end; Using GNU/Debian here.

Any thoughts what I'm doing wrong? (bit of a new noob) Should I make make "CONFIG_NO_ERROR_ON_MISMATCH=y" to avoid it?


Code:


make CONFIG_DEBUG_SECTION_MISMATCH=y
  [...] 
  CC      lib/ratelimit.o
  CC      lib/rbtree.o
  CC      lib/reciprocal_div.o
  CC      lib/rwsem-spinlock.o
  CC      lib/sha1.o
  CC      lib/show_mem.o
  CC      lib/string.o
  CC      lib/timerqueue.o
  CC      lib/vsprintf.o
  AR      lib/lib.a
  LINK    vmlinux
  LD      vmlinux.o
  MODPOST vmlinux.o
WARNING: vmlinux.o(.data+0x7740): Section mismatch in reference from the variable msm_rpm_match_table to the function .init.text:mpm_irq_domain_linear_size()
The variable msm_rpm_match_table references
the function __init mpm_irq_domain_linear_size()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

WARNING: vmlinux.o(.data+0x7758): Section mismatch in reference from the variable msm_rpm_match_table to the function .init.text:mpm_irq_domain_legacy_size()
The variable msm_rpm_match_table references
the function __init mpm_irq_domain_legacy_size()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

To build the kernel despite the mismatches, build with:
'make CONFIG_NO_ERROR_ON_MISMATCH=y'
(NOTE: This is not recommended)
/root/SaberMod/android_kernel_moto_shamu/scripts/Makefile.modpost:95: recipe for target 'vmlinux.o' failed
make[1]: *** [vmlinux.o] Error 1
Makefile:901: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 2





Saturday, 10 October 2015

Moto G XT1031 Won't Power, Detected as QHSUSB__BULK - Problem attempting recovery



The phone (XT1031, 16GB, Republic Wireless, 4.4.4) is low use and nothing different was done the day it developed the problem. It worked Monday, on Wednesday it flashed indicator and the screen wouldn't power. It was hard-powered off (held power) and it wouldn't turn on again. The computer does not detect it. I have installed the 64-bit driver for my Windows 7 and am attempting to 'blank-flash' without success. Can anyone assist? Attached is the log. Thanks in advance.



C:\Users\Test\Desktop\blankflash>qboot.exe blank-flash
opening device: \.\COM3
OKAY [ 0.016s]
greeting device for command mode
OKAY [ -0.000s]
identifying device
...serial = 0x3598E90
...chip-id = 0x801 (MSM8626)
...chip-rev = 0x0
...sv-sbl = 0x0
OKAY [ 0.016s]
finding files
...programmer = programmer_8626.mbn
...singleimage = singleimage_8626.bin
OKAY [ 0.031s]
validating files
OKAY [ -0.000s]
switching to download mode
OKAY [ 0.016s]
greeting device for image downloading
OKAY [ 0.016s]
sending programmer
OKAY [ 0.047s]
flashing singleimage
Target LOG: Open multi failed, unknown error
Target ERROR: 7 - Open multi failed, unknown error
FAILED (sdl-transfer-image:send-image:sdl-open-multi:target error)