Instruction step by step:
1.Download HARET.ZIP from
http://github.com/vovan888/p750-kernel/downloads
2.Copy all files to the device rom
3.Replace the content of STARTUP.TXT with:
Code:
set FBDURINGBOOT 0
set KERNEL \haret\zImage
set MTYPE 1912
set CMDLINE "debug root=/dev/mmcblk0p init=/init mem=64M wm97xx-ts.abs_x=315,3827,15 wm97xx-ts.abs_y=255,3812,40"
boot
4.Go to
http://sites.google.com/site/siteofh...-porting-files
5.Download file: AndroidOnP535.rar (
http://cid-6fac71b8e8cee5b6.skydrive...roidOnP535.rar)
6.Extract file: rootfs.tar.gz
7.Format your SD card to EXT2
8.Extract the content of rootfs.tar.gz to your card
Code:
sudo tar zxvf rootfs.tar.gz -C /YOUR_CARD/
9.Execute haret-0.5.2.exe
10.If not running properly search for something similar to:
Code:
[ 1.000020]b300 975360 mmcblk0 driver: mmcblk
[ 1.002520] b301 975359 mmcblk0p1
11.Change
to
in file STARTUP.TXT
I have managed to run the kernel, but not the Android. The last lines on the consoles are:
Code:
[175.800106] EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
[175.826629] VFS: Mounted root (ext2 filesystem).
[175.840535] Freeing init memory: 116K
[175.859838] device: 'vcs1': device_add
[175.860194] PM: Adding info for Non Bus:vcs1
[175.864505] device: 'vcsa1': device_add
[175.864865] PM: Adding info for No Bus:vcsa1
Dump from HARETLOG.TXT:
Code:
===== HaRET 0.5.2 =====
Setting KMode to true.
Old KMode was 1
Finished initializing output
Loading dynamically bound functions
Function 'AllocPhysMem' in library 'coredll' at 03F65E38
Function 'FreePhysMem' in library 'coredll' at 03F65EA4
Function '?GXOpenDisplay@@YAHPAUHWND__@@K@Z' in library 'gx' at 025EE9EC
Function '?GXCloseDisplay@@YAHXZ' in library 'gx' at 025EEDD8
Function '?GXBeginDraw@@YAPAXXZ' in library 'gx' at 025EE2A8
Function '?GXEndDraw@@YAHXZ' in library 'gx' at 025EE36C
Function 'LoadLibraryExW' in library 'coredll' at 03F65FE0
Function 'NLedSetDevice' in library 'coredll' at 03F8CE54
Function 'GetSystemPowerStatusEx2' in library 'coredll' at 03F6C9A8
Function 'SleepTillTick' in library 'coredll' at 03F65F00
Function 'CreateToolhelp32Snapshot' in library 'toolhelp' at 02D9005C
Function 'CloseToolhelp32Snapshot' in library 'toolhelp' at 02D9007C
Function 'Process32First' in library 'toolhelp' at 02D90140
Function 'Process32Next' in library 'toolhelp' at 02D901AC
Function 'Module32First' in library 'toolhelp' at 02D90340
Function 'Module32Next' in library 'toolhelp' at 02D903B0
Function 'Heap32ListFirst' in library 'toolhelp' at 02D9044C
Function 'Heap32ListNext' in library 'toolhelp' at 02D904D4
Function 'Heap32First' in library 'toolhelp' at 02D9056C
Function 'Heap32Next' in library 'toolhelp' at 02D90620
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Detecting current machine
Trying to detect machine (Plat='PocketPC' OEM='ASUS P750')
Wince reports processor: core=PXA270 name=520Mhz cat= vend=Intel
Looking at machine Alpine
Looking at machine Apache
Looking at machine AximX50
Looking at machine AximX5
Looking at machine Beetles
Looking at machine Blueangel
Looking at machine Himalaya
Looking at machine Magician
Looking at machine Universal
Looking at machine H1910
Looking at machine H1940
Looking at machine H2200
Looking at machine H3600b
Looking at machine H3700
Looking at machine H3800
Looking at machine H3900
Looking at machine H4000
Looking at machine H4300
Looking at machine H5000
Looking at machine H6340
Looking at machine HX2000
Looking at machine HX4700
Looking at machine Sable
Looking at machine Wizard
Looking at machine Hermes
Looking at machine Trinity
Looking at machine Athena
Looking at machine G500
Looking at machine Artemis
Looking at machine Herald
Looking at machine Prophet
Looking at machine RX3000
Looking at machine Treo700wx
Looking at machine e310
Looking at machine e740
Looking at machine Acer_n30
Looking at machine Mio_P550
Looking at machine Kaiser
Looking at machine Loox5xx
Looking at machine Loox400
Looking at machine MioA701
Looking at machine Wallaby
Looking at machine Raphael
Looking at machine Jornada820
Looking at machine H3100
Looking at machine H3600a
Looking at machine Tornado
Looking at machine Libra
Looking at machine Generic Intel PXA27x
Looking at machine Generic Intel PXA
Looking at machine Generic Intel StrongArm
Looking at machine Generic TI OMAP
Looking at machine Generic TI OMAP15xx
Looking at machine Generic Samsung s3c24xx
Looking at machine Generic MSM7xxxA
Looking at machine Generic MSM7xxx
Looking at machine Generic Atlas
Looking at machine Generic ARM 920t
Looking at machine Generic ARM 926
Looking at machine Generic ARM v6
Looking at arch Generic Intel PXA27x
Detecting ram size
WinCE reports memory size 67108864 (phys=50630656 store=163815424)
Mapping mmu table
Build L1 reverse map
Found 396 uncached and 396 cached L1 mappings (ignored 1).
Registering command IGPIO
Registering command WG|PIO
Registering command GPLR
Registering command GPDR
Registering command GAFR
Registering command GPIO
Registering command GPIOST
Registering command LOADLIBRARYEX
Registering command NLEDSET
Registering command TRACE
Registering command TRACEMASK
Registering command TRACE2
Registering command TRACETYPE
Registering command TRACE2TYPE
Registering command TRACEFORWATCH
Registering command INSN
Registering command INSNREENABLE
Registering command INSNREG1
Registering command INSNREG2
Registering command INSN2
Registering command INSN2REENABLE
Registering command INSN2REG1
Registering command INSN2REG2
Registering command KILL
Registering command PS
Registering command LSMOD
Registering command ADDR2MOD
Registering command AC97
Not registering command ATIDBG
Initializing for machine 'Generic Intel PXA27x'
HaRET(1)# set ramaddr 0xa0000000
HaRET(2)# addlist IRQS p2v(0x40D00000) 0x480 32 0
HaRET(3)# addlist IRQS p2v(0x40D0009c) 0xfffffffc 32 0
HaRET(4)# addlist IRQS p2v(0x40E00048) 0 32 0
HaRET(5)# addlist IRQS p2v(0x40E0004c) 0 32 0
HaRET(6)# addlist IRQS p2v(0x40E00050) 0 32 0
HaRET(7)# addlist IRQS p2v(0x40E00148) 0 32 0
HaRET(8)# addlist GPIOS p2v(0x40E00000)
HaRET(9)# addlist GPIOS p2v(0x40E00004)
HaRET(10)# addlist GPIOS p2v(0x40E00008)
HaRET(11)# addlist GPIOS p2v(0x40E00100)
HaRET(12)# addlist GPIOS p2v(0x40E0000C)
HaRET(13)# addlist GPIOS p2v(0x40E00010)
HaRET(14)# addlist GPIOS p2v(0x40E00014)
HaRET(15)# addlist GPIOS p2v(0x40E0010C)
HaRET(16)# addlist GPIOS p2v(0x40E00054)
HaRET(17)# addlist GPIOS p2v(0x40E00058)
HaRET(18)# addlist GPIOS p2v(0x40E0005c)
HaRET(19)# addlist GPIOS p2v(0x40E00060)
HaRET(20)# addlist GPIOS p2v(0x40E00064)
HaRET(21)# addlist GPIOS p2v(0x40E00068)
HaRET(22)# addlist GPIOS p2v(0x40E0006c)
HaRET(23)# addlist GPIOS p2v(0x40E00070)
HaRET(24)# newvar CLOCKS GPIOS 'Architecture clock registers'
HaRET(25)# addlist CLOCKS p2v(0x41300000)
HaRET(26)# addlist CLOCKS p2v(0x41300004)
HaRET(27)# addlist CLOCKS p2v(0x41300008)
HaRET(28)# addlist CLOCKS p2v(0x4130000C)
HaRET(29)# addlist CLOCKS cp 14 0 6 0 0
HaRET(30)# addlist CLOCKS cp 14 0 7 0 0
Welcome, this is HaRET 0.5.2 running on WindowsCE v5.2
Minimal virtual address: 00010000, maximal virtual address: 7FFFFFFF
Detected machine Generic Intel PXA27x/PXA27x (Plat='PocketPC' OEM='ASUS P750')
CPU is Intel ARM arch 5TE revision 0 product 17 stepping 7 running in system mode
Enter 'HELP' for a short command summary.
Running WSAStartup
Starting gui
In initdialog
Found machine Generic Intel PXA27x
executing startup.txt
HaRET(3)# set FBDURINGBOOT 0
HaRET(4)# set KERNEL \haret\zImage
HaRET(5)# set MTYPE 1912
HaRET(8)# set CMDLINE "debug root=/dev/mmcblk0p1 init=/android.sh mem=64M"
HaRET(20)# boot
boot KERNEL=\haret\zImage INITRD=
Opening file \haret\zImage
boot params: RAMADDR=a0000000 RAMSIZE=04000000 MTYPE=1912 CMDLINE='debug root=/dev/mmcblk0p1 init=/init mem=64M wm97xx-ts.abs_x=315,3827,15 wm97xx-ts.abs_y=255,3812,40'
Boot FB feedback: 0
Built virtual to physical page mapping
Allocated 445 pages (tags=4B600000/a2990000 kernel=4B601000/a298f000 initrd=4B7B9000/a27d7000 index=4B7B9000/a27d7000)
Built kernel tags area
Built page index
preload=2260@4B7BC000/a27d4000 sj=4B7BC000 stack=4B7BA000/a27d6000 data=4B7BB000/a27d5000 exec=a27d4128
Reading 1798852 bytes...
Read complete
Launching to physical address a27d4010
Trampoline setup (tram=136@000255F4/160255f4/a0a8b5f4)
MMU setup: mmu=A8A30000/a0a30000
Go Go Go...
And the system freezes. Any help?
Ps. I have tried to start a difrent linux and found that the system stops after calling init.