ts-7000
[Top] [All Lists]

Re: [ts-7000] 2.6.29-ts on TS-7260

To:
Subject: Re: [ts-7000] 2.6.29-ts on TS-7260
From:
Date: Thu, 10 Feb 2011 17:48:42 -0600
Clark, I tried using the patched mainline 2.6.29.1 kernel, but I couldn't
get it to boot.  The output at boot ended with:

...
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "ram0" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available
partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)

before it rebooted.  I had changed the original kernel command line from
the ts72xx_eabi_full_defconfig to:

root=/dev/ram0 rw init=/linuxrc lpj=498688 console=ttyAM0,115200

because I do not have an NFS root file system, and that command line was
able to work with the 2-6-21-ts rebuilt kernel.  May I ask what kernel
command line you use?

I read here http://tech.groups.yahoo.com/group/ts-7000/message/15848
that this person had trouble with the ts72xx_eabi_full_defconfig as well,
so I'm trying the ts7200_eabi_full_defconfig now.

Don

> Thanks, Clark. I was using TS's 2.6.290-ts kernel source, but I'll try
> the mainline 2.6.29 kernel with Matthieu's patchset to see if that works
> any better. My main fear in using non-TS stuff is that I will need
> drivers for the PC/104 bus to use COM ports on that for the TS-GSM1 and
> drivers for the TS-ETH2 as well. Hopefully, those will be in there.
>
> Don
>
> On 2/10/2011 5:15 PM, Clark Dunson wrote:
>>
>> Hi Don. I used the 512mbsd-7400-linux2629-lenny-eabi.dd image,
>> and the first thing I did was transfer that image to a 2GB card and
>> make sure it works with dd & bs=2048. Then I enlarged the fourth
>> partition to fill the card. That gave me: my2GB-linux2629-lenny-
>> eabi.dd,
>> which I used as an image from then on.
>>
>> Then I took the 2.6.29 kernel source from www.kernel.org, and applied
>> Matthieu's patchset to it. Then I used the default configuration for
>> TS-7260
>> as a starting point.
>>
>> You'll have to look into arch/arm/config to see the ones Matthieu
>> added, think
>> it was 'make ts7260_def_config' but I could be off a few letters on
>> spelling the
>> make target.
>>
>> The whole thing is tricky.
>> I use standard a USB card reader.
>>
>> The kernel insertion:
>>
>> dd if=/arch/arm/boot/zImage of=/dev/sde2 bs=2048
>>
>> is safe. But you must make darn sure to unmount the
>> auto-mounted /dev/sde1 /cdv/sde2, and /dev/sd4 BEFORE
>> using dd on these other partitions! Running fsck on them occasionally
>> from the host machine is not a bad idea!
>>
>> I finally resorted to using the make modules_install target in the
>> kernel and directing
>> the build to copy the modules to a neutral location:
>>
>> sudo -E make modules_install INSTALL_MOD_PATH=/home/qf/Desktop/bbb
>>
>> and then
>>
>> sudo cp -r /home/qf/Desktop/bbb/lib/modules/ /media/disk-2/lib/
>>
>> Then each of the three mounted partitions must be manually unmounted,
>> or you
>> are asking for trouble: sudo umount /dev/sde1, etc. (sde4 takes ~30
>> seconds
>> to unmount)
>>
>> Best.
>>
>> On Feb 10, 2011, at 2:45 PM, Don Tucker wrote:
>>
>> > Thanks, Clark. Yes, it is a 2GB SD card, and yes, I do use the
>> > bs=2048
>> > option. I can get the 512mbsd-7400-linux2629-lenny-eabi.dd
>> > <ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/binaries/ts-
>> > images/512mbsd-7400-linux2629-lenny-eabi.dd.bz2>
>> > image to boot, but not after rebuilding the kernel. Do you have a
>> > default config file for the TS-7260 with the 2.6.29-ts kernel that you
>> > can point me toward?
>> >
>> > Don
>> >
>> > On 2/10/2011 3:59 PM, Clark Dunson wrote:
>> >>
>> >> Yes Don,
>> >>
>> >> Are you on a 2GB SD card?
>> >> Be sure you include the bs=2048 option to dd every single time you
>> >> write to a 2GB SD card.
>> >> I have replaced the kernel many times without trouble using dd in
>> >> this
>> >> manner.
>> >> That rolling reboot you describe happens here when I don't do it
>> >> right.
>> >>
>> >> On Feb 10, 2011, at 1:48 PM, Rekcut_Nod wrote:
>> >>
>> >>> Has anyone managed to get this combination running? I tried to get
>> >>> this image
>> >>>
>> >>> ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/binaries/ts-
>> >>> images/512mbsd-7400-linux2629-lenny-eabi.dd.bz2
>> >>>
>> >>> to boot with a rebuilt kernel using this source
>> >>>
>> >>> ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/sources/
>> >>> tskernel-2.6.29-ts-src.tar.gz
>> >>> <ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-li%21%0A%20nux/
>> >>> sources/tskernel-2.6.29-ts-src.tar.gz>
>> >>>
>> >>> and a config file that I used with a 2.6.21-ts kernel, but the the
>> >>> resulting SD card just keeps rebooting after the second '.'
>> >>> following
>> >>> the "TS-BOOT" message.
>> >>>
>> >>> I am only considering doing this because the 2.6.21-ts driver for
>> >>> the
>> >>> TS-ETH2 card (ax88796b) seems to have issues. :(
>> >>>
>> >>> Don
>> >>>
>> >>
>> >>
>> >
>> >
>> > ------------------------------------
>> >
>> > Yahoo! Groups Links
>> >
>> >
>> >
>>
>>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<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