Merge tag 'for-linus-2022080201' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-block.git] / Documentation / powerpc / mpc52xx.rst
CommitLineData
4d2e26a3 1=============================
1da177e4 2Linux 2.6.x on MPC52xx family
4d2e26a3 3=============================
1da177e4 4
c8ed9fc9 5For the latest info, go to https://www.246tNt.com/mpc52xx/
976af684 6
1da177e4
LT
7To compile/use :
8
4d2e26a3
MCC
9 - U-Boot::
10
1da177e4
LT
11 # <edit Makefile to set ARCH=ppc & CROSS_COMPILE=... ( also EXTRAVERSION
12 if you wish to ).
13 # make lite5200_defconfig
14 # make uImage
976af684 15
1da177e4
LT
16 then, on U-boot:
17 => tftpboot 200000 uImage
18 => tftpboot 400000 pRamdisk
19 => bootm 200000 400000
976af684 20
4d2e26a3
MCC
21 - DBug::
22
1da177e4
LT
23 # <edit Makefile to set ARCH=ppc & CROSS_COMPILE=... ( also EXTRAVERSION
24 if you wish to ).
25 # make lite5200_defconfig
26 # cp your_initrd.gz arch/ppc/boot/images/ramdisk.image.gz
976af684
AG
27 # make zImage.initrd
28 # make
1da177e4
LT
29
30 then in DBug:
31 DBug> dn -i zImage.initrd.lite5200
976af684 32
1da177e4 33
4d2e26a3
MCC
34Some remarks:
35
1da177e4 36 - The port is named mpc52xxx, and config options are PPC_MPC52xx. The MGT5100
f8b42777 37 is not supported, and I'm not sure anyone is interested in working on it
1da177e4
LT
38 so. I didn't took 5xxx because there's apparently a lot of 5xxx that have
39 nothing to do with the MPC5200. I also included the 'MPC' for the same
40 reason.
41 - Of course, I inspired myself from the 2.4 port. If you think I forgot to
42 mention you/your company in the copyright of some code, I'll correct it
43 ASAP.