You don't actually have to get rid of the old one before testing.
just load the new one from a tftp server and it will not overwrite
the old one. Boot, check it out, then when you are ready you can
overwrite the old one.
Dave
On 7-Mar-06, at 1:51 PM, slweasel2002 wrote:
>
> Hi Eddie,
>
> I have one question to this excellent post. Is there a way to backup
> the old image before loading the new one on? Just so that we can
> restore the world if things go wrong?
>
> Onur T.
>
> --- In "Eddie Dawydiuk" <> wrote:
>>
>> Hello,
>>
>>> I have used both the toolchain and compiled natively on the ts7260
>>> using debian (USB microdrives are great!) I tried making a stock
>>> kernel using:
>>>
>>> make ts7200_config; make oldconfig; make dep; make vmlinux
>>>
>>> It compiles without incident, so I redboot it up using tftp.
>>> After a
>>> few seconds in each case I get a few nonsensical characters just
>>> like
>>> this:
>>>
>>> RedBoot> load -r -b 0x00218000 192.168.0.1 vmlinux
>>> Using default protocol (TFTP)
>>> Raw file loaded 0x00218000-0x0040fa39, assumed entry at 0x00218000
>>> RedBoot> exec -c "console=ttyAM0,115200 root=/dev/mtdblock1"
>>> Using base address 0x00218000 and length 0x001f7a3c
>>> @..
>>> ÿ
>>
>> I crosscompile my kernels because it is much faster... Make sure you
> download
>> crosstools
>>
> http://www.embeddedarm.com/downloads/Linux/ARM/crosstool-
> linux-0.28rc39.tar.bz2
>
>> . Untar crosstools in the root directory(/). Then download the kernel
>> source code
>>
> http://www.embeddedarm.com/downloads/arm_sbc/linux24-ts9-
> ksrc.tar.gz. Next
>> edit the Makefile in the root directory of the kernel source code.
> Edit the
>> CROSS_COMPILE environment variable, so that $(CROSS_COMPILE)gcc will
> point
>> to your arm-linux-gcc. For instance if you're crosscompiler is in
>>
> /usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-
> linux-gcc
>> the you would set
>> CROSS_COMPILE =
> /usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-
> linux-
>>
>> Now you should be able to run make ts7200_config; make oldconfig;
>> make dep; make vmlinux. Once this process has completed you should
> see the
>> file vmlinux.bin in the root directory of the kernel source. You can
> load
>> this file via TFTP, HTTP, CF Card... If you load the file via TFTP
>> from
>> 192.168.0.1:/home/eddie/vmlinux.bin you would run the following
>> commands
>> from redboot.
>>
>> RedBoot> load -r -b 0x00218000 -h 192.168.0.1
> /home/eddie/vmlinux.bin
>> Using default protocol (TFTP)
>> Raw file loaded 0x00218000-0x00371487, assumed entry at
>> 0x00218000
>> RedBoot> exec -c "console=ttyAM0,115200 root=/dev/mtdblock1"
>>
>> To load the non-stripped kernel(ie vmlinux), don't use the -r option
> in the
>> exec line...
>>
>> //Eddie
>>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|