To: | |
---|---|
Subject: | [ts-7000] Re: Still Stuck in Redboot (TS7260) |
From: | "Christian" <> |
Date: | Thu, 14 Apr 2011 20:59:39 -0000 |
I sent you a PDF file to your yahoo mail, because I was on gmail, but, this is how I deal with it: Lets Assume we have an ftp server on our computer and the kernel image inside the ftp folder. 1. First step is getting into the RedBoot, pressing ctrl + c once you plugged your SBC, till console shows you that you are on RedBoot command line. Inside, lets erase the old kernel, like this:
So, we answer yes (y) to deleting question. 2. Now we are going to load a kernel into the RAM.
In my case, ftpserver_IPaddress=192.168.10.99 and <kernel_image_name>=zImage, so the result of loading the kernel must be like this:
We see the that the base space in memory is 0x00218000 and the top, used for my zImage, is 0x0037e6fb, remember, this is hex, soon, we will need the kernel image length, so we have 2 ways to know this number. Mode A: ((Top space in memory) - (Base space in memory)) + 1 = (kernel length) my case is ((37e6fb) - (218000)) + 1 = (0x001666fc) Always in Hexa use 0x001666fc notation, or use 1468156 means decimal as it is, and don't forget adding the 1, because we are talking about memory space indexed from zero. Mode B:
Using the command ls -l, take the size data and change it to Hexa. Both methods return the same result, obviously :-) . Which is 0x001666fc or 1468156. 3. In this step we write the kernel to flash.
Remember, in my case length=0x001666fc, watch out the way you write it, you have these two examples:
NOTE! I had an space problem inside the flash, I have no idea about what was wrong but, no matter what I did, always said:
Where X's are for sizes conflict, so, being sure about having enough space, and a working kernel I fixed this problem like this:
Don't forget "-f" because this way, initializes the FIS directory and all of flash memory, except for first blocks of the flash where the boot monitor resides. From here, everything should work fine. 4. Once we have finished the last steps successfully, lets load our kernel from the onboard flash.
The result should be, linux starting, note that I only use exec, because my kernel has the rest of this instruction compiled inside, look this tutorial to know about my kernel compilation.NOTE! if you have the automatic script for redboot, the kernel is atomatically loaded and linux should start without problems, if you don't, remember apply the fconfig in RedBoot, insert the two commands, in step number 4, make the update of this script and finally restart your SBC. The result is, linux running automatically with your new kernel. __._,_.___
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> |
---|---|---|
|
Previous by Date: | Re: [ts-7000] HOW TO transition to a journaling file system?, Don Tucker |
---|---|
Next by Date: | Re: [ts-7000] HOW TO transition to a journaling file system?, Don Tucker |
Previous by Thread: | [ts-7000] Still Stuck in Redboot (TS7260), Greenie |
Next by Thread: | Re: [ts-7000] Still Stuck in Redboot (TS7260), Rich Wilson |
Indexes: | [Date] [Thread] [Top] [All Lists] |
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