blob: 8676ac63e077007a8686f684df9202c42a773429 [file] [log] [blame]
Mauro Carvalho Chehab4d2e26a2019-04-10 08:32:42 -03001=============================
Linus Torvalds1da177e2005-04-16 15:20:36 -07002Linux 2.6.x on MPC52xx family
Mauro Carvalho Chehab4d2e26a2019-04-10 08:32:42 -03003=============================
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
5For the latest info, go to http://www.246tNt.com/mpc52xx/
Andrea Gelmini976af682012-03-17 01:33:23 +01006
Linus Torvalds1da177e2005-04-16 15:20:36 -07007To compile/use :
8
Mauro Carvalho Chehab4d2e26a2019-04-10 08:32:42 -03009 - U-Boot::
10
Linus Torvalds1da177e2005-04-16 15:20:36 -070011 # <edit Makefile to set ARCH=ppc & CROSS_COMPILE=... ( also EXTRAVERSION
12 if you wish to ).
13 # make lite5200_defconfig
14 # make uImage
Andrea Gelmini976af682012-03-17 01:33:23 +010015
Linus Torvalds1da177e2005-04-16 15:20:36 -070016 then, on U-boot:
17 => tftpboot 200000 uImage
18 => tftpboot 400000 pRamdisk
19 => bootm 200000 400000
Andrea Gelmini976af682012-03-17 01:33:23 +010020
Mauro Carvalho Chehab4d2e26a2019-04-10 08:32:42 -030021 - DBug::
22
Linus Torvalds1da177e2005-04-16 15:20:36 -070023 # <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
Andrea Gelmini976af682012-03-17 01:33:23 +010027 # make zImage.initrd
28 # make
Linus Torvalds1da177e2005-04-16 15:20:36 -070029
30 then in DBug:
31 DBug> dn -i zImage.initrd.lite5200
Andrea Gelmini976af682012-03-17 01:33:23 +010032
Linus Torvalds1da177e2005-04-16 15:20:36 -070033
Mauro Carvalho Chehab4d2e26a2019-04-10 08:32:42 -030034Some remarks:
35
Linus Torvalds1da177e2005-04-16 15:20:36 -070036 - The port is named mpc52xxx, and config options are PPC_MPC52xx. The MGT5100
37 is not supported, and I'm not sure anyone is interesting in working on it
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.