> 1. Where are the settings in the kernel to modify ramdisk
> start location,
> size and other very important general config items?
Edit the kernel command line (make config, in General
Setup), add ramdisk_start=xxxx (and perhaps ramdisk_size,
but apparently I don't need it).
The mapping start->physical address isn't obvious to me,
I found that ramdisk_start=1024 mounts a ramdisk uploaded
at address 0xc0900000 on a SA1110 (YMMV)
> 2. Why would I get an error if, using a prepackaged
> kernel/ramdisk that DO
> work together, I replace their ramdisk with an UPDATED
> version (ie, I added
> an executable to it by the standard "mount loop -o" procedure
> on a RedHat
> machine) of that same ramdisk? {In particular, I get a
> "Starting Kernel. .
> ." and it freezes.}
Something I just found on my configuration that gets the
"no init found" message: my gcc produces elf files that are
not compatible with the kernel; when the kernel tries to start
the init process, it fails.
(I'm rebuilding my glibc right now, so I _hope_ that's the
reason... not sure yet).
You can find out that problem by adding a dump of the
error code after the execve in linux/init/main.c (right
at the end of the file):
printk ("errno=%d\n", errno);
an error code of 8 indicates that the binary isn't compatible
for some reason. If that's something else, then that code
should help you find out what's happening.
Hope that Helps,
Yves
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.