-
Notifications
You must be signed in to change notification settings - Fork 9
/
README_Xperia
65 lines (56 loc) · 1.45 KB
/
README_Xperia
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Configuration files can be found in arch/arm/configs.
Xperia P => riogrande_nypon_defconfig
Xperia Go => xperiago_defconfig
Xperia U => xperiau_defconfig
Xperia Sola => xperiasola_defconfig
To flash your kernel using Fastboot perform the following steps:
1) Assemble the kernel image:
$ mkbootimg --base 0x0 --kernel <path to zImage> \
--ramdisk <path to ramdisk> --output <flashable image file> \
--cmdline "<kernel command line>"
2) Flash the kernel image:
$ fastboot flash boot <flashable image file>
In the official SW the following command line arguments are given
to the kernel:
cachepolicy=writealloc
noinitrd
init=init
board_id=1
logo.nologo
root=/dev/ram0
rw
rootwait
console=null
androidboot.console=null
androidboot.hardware=st-ericsson
<memory layout>
mpcore_wdt.mpcore_margin=359
Memory layout for Xperia P:
mem=96M@0
mem_mtrace=15M@96M
mem_mshared=1M@111M
mem_modem=16M@112M
mem=32M@128M
mem_issw=1M@160M
hwmem=167M@161M
mem=696M@328M
vmalloc=384M
Memory layout for Xperia U and Xperia Sola
(we using ICS layout because no oficial JB for this 2 phones):
mem=96M@0
mem_mtrace=15M@96M
mem_mshared=1M@111M
mem_modem=16M@112M
mem=32M@128M
mem_issw=1M@160M
hwmem=79M@161M
mem=272M@240M
Memory layout for Xperia Go:
mem=96M@0
mem_mtrace=15M@96M
mem_mshared=1M@111M
mem_modem=16M@112M
mem=32M@128M
mem_issw=1M@160M
hwmem=71M@161M
mem=280M@232M