OESF Portables Forum

Everything Else => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => Sharp PC-Z1 NetWalker => Topic started by: Sleep_Walker on April 22, 2010, 01:55:51 pm

Title: Kexec On Netwalker
Post by: Sleep_Walker 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!
Title: Kexec On Netwalker
Post by: Sleep_Walker 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 (http://git.hackndev.com/?p=netwalker/initrd-skel.git;a=summary)

I also analysed ecos & redboot sources and initrd cannot be specified in boot.conf.
Title: Kexec On Netwalker
Post by: ptoki 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
Title: Kexec On Netwalker
Post by: Sleep_Walker 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...