Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | Linux 2.6.x on MPC52xx family |
| 2 | ----------------------------- |
| 3 | |
| 4 | For the latest info, go to http://www.246tNt.com/mpc52xx/ |
Andrea Gelmini | 976af68 | 2012-03-17 01:33:23 +0100 | [diff] [blame] | 5 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |
Andrea Gelmini | 976af68 | 2012-03-17 01:33:23 +0100 | [diff] [blame] | 13 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | then, on U-boot: |
| 15 | => tftpboot 200000 uImage |
| 16 | => tftpboot 400000 pRamdisk |
| 17 | => bootm 200000 400000 |
Andrea Gelmini | 976af68 | 2012-03-17 01:33:23 +0100 | [diff] [blame] | 18 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |
Andrea Gelmini | 976af68 | 2012-03-17 01:33:23 +0100 | [diff] [blame] | 24 | # make zImage.initrd |
| 25 | # make |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | |
| 27 | then in DBug: |
| 28 | DBug> dn -i zImage.initrd.lite5200 |
Andrea Gelmini | 976af68 | 2012-03-17 01:33:23 +0100 | [diff] [blame] | 29 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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. |