Go Back   xda-developers > General discussion > Upgrading, Modifying and Unlocking

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th May 2008, 12:33 AM
goomgoom goomgoom is offline
Junior Member
 
Join Date: Apr 2008
Posts: 2
Post Haret + Asus P535

Hello !

I PDAphone a asus P535 running Windows Mobile 6 that I would like to try Linux.

These characteristics:

-processor PXA270 520Mhz
-256Mo ROM
-64Mo RAM
-GPS SiRFStar III
-bluetooth
-Usb 1.1
-Wifi IEEE 802.11b+g


I am trying last week to launch a kernel image with Android Haret.exe it does not work.

I have a black screen that appears with:


Haret boot
Shutting down hardware
Turning off MMU...
In preloader
PSR=600000df
Kernel relocated
initrd relocated
jumping to kernel...


Can you help me?
Reply With Quote
Sponsored Links

  #2  
Old 5th May 2008, 10:36 PM
cr2 cr2 is offline
Senior Member
 
Join Date: Jan 2005
Posts: 1,404
Default

You should create the 'earlyharetlog.txt' file in the same directory as haret.exe
and run haret.exe
It will create the haretlog.txt file, which you may post here.
Reply With Quote

  #3  
Old 6th May 2008, 10:44 PM
goomgoom goomgoom is offline
Junior Member
 
Join Date: Apr 2008
Posts: 2
Default Haret = haretlog.txt


Thank you.

Could - you tell me where I made a mistake.
Here is the file "log":




===== HaRET 0.5.1 =====

Setting KMode to true.

Old KMode was 1

Finished initializing output

Loading dynamically bound functions

Function '?GXOpenDisplay@@YAHPAUHWND__@@K@Z' in library 'gx' at 0248D9EC

Function '?GXCloseDisplay@@YAHXZ' in library 'gx' at 0248DDD8

Function '?GXBeginDraw@@YAPAXXZ' in library 'gx' at 0248D2A8

Function '?GXEndDraw@@YAHXZ' in library 'gx' at 0248D36C

Function 'LoadLibraryExW' in library 'coredll' at 03F65FE0

Function 'GetSystemPowerStatusEx2' in library 'coredll' at 03F6C9A8

Function 'SleepTillTick' in library 'coredll' at 03F65F00

Function 'AllocPhysMem' in library 'coredll' at 03F65E38

Function 'FreePhysMem' in library 'coredll' at 03F65EA4

Function 'CreateToolhelp32Snapshot' in library 'toolhelp' at 02E1505C

Function 'Process32First' in library 'toolhelp' at 02E15140

Function 'Process32Next' in library 'toolhelp' at 02E151AC

Function 'Module32First' in library 'toolhelp' at 02E15340

Function 'Module32Next' in library 'toolhelp' at 02E153B0

Function 'CloseToolhelp32Snapshot' in library 'toolhelp' at 02E1507C

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 memory

WinCE reports memory size 67108864 (phys=53121024 store=171950080)

Detecting current machine

Trying to detect machine (Plat='PocketPC' OEM='Asus P535')

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 H3870

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 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 TI OMAP

Looking at machine Generic TI OMAP15xx

Looking at machine Generic Samsung s3c24xx

Looking at machine Generic MSM7500

Looking at machine Generic ARM 920t

Looking at machine Generic ARM 926

Looking at machine Generic ARM v6

Looking at arch Generic Intel PXA27x

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 TRACES

Registering command RESUMETRACES

Registering command WI|RQ

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 ALTL1TRACE

Registering command MAXL1TRACE

Registering command MAXL1TRACERESUME

Registering command MMUTRACE

Registering command TRACEIGNORE

Registering command PERMISSIVEMMUTRACE

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.1 running on WindowsCE v5.2

Minimal virtual address: 00010000, maximal virtual address: 7FFFFFFF

Detected machine Generic Intel PXA27x/PXA27x (Plat='PocketPC' OEM='Asus P535')

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(1)# set mtype 535

HaRET(2)# set kernel "zImage"

HaRET(3)# boot

boot KERNEL=zImage INITRD=

Opening file zImage

boot params: RAMADDR=a0000000 RAMSIZE=04000000 MTYPE=535 CMDLINE='root=/dev/ram0 ro console=tty0'

Boot FB feedback: 1

Built virtual to physical page mapping

Allocated 307 pages (tags=4EC00000/a2309000 kernel=4EC01000/a2308000 initrd=4ED2F000/a21a1000 index=4ED2F000/a21a1000)

Built kernel tags area

Built page index

Video buffer at 48A00080 sx=240 sy=320 mx=60 my=53

Video Phys FB=5c000080 Fonts=a219f064

preload=2264@4ED32000/a219e000 sj=4ED32000 stack=4ED30000/a21a0000 data=4ED31000/a219f000 exec=a219e128

Reading 1235904 bytes...

Read complete

Launching to physical address a219e010

Trampoline setup (tram=136@000241C0/1e0241c0/a0b831c0)

MMU setup: mmu=A87D0000/a07d0000

Go Go Go...
Reply With Quote

  #4  
Old 20th May 2008, 05:43 PM
sp3dev sp3dev is offline
Senior Member
 
Join Date: Jul 2006
Location: Kaluga/Moscow
Posts: 196
Default

To begin with, you need to dump gpio table and pxa27xlccr (with gnuharet).. and then make your own kernel. but you could try my kernel from asus p525

http://rapidshare.com/files/116299470/zImage.html

and yes, for it not to hang. use this startup.txt

set KERNEL zImage

set MTYPE 1554

set CMDLINE "debug rootdelay=10 root=/dev/ram0 console=tty0 fbcon=rotate:0 mem=64M"

boot2
Reply With Quote

  #5  
Old 21st May 2008, 12:35 AM
cr2 cr2 is offline
Senior Member
 
Join Date: Jan 2005
Posts: 1,404
Default

Quote:
Originally Posted by sp3dev View Post
To begin with, you need to dump gpio table and pxa27xlccr (with gnuharet)..
I've ported the 'dump pxa27x' command to mainline haret:
http://jornada820.sf.net/files/haret/haret-w.exe

Quote:
but you could try my kernel from asus p525
I don't see asus 525 mentioned here
http://www.handhelds.org/moin/moin.c...andheldSummary
Can you provide the kernel patch for it ?

Last edited by cr2; 21st May 2008 at 12:38 AM..
Reply With Quote

  #6  
Old 21st May 2008, 01:14 PM
sp3dev sp3dev is offline
Senior Member
 
Join Date: Jul 2006
Location: Kaluga/Moscow
Posts: 196
Default

yes, i mean dump pxa27xgpio of course.. i think i will add asus to hh cvs.. but not now. i've been rather busy. anyhow, i will need to clean the code and fix audio before it.

btw, could you help me with linux? actually, not with hardware (though i need some help with joystick and pca9535).. with qtopia.

btw, thanks for haret

Last edited by sp3dev; 21st May 2008 at 02:47 PM..
Reply With Quote

  #7  
Old 23rd May 2008, 09:55 AM
hurvinek007 hurvinek007 is offline
Junior Member
 
Join Date: Dec 2007
Posts: 15
Default

Can any one please post the whole package ? I cant make it run.

thx
Reply With Quote

  #8  
Old 23rd May 2008, 01:35 PM
cr2 cr2 is offline
Senior Member
 
Join Date: Jan 2005
Posts: 1,404
Default

Quote:
Originally Posted by sp3dev View Post
yes, i mean dump pxa27xgpio of course..
'dump pxa27x' in haret-w.exe includes the output of all 'dump pxa27x*' commands
in gnu-haret.
Quote:
btw, could you help me with linux? actually, not with hardware (though i need some help with joystick and pca9535).. with qtopia.
I think you should take the qtopia image from universal, and set joystick key events
to match those used by universal.
Reply With Quote

  #9  
Old 23rd May 2008, 02:59 PM
oboroten oboroten is offline
Junior Member
 
Join Date: Nov 2007
Posts: 1
Default

If you run the kernel, please write message
Reply With Quote

  #10  
Old 31st May 2008, 10:55 AM
sp3dev sp3dev is offline
Senior Member
 
Join Date: Jul 2006
Location: Kaluga/Moscow
Posts: 196
Default

Ok, ATM it seems only me and DaLiV are working on linux on p525. but we wouldnt mind anyone join us.

We have 2.6.21 kernel, correctly set up fb, partly working keypad, sd memory through pxa mmc driver, corgi-bl driver and touchscreen

Sound is working through pxa2xx-ac97, headphones only. need to set volume via alsamixer. we are working on wm9713 driver

The things that are to be done (the most important ones, in the decreasing order of importance)
UDC
Suspend
PCA9535 i2c
Bluetooth
Phone

Anyone who wants to test it
http://rapidshare.com/files/118520723/ln.tgz.html
http://familiar.handhelds.org/releas...rootfs.tar.bz2

Create an ext2 partition on your flash card (second partition, primary. or edit default.txt)
unpack (e.g. if your flash is - /media/usbdisk-1
bunzip2 gpe-image-v0.8.4-ipaq-pxa270.rootfs.tar.bz2
tar xvpf gpe-image-v0.8.4-ipaq-pxa270.rootfs.tar -C /media/usbdisk-1
certainly, this is to be done under root. to keep permissions for all files
then,
sync
remove /lib/modules and replace with ours. the same is with /etc/modutils
That is all. just copy all files from 'kernel' dir to your pda and run haret.exe


And the log
[ 0.000000] Linux version 2.6.21-hh20 (root@ACPK4F) (gcc version 4.2.1) #94 PREEMPT Fri May 30 21:25:16 MSD 2008
[ 0.000000] CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=0000397f
[ 0.000000] Machine: Asus P525
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] DMA zone: 128 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 16256 pages, LIFO batch:3
[ 0.000000] Normal zone: 0 pages used for memmap
[ 0.000000] Run Mode clock: 208.00MHz (*16)
[ 0.000000] Turbo Mode clock: 208.00MHz (*1.0, active)
[ 0.000000] Memory clock: 104.00MHz (/2)
[ 0.000000] System bus clock: 208.00MHz
[ 0.000000] CPU0: D VIVT undefined 5 cache
[ 0.000000] CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
[ 0.000000] CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
[ 0.000000] Built 1 zonelists. Total pages: 16256
[ 0.000000] Kernel command line: debug rootdelay=10 root=/dev/mmcblk0p2 console=tty0 fbcon=rotate:0 mem=64M
[ 0.000000] PID hash table entries: 256 (order: 8, 1024 bytes)
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 64MB = 64MB total
[ 0.000000] Memory: 61988KB available (2608K code, 182K data, 84K init)
[ 0.010000] Calibrating delay loop... 207.25 BogoMIPS (lpj=1036288)
[ 0.200000] Mount-cache hash table entries: 512
[ 0.200000] CPU: Testing write buffer coherency: ok
[ 0.200000] NET: Registered protocol family 16
[ 0.230000] usbcore: registered new interface driver usbfs
[ 0.230000] usbcore: registered new interface driver hub
[ 0.230000] usbcore: registered new device driver usb
[ 0.240000] Time: pxa_timer clocksource has been installed.
[ 0.240000] NET: Registered protocol family 2
[ 0.310000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.310000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.310000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.310000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.310000] TCP reno registered
[ 0.340000] PXA CPU frequency change support initialized
[ 0.340000] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.340000] JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
[ 0.340000] io scheduler noop registered
[ 0.340000] io scheduler anticipatory registered (default)
[ 0.340000] io scheduler deadline registered
[ 0.350000] Corgi Backlight Driver Initialized.
[ 0.360000] Console: switching to colour frame buffer device 30x40
[ 0.450000] SA1100/PXA2xx Watchdog Timer: timer margin 60 sec
[ 0.450000] pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 22) is a FFUART
[ 0.450000] pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 21) is a BTUART
[ 0.460000] pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 20) is a STUART
[ 0.490000] RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
[ 0.510000] loop: loaded (max 8 devices)
[ 0.520000] usbmon: debugfs is not available
[ 0.530000] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.550000] usbcore: registered new interface driver usbhid
[ 0.560000] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
[ 0.580000] pxa27x_udc: version 01-01-2006
[ 0.590000] UDC disconnected.
[ 0.600000] UDC disconnected.
[ 0.610000] ether gadget: using random self ethernet address
[ 0.620000] ether gadget: using random host ethernet address
[ 0.640000] usb0: Ethernet Gadget, version: May Day 2005
[ 0.650000] usb0: using pxa27x_udc, OUT ep2out-bulk IN ep1in-bulk STATUS ep3in-intr
[ 0.670000] usb0: MAC 0e:8c:22:12:b3:da
[ 0.680000] usb0: HOST MAC 06:2f:b7:42:8d:6e
[ 0.690000] usb0: RNDIS ready
[ 0.810000] UDC connect.
[ 0.810000] input: gpio-keys as /class/input/input0
[ 0.830000] input: pxa27x-keyboard as /class/input/input1
[ 0.840000] PXA27x keyboard controller enabled
[ 0.850000] sa1100-rtc sa1100-rtc: rtc intf: sysfs
[ 0.870000] sa1100-rtc sa1100-rtc: rtc intf: proc
[ 0.880000] sa1100-rtc sa1100-rtc: rtc intf: dev (254:0)
[ 0.890000] sa1100-rtc sa1100-rtc: rtc core: registered sa1100-rtc as rtc0
[ 0.910000] APM Battery Driver
[ 0.920000] min dma period: 1230768 ps, new clock 624000 kHz
[ 0.930000] min dma period: 1230768 ps, new clock 624000 kHz
[ 0.960000] Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14 07:25:50 2007 UTC).
[ 1.040000] ALSA device list:
[ 1.050000] #0: pxa2xx-ac97 (Wolfson WM9713,WM9714)
[ 1.060000] TCP cubic registered
[ 1.070000] NET: Registered protocol family 1
[ 1.080000] NET: Registered protocol family 17
[ 1.090000] XScale iWMMXt coprocessor detected.
[ 1.100000] sa1100-rtc sa1100-rtc: setting the system clock to 1970-01-01 15:22:38 (55358)
[ 1.120000] Waiting 10sec before mounting root device...
[ 1.140000] mmcblk0: mmc0:b368 SD 501248KiB
[ 1.150000] mmcblk0: p1 p2 p3
[ 11.180000] EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
[ 11.200000] VFS: Mounted root (ext2 filesystem).
[ 11.210000] Freeing init memory: 84K
[ 46.750000] wm97xx: version 0.65 liam.girdwood@wolfsonmicro.com
[ 46.780000] wm97xx: detected a wm9713 codec
[ 46.810000] input: wm97xx touchscreen as /class/input/input2
[ 46.840000] wm97xx: setting pen detect pull-up to 8000 Ohms
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:03 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.