Hi Pierre, i am also desperately waiting for a Linux port on axim x51v. So, few weeks ago, i tried to figure out why Haret was not able to boot Linux on Axim x51v / wince 5.
Here is a sum up of what i have found : First, i checked-out the latest sources of Haret from CVS (http://handhelds.org/moin/moin.cgi/HaRET). I added some code to make haret recognize x51 machine and compiled it using cegcc (http://cegcc.sourceforge.net/). When trying to boot Linux, all things are fine until haret goes into the following function : "prepForKernel()" and exit with the following exception : "Page at 0x400000 not mapped". If i understood well, aim of this function is to allocate an array of virtual memory pages that will be used to copy the kernel & and possibly initrd). After memory allocation, Haret needs to retrieve physical address of all virtual pages. This is done in a loop in prepForKernel(). When doing this; Haret exit because it is not able to retrieve the physical address mapped at virtual address : 0x400000. I tried to do a memset of the array before the loop in order to force physical allocation but it still hangs. As i am not an expert in MMU and i do not have many times to spend on that at the moment, i did not go further. Sorry for my english, i am french ;) Good luck. Jean-Nicolas. Le lundi 08 janvier 2007 à 12:00 -0500, [EMAIL PROTECTED] a écrit : > Send Aximx50-port mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://www.handhelds.org/mailman/listinfo/aximx50-port > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Aximx50-port digest..." > > > Today's Topics: > > 1. Re: Boot Linux on x51v (Paul Sokolovsky) > 2. Re: Boot Linux on x51v (Pierre GAUFILLET) > 3. Re: Boot Linux on x51v (Paul Sokolovsky) > 4. Re: Boot Linux on x51v (Pierre GAUFILLET) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 7 Jan 2007 22:57:52 +0200 > From: Paul Sokolovsky <[EMAIL PROTECTED]> > Subject: Re: [Aximx50-port] Boot Linux on x51v > To: Kai Schroeder <[EMAIL PROTECTED]>, Pierre GAUFILLET > <[EMAIL PROTECTED]> > Cc: The porting effort for the Dell Axim x50 > <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii > > Hello Kai, > > Sunday, January 7, 2007, 6:09:52 PM, you wrote: > > > Pierre GAUFILLET wrote: > >> Hi all, > >> > >> first, a very nice year 2007 to all of you ! > >> > >> I am currently trying to understand why Linux can not be booted on x51v > >> or wm5 based axim. > >> It seems that Haret can boot Linux on iPaq stuff even with wm5. > >> Does anybody have an idea about the differences between these machines > >> and the axim family ? > >> > >> I also built the HEAD handheld linux kernel and discovered that most of > >> the axim code can not even compile... > >> Is somebody working on it now ? > >> > >> As I do not want to rebuild the world, could you tell me on what task I > >> may be helpful ? > >> > >> > >> Pierre > >> > >> > >> > > Hi, > > > as far as i know, nobody is working on this project at the moment. the > > files have never been officially merged with the handheldskernel. you > > can get the latest source files here: > > http://x50v.imploder.org/?page_id=7 > > > the first thing you could do is try to merge them with the latest > > handheldskernel and see if you can > > get it to compile and boot. well starting with a x51v doesnt make thinks > > easier though. but if you can get it to a state where it compiles and > > post your changes that might get the project moving once again. good luck :) > > And you're welcome and encouraged to submit upgraded patches for > inclusion into handhelds.org CVS, to make sure that the great porters' > work is not lost or becomes unusable. In CVS, we're reaching code > standards which will allow us to maintain code for all ports with very > moderate efforts from individual device porters (of course, this > requires following established best practices). > > > Kai Schroeder > > > > > -- > Best regards, > Paul mailto:[EMAIL PROTECTED] > > > > ------------------------------ > > Message: 2 > Date: Sun, 07 Jan 2007 22:30:07 +0100 > From: Pierre GAUFILLET <[EMAIL PROTECTED]> > Subject: Re: [Aximx50-port] Boot Linux on x51v > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="utf-8" > > Paul Sokolovsky a crit : > > > >> as far as i know, nobody is working on this project at the moment. the > >> files have never been officially merged with the handheldskernel. you > >> can get the latest source files here: > >> http://x50v.imploder.org/?page_id=7 > >> > Got it. Thanks. > >> the first thing you could do is try to merge them with the latest > >> handheldskernel and see if you can > >> get it to compile and boot. well starting with a x51v doesnt make thinks > >> easier though. but if you can get it to a state where it compiles and > >> post your changes that might get the project moving once again. good luck > >> :) > >> > > > > And you're welcome and encouraged to submit upgraded patches for > > inclusion into handhelds.org CVS, to make sure that the great porters' > > work is not lost or becomes unusable. In CVS, we're reaching code > > standards which will allow us to maintain code for all ports with very > > moderate efforts from individual device porters (of course, this > > requires following established best practices). > > > It looks reasonnable. > Let's get a new kernel base merging the main branch and the x50 patch then. > > I have 2 questions : > - how to debug/trace early kernel boot tests (with Haret ? I found > nothing about that on the wiki) ? > - do you have any ideas about the Linux boot failure on x51 / x50+wm5 > family ? > > Pierre > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://www.handhelds.org/hypermail/aximx50-port/current/attachments/20070107/9f370c8d/attachment.html > > ------------------------------ > > Message: 3 > Date: Sun, 7 Jan 2007 23:42:45 +0200 > From: Paul Sokolovsky <[EMAIL PROTECTED]> > Subject: Re: [Aximx50-port] Boot Linux on x51v > To: Pierre GAUFILLET <[EMAIL PROTECTED]> > Cc: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=utf-8 > > Hello Pierre, > > Sunday, January 7, 2007, 11:30:07 PM, you wrote: > > > > > Paul Sokolovsky a ecrit: > > > > > > > as far as i know, nobody is working on this project at the moment. the > > files have never been officially merged with the handheldskernel. you > > can get the latest source files > > here:http://x50v.imploder.org/?page_id=7 > > > > > > Got it. Thanks. > > > > > [] > > > It looks reasonnable. > > Let's get a new kernel base merging the main branch and the x50 patch then. > > > > I have 2 questions : > > Well, I can make my try at answering them. > > > - how to debug/trace early kernel boot tests (with Haret ? I found nothing > > about that on the wiki) ? > > I assume you mean early boot phase, before even LCD is initialized > and you can see messages there. Well, most realistic and viable > solution is to use serial cable, with corresponding config in kernel. > > > - do you have any ideas about the Linux boot failure on x51 / x50+wm5 > > family ? > > There're lots of great recent development on HaRET recently. So, > first suggestion is to try latest snapshot, > http://handhelds.org/~koconnor/haret/ . Please send you feedback to > the haret mailing list, haret-at-handhelds.org. And yes, that's > another thing we should unite on - to make a HaRET working perfectly > on all out devices. As I told, latest snapshots of it offer more than > it ever used to (in particular, it works robustly on PXA27x devices, > like iPaq hx4700. I'm not sure about wm2005, that's why we need > feedback.) > > > > > Pierre > > > > > > > > > -- > Best regards, > Paul mailto:[EMAIL PROTECTED] > > > > ------------------------------ > > Message: 4 > Date: Sun, 07 Jan 2007 23:13:01 +0100 > From: Pierre GAUFILLET <[EMAIL PROTECTED]> > Subject: Re: [Aximx50-port] Boot Linux on x51v > To: [email protected] > Cc: [EMAIL PROTECTED] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="utf-8" > > Paul Sokolovsky a crit : > > Hello Pierre, > > > > Sunday, January 7, 2007, 11:30:07 PM, you wrote: > > > > > >> It looks reasonnable. > >> Let's get a new kernel base merging the main branch and the x50 patch > >> then. > >> > >> I have 2 questions : > >> > > > > Well, I can make my try at answering them. > > > > > >> - how to debug/trace early kernel boot tests (with Haret ? I found > >> nothing about that on the wiki) ? > >> > > > > I assume you mean early boot phase, before even LCD is initialized > > and you can see messages there. Well, most realistic and viable > > solution is to use serial cable, with corresponding config in kernel. > > > I'll try that. There are some informations regarding serial link on the > wiki : 'should be ok. > > > >> - do you have any ideas about the Linux boot failure on x51 / x50+wm5 > >> family ? > >> > > > > There're lots of great recent development on HaRET recently. So, > > first suggestion is to try latest snapshot, > > http://handhelds.org/~koconnor/haret/ . > I already made some tests using the HEAD version. > No real problem so far. dumps and lsmod look interesting. > > Please send you feedback to > > the haret mailing list, haret-at-handhelds.org. > ok (in CC this time). > > Pierre > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://www.handhelds.org/hypermail/aximx50-port/current/attachments/20070107/a337a433/attachment.html > > ------------------------------ > -- _______________________________________________ Aximx50-port mailing list [email protected] https://www.handhelds.org/mailman/listinfo/aximx50-port
