RE: Question about kernel level hacking
I can only speculate, but I would expect a JTAG port to be made available -- probably on the phone itself, but failing that, through the "hackers lunchbox" (or was that toolbox?) accessory. That would allow you to reprogram flash without relying on the existing flash booting, as long as you have the JTAG connection and software on your development host. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alessandro Iurlano Sent: Friday, January 12, 2007 10:56 AM To: OpenMoko Subject: Question about kernel level hacking Hello! As I am mainly a low level programmer I will probably try to put my hands on the Neo at kernel level like customizing the linux kernel with patches or even try to program the Neo with my own kernel. I think that the openess of the platform will allow me that. Is it right? Is there a way to recover a mistake at this level (that is, the boot loader doesn't work any more)? Thanks a lot, Alessandro NOTE: The information in this message is intended for the personal and confidential use of the designated recipient(s) named above. To the extent the recipient(s) is/are bound by a non-disclosure agreement, or other agreement that contains an obligation of confidentiality, with AuthenTec, then this message and/or any attachments shall be considered confidential information and subject to the confidentiality terms of that agreement. If the reader of this message is not the intended recipient named above, you are notified that you have received this document in error, and any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this document in error, please delete the original message and notify the sender immediately. Thank you. AuthenTec, Inc. http://www.authentec.com ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Question about kernel level hacking
Salve Alessandro! On Fri, 12 Jan 2007, Alessandro Iurlano wrote: > As I am mainly a low level programmer I will probably try to put my > hands on > the Neo at kernel level like customizing > the linux kernel with patches or even try to program the Neo with my > own > kernel. :))) > I think that the openess of the platform will allow me that. Is it > right? > Is there a way to recover a mistake at this level (that is, the boot > loader > doesn't work any more)? Do you know the kexec kernel patch? Only the first booted kernel need this patch and can load any other kernel into the RAM and switch to the second without reboot. *G* Maybe not the best links - just some quick found links: http://www-128.ibm.com/developerworks/linux/library/l-kexec.html http://www.xmission.com/~ebiederm/files/kexec/README http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2006-December/037671.html http://kboot.sourceforge.net/doc/kboot-lk2005-talk.ps.gz I haven't played a litte bit on a my laptop once but tommorow I will got a NSLU2 because it is ARM powered like the Neo and some ideas could be tested with it before getting the Neo :) On the NSLU2 I will play with debian and kexec to install a pre-system on the flash once and then boot a second system from USB. So I think kexec will be possible on the Neo1973 you could have several systems parallel and when you need a stabil system for normal life you could choose. No idea if this will be interesting for normal user, but for shure for hackers like you ;) Cheers, rob PS: I love hacks like kexec and linux-vserver :))) So good to have low level delelopers here ;) ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Question about kernel level hacking
On 1/12/07 9:26 AM, "Heilpern, Mark" <[EMAIL PROTECTED]> wrote: > I can only speculate, but I would expect a JTAG port to be made available -- > probably on the phone itself, but failing that, through the "hackers lunchbox" > (or was that toolbox?) accessory. That would allow you to reprogram flash > without relying on the existing flash booting, as long as you have the JTAG > connection and software on your development host. The "Hacker's Lunchbox" will make this kind of stuff easy. (More on this soon.) -Sean ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Question about kernel level hacking
On 1/13/07, Sean Moss-Pultz <[EMAIL PROTECTED]> wrote: On 1/12/07 9:26 AM, "Heilpern, Mark" <[EMAIL PROTECTED]> wrote: > I can only speculate, but I would expect a JTAG port to be made available -- > probably on the phone itself, but failing that, through the "hackers lunchbox" > (or was that toolbox?) accessory. That would allow you to reprogram flash > without relying on the existing flash booting, as long as you have the JTAG > connection and software on your development host. The "Hacker's Lunchbox" will make this kind of stuff easy. (More on this soon.) -Sean That's music for my ears :) Anyway, just to clarify, I'm not a linux kernel developer yet (I'll gladly become if needed) but I like to patch and experiment a lot with it. I would also like to port my own programs to run on the phone WITHOUT the linux kernel (i.e. on the bare machine). ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Question about kernel level hacking
On 1/15/07, Alessandro Iurlano <[EMAIL PROTECTED]> wrote: On 1/13/07, Sean Moss-Pultz <[EMAIL PROTECTED]> wrote: > > On 1/12/07 9:26 AM, "Heilpern, Mark" <[EMAIL PROTECTED]> > wrote: > > > I can only speculate, but I would expect a JTAG port to be made > available -- > > probably on the phone itself, but failing that, through the "hackers > lunchbox" > > (or was that toolbox?) accessory. That would allow you to reprogram > flash > > without relying on the existing flash booting, as long as you have the > JTAG > > connection and software on your development host. > > The "Hacker's Lunchbox" will make this kind of stuff easy. (More on this > soon.) > > -Sean That's music for my ears :) Anyway, just to clarify, I'm not a linux kernel developer yet (I'll gladly become if needed) but I like to patch and experiment a lot with it. I would also like to port my own programs to run on the phone WITHOUT the linux kernel ( i.e. on the bare machine). Will the "Hacker's Lunchbox" be available at the phone launch time or will we have to wait? Thanks and keep up the VERY good work! I'm really looking forward to the launch date! ___ OpenMoko community mailing list community@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/community
Re: Question about kernel level hacking
On 1/17/07 9:50 AM, "Alessandro Iurlano" <[EMAIL PROTECTED]> wrote: > Will the "Hacker's Lunchbox" be available at the phone launch time or will we > have to wait? > > Thanks and keep up the VERY good work! I'm really looking forward to the > launch date! It will be ready. -Sean ___ OpenMoko community mailing list community@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/community
kexec-arm.patch? Re: Question about kernel level hacking
Salve Alessandro! On Fri, 12 Jan 2007, Alessandro Iurlano wrote: > As I am mainly a low level programmer I will probably try to put my hands on > the Neo at kernel level like customizing > the linux kernel with patches or even try to program the Neo with my own > kernel. :))) > I think that the openess of the platform will allow me that. Is it right? > Is there a way to recover a mistake at this level (that is, the boot loader > doesn't work any more)? Do you know the kexec kernel patch? Only the first booted kernel need this patch and can load any other kernel into the RAM and switch to the second without reboot. *G* Maybe not the best links - just some quick found links http://www-128.ibm.com/developerworks/linux/library/l-kexec.html http://www.xmission.com/~ebiederm/files/kexec/README http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2006-December/037671.html http://kboot.sourceforge.net/doc/kboot-lk2005-talk.ps.gz I haven't played a litte bit on a my laptop once but tommorow I will got a NSLU2 because it is ARM powered like the Neo and some ideas could be tested with it before getting the Neo :) On the NSLU2 I will play with debian and kexec to install a pre-system on the flash once and then boot a second system from USB. So I think kexec will be possible on the Neo1973 you could have several systems parallel and when you need a stabil system for normal life you could choose. No idea if this will be interesting for normal user, but for shure for hackers like you ;) Cheers, rob PS: I love hacks like kexec and linux-vserver :))) - > > Thanks a lot, > Alessandro > ___ > OpenMoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: kexec-arm.patch? Re: Question about kernel level hacking
Robert Michel wrote, On 13/01/07 04:01: Salve Alessandro! On Fri, 12 Jan 2007, Alessandro Iurlano wrote: As I am mainly a low level programmer I will probably try to put my hands on the Neo at kernel level like customizing the linux kernel with patches or even try to program the Neo with my own kernel. :))) I think that the openess of the platform will allow me that. Is it right? Is there a way to recover a mistake at this level (that is, the boot loader doesn't work any more)? Do you know the kexec kernel patch? Only the first booted kernel need this patch and can load any other kernel into the RAM and switch to the second without reboot. *G* Maybe not the best links - just some quick found links http://www-128.ibm.com/developerworks/linux/library/l-kexec.html This contains an error. It has: kexec -l /boot/bzImage -append="root=/dev/hda1" instead of kexec -l /boot/bzImage --append="root=/dev/hda1" Note the 2 dashes before append. ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community