Dima | 28 Sep 22:01 2012
Picon

Re: Querying battery charge level on Letux 400

> Hi Dima,
> at least i found a simple solution for your screen brightness problem.
> simple type
> echo 3 > /proc/jz/backlight
> where 3 is the brightness value (0 lowest - 10 highest  ; default is 5)

Hi, Wolfgang.
  This really helps! Actually from now the mipsbook really became useful
  for me.
Thanks,
  Dima.

P.S.
  on my system it goes from 0 to 100 instead of 0-10.

Dima | 18 Sep 13:57 2012
Picon

Letux 400 power saving control

Hi.
  Working on a Debian Lenny (2.6.24.3 kernel), on a pure console (no X)
I see that after some period of inactivity Letux considerably dims its
screen and then, after additional period, turns itself off ? It occurs
regardless of AC power presence.

  How are these time intervals set up (on battery and on AC power)?

Thanks,
  Dima.

Dima | 18 Sep 13:42 2012
Picon

Screen brightness on Letux400

Hi.
  I have a Letux400 with a Debian Lenny system (2.6.24.3 kernel).

How is screen brightness controlled in this system? (command line, X,
simple API -- all are good for me)

If this system does not support screen brightness control, does a later
kernel do?

Thanks,
  Dima.

Dima | 18 Sep 13:50 2012
Picon

Screen brightness on Letux400

Hi.
  I have a Letux400 with a Debian Lenny system (2.6.24.3 kernel).

How is screen brightness controlled in this system? (command line, X,
simple API -- all are good for me)

If this system does not support screen brightness control, does a later
kernel do?

Thanks,
  Dima.

Dima | 18 Sep 13:48 2012
Picon

Querying battery charge level on Letux 400

Hi.
  I have a Letux400 with a Debian Lenny system (2.6.24.3 kernel).

How is battery charge level queried on this system? Is there some
command line tool ?

If this system does not support this, does a later
kernel do?

Thanks,
  Dima.

wolfgang peer | 6 Mar 22:11 2012
Picon

connect to ad-hoc network?

Hi ,
i am trying to connect to an ad-hoc network using my little letux400.
i tried different wpa-configs but none of them did work.
is there someone who got it working? 
connecting to a "normal" wlan router works perfect.

thank you!!

regards

wolfgang

Ruben Viets | 9 Nov 06:33 2011
Picon

Re: kernel 2.6.31.3 minibook update

Hi,
 
1) I am using my old school debian lenny setup on trendtac epc700:
 
2) other option is to build your own distro from scratch using a bootstrapped debian mipsel version.
Nikolaus collected several ones here together with install instructions:
http://download.goldelico.com/letux-400/
 
First step is to get wifi working as wired lan is NOK for 2.6.31.3.
debian lenny libs needed: udev wpa_supplicant lsusb zd1211-firmware
check dmesg for correct loading of zd1211rw firmware to cardname (can be wlan0 or eth1) 
wpa_passphrase your_ssid your_psk
And fill in at /etc/wpa_supplicant/wpa_supplicant.conf
add/update your wireless  settings in /etc/network/interfaces
#ifconfig wlan0 up
#wireless-lan
  wlan settings: dhcp auto dns
  connect
 
3) 3mx ultra for 2.6.24.3 will run, but wifi is not working on this distro with external zd1211 usbstick,
I get couldn't load zd1211 firmware, glibc / udev / lsusb compatibility issue I think.

grt Ruben
Date: Mon, 7 Nov 2011 23:40:18 +0100
Subject: Re: [Mipsbook-devel] kernel 2.6.31.3 minibook update
From: multix-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
To: r_viets <at> hotmail.com

Hi Rubens, which distribution do you use this kernel with? I want to stabilize a distribution on mine. Apparently getting a soft-float one is currently unfeasible :(

R


<div><div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi,<br>
</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">1)&nbsp;I am using my old school&nbsp;debian lenny setup on trendtac epc700:</div>
<div dir="ltr">link to download here:&nbsp;<a href="http://lists.linuxtogo.org/pipermail/mipsbook-devel/2011-October/000374.html">http://lists.linuxtogo.org/pipermail/mipsbook-devel/2011-October/000374.html</a>
</div>
<div dir="ltr">
<div dir="ltr">&nbsp;</div>
</div>
<div dir="ltr">
<div dir="ltr">2)&nbsp;other option is to build your own distro from scratch using a bootstrapped debian mipsel version. 
<div dir="ltr">Nikolaus collected several&nbsp;ones here together with install instructions:<br><a href="http://download.goldelico.com/letux-400/">http://download.goldelico.com/letux-400/</a>
</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">
<div dir="ltr">First step is to get wifi working as wired lan is NOK for 2.6.31.3.</div>
<div dir="ltr">debian lenny libs&nbsp;needed: udev wpa_supplicant lsusb zd1211-firmware</div>
<div dir="ltr">check dmesg for correct loading of zd1211rw firmware to&nbsp;cardname (can be&nbsp;wlan0 or&nbsp;eth1)&nbsp;</div>
<div dir="ltr">wpa_passphrase your_ssid your_psk</div>
<div dir="ltr">
<div dir="ltr">And fill in at /etc/wpa_supplicant/wpa_supplicant.conf</div>
<div dir="ltr">add/update your wireless&nbsp;&nbsp;settings in /etc/network/interfaces</div>
<div dir="ltr">#ifconfig&nbsp;wlan0 up</div>
<div dir="ltr">#wireless-lan</div>
<div dir="ltr">&nbsp; wlan settings: dhcp auto dns</div>
<div dir="ltr">&nbsp; connect</div>
</div>
</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">3) 3mx ultra for 2.6.24.3&nbsp;will run,&nbsp;but wifi is not working on this distro with external zd1211 usbstick, </div>
<div dir="ltr">I get couldn't load zd1211 firmware,&nbsp;glibc / udev / lsusb&nbsp;compatibility issue I think.</div>
</div>
</div>
<div dir="ltr">
<br>grt Ruben<br>
</div>
<div dir="ltr">

Date: Mon, 7 Nov 2011 23:40:18 +0100<br>Subject: Re: [Mipsbook-devel] kernel 2.6.31.3 minibook update<br>From: multix@...<br>To: r_viets <at> hotmail.com<br><br>Hi Rubens, which distribution do you use this kernel with? I want to stabilize a distribution on mine. Apparently getting a soft-float one is currently unfeasible :(<br><br>R<br><br><div class="ecxgmail_quote">On Mon, Nov 7, 2011 at 9:19 PM, Ruben Viets <span dir="ltr">&lt;<a href="mailto:r_viets@...">r_viets <at> hotmail.com</a>&gt;</span> wrote:<br><blockquote class="ecxgmail_quote">
<div>
<div dir="ltr">Hi,<br>&nbsp;<br>Update 2.6.31.3&nbsp;kernel to boot&nbsp;from SD card.<br><a href="http://projects.kwaak.net/twiki/bin/view/Epc700/KernelPort26Compiling" target="_blank">http://projects.kwaak.net/twiki/bin/view/Epc700/KernelPort26Compiling</a><br><a href="http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/uImage2.6.31.3RV113_mmcbootdefault" target="_blank">http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/uImage2.6.31.3RV113_mmcbootdefault</a><br>&nbsp;<br>Grt Ruben.<br>
</div>
</div>
<br>_______________________________________________<br>Mipsbook-devel mailing list<br><a href="mailto:Mipsbook-devel <at> linuxtogo.org">Mipsbook-devel@...</a><br><a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel</a><br><br>
</blockquote>
</div>
<br>
</div>
</div>
</div> 		 	   		  </div></div>
Ruben Viets | 19 Oct 19:25 2011
Picon

Re: cdc-acm module for 2.6 kernel

Hi,

You're welcome.

For wvdial issue: maybe related to same as this link ?
http://code.google.com/p/wvstreams/issues/detail?id=26#c21
 
For lenny and sound (which lenny distro files do you use ?):
need to have esound + libsdl1.2debian-esd to be installed.
 
I have put my old debian lenny build here: (upgraded from debianetchX11 to lenny with sound working)
 
extract with:
tar -xM -f split1.mipsel_lenny_RV3
# n split2.mipsel_lenny_RV3
 
Grt Ruben.
 
> Date: Mon, 17 Oct 2011 11:13:58 +0000
> From: wolfgang <at> peerworld.at
> To: r_viets-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
> Subject: Re: [Mipsbook-devel] cdc-acm module for 2.6 kernel
>
> Thank you for the answer :)
> you are right.
> the kernel recognizes the modem correctly.
> only wvdial runs into an error
> ..utils/wvtask.cc:198:WvTaskMan::WvTaskMan(): Assertion `getcontext...
> maybe someone has a small tip.
>
> now when using nicolas' debian lenny version only sound is totally bad.
> using 3mx on letux 400 sound works fine :S using the same kernel 2.6.24.
> do i have a chance to get the sound working in lenny , too?
>
> wolfgang
>
>
>
> On Tue, 11 Oct 2011 18:43:08 +0000
> Ruben Viets <r_viets-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:
>
> >
> > Hi,
> >
> > The cdc-asm module is already included in the 2.6.x kernels.
> > Some things to check to get this working, maybe this helps: .
> > - does the cdc-acm driver support your phone+serialcable ? (check
> > below item 1)
> > - does the kernel include the required modules inside kernel 2.6.x
> > uImage or is there need to move some modules to an external module to
> > insmod ? (check below item 1)
> > - Is there additional software required to be installed in your
> > distro ? (check below item 2)
> > 1) Here two links with examples for connecting nokia phone in linux
> > using usbserial. http://forums.whirlpool.net.au/archive/1045866
> > http://tareqalam.wordpress.com/2008/07/11/connect-your-nokia-phone-with-linux-without-pc-suite/
> > usbserial is included in the 2.6.x kernel, so it may correctly detect
> > your phone. Check lsusb and dmesg to find out if the modem will be
> > recognized and correctly connected.
> >
> > 2) my previous post for additional modules for 3G.
> > http://www.mail-archive.com/mipsbook-devel <at> linuxtogo.org/msg00345.html
> >
> > Grt Ruben.
> >
> >
> > > Date: Thu, 6 Oct 2011 19:06:21 -0500
> > > From: wolfgang-8suTZnU+e/1WzcCEWhC2gQ@public.gmane.org
> > > To: mipsbook-devel-CQP9ExgZy9rrZ44/DZwexQ@public.gmane.org
> > > Subject: [Mipsbook-devel] cdc-acm module for 2.6 kernel
> > >
> > > has anyone a cdc-acm module for the 2.6.x kernel?
> > > i want to try to get my nokia 3520 as a modem working with my
> > > little letux. would be cool if someone has a precompiled module.
> > > thank you.
> > >
> > > ...wolfgang
> > >
> > > --
> > > wolfgang peer <wolfgang-8suTZnU+e/1WzcCEWhC2gQ@public.gmane.org>
> > >
> > > _______________________________________________
> > > Mipsbook-devel mailing list
> > > Mipsbook-devel <at> linuxtogo.org
> > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel
> >
<div><div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi,<br><br>You're welcome.<br><br>For&nbsp;wvdial issue: maybe related to same&nbsp;as this link ?<br><a href="http://code.google.com/p/wvstreams/issues/detail?id=26#c21">http://code.google.com/p/wvstreams/issues/detail?id=26#c21</a>
</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">For lenny and sound (which lenny distro files do you use ?):</div>
<div dir="ltr">need to have&nbsp;esound + libsdl1.2debian-esd&nbsp;to be installed.</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">I have put my old debian lenny build here:&nbsp;(upgraded from debianetchX11 to lenny with sound working) </div>
<div dir="ltr">split1 150MB - <a href="http://www.divshare.com/download/15987882-3a7">http://www.divshare.com/download/15987882-3a7</a>
</div>
<div dir="ltr">split2&nbsp;71MB&nbsp;- <a href="http://www.divshare.com/download/15987932-35e">http://www.divshare.com/download/15987932-35e</a>
</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">extract with:</div>
<div dir="ltr">tar -xM -f split1.mipsel_lenny_RV3 <br># n split2.mipsel_lenny_RV3</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">Grt Ruben.<br>&nbsp;<br>
</div>
<div dir="ltr">
&gt; Date: Mon, 17 Oct 2011 11:13:58 +0000<br>&gt; From: wolfgang <at> peerworld.at<br>&gt; To: r_viets@...<br>&gt; Subject: Re: [Mipsbook-devel] cdc-acm module for 2.6 kernel<br>&gt; <br>&gt; Thank you for the answer :)<br>&gt; you are right.<br>&gt; the kernel recognizes the modem correctly.<br>&gt; only wvdial runs into an error <br>&gt; ..utils/wvtask.cc:198:WvTaskMan::WvTaskMan(): Assertion `getcontext...<br>&gt; maybe someone has a small tip.<br>&gt; <br>&gt; now when using nicolas' debian lenny version only sound is totally bad.<br>&gt; using 3mx on letux 400 sound works fine :S using the same kernel 2.6.24.<br>&gt; do i have a chance to get the sound working in lenny , too?<br>&gt; <br>&gt; wolfgang<br>&gt; <br>&gt; <br>&gt; <br>&gt; On Tue, 11 Oct 2011 18:43:08 +0000<br>&gt; Ruben Viets &lt;r_viets@...&gt; wrote:<br>&gt; <br>&gt; &gt; <br>&gt; &gt; Hi,<br>&gt; &gt; <br>&gt; &gt; The cdc-asm module is already included in the 2.6.x kernels.<br>&gt; &gt; Some things to check to get this working, maybe this helps: .<br>&gt; &gt; - does the cdc-acm driver support your phone+serialcable ? (check<br>&gt; &gt; below item 1)<br>&gt; &gt; - does the kernel include the required modules inside kernel 2.6.x<br>&gt; &gt; uImage or is there need to move some modules to an external module to<br>&gt; &gt; insmod ? (check below item 1)<br>&gt; &gt; - Is there additional software required to be installed in your<br>&gt; &gt; distro ? (check below item 2) <br>&gt; &gt; 1) Here two links with examples for connecting nokia phone in linux<br>&gt; &gt; using usbserial. http://forums.whirlpool.net.au/archive/1045866<br>&gt; &gt; http://tareqalam.wordpress.com/2008/07/11/connect-your-nokia-phone-with-linux-without-pc-suite/<br>&gt; &gt; usbserial is included in the 2.6.x kernel, so it may correctly detect<br>&gt; &gt; your phone. Check lsusb and dmesg to find out if the modem will be<br>&gt; &gt; recognized and correctly connected.<br>&gt; &gt; <br>&gt; &gt; 2) my previous post for additional modules for 3G.<br>&gt; &gt; http://www.mail-archive.com/mipsbook-devel <at> linuxtogo.org/msg00345.html<br>&gt; &gt; <br>&gt; &gt; Grt Ruben. <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &gt; Date: Thu, 6 Oct 2011 19:06:21 -0500<br>&gt; &gt; &gt; From: wolfgang@...<br>&gt; &gt; &gt; To: mipsbook-devel@...<br>&gt; &gt; &gt; Subject: [Mipsbook-devel] cdc-acm module for 2.6 kernel<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; has anyone a cdc-acm module for the 2.6.x kernel?<br>&gt; &gt; &gt; i want to try to get my nokia 3520 as a modem working with my<br>&gt; &gt; &gt; little letux. would be cool if someone has a precompiled module.<br>&gt; &gt; &gt; thank you.<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; ...wolfgang<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; -- <br>&gt; &gt; &gt; wolfgang peer &lt;wolfgang@...&gt;<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; Mipsbook-devel mailing list<br>&gt; &gt; &gt; Mipsbook-devel <at> linuxtogo.org<br>&gt; &gt; &gt; http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel<br>&gt; &gt; <br>
</div>
</div> 		 	   		  </div></div>
wolfgang peer | 7 Oct 02:06 2011
Picon

cdc-acm module for 2.6 kernel

has anyone a cdc-acm module for the 2.6.x kernel?
i want to try to get my nokia 3520 as a modem working with my little letux.
would be cool if someone has a precompiled module.
thank you.

...wolfgang

--

-- 
wolfgang peer <wolfgang@...>

Ruben Viets | 18 Sep 21:07 2011
Picon

Re: Trying to get a working kernel installed on device

Hi,
 
No problem.
 
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.
#cd /dev
#mknod mtd1 c 90 2
#mknod mtdblock1 b 31 1
#chmod 755 mtd1
#chmod 755 mtdblock1
 
Grt Ruben.

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

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/uImage2.6.31.3RV112),
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


Gmane