preploader loader sucess here on MCP750

VALETTE Eric valette at crf.canon.fr
Wed Dec 16 22:03:40 EST 1998


>>>>> "Gabriel" == Gabriel Paubert <paubert at iram.es> writes:

Gabriel> [Sorry for the other readers, part of this message is in French, but Loic
Gabriel> found the most serious problem in the new preploader. I have also added
Gabriel> all the people who have been interested in this at one time or another,
Gabriel> including the last discussion about MILO like things.]

Moi le francais ca me va bien :) 

for non french reader the above sentence means : french is no problem for me 

Gabriel> Indeed, I did not experience any problem because I do all my developments
Gabriel> on a poor 16Mb machine. You'll find a new version of the preploader at the
Gabriel> usual site: 

Gabriel> 	ftp://vcorr1.iram.es/pub/preploader.tgz

Works fine here on MCP750. Hopefully matt porter did a copy on a better
ftp site :)

Gabriel> ands the corresponding 2.1.130 zImage with builtin de4x5 and ncr53c8xx
Gabriel> drivers (ext2 and nfs filesystems but no root on NFS). This kernel also
Gabriel> includes support for OpenPIC on Raven machines.

Was unable to test it because I could not get in ... Could you copy the zImage
elsewhere so that I can test the RAVEN feature?

Gabriel> I would like to have as many reports as possible, both from failures and
Gabriel> successes. 

-------------------------------------Success report-----------------------------

Model: cpx2208-sk2                (e2)
Serial: MOT030E5E7  
Processor/Bus frequencies (Hz): 233362000/66668152
Time Base Divisor: 4000
Original MSR: 3040
Original HID0: 80a4
Original R31: 0

PCI: Probing PCI hardware
Configurable PCI resources:
  1e9e048 :1e9e270  14     3c000000 40000    0
  1e9e270 :1e9e258  8018   3bffe000 1000     0
  1e9e258 :1e9e1e0  8014   3bfffe00 100      0
  1e9e1e0 :1e9e240  7014   3bffff00 80       0
  1e9e240 :1e9e1c8  8010   ffffe00  100      1
  1e9e1c8 :0        7010   fffff00  80       1
alloc_area called:
  PCI I/O areas:
    1e9e338 :1e9e2f0  1f71e84  10000    10fff   
    1e9e2f0 :0        0        11000    7ff000  
  PCI memory areas:
    1e9e308 :0        0        1000000  3cf00000
alloc_area called:
  PCI I/O areas:
    1e9e338 :1e9e2f0  1f71e84  10000    10fff   
    1e9e2f0 :0        0        11000    7ff000  
  PCI memory areas:
    1e9e368 :1e9e308  1f71e84  1000000  10fffff 
    1e9e308 :0        0        1100000  3cf00000
Allocated PCI resources:
  1e9e048 :1e9e270  14     1000000  40000    0
  1e9e270 :1e9e258  8018   1040000  1000     0
  1e9e258 :1e9e1e0  8014   1041000  100      0
  1e9e1e0 :1e9e240  7014   1041100  80       0
  1e9e240 :1e9e1c8  8010   10000    100      1
  1e9e1c8 :0        7010   10100    80       1

Linux/PPC load: console=ttyS0

Uncompressing the kernel...Kernel at 0, size=0x1d1284
Residual data at 0x1d2000  
Command line at 0x1d9000  
done
Now booting...
Total memory = 32MB; using 128kB for hash table (at c01e0000)
Linux version 2.1.129 (root at ppc1target.crf.canon.fr) (gcc version egcs-2.91.57 19980901 (egcs-1.1 release)) #112 Mon Dec 7 20:42:22 CET 1998
------------------------------------------------------------------

Gabriel> - if I have enough success reports, I plan to include it in an
Gabriel> arch/ppc/prepboot directory so that it can become part of the general
Gabriel> linux-kernel archives (at least at vger for now).

I'm in favor of that :)

Gabriel> For this step I will
Gabriel> need the help of some makefile gurus, I'm unfortunately completely
Gabriel> hermetic to makefile concepts and syntax, and experience has shown that it
Gabriel> takes me more time to debug a makefile of 50 lines than 5000 lines of PPC
Gabriel> assembly. 

Well I can help here. I add to modify several line in the Makefile because
the PATH /usr/src/linux was used at several places. While preloader is not the
official preboot code It could help to have a line like

LINUX_DIR=/usr/src/linux

and then replace any /usr/src/linux by $(LINUX_DIR)...

Things are a little bit worse for console.c that has an absolute PATH.

I would suggest to make something like 

console.c : defkeymap.c

defkeymap.c:
	ln -s $(LINUX_DIR)/drivers/char/defkeymap.c .

and to have only

#include <defkeymap.c> in console.c
 
NOTE : of course this is needed only while we have it in a separate directory
       as other Makefile variable can be used if compiled in the linux tree...

-- 
   __                 
  /  `                   	Eric Valette
 /--   __  o _.          	Canon CRF
(___, / (_(_(__         	Rue de la touche lambert
				35517 Cesson-Sevigne  Cedex
				FRANCE
Tel: +33 (0)2 99 87 68 91	Fax: +33 (0)2 99 84 11 30
E-mail: valette at crf.canon.fr

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request at lists.linuxppc.org ]]




More information about the Linuxppc-dev mailing list