;-) try this command line, it will go to shell after several seconds, then
type "exit" to boot to full Debian. After typing exit starts the real
debugging ;-)
root=/dev/ram0 rw init=/linuxrc lpj=498688 console=null
> Dalibor, you are right. I thought I would try booting without modifying
> the command-line from that patched kernel, as Clark said that he was
> able to boot from it without modification, but it sounds like he had
> returned to a TS kernel sourcetree, so I think there was a
> misunderstanding.
>
> Don
> On 2/11/2011 11:47 AM, Dalibor Farny wrote:
>>
>> Hello,
>>
>> your kernel is probably compiled with booting from NFS, where did you do
>> "cat /proc/cmdline" when you are not able to boot? Probably not on the
>> target, but host?
>>
>> Dalibor
>>
>> >> You should have exactly
>> >> FIVE
>> >> steps:
>> >>
>> >> 1. Create and verify bootable 2GB copy of that 512MB 2.6.29 dd image.
>> > DONE. Checked the command line used by "cat /proc/cmdline" and found
>> that
>> > it used "root=/dev/ram0 rw init=/linuxrc lpj=498688 console=null"
>> >> 2. Download/Patch kernel source, edit top-level kernel Makefile to
>> >> point CROSS_COMPILE at your toolchain
>> > DONE.
>> >> 3. Build kernel 'make ts72xx_def', 'make' and 'make
>> >> modules_install' (syntax below)
>> > DONE. Used the file 'ts72xx_eabi_full_defconfig' during the first
>> step,
>> > as that was provided with the patches.
>> >> 4. Insert 2GB SD card into reader and dd kernel to partition two
>> > DONE.
>> >> 5. cp modules directory to partition four, replacing the prior
>> >> modules dir, unmount, remove card
>> > DONE. Although, I noticed that the previous modules were in
>> > /lib/modules/2.6.29-ts/, and the new modules were put into
>> > /lib/modules/2.6.29.1-m/.
>> >>
>> >> That's it, nothing else.
>> >
>> > Upon booting, I get rolling reboots, with the boot messages ending in:
>> >
>> > IP-Config: Guessing netmask 255.255.255.0
>> > IP-Config: Complete:
>> > device=eth0, addr=192.168.1.50, mask=255.255.255.0,
>> > gw=255.255.255.255,
>> > host=192.168.1.50, domain=, nis-domain=(none),
>> > bootserver=255.255.255.255, rootserver=192.168.1.48, rootpath=
>> > Looking up port of RPC 100003/2 on 192.168.1.48
>> > PHY: 0:01 - Link is Up - 100/Full
>> >
>> >
>> >>> TS-SDBOOT - built Aug 10 2009
>> >>> Copyright (c) 2007, Technologic Systems
>> >
>> > It seems to me it is looking for the rootserver, which of course is
>> not
>> > there, and then it craps out and reboots. I don't understand how you
>> were
>> > able to follow that procedure and have things work unless you also
>> set up
>> > a root file system via NFS. If you are the author of the Quakefinder
>> > HOWTO, that you ARE using NFS, which is why it is able to work for
>> you.
>> > Even when I change the root command line to what it was in the
>> > 512mbsd-7400-linux2629-lenny-eabi.dd, I still get rolling reboots.
>> >
>> > Don
>> >>
>> >>
>> >> 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>
>> <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
>
>
>
>
------------------------------------
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/
|