OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Kexec For 2.4.x/arm
caritas
post Mar 7 2006, 09:28 PM
Post #1





Group: Members
Posts: 4
Joined: 22-February 06
Member No.: 9,203



Hi! everyboy.

I implemented the kexec for Linux 2.4.x/arm based on the bootloader of OpenBSD.

It can be used to boot another kernel(such as 2.6.x) within the 2.4.x kernel, and it is useful for somebody who want to test the 2.6.x kernel without flush the flash.

Caution:
Not very security. I have ever corrupted my jffs2 root file system on nand flash with this. Turn off the MTD support on booted kernel.

Usage:
make KERNEL_SRC=<some place>
copy vmlinux to the directory of kexec.
modify bootlinux
./bootlinux

Hope helpful for somebody.

Best Regards.
Attached File(s)
Attached File  kexec.tar.gz ( 4.04K ) Number of downloads: 87
 
Go to the top of the page
 
+Quote Post
Hrw
post Mar 7 2006, 10:48 PM
Post #2





Group: Members
Posts: 1,376
Joined: 11-January 04
From: Poznań, Poland
Member No.: 1,413



QUOTE(caritas @ Mar 8 2006, 07:28 AM)
I implemented the kexec for Linux 2.4.x/arm based on the bootloader of OpenBSD.

It can be used to boot another kernel(such as 2.6.x) within the 2.4.x kernel, and it is useful for somebody who want to test the 2.6.x kernel without flush the flash.


OpenZaurus devels use 2.6 with kexec to boot 2.6/2.4 kernels - you did same in reverse direction :)

QUOTE
I have ever corrupted my jffs2 root file system on nand flash with this. Turn off the MTD support on booted kernel.


If you used this to boot 2.6 on akita/borzoi (c1000/c3100) then yes - it will destroy flash content and we can blame Sharp for their ugly NAND driver in 2.4 kernel.

Thing is nice - maybe worth adding to OE so people will get it as package ;)
Go to the top of the page
 
+Quote Post
SamuelFeng
post Apr 7 2006, 04:07 AM
Post #3





Group: Members
Posts: 4
Joined: 11-March 06
Member No.: 9,344



It need the kernel source you are running (mostly 2.4.20).
It work well in my spitz smile.gif
Go to the top of the page
 
+Quote Post
matthis
post Mar 29 2008, 03:17 PM
Post #4





Group: Members
Posts: 218
Joined: 12-February 06
From: Tokyo
Member No.: 9,124



I compiled and tried this on sharprom / sl-c3200 but nothing happens with bootlinux, no errors either...
Go to the top of the page
 
+Quote Post
lumag
post Apr 4 2011, 05:54 AM
Post #5





Group: Members
Posts: 17
Joined: 19-November 07
From: Russia, SPb
Member No.: 20,962



Thank you!

I'll give it a try on my collie very soon.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 30th August 2014 - 10:32 PM