[Mipsbook-devel] Trying to get a working kernel installed on device
r_viets at hotmail.com
Sun Sep 18 21:07:22 CEST 2011
1) Lenny's size is much more as distro's like 3MX, this will be a size(>1GB) issue when you start to install more applications on lenny.
Next to that nand yaffs2 ecc is not ok for these kernels, this can cause loss of data (especially when the number of bad nandblocks are increased).
Therefore I would advice to use SD card instead of nand.
If you don't bother about these issues you can use these kernels to boot from nand too. At own risk.
2) The kernels include cifs support, maybe udev & samba support is not correctly installed in your lenny distro.
#apt-get install udev samba.
3) You can add the /dev/mtdblock1 and /dev/mtd1 you're self, don't need additional modules installed.
#mknod mtd1 c 90 2
#mknod mtdblock1 b 31 1
#chmod 755 mtd1
#chmod 755 mtdblock1
> Date: Sun, 18 Sep 2011 19:49:10 +0200
> Subject: Re: [Mipsbook-devel] Trying to get a working kernel installed on device
> From: datadevil at gmail.com
> To: r_viets at hotmail.com
> thanks for the long explanation.
> I have the 2.6 kernel booting from the sdcard, and most looks ok, but
> I don't see the mtdblock1 device in /dev, and the kernel has no cifs
> My guess is I'm missing modules because I have not put anything else
> but the kernel file itself on the sdcard, but then again, if I would
> put them on the sdcard and then cat the uImage, I'd still be missing
> those modules right?
> Am I understanding you correctly that you are saying I'd better just
> run from an sdcard? If so, then I'll just do the FN trick, as the
> system won't reboot that much.
> Sorry for the questions, but this has me confused.
> On Sun, Sep 18, 2011 at 2:09 PM, Ruben Viets <r_viets at hotmail.com> wrote:
> > Hi,
> > To install the 2.6.xx.x uImage to /dev/mtdblock1(nand), you cannot do that
> > by press f1+fn+left shift, this will mess up because the /dev/mtd0
> > bootloader is not made for 2.6 kernels.
> > There are several way's to do/fix that
> > 1) If you want kernel 2.6.xx.x to be installed on nand
> > use an uImage 2.6.xx.x copy to fat16 sdcard partition
> > First try-out with fn+left shift if it boots ok.
> > Next is to copy uImage to the /dev/mtdblock1. Start an terminal and type
> > cat uImage > /dev/mtdblock1
> > 2) If you want to fix/restore older 2.4 kernels.
> > Copy the existing 2.4 kernel (such as the one from elonex, skytone,
> > alpha400) to fat16 sdcard partition.
> > First try-out fn+left shift if it boots ok.
> > Restart and Press f1+fn+left shift and this will copy the 2.4
> > uImage correctly to /dev/mtdblock1
> > 3) For development/new package installations it is safer to boot a distro
> > from SD card, especially if the size will be close to 1GB.
> > The 18.104.22.168RV kernel is not able to boot an distro from SD card, it can
> > only boot from nand, limited space on nand (1G).
> > Better boot lenny from sd card and use the 22.214.171.124 kernel.
> > http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/uImage_126.96.36.199RV101
> > This one is able to boot from SD card by keep Fn pressed.
> > 4) default boot the kernel from SD card, can be done for 188.8.131.52 kernel by
> > changing the kernel sources
> > (arch/mips/jz4730/board-minipc.c default from /dev/mtdblock4 to
> > /dev/mmcblk0p2) and recompile.
> > This is not necessary when using one of the above three options.
> > If you still want that, I can recompile the 184.108.40.206 version and put it
> > on kwaak.
> > Grt Ruben.
> >> Date: Sun, 18 Sep 2011 08:28:53 +0200
> >> From: datadevil at gmail.com
> >> To: mipsbook-devel at linuxtogo.org
> >> Subject: [Mipsbook-devel] Trying to get a working kernel installed on
> >> device
> >> Hi,
> >> I have decided to try and make my Trendtac 700 into a small Linux
> >> mediaserver.
> >> For some reason I also decided to try and get Lenny on to it at least,
> >> but because I wanted to have it on the device instead of on a sd card,
> >> I went this route:
> >> 1. install the rescue image from this url:
> >> http://download.goldelico.com/letux-400/etch/Recovery_DebianEtchX11v4.img
> >> 2. I then started dist upgrading that to Lenny, to discover that Lenny
> >> needs a 2.6 kernel (ofcourse)
> >> 3. Then I downloaded the latest kernel
> >> (http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/uImage220.127.116.11RV112),
> >> and put it on a sd card.
> >> 4. As this booted my Lenny just fine, I decided to try and install the
> >> kernel for real, pressing f1+fn+left shift during boot.
> >> As you may have guessed, this let to a screen washing out in various
> >> colours when attempting to boot normally now. Booting from SD card
> >> still works fine.
> >> Now my question is, how do I solve this if at all? Worst case, can I
> >> somehow make the system boot from an SD card, or a usb stick for that
> >> matter, by default?
> >> cheers,
> >> Maarten
> >> _______________________________________________
> >> Mipsbook-devel mailing list
> >> Mipsbook-devel at linuxtogo.org
> >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mipsbook-devel