http://downloads.netgear.com/files/GPL/GPL_Source_V361j_DM111PSP_series_consumer_rele...
[bcm963xx.git] / kernel / linux / Documentation / powerpc / mpc52xx.txt
1 Linux 2.6.x on MPC52xx family
2 -----------------------------
3
4 For the latest info, go to http://www.246tNt.com/mpc52xx/state.txt
5  
6 To compile/use :
7
8   - U-Boot:
9      # <edit Makefile to set ARCH=ppc & CROSS_COMPILE=... ( also EXTRAVERSION
10         if you wish to ).
11      # make lite5200_defconfig
12      # make uImage
13     
14      then, on U-boot:
15      => tftpboot 200000 uImage
16      => tftpboot 400000 pRamdisk
17      => bootm 200000 400000
18     
19   - DBug:
20      # <edit Makefile to set ARCH=ppc & CROSS_COMPILE=... ( also EXTRAVERSION
21         if you wish to ).
22      # make lite5200_defconfig
23      # cp your_initrd.gz arch/ppc/boot/images/ramdisk.image.gz
24      # make zImage.initrd 
25      # make 
26
27      then in DBug:
28      DBug> dn -i zImage.initrd.lite5200
29      
30
31 Some remarks :
32  - The port is named mpc52xxx, and config options are PPC_MPC52xx. The MGT5100
33    is not supported, and I'm not sure anyone is interesting in working on it
34    so. I didn't took 5xxx because there's apparently a lot of 5xxx that have
35    nothing to do with the MPC5200. I also included the 'MPC' for the same
36    reason.
37  - Of course, I inspired myself from the 2.4 port. If you think I forgot to
38    mention you/your company in the copyright of some code, I'll correct it
39    ASAP.
40  - The codes wants the MBAR to be set at 0xf0000000 by the bootloader. It's
41    mapped 1:1 with the MMU. If for whatever reason, you want to change this,
42    beware that some code depends on the 0xf0000000 address and other depends
43    on the 1:1 mapping.
44  - Most of the code assumes that port multiplexing, frequency selection, ...
45    has already been done. IMHO this should be done as early as possible, in
46    the bootloader. If for whatever reason you can't do it there, do it in the
47    platform setup code (if U-Boot) or in the arch/ppc/boot/simple/... (if
48    DBug)