Compiling your own Linux Kernel

Tutorials and Guides about using/developing Linux/BSD/Mac OS @Xbox360
User avatar
tuxuser
Administrator
Administrator
Posts: 301
Joined: Sat Feb 19, 2011 4:53 pm
Location: Germany
Contact:

Re: Compiling your own Linux Kernel

Post by tuxuser » Sun Apr 24, 2011 11:15 pm

hi,

Take care about the last step which get mentioned on the free60 Wiki Toolchain page:

Add following lines to ~/.bashrc

Code: Select all

export DEVKITXENON="/usr/local/xenon"
export PATH="$PATH:$DEVKITXENON/bin:$DEVKITXENON/usr/bin"
greetz
tux
I have no idea what I am doing but atleast I am trying

Doerek

Re: Compiling your own Linux Kernel

Post by Doerek » Sun Apr 24, 2011 11:29 pm

die änderungen sind bereits drin...

Doerek

Re: Compiling your own Linux Kernel

Post by Doerek » Sun Apr 24, 2011 11:32 pm

ahh!...ich hatte die genannten zeilen einfach eingefügt...jetzt habe ich eine leer zeile mit eingefügt und anscheinend läuft das kompilieren gerade...cool!

Doerek

Re: Compiling your own Linux Kernel

Post by Doerek » Mon Apr 25, 2011 12:04 am

Also nach dem kompilieren habe ich die datei "zImage.xenon" in folgendem verzeichnis:

Code: Select all

/home/doerek/xenon-linux-kernel/linux-2.6.36.4/arch/powerpc/boot/
was genau mache ich mit der Datei nun? Die größe der Datei beträgt "nur" 11,6MB

Doerek

Re: Compiling your own Linux Kernel

Post by Doerek » Mon Apr 25, 2011 12:40 am

Ich hab die datei nun in "xenon.elf" umbenannt und mit der von der ubuntu Live Cd hier aus gem forum ausgetauscht.

Er fängt zwar an zu laden aber endet dann mit "Kernel Panic"

Image

User avatar
tuxuser
Administrator
Administrator
Posts: 301
Joined: Sat Feb 19, 2011 4:53 pm
Location: Germany
Contact:

Re: Compiling your own Linux Kernel

Post by tuxuser » Mon Apr 25, 2011 7:11 am

good mornin,

Here you got the Kernel Config and the initramfs which is needed for a LiveCD Kernel. Have fun!

PS: Please use the edit button to give new information, its kinda annoying to see 4 posts of a user in a row... thx

greetz
tux
I have no idea what I am doing but atleast I am trying

Doerek

Re: Compiling your own Linux Kernel

Post by Doerek » Mon Apr 25, 2011 8:10 am

[quote=""tuxuser""]good mornin,

Here you got the Kernel Config and the initramfs which is needed for a LiveCD Kernel. Have fun!
[/quote]
Wo genau? :)

btw.
Den pfad zu den initramfs habe nach den änderungen ich an dieser stelle:

CONFIG_INITRAMFS_SOURCE="/path/to/casper-initramfs"

in der config angegeben.

Das hier ist das file das erstellt wurde:
http://www.megaupload.com/?d=X7FF98U0

User avatar
tuxuser
Administrator
Administrator
Posts: 301
Joined: Sat Feb 19, 2011 4:53 pm
Location: Germany
Contact:

Re: Compiling your own Linux Kernel

Post by tuxuser » Tue Apr 26, 2011 9:12 am

I am sorry, HERE it is.
Last edited by tuxuser on Sun Jun 26, 2011 7:52 pm, edited 1 time in total.
I have no idea what I am doing but atleast I am trying

Doerek

Re: Compiling your own Linux Kernel

Post by Doerek » Tue Apr 26, 2011 10:39 am

[quote="tuxuser"]I am sorry, HERE it is.[/quote]

Das archive habe ich ja runtergeladen und nach den anweisungen hier im forum zum kernel hinzugefügt...
Mein Ziel war es ja ursprünglich die noch nötigen änderungen vorzunehmen und nicht den momentanen Kernel einfach erneut zu kompilieren.
Last edited by Doerek on Sun Jun 26, 2011 7:52 pm, edited 1 time in total.

User avatar
tuxuser
Administrator
Administrator
Posts: 301
Joined: Sat Feb 19, 2011 4:53 pm
Location: Germany
Contact:

Re: Compiling your own Linux Kernel

Post by tuxuser » Tue Apr 26, 2011 3:20 pm

about what changes are you talking?

PS: What about writing in english?
I have no idea what I am doing but atleast I am trying

80JOKER80
User
User
Posts: 1
Joined: Wed Feb 06, 2013 6:10 pm

Re: Compiling your own Linux Kernel

Post by 80JOKER80 » Mon Nov 11, 2013 7:16 pm

hello tuxuser!

you wrote: "The most important part you probably want to edit is the root= parameter. Edit it to the device where your linux system is installed."

did you mean root=uda (USB Stick)
or did you mean boot=uda:/casper ???

hope someone will read this question :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest