ts-7000
[Top] [All Lists]

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

To:
Subject: Re: [ts-7000] Re: 2.6.29-ts on TS-7260
From: Jim Jackson <>
Date: Fri, 11 Feb 2011 21:15:03 +0000 (GMT)


On Fri, 11 Feb 2011,  wrote:

> You can see the kernel command line during booting your target, 

Also after your boot ...

  cat /rpoc/cmdline

Jim

> it is
> somwhere on the beginning of the output. There is all the kernel
> configuration, command line included (if compiled with appropriate kernel
> option):
> $cat /proc/config.gz | gzip -dc > /home/xx/config.txt
> 
> 
> 
> You should have exactly
> > FIVE
> > steps:
> >
> > 1. Create and verify bootable 2GB copy of that 512MB 2.6.29 dd image.
> > 2. Download/Patch kernel source, edit top-level kernel Makefile to
> > point CROSS_COMPILE at your toolchain
> > 3. Build kernel 'make ts72xx_def', 'make' and 'make
> > modules_install' (syntax below)
> > 4. Insert 2GB SD card into reader and dd kernel to partition two
> > 5. cp modules directory to partition four, replacing the prior
> > modules dir, unmount, remove card
> >
> > That's it, nothing else.
> >
> >
> > On Feb 10, 2011, at 4:09 PM, Don Tucker wrote:
> >
> >> Thanks, Clark. I am using the crosstool-linux-gnueabi-2005q3-2.tar.gz
> >> for my crosstool chain. It extracts to
> >> |arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-
> >>
> >> Well, I retried with the ts7200_eabi_full_defconfig, but had the same
> >> problem. I've ran into this problem many times trying to boot without
> >> using an NFS root file system, but I don't know what to change to make
> >> it work.
> >>
> >> Don
> >> |
> >> On 2/10/2011 5:44 PM, Clark wrote:
> >>>
> >>> Err, one more point. I have built both of these kernels many times,
> >>> never had your problem. One thing that did give me the rolling
> >>> re-boots was when I used the wrong gcc (4.x.x.). I settled on TS'
> >>> toolchain, 3.3.4 eabi.
> >>>
> >>> --- In  <ts-7000%40yahoogroups.com>,
> >>> Clark Dunson <> wrote:
> >>>>
> >>>> Good luck. I've never seen that rolling reboot you describe
> >>>> with any kind of kernel panic, maybe I am just lucky. That is
> >>>> why I focussed on the disc particulars in my last post. If you
> >>>> want my default image, tell me where I can copy a 2GB image
> >>>> to and it's yours.
> >>>>
> >>>> 
> >>>>
> >>>>
> >>>> On Feb 10, 2011, at 3:22 PM, Don Tucker wrote:
> >>>>
> >>>>> 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
> >>
> >>
> >>
> >
> >
> 
> 
> 


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

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