Minimum kernel modules for Android(1.5) SD booting?

Carlos M.
I dont know what the modules are to be loaded in the kernel.
I use 2.6.32.2 and would like to know the MINIMUM of modules to boot
Android from SDcard(and ofcourse, able to use touchscreen and cardreader).

Been using a configfile I got somewhere, but it uses the yaffs fs, so I
changed it to ext2/3 support in the kernel, but after the ext3 messages, I
get this:


Waiting 3sec before mounting root device...
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on mmcblk0p3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) on device 179:3.
Freeing init memory: 168K
Warning: unable to open an initial console.
Kernel panic - not syncing: Attempted to kill init!
Backtrace: 
[<c00369d4>] (dump_backtrace+0x0/0x10c) from [<c02f9844>]
(dump_stack+0x18/0x1c)
 r7:c3820000 r6:c040cd70 r5:0000000b r4:0000000b
[<c02f982c>] (dump_stack+0x0/0x1c) from [<c02f9894>] (panic+0x4c/0x134)
[<c02f9848>] (panic+0x0/0x134) from [<c0047d98>] (do_exit+0x534/0x62c)
 r3:c03eeb34 r2:c3823e20 r1:c3823cf4 r0:c03924a4
[<c0047864>] (do_exit+0x0/0x62c) from [<c0047ed4>]
(do_group_exit+0x44/0xc4)
[<c0047e90>] (do_group_exit+0x0/0xc4) from [<c0052990>]
(get_signal_to_deliver+0x19c/0x354)
 r5:0000000b r4:c3822000
[<c00527f4>] (get_signal_to_deliver+0x0/0x354) from [<c00353e8>]
(do_notify_resume+0x9c/0x540)
[<c003534c>] (do_notify_resume+0x0/0x540) from [<c0032f68>]
(work_pending+0x1c/0x20)

And instead of a black screen at first seconds of bootup I get the linux
logo. What modules am I forgetting to add (or to remove?)?
If someone could upload a configfile, also great!

(oh and what is the name of the kernel module for the (VIA VT6656)wifi
module?)

Regards,
Carlos M.

themadmax
Hi,

Download kernel source from this web site, in root directory you have
config file corresponding to your mini2440 model.
Enable Ext3 in your kernel, isn't in default.
Show us the boot command line are you using, I think your problem is there.

Carlos M.
Hi madmax,

Tried different init options (as far as possible, like /sbin/init or
something that doesnt even exist haha). Getting different reactions at the
same point as before.

By the way, I am using the config file from this site, I just changed it
myself as the default did not work! I tried ONLY changing the fs, deleting
yaffs en adding ext3, didnt work, same error. Changed some more options, no
effect.

Using default boot options:

bootcmd=mmcinit ; ext2load mmc 0:2 0x32000000 uImage.bin ; bootm 0x32000000
bootargs=console=ttySAC0,115200 root=/dev/mmcblk0p3 rootfstype=ext3
mini2440=0tb rootdelay=3 init=/linuxrc

It boots with precompiled images from other people, or at least from
Belina76's blog. (same settings)
Any idea?