Re: No mtdblock devices on QNAP TS-219
* Magnus Berg <Magnus@Emdev.se> [2009-07-27 18:03]:
> m25p80 spi0.0: found s25sl12801, expected m25p128
>
> seems to be the root cause.
>
> My machine is a pre-release device for beta-testing, it seems it has some other
> type of flash hardware. I probably need to compile a special kernel
> for it, but have been unsuccessful with the initrd image. Any
> pointers?
You could build a .deb kernel package based on the Debian kernel plus
a patch to change the flash type. When you install the .deb, the
initramfs is automatically generated.
However, if you build your own kernel anyway, you might just as well
build a monolithic kernel that doesn't require a ramdisk.
In terms of building a Debian kernel, I'm not sure there's any good
documentation right now. There is
http://www.nslu2-linux.org/wiki/Debian/BuildImage but it's not quite
up to date.
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: