Author Topic: Kexec On Netwalker  (Read 6019 times)

Sleep_Walker

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://sleepwalker.hackndev.com
Kexec On Netwalker
« on: April 22, 2010, 01:55:51 pm »
Hi,

I was thinking about creating second stage kexec based bootloader. I have it done completely (boot from internal flash, SD card, USB and set preffered way of boot) with plans to enhance in mind (like restoring flash without restore system on microSD card, creating backups, etc.), but I fail with booting through kexec. I'm using sources 2.6.28.10 (sources of linux-image-*-araneo19).

Was anyone successful in booting through kexec?

I know that kexec utils need to be patched and I got to new kernel I think, but it hangs with white screen and watchdog kill it in a minute.

And one question a bit offtopic - does anyone found the way how to boot initrd from card? I'm not sure, what to put into boot.conf so it loads also initrd...

Thanks!
Palm Tungsten|T3 -->  Palm Treo 680 && Palm Treo 650 && Palm LifeFlash && Palm TX && Freerunner && Palm Tungsten|T && Palm III && Palm Treo 755p && SHARP PC-Z1 Netwalker - http://hackndev.com

Sleep_Walker

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://sleepwalker.hackndev.com
Kexec On Netwalker
« Reply #1 on: May 02, 2010, 03:34:35 am »
Hmm, it seems that I'm only one interested in that :b

I created GIT repository for this:
http://git.hackndev.com/?p=netwalker/initr...l.git;a=summary

I also analysed ecos & redboot sources and initrd cannot be specified in boot.conf.
Palm Tungsten|T3 -->  Palm Treo 680 && Palm Treo 650 && Palm LifeFlash && Palm TX && Freerunner && Palm Tungsten|T && Palm III && Palm Treo 755p && SHARP PC-Z1 Netwalker - http://hackndev.com

ptoki

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://
Kexec On Netwalker
« Reply #2 on: May 02, 2010, 05:12:21 am »
I'm also interested in that matter but not as parto of the creation process. Rather as a consumer.
It would be nice to have a possibility to bot another OS version but for now ubuntu is good enough to not have to do this
I hope You will make it work

Sleep_Walker

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://sleepwalker.hackndev.com
Kexec On Netwalker
« Reply #3 on: May 02, 2010, 08:43:19 am »
OS replacement is possible even now, I already had Gentoo on Netwalker and it worked quite well. But I was tired of compiling - I used external flash to prolong internal flash life and it was quite annoying
I also tried Debian, Karmic Koala and Lucid Lynx RC2. Karmic Koala worked but had some issues with sound, touchscreen etc. With Lucid I got just segfault of X server so no fun. I'm planning to try openSUSE when I have more time - openSUSE build service is really something I want to have and I'm used to have...
Palm Tungsten|T3 -->  Palm Treo 680 && Palm Treo 650 && Palm LifeFlash && Palm TX && Freerunner && Palm Tungsten|T && Palm III && Palm Treo 755p && SHARP PC-Z1 Netwalker - http://hackndev.com