Here is the Haret log for this version..

Qua, 2009-09-16 às 09:11 -0400, Kevin O'Connor escreveu:

> On Wed, Sep 16, 2009 at 08:57:01AM -0400, Kevin O'Connor wrote:
> > I think the problem is either the "mrc" or the "add" just prior to
> > it.  (The "add" is a jump.)  To find out, I'd change the code to
> > something like:
> > 
> >         @ Jump to code with shared virtual/physical mapping
> >         add     pc, r4, #(1f - mmu_trampoline)
> >         nop
> >         nop
> >         nop
> >         nop
> > 
> > 1:      @ Code is running at a vm address that is the same as its
> >         @ physical address.  Now disable the MMU.
> >         nop
> >         nop
> >         nop
> >         nop
> >         mrc     p15, 0, r0, c1, c0, 0
> 
> http://handhelds.org/~koconnor/haret/test/haret-20090916.exe
> 
> If anyone wants to try.
> 
> -Kevin
===== HaRET 0.5.2 =====
Setting KMode to true.
Old KMode was 0
Finished initializing output
Loading dynamically bound functions
Function 'AllocPhysMem' in library 'coredll' at 03F61E74
Function 'FreePhysMem' in library 'coredll' at 03F61EE0
Function '?GXOpenDisplay@@YAHPAUHWND__@@k...@z' in library 'gx' at 02A139EC
Function '?GXCloseDisplay@@YAHXZ' in library 'gx' at 02A13DD8
Function '?GXBeginDraw@@YAPAXXZ' in library 'gx' at 02A132A8
Function '?GXEndDraw@@YAHXZ' in library 'gx' at 02A1336C
Function 'LoadLibraryExW' in library 'coredll' at 03F6201C
Function 'NLedSetDevice' in library 'coredll' at 03F8951C
Function 'GetSystemPowerStatusEx2' in library 'coredll' at 03F689A0
Function 'SleepTillTick' in library 'coredll' at 03F61F3C
Function 'CreateToolhelp32Snapshot' in library 'toolhelp' at 02FAF05C
Function 'CloseToolhelp32Snapshot' in library 'toolhelp' at 02FAF07C
Function 'Process32First' in library 'toolhelp' at 02FAF140
Function 'Process32Next' in library 'toolhelp' at 02FAF1AC
Function 'Module32First' in library 'toolhelp' at 02FAF340
Function 'Module32Next' in library 'toolhelp' at 02FAF3B0
Function 'Heap32ListFirst' in library 'toolhelp' at 02FAF44C
Function 'Heap32ListNext' in library 'toolhelp' at 02FAF4D4
Function 'Heap32First' in library 'toolhelp' at 02FAF56C
Function 'Heap32Next' in library 'toolhelp' at 02FAF620
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='HTC Touch 3G T3232')
Wince reports processor: core=MSM7225-528MHz name= cat= vend=QUALCOMM
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
Looking at arch Generic Intel PXA
Looking at arch Generic Intel StrongArm
Looking at arch Generic TI OMAP
Looking at arch Generic TI OMAP15xx
Looking at arch Generic Samsung s3c24xx
Looking at arch Generic MSM7xxxA
Looking at arch Generic MSM7xxx
Looking at arch Generic Atlas
Looking at arch Generic ARM 920t
Looking at arch Generic ARM 926
Looking at arch Generic ARM v6
Detecting ram size
WinCE reports memory size 150994944 (phys=128610304 store=104652800)
Mapping mmu table
Build L1 reverse map
Found 306 uncached and 218 cached L1 mappings (ignored 99).
Not registering command IGPIO
Not registering command WG|PIO
Not registering command GPLR
Not registering command GPDR
Not registering command GAFR
Not registering command GPIO
Not registering command GPIOST
Registering command LOADLIBRARYEX
Registering command NLEDSET
Not registering command TRACE
Not registering command TRACEMASK
Not registering command TRACE2
Not registering command TRACETYPE
Not registering command TRACE2TYPE
Not registering command TRACEFORWATCH
Not registering command INSN
Not registering command INSNREENABLE
Not registering command INSNREG1
Not registering command INSNREG2
Not registering command INSN2
Not registering command INSN2REENABLE
Not registering command INSN2REG1
Not registering command INSN2REG2
Registering command KILL
Registering command PS
Registering command LSMOD
Registering command ADDR2MOD
Not registering command AC97
Not registering command ATIDBG
Initializing for machine 'Generic ARM v6'
Welcome, this is HaRET 0.5.2 running on WindowsCE v5.2
Minimal virtual address: 00010000, maximal virtual address: 7FFFFFFF
Detected machine Generic ARM v6/generic (Plat='PocketPC' OEM='HTC Touch 3G 
T3232')
CPU is ARM ARM arch 6 stepping 2 running in system mode
Enter 'HELP' for a short command summary.

Running WSAStartup
Starting gui
In initdialog
Found machine Generic ARM v6
executing startup.txt
HaRET(2)# set RAMSIZE 0x07000000
HaRET(3)# set RAMADDR 0x10000000
HaRET(4)# set FBDURINGBOOT 0
HaRET(5)# set MTYPE 1553
HaRET(6)# set KERNEL zImage
HaRET(7)# set initrd initrd.gz
HaRET(21)# set cmdline "board-htckaiser.panel_type=0 ppp.nostart=0 
pm.sleep_mode=1 mddi.width=320 mddi.height=428 no_console_suspend 
board-kaiser-keypad.atttilt=0"
HaRET(22)# boot
boot KERNEL=zImage INITRD=initrd.gz
Opening file zImage
Opening file initrd.gz
boot params: RAMADDR=10000000 RAMSIZE=07000000 MTYPE=1553 
CMDLINE='board-htckaiser.panel_type=0 ppp.nostart=0 pm.sleep_mode=1 
mddi.width=320 mddi.height=428 no_console_suspend board-kaiser-keypad.atttilt=0'
Boot FB feedback: 0
Built virtual to physical page mapping
Allocated 873 pages (tags=5D500000/209d2000 kernel=5D501000/209d5000 
initrd=5D668000/20732000 index=5D865000/20535000)
Built kernel tags area
Built page index
preload=2...@5d868000/20532000 sj=5D868000 stack=5D866000/20534000 
data=5D867000/20533000 exec=20532128
Reading 1468872 bytes...
Read complete
Reading 2083760 bytes...
Read complete
Launching to physical address 20532010
Trampoline setup (tram=...@000255f4/1a0255f4/00e6a5f4)
MMU setup: mmu=A0330000/00630000
Go Go Go...
Terminating haret due to unhandled exception (pc=00e6a640)

===== HaRET pre-0.5.3-20090916_090810 =====
Setting KMode to true.
Old KMode was 0
Finished initializing output
Loading dynamically bound functions
Function 'AllocPhysMem' in library 'coredll' at 0x3f61e74
Function 'FreePhysMem' in library 'coredll' at 0x3f61ee0
Function '?GXOpenDisplay@@YAHPAUHWND__@@k...@z' in library 'gx' at 0x2a139ec
Function '?GXCloseDisplay@@YAHXZ' in library 'gx' at 0x2a13dd8
Function '?GXBeginDraw@@YAPAXXZ' in library 'gx' at 0x2a132a8
Function '?GXEndDraw@@YAHXZ' in library 'gx' at 0x2a1336c
Function 'LoadLibraryExW' in library 'coredll' at 0x3f6201c
Function 'NLedSetDevice' in library 'coredll' at 0x3f8951c
Function 'GetSystemPowerStatusEx2' in library 'coredll' at 0x3f689a0
Function 'SleepTillTick' in library 'coredll' at 0x3f61f3c
Function 'CreateToolhelp32Snapshot' in library 'toolhelp' at 0x2faf05c
Function 'CloseToolhelp32Snapshot' in library 'toolhelp' at 0x2faf07c
Function 'Process32First' in library 'toolhelp' at 0x2faf140
Function 'Process32Next' in library 'toolhelp' at 0x2faf1ac
Function 'Module32First' in library 'toolhelp' at 0x2faf340
Function 'Module32Next' in library 'toolhelp' at 0x2faf3b0
Function 'Heap32ListFirst' in library 'toolhelp' at 0x2faf44c
Function 'Heap32ListNext' in library 'toolhelp' at 0x2faf4d4
Function 'Heap32First' in library 'toolhelp' at 0x2faf56c
Function 'Heap32Next' in library 'toolhelp' at 0x2faf620
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='HTC Touch 3G T3232')
Wince reports processor: core=MSM7225-528MHz name= cat= vend=QUALCOMM
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 RX1950
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 SGH_i900
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 FreeScale i.MX21
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
Looking at arch Generic Intel PXA
Looking at arch Generic Intel StrongArm
Looking at arch Generic TI OMAP
Looking at arch Generic TI OMAP15xx
Looking at arch Generic Samsung s3c24xx
Looking at arch Generic MSM7xxxA
Looking at arch Generic MSM7xxx
Looking at arch FreeScale i.MX21
Looking at arch Generic Atlas
Looking at arch Generic ARM 920t
Looking at arch Generic ARM 926
Looking at arch Generic ARM v6
Detecting ram size
WinCE reports memory size 150994944 (phys=128610304 store=104652800)
Mapping mmu table
Build L1 reverse map
Found 306 uncached and 218 cached L1 mappings (ignored 99).
Not registering command IGPIO
Not registering command WG|PIO
Not registering command GPLR
Not registering command GPDR
Not registering command GAFR
Not registering command GPIO
Not registering command GPIOST
Registering command LOADLIBRARYEX
Registering command NLEDSET
Not registering command TRACE
Not registering command TRACEMASK
Not registering command TRACE2
Not registering command TRACETYPE
Not registering command TRACE2TYPE
Not registering command TRACEFORWATCH
Not registering command INSN
Not registering command INSNREENABLE
Not registering command INSNREG1
Not registering command INSNREG2
Not registering command INSN2
Not registering command INSN2REENABLE
Not registering command INSN2REG1
Not registering command INSN2REG2
Registering command KILL
Registering command PS
Registering command LSMOD
Registering command ADDR2MOD
Not registering command AC97
Not registering command ATIDBG
Not registering command EIM
Not registering command GPIO
Initializing for machine 'Generic ARM v6'
Welcome, this is HaRET pre-0.5.3-20090916_090810 running on WindowsCE v5.2
Minimal virtual address: 0x10000, maximal virtual address: 0x7fffffff
Detected machine Generic ARM v6/generic (Plat='PocketPC' OEM='HTC Touch 3G 
T3232')
CPU is ARM ARM arch 6 stepping 2 running in system mode
Enter 'HELP' for a short command summary.

Running WSAStartup
Starting gui
In initdialog
Found machine Generic ARM v6
executing startup.txt
HaRET(2)# set RAMSIZE 0x07000000
HaRET(3)# set RAMADDR 0x10000000
HaRET(4)# set FBDURINGBOOT 0
HaRET(5)# set MTYPE 1553
HaRET(6)# set KERNEL zImage
HaRET(7)# set initrd initrd.gz
HaRET(21)# set cmdline "board-htckaiser.panel_type=0 ppp.nostart=0 
pm.sleep_mode=1 mddi.width=320 mddi.height=428 no_console_suspend 
board-kaiser-keypad.atttilt=0"
HaRET(22)# boot
boot KERNEL=zImage INITRD=initrd.gz
Opening file zImage
Opening file initrd.gz
boot params: RAMADDR=10000000 RAMSIZE=07000000 MTYPE=1553 
CMDLINE='board-htckaiser.panel_type=0 ppp.nostart=0 pm.sleep_mode=1 
mddi.width=320 mddi.height=428 no_console_suspend board-kaiser-keypad.atttilt=0'
Boot FB feedback: 0
Built virtual to physical page mapping
Allocated 873 pages (tags=0x5f600000/03b1c000 kernel=0x5f601000/03b1d000 
initrd=0x5f768000/03c84000 index=0x5f965000/03e81000)
Built kernel tags area
Built page index
preload=2...@0x5f968000/03e84000 sj=0x5f968000 stack=0x5f966000/03e82000 
data=0x5f967000/03e83000 exec=03e84128
Reading 1468872 bytes...
Read complete
Reading 2083760 bytes...
Read complete
Launching to physical address 03e84010
Trampoline setup (tram=...@0x2bdfc/3202bdfc/00df4dfc)
MMU setup: mmu=0xa0330000/00630000
Go Go Go...
Terminating haret due to unhandled exception (pc=00df4e58)
_______________________________________________
Haret mailing list
[email protected]
https://handhelds.org/mailman/listinfo/haret

Reply via email to