Hi Paul, hi Pierre,
i checkouted the latest source code of Haret and made the following file
to make haret properly detect X51 machine :
===== mach-x51v.cpp =====
#include "arch-pxa.h" // MachinePXA27x
#include "mach-types.h"
#include "memory.h" // memPhysSize
//#include "asic3.h"
class MachX51V : public MachinePXA27x {
public:
MachX51V() {
name = "X51v";
OEMInfo[0] = L"Dell Axim X51v";
machType = MACH_TYPE_X30 ;
}
void init() {
#if 0
asic3_gpio_base=0x0c000000;
asic3_sdio_base=0x0e000000;
asic3_bus_shift=1;
#endif
memPhysSize=64*1024*1024;
}
};
REGMACHINE(MachX51V)
===== mach-x51v.cpp =====
Then, i tried to boot Linux on my X51v. I guess that i get the same
result as Pierre, that is to say :
As soon as Haret has finished his bootloading stuff, 4 lines from
different colors are printed at top of screen and that's all folks !
But as you said, it is possible that Linux's boot was OK. As i do not
have a serial cable, i cannot make early kernel debug ; i will try to
log on using ethernet over usb...
Here is the log :
===== HaRET pre-0.4.7-20070109_2127 =====
Setting KMode to true.
Old KMode was 1
Finished initializing output
Trying to load library 'gx'
Function '?GXOpenDisplay@@YAHPAUHWND__@@[EMAIL PROTECTED]' in library 'gx' at
022E19EC
Trying to load library 'gx'
Function '?GXCloseDisplay@@YAHXZ' in library 'gx' at 022E1DCC
Trying to load library 'gx'
Function '?GXBeginDraw@@YAPAXXZ' in library 'gx' at 022E12A8
Trying to load library 'gx'
Function '?GXEndDraw@@YAHXZ' in library 'gx' at 022E136C
Trying to load library 'coredll'
Function 'LoadLibraryExW' in library 'coredll' at 03F779FC
Trying to load library 'coredll'
Function 'GetSystemPowerStatusEx2' in library 'coredll' at 03F7E170
Trying to load library 'coredll'
Function 'SleepTillTick' in library 'coredll' at 03F7791C
Trying to load library 'coredll'
Function 'AllocPhysMem' in library 'coredll' at 03F77854
Trying to load library 'coredll'
Function 'FreePhysMem' in library 'coredll' at 03F778C0
Trying to load library 'toolhelp'
Function 'CreateToolhelp32Snapshot' in library 'toolhelp' at 02EA105C
Trying to load library 'toolhelp'
Function 'Process32First' in library 'toolhelp' at 02EA1140
Trying to load library 'toolhelp'
Function 'Process32Next' in library 'toolhelp' at 02EA11AC
Trying to load library 'toolhelp'
Function 'Module32First' in library 'toolhelp' at 02EA1340
Trying to load library 'toolhelp'
Function 'Module32Next' in library 'toolhelp' at 02EA13B0
Trying to load library 'toolhelp'
Function 'CloseToolhelp32Snapshot' in library 'toolhelp' at 02EA107C
Detecting memory
WinCE reports memory size 260046848 (phys=51802112 store=201973248)
Detecting current machine
Trying to detect machine (Plat='PocketPC' OEM='Dell Axim X51v')
Looking at machine Generic Intel PXA27x
Looking at machine Generic Intel PXA
Looking at machine Alpine
Looking at machine HTC Apache
Looking at machine Beetles
Looking at machine Blueangel
Looking at machine Himalaya
Looking at machine Magician
Looking at machine HTC Universal
Looking at machine H2200
Looking at machine H3900
Looking at machine H4000
Looking at machine H5000
Looking at machine HX4700
Looking at machine Sable
Looking at machine Jornada820
Looking at machine HTC Wizard
Looking at machine HTC Hermes
Looking at machine G500
Looking at machine HTC Artemis
Looking at machine X51v
Initializing for machine 'X51v'
Testing for command IGPIO
Registering command IGPIO
Testing for command WG|PIO
Registering command WG|PIO
Testing for command GPLR
Registering command GPLR
Testing for command GPDR
Registering command GPDR
Testing for command GAFR
Registering command GAFR
Testing for command GPIO
Registering command GPIO
Testing for command GPIOST
Registering command GPIOST
Testing for command LOADLIBRARYEX
Registering command LOADLIBRARYEX
Testing for command II
Registering command II
Testing for command IRQGPIO
Registering command IRQGPIO
Testing for command TRACEIGNORE
Registering command TRACEIGNORE
Testing for command TRACEFORWATCH
Registering command TRACEFORWATCH
Testing for command ADDIRQWATCH
Registering command ADDIRQWATCH
Testing for command CLEARIRQWATCH
Registering command CLEARIRQWATCH
Testing for command LSIRQWATCH
Registering command LSIRQWATCH
Testing for command ADDTRACEWATCH
Registering command ADDTRACEWATCH
Testing for command CLEARTRACEWATCH
Registering command CLEARTRACEWATCH
Testing for command LSTRACEWATCH
Registering command LSTRACEWATCH
Testing for command TRACE
Registering command TRACE
Testing for command TRACEMASK
Registering command TRACEMASK
Testing for command TRACE2
Registering command TRACE2
Testing for command TRACETYPE
Registering command TRACETYPE
Testing for command TRACE2TYPE
Registering command TRACE2TYPE
Testing for command INSN
Registering command INSN
Testing for command INSNREENABLE
Registering command INSNREENABLE
Testing for command INSNREG1
Registering command INSNREG1
Testing for command INSNREG2
Registering command INSNREG2
Testing for command INSN2
Registering command INSN2
Testing for command INSN2REENABLE
Registering command INSN2REENABLE
Testing for command INSN2REG1
Registering command INSN2REG1
Testing for command INSN2REG2
Registering command INSN2REG2
Testing for command WI|RQ
Registering command WI|RQ
Testing for command KILL
Registering command KILL
Testing for command PS
Registering command PS
Testing for command LSMOD
Registering command LSMOD
Testing for command AC97
Registering command AC97
Welcome, this is HaRET pre-0.4.7-20070109_2127 running on WindowsCE v5.1
Minimal virtual address: 00010000, maximal virtual address: 7FFFFFFF
Detected machine 'X51v' (Plat='PocketPC' OEM='Dell Axim X51v')
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 X51v
executing startup.txt
boot KERNEL=zImage INITRD=initrd.gz
Opening file zImage
Opening file initrd.gz
boot params: RAMADDR=a0000000 RAMSIZE=04000000 MTYPE=655
CMDLINE='root=/dev/ram0 rw ramdisk_size=12288 mem=64M keepinitrd
init=/linuxrc console=tty0 ip=10.0.0.2:10.0.0.1:::x50v-linux:usb0:'
Boot FB feedback: 1
Allocated load buffer at 00180020 of size 00425000
Built virtual to physical page mapping
Allocated 1060 pages (tags=0040A000/aa4e5000 kernel=0040F000/aa4ea000
initrd=00562000/aa7e0000 index=003AA000/aae56000)
Built kernel tags area
Built page index
Video buffer at phys=0c000000
[EMAIL PROTECTED]/ab93c000 sj=002DA000 stack=002DF000/ab056000
data=002EB000/ab1d1000 exec=ab93c16c
Reading 1067856 bytes...
Read complete
Reading 3247522 bytes...
Read complete
Launching to physical address ab93c00c
Trampoline setup ([EMAIL PROTECTED]/1a025458/a8a2f458)
MMU setup: mmu=AC4F0000/a84f0000
Video buffer at virt=bc000000
Go Go Go...
Best regards.
Le mercredi 10 janvier 2007 à 19:19 +0200, Paul Sokolovsky a écrit :
> Hello Pierre,
>
> Tuesday, January 9, 2007, 12:11:53 PM, you wrote:
>
> >
> []
>
> >
> > You will find attached all the logs I got until now : mmu dump, boot,
> > gpios, etc.
> > If it gives you some new ideas, they are welcome :-)
>
> Unfortunately, logs are not complete. Please send complete boot
> log, it should start with:
>
> ===== HaRET pre-0.4.6-__________ =====
>
> (______ is version number)
>
> And with:
>
> Go Go Go...
>
>
> And contain line like:
>
> Detecting current machine
> Trying to detect machine (Plat='PocketPC' OEM='Compaq iPAQ H3900')
>
> > Yesterday, I integrated the axim code sent by Kai into the latest
> > HH kernel, but it does not seem to improve the boot process. I
> > should get a serial cable before the next week, so I will be able to have a
> > look on the kernel side.
>
> Do you have working driver for Intel 2700G chip? It's of course
> hard to port kernel to device which has non well-known graphic chip.
> Maybe it even loads, it's just you have no idea about this, as can't
> see that on screen ;-). So yes, serial cable is usually a life-savior
> here.
>
> >
> > Pierre
> >
>
>
--
_______________________________________________
Aximx50-port mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/aximx50-port