View Single Post
Old 10-22-2012, 01:52 PM   #16
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by pepijndevos View Post
I set the initramfs to an empty string, so i don;t think so.
I don't have a tequila .list, there is a joshime .list though, maybe I could try that.

Options to the kernel? No idea. I gave ARCH and CROSS_COMPILE to make. The rest is probably the defaults.

I don't know that it doesn't run, I just know the Kindle doesn't start with that kernel flashed to it.

Network console? No?! How does that work? I'll read the configs a bit...
kernel-source_version-number/Documentation/**

Kernel command line options -
The kernel is a regular C program - just like an application program with: main(argc, **argv).

The stored options for start-up come from:
Passed by the loader (in this case, u-boot) ;
In newer versions of the kernel, stored in the kernel at build-time.
(NO, don't ask me if your version does that, I don't recall what version the "stored command line" was added.)

When passed by u-boot, u-boot has them stored in its environment.
Same place it keeps its other scripting strings.

If you don't have the list (or the directory) for the initramFS - make one of your own choosing.
Starting point: "Early Userspace" in the kernel source documentation tree.
AND/OR
Extract the initramFS from one of the factory kernel images.
It will most likely be a gzip'd cpio file appended to the kernel.
(gzip'd cpio because this is a fairly old kernel version)

Your primary help source is the /Documentation/** tree in the source file.

Other stuff that might give you a feel for what you need to do:
http://www.christian-hoff.com/?p=16

There are some technical differences between the boot image used by MIPS and the one used by ARM, but the principles are the same:
http://minimodding.com/RecipesIndex
http://minimodding.com/SnippetsIndex
http://minimodding.com/SystemRescue
You can probably find that site's owner lurking around here, somewhere.
knc1 is offline   Reply With Quote