ts-7000
[Top] [All Lists]

Re: [ts-7000] TS7400:Recompile 2.6 Kernel

To:
Subject: Re: [ts-7000] TS7400:Recompile 2.6 Kernel
From: Pradip De <>
Date: Mon, 29 Sep 2008 12:18:22 -0700 (PDT)
Hi Jordi,
thanks for your suggestion. Actually, I tried that too. I believe the sdcard driver for the 2.6.* is the tssdcard.ko. So I had that copied to the onboardflash and modified the linuxrc in /dev/root (which I guess is the ramdisk partition for the existing kernel) to install this driver.  However,  I somehow am probably not giving the correct commandline parameters  but cant seem to figure out whats wrong. I use something like
bootload zImage -r /dev/sdcard0/disc0/part2 -c "console=ttyAM0,115200 init=/linuxrc root=/dev/ram0".
This fails complaining as pasted below(the last portion):
-----------------------------------------------------------------------------------
......
rtc-m48t86 rtc-m48t86: hctosys: invalid date/time
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 2560KiB [1 disk] into ram disk... done.
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 112K
Warning: unable to open an initial console.
Kernel panic - not syncing: Attempted to kill init!
-----------------------------------------------------------------------------------

Any help is appreciated.
thanks,
Pradip

----- Original Message ----
From: Jordi Soucheiron <>
To:
Sent: Monday, September 29, 2008 11:24:38 AM
Subject: Re: [ts-7000] TS7400:Recompile 2.6 Kernel

The problem is that you have to load the sdcard kernel driver from somewhere. Loading it from a initdr should be possible, but i have no idea how to do that.
You should be able to load from a nfs

2008/9/29 Pradip De <m("ymail.com","pradipde");" target="_blank" href=""> com>

Hi,
I did that but still failed to load it. Did you use the bootload utility to boot from this kernel? If so, could you tell me the kernel command line you used? Are you facing a problem with loading the correct driver for the sdcard? Well, I got the tssdcard.ko driver from the website which is probably the one for the 2.6.21 kernel. However, I am still not being able to boot to it. I am also trying to use the filesystem from the sd card and not nfs.
thanks,
Pradip

I've done it. The problem is that although is possible to load the kernel it's not possible to load the sd module on boot time (I haven't succeeded at least).
I got the croostool named: crosstool-linux26- 3.4.4-2005q3- 2 and the 2.6.21 kernel from embeddedarm website.
I modified the Makefile pointing to the crosstol dir.
make 72xx_defconf
make menuconfig (or xconfig)
make
Now you should have the kernel image and be able to load it. If you find out how to load the sd filesystem without a nfs please explain it.
Good luck

2008/9/29 Pradip De <m("ymail.com","pradipde");" target="_blank" href=""> com>

Hi,
If somebody has successfully recompiled kernel 2.6.21 and loaded it on the TS7400, could he/she please provide a howto in terms of the steps taken to do that?
If I have debian on the sdcard and wish to load using kernel 2.6, what are the modifications needed to the linuxrc (if any)?
thanks,
Pradip




--
Jordi Soucheiron
Software Engineer

DEXMA
Riu de l'Or 35, ES-08034, Barcelona
t:/f: +34 93 280 19 18
www.dexmatech. com
m("dexmatech.com","jsoucheiron");" target="_blank" href="">jsoucheiron@ dexmatech. com





--
Jordi Soucheiron
Software Engineer

DEXMA
Riu de l'Or 35, ES-08034, Barcelona
t:/f: +34 93 280 19 18
www.dexmatech. com
m("dexmatech.com","jsoucheiron");" target="_blank" href="">jsoucheiron@ dexmatech. com


__._,_.___

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