~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/arch/arm/sa1100/assabet.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/arch/arm/sa1100/assabet.rst (Architecture alpha) and /Documentation/arch/i386/sa1100/assabet.rst (Architecture i386)


  1 ============================================      
  2 The Intel Assabet (SA-1110 evaluation) board      
  3 ============================================      
  4                                                   
  5 Please see:                                       
  6 http://developer.intel.com                        
  7                                                   
  8 Also some notes from John G Dorsey <jd5q@andrew    
  9 http://www.cs.cmu.edu/~wearable/software/assab    
 10                                                   
 11                                                   
 12 Building the kernel                               
 13 -------------------                               
 14                                                   
 15 To build the kernel with current defaults::       
 16                                                   
 17         make assabet_defconfig                    
 18         make oldconfig                            
 19         make zImage                               
 20                                                   
 21 The resulting kernel image should be available    
 22                                                   
 23                                                   
 24 Installing a bootloader                           
 25 -----------------------                           
 26                                                   
 27 A couple of bootloaders able to boot Linux on     
 28                                                   
 29 BLOB (http://www.lartmaker.nl/lartware/blob/)     
 30                                                   
 31    BLOB is a bootloader used within the LART p    
 32    patches were merged into BLOB to add suppor    
 33                                                   
 34 Compaq's Bootldr + John Dorsey's patch for Ass    
 35 (http://www.handhelds.org/Compaq/bootldr.html)    
 36 (http://www.wearablegroup.org/software/bootldr    
 37                                                   
 38    Bootldr is the bootloader developed by Comp    
 39    John Dorsey has produced add-on patches to     
 40    the JFFS filesystem.                           
 41                                                   
 42 RedBoot (http://sources.redhat.com/redboot/)      
 43                                                   
 44    RedBoot is a bootloader developed by Red Ha    
 45    hardware abstraction layer.  It supports As    
 46    hardware platforms.                            
 47                                                   
 48 RedBoot is currently the recommended choice si    
 49 networking support, and is the most actively m    
 50                                                   
 51 Brief examples on how to boot Linux with RedBo    
 52 you need to have RedBoot installed in your fla    
 53 precompiled RedBoot binary is available from t    
 54                                                   
 55 - ftp://ftp.netwinder.org/users/n/nico/           
 56 - ftp://ftp.arm.linux.org.uk/pub/linux/arm/peo    
 57 - ftp://ftp.handhelds.org/pub/linux/arm/sa-110    
 58                                                   
 59 Look for redboot-assabet*.tgz.  Some installat    
 60 redboot-assabet*.txt.                             
 61                                                   
 62                                                   
 63 Initial RedBoot configuration                     
 64 -----------------------------                     
 65                                                   
 66 The commands used here are explained in The Re    
 67 on-line at http://sources.redhat.com/ecos/docs    
 68 Please refer to it for explanations.              
 69                                                   
 70 If you have a CF network card (my Assabet kit     
 71 Socket Communications Inc.), you should strong    
 72 file transfers.  You must insert it before Red    
 73 it dynamically.                                   
 74                                                   
 75 To initialize the flash directory::               
 76                                                   
 77         fis init -f                               
 78                                                   
 79 To initialize the non-volatile settings, like     
 80 a static IP address, etc, use this command::      
 81                                                   
 82         fconfig -i                                
 83                                                   
 84                                                   
 85 Writing a kernel image into flash                 
 86 ---------------------------------                 
 87                                                   
 88 First, the kernel image must be loaded into RA    
 89 available on a TFTP server::                      
 90                                                   
 91         load zImage -r -b 0x100000                
 92                                                   
 93 If you rather want to use Y-Modem upload over     
 94                                                   
 95         load -m ymodem -r -b 0x100000             
 96                                                   
 97 To write it to flash::                            
 98                                                   
 99         fis create "Linux kernel" -b 0x100000     
100                                                   
101                                                   
102 Booting the kernel                                
103 ------------------                                
104                                                   
105 The kernel still requires a filesystem to boot    
106 as follows::                                      
107                                                   
108         load ramdisk_image.gz -r -b 0x800000      
109                                                   
110 Again, Y-Modem upload can be used instead of T    
111 by '-y ymodem'.                                   
112                                                   
113 Now the kernel can be retrieved from flash lik    
114                                                   
115         fis load "Linux kernel"                   
116                                                   
117 or loaded as described previously.  To boot th    
118                                                   
119         exec -b 0x100000 -l 0xc0000               
120                                                   
121 The ramdisk image could be stored into flash a    
122 solutions for on-flash filesystems as mentione    
123                                                   
124                                                   
125 Using JFFS2                                       
126 -----------                                       
127                                                   
128 Using JFFS2 (the Second Journalling Flash File    
129 convenient way to store a writable filesystem     
130 conjunction with the MTD layer which is respon    
131 management.  More information on the Linux MTD    
132 http://www.linux-mtd.infradead.org/.  A JFFS h    
133 creating JFFS/JFFS2 images is available from t    
134                                                   
135 For instance, a sample JFFS2 image can be retr    
136 mentioned below for the precompiled RedBoot im    
137                                                   
138 To load this file::                               
139                                                   
140         load sample_img.jffs2 -r -b 0x100000      
141                                                   
142 The result should look like::                     
143                                                   
144         RedBoot> load sample_img.jffs2 -r -b 0    
145         Raw file loaded 0x00100000-0x00377424     
146                                                   
147 Now we must know the size of the unallocated f    
148                                                   
149         fis free                                  
150                                                   
151 Result::                                          
152                                                   
153         RedBoot> fis free                         
154           0x500E0000 .. 0x503C0000                
155                                                   
156 The values above may be different depending on    
157 the type of flash.  See their usage below as a    
158 substituting yours appropriately.                 
159                                                   
160 We must determine some values::                   
161                                                   
162         size of unallocated flash:      0x503c    
163         size of the filesystem image:   0x0037    
164                                                   
165 We want to fit the filesystem image of course,    
166 the remaining flash space as well.  To write i    
167                                                   
168         fis unlock -f 0x500E0000 -l 0x2e0000      
169         fis erase -f 0x500E0000 -l 0x2e0000       
170         fis write -b 0x100000 -l 0x277424 -f 0    
171         fis create "JFFS2" -n -f 0x500E0000 -l    
172                                                   
173 Now the filesystem is associated to a MTD "par    
174 what they are in the boot process.  From Redbo    
175 displays them::                                   
176                                                   
177         RedBoot> fis list                         
178         Name              FLASH addr  Mem addr    
179         RedBoot           0x50000000  0x500000    
180         RedBoot config    0x503C0000  0x503C00    
181         FIS directory     0x503E0000  0x503E00    
182         Linux kernel      0x50020000  0x001000    
183         JFFS2             0x500E0000  0x500E00    
184                                                   
185 However Linux should display something like::     
186                                                   
187         SA1100 flash: probing 32-bit flash bus    
188         SA1100 flash: Found 2 x16 devices at 0    
189         Using RedBoot partition definition        
190         Creating 5 MTD partitions on "SA1100 f    
191         0x00000000-0x00020000 : "RedBoot"         
192         0x00020000-0x000e0000 : "Linux kernel"    
193         0x000e0000-0x003c0000 : "JFFS2"           
194         0x003c0000-0x003e0000 : "RedBoot confi    
195         0x003e0000-0x00400000 : "FIS directory    
196                                                   
197 What's important here is the position of the p    
198 which is the third one.  Within Linux, this co    
199 Therefore to boot Linux with the kernel and it    
200 need this RedBoot command::                       
201                                                   
202         fis load "Linux kernel"                   
203         exec -b 0x100000 -l 0xc0000 -c "root=/    
204                                                   
205 Of course other filesystems than JFFS might be    
206 You might want to boot with a root filesystem     
207 possible, and sometimes more convenient, to fl    
208 within Linux while booted from a ramdisk or NF    
209 many tools to deal with flash memory as well,     
210 can then be mounted directly on a freshly eras    
211 copied over directly.  Etc...                     
212                                                   
213                                                   
214 RedBoot scripting                                 
215 -----------------                                 
216                                                   
217 All the commands above aren't so useful if the    
218 time the Assabet is rebooted.  Therefore it's     
219 process using RedBoot's scripting capability.     
220                                                   
221 For example, I use this to boot Linux with bot    
222 images retrieved from a TFTP server on the net    
223                                                   
224         RedBoot> fconfig                          
225         Run script at boot: false true            
226         Boot script:                              
227         Enter script, terminate with empty lin    
228         >> load zImage -r -b 0x100000             
229         >> load ramdisk_ks.gz -r -b 0x800000      
230         >> exec -b 0x100000 -l 0xc0000            
231         >>                                        
232         Boot script timeout (1000ms resolution    
233         Use BOOTP for network configuration: t    
234         GDB connection port: 9000                 
235         Network debug at boot time: false         
236         Update RedBoot non-volatile configurat    
237                                                   
238 Then, rebooting the Assabet is just a matter o    
239                                                   
240                                                   
241                                                   
242 Nicolas Pitre                                     
243 nico@fluxnic.net                                  
244                                                   
245 June 12, 2001                                     
246                                                   
247                                                   
248 Status of peripherals in -rmk tree (updated 14    
249 ----------------------------------------------    
250                                                   
251 Assabet:                                          
252  Serial ports:                                    
253   Radio:                TX, RX, CTS, DSR, DCD,    
254    - PM:                Not tested.               
255    - COM:               TX, RX, CTS, DSR, DCD,    
256    - PM:                Not tested.               
257    - I2C:               Implemented, not fully    
258    - L3:                Fully tested, pass.       
259    - PM:                Not tested.               
260                                                   
261  Video:                                           
262   - LCD:                Fully tested.  PM         
263                                                   
264    (LCD doesn't like being blanked with nepons    
265                                                   
266   - Video out:          Not fully                 
267                                                   
268  Audio:                                           
269   UDA1341:                                        
270   -  Playback:          Fully tested, pass.       
271   -  Record:            Implemented, not teste    
272   -  PM:                        Not tested.       
273                                                   
274   UCB1200:                                        
275   -  Audio play:        Implemented, not heavi    
276   -  Audio rec:         Implemented, not heavi    
277   -  Telco audio play:  Implemented, not heavi    
278   -  Telco audio rec:   Implemented, not heavi    
279   -  POTS control:      No                        
280   -  Touchscreen:       Yes                       
281   -  PM:                Not tested.               
282                                                   
283  Other:                                           
284   - PCMCIA:                                       
285   - LPE:                Fully tested, pass.       
286   - USB:                No                        
287   - IRDA:                                         
288   - SIR:                Fully tested, pass.       
289   - FIR:                Fully tested, pass.       
290   - PM:                 Not tested.               
291                                                   
292 Neponset:                                         
293  Serial ports:                                    
294   - COM1,2:             TX, RX, CTS, DSR, DCD,    
295   - PM:                 Not tested.               
296   - USB:                Implemented, not heavi    
297   - PCMCIA:             Implemented, not heavi    
298   - CF:                 Implemented, not heavi    
299   - PM:                 Not tested.               
300                                                   
301 More stuff can be found in the -np (Nicolas Pi    
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php