Jean-Nicolas GRAUx a écrit :
> 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 =====
>
Great.
> 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...
>
Note that RAMADDR is wrong here, even if the RAM addresses used during
the boot process seem to be correct.
It should be a8000000 (even if it does not improve the result on my side).
I'll try to send a kernel diff tomorrow (still some work to be done).
At least, we will go on from the same (bad) state ;-)
Pierre
--
_______________________________________________
Aximx50-port mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/aximx50-port