a friend of mine, who is quite familiar to gentoo has buildet a new
kernel for the device mapper for me in Whiite.
It was compiled on the wii with around 16 MB ram left at max (was going
strongly up and down).
He used the the 220.127.116.11 after it failed the 2.6.32 kernel.
Both kernel work until the find an usb device (external lan or internal
wlan chip). The they write initialise it. And will wait forever. If you
press reset you got a message (with a different time stamp so the wii is
We used the howto from gc-linux.com (just compiled it on the wii etc).
Downloaded the kernel source, downloaded the patch, using the patch (i
think he did it) and compile it with make. Then make module_install and
copied the kernel in the SD card (boot.elf). Then we run it. Didn't
work. The "old" kernel worked properly.
We don't know what is gone wrong. Maybe you can help us. Thank you :)
From: Albert Herranz <albert_herranz@ya...> - 2010-02-25 05:40:53
> Hi guys,
> a friend of mine, who is quite familiar to gentoo has buildet a new
> kernel for the device mapper for me in Whiite.
> Both kernel work until the find an usb device (external lan or internal
> wlan chip). The they write initialise it. And will wait forever. If you
> press reset you got a message (with a different time stamp so the wii is
> still working).
From what you describe, it looks like you are using the wrong root= option in the kernel command line for your boot environment.
Please, see http://www.gc-linux.org/wiki/MINI:KernelPreviewFive#Root_device_name_changes
When booting via BootMii, the root option must be 'root=/dev/mmcblk0p2' to mount the root filesystem from the 2nd partition of your SD card.
When booting via HBC, the root option must be 'root=/dev/rvlsda2' to mount the root filesystem from the 2nd partition of your SD card.
Note that the kernel waits _forever_ until the device containing the root filesystem shows up when you specify the 'rootwait' command line option.
From: Albert Herranz <albert_herranz@ya...> - 2010-02-25 15:25:54
> thank you for the answer.
> I'm booting over HBC. How can I change the command line root= option? I
> just klick on the kernel (boot.elf) and haven't changed the XML file...
> Is it in the xml file, or does it happen while the kernel is compiled?
The command line is embedded in the kernel ELF.
> Any Idea how to fix it? Would be realy great. Btw. compiling on the Wii
> works realy great even with just 16 MB Ram free^^.
The command line is currently specified in the device tree source file.
To change it, edit the arch/powerpc/boot/dts/wii.dts file and look for the 'bootargs' property within the 'chosen' node.
PS: Note that if you boot the kernel from HBC as a normal application (not via the Load BootMii button in the home menu) you will be running the kernel under Nintendo IOS, which has some limitations. For example, in that environment the WiFi hardware cannot be accessed and thus doesn't work.
See "Extra features of MIKE p5 when running under mini (vs IOS)" in the article http://www.gc-linux.org/wiki/MINI:KernelPreviewFive for the options that are _not_ available when running the kernel under Nintendo IOS.