ts-7000
[Top] [All Lists]

Re: Prebuilt 2.6.34.7 kernel for ts72xx, ts73xx, ts74xx [Was: Re: ts7300

To:
Subject: Re: Prebuilt 2.6.34.7 kernel for ts72xx, ts73xx, ts74xx [Was: Re: ts7300 kernel patches [Was: [ts-7000] TS-7800 - newer kernel support.]]
From: Anish Patel <>
Date: Mon, 29 Nov 2010 16:02:47 -0500


Hi All,
    When you boot from NFS, does the jffs part automatically reinit the flash and then i can mount it and populate it?
Sorry if this question is silly, i am trying to move my ts7260 from 2.4 to 2.6

Thanks
Anish

On 11/17/10 05:28, Petr Štetiar wrote:
 

erik_dykema <> [2010-11-17 05:07:47]:

> I have one more question if you can bear with me. I'd like to build a
> .jffs2 filesystem, flash it to the TS-7260, and use that as the root
> filesystem. I was able to get Angstrom built into a .jffs2 filesystem
> by editing the build/conf/local.conf file. Unfortunately, however, the
> kernel you built doesn't have the JFFS2 filesystem compiled in, it's
> only module. So I think I'd like to build a different kernel with
> some more modules compiled in ( wifi drivers as well ).

Hi,

just edit the defconfig for the kernel and change JFFS2 to be compiled in
kernel, not as module:

$ vim openembedded/recipes/linux/linux-2.6.34/ts72xx/defconfig

than you just need to rebuild the kernel:

$ bitbake -c clean virtual/kernel
$ bitbake virtual/kernel

and then you should've kernel with JFFS2 built. Fast, no magic, no
crosscompile madness :-) OE does all the hard work for you.

BTW, JFFS2 is quite obsolete, slow etc., if I can recommend you something, try
UBIFS, it's already supported in ts72xx and OE. I personally moved from JFFS2
to UBIFS and I don't regret it :-)

One day I plan to release some supported image(s) for ts72xx, and feeds with
packages for it, that's why I make kernel as modular as possible, then you
should be just able to do on device:

$ opkg update
$ opkg install kernel-module-wifidriver

Or you can add the required module to your custom image, see my testing
image[1] for example. At the bottom of that image you can see my custom
ROOTFS_POSTPROCESS_COMMAND command which adds kernel module for my WiFi USB
stick(rt3070sta) to modutils so it's autoloaded each time board boots. I
think, that you should do the same with the additional modules you need.
Another possibility is to add them to machine config[2] (module autoload), but
this is not recommended anyway.

1. http://ynezz.ibawizard.net/ts72xx/oe/gaben-minimal-image.bb
2. http://git.openembedded.org/cgit.cgi/openembedded/tree/conf/machine/ts72xx.conf?h=master

-- ynezz




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU