Mauro Carvalho Chehab | 4d2e26a | 2019-04-10 08:32:42 -0300 | [diff] [blame] | 1 | ============================= |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | Linux 2.6.x on MPC52xx family |
Mauro Carvalho Chehab | 4d2e26a | 2019-04-10 08:32:42 -0300 | [diff] [blame] | 3 | ============================= |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | |
| 5 | For the latest info, go to http://www.246tNt.com/mpc52xx/ |
Andrea Gelmini | 976af68 | 2012-03-17 01:33:23 +0100 | [diff] [blame] | 6 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | To compile/use : |
| 8 | |
Mauro Carvalho Chehab | 4d2e26a | 2019-04-10 08:32:42 -0300 | [diff] [blame] | 9 | - U-Boot:: |
| 10 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | # <edit Makefile to set ARCH=ppc & CROSS_COMPILE=... ( also EXTRAVERSION |
| 12 | if you wish to ). |
| 13 | # make lite5200_defconfig |
| 14 | # make uImage |
Andrea Gelmini | 976af68 | 2012-03-17 01:33:23 +0100 | [diff] [blame] | 15 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | then, on U-boot: |
| 17 | => tftpboot 200000 uImage |
| 18 | => tftpboot 400000 pRamdisk |
| 19 | => bootm 200000 400000 |
Andrea Gelmini | 976af68 | 2012-03-17 01:33:23 +0100 | [diff] [blame] | 20 | |
Mauro Carvalho Chehab | 4d2e26a | 2019-04-10 08:32:42 -0300 | [diff] [blame] | 21 | - DBug:: |
| 22 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |
Andrea Gelmini | 976af68 | 2012-03-17 01:33:23 +0100 | [diff] [blame] | 27 | # make zImage.initrd |
| 28 | # make |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | |
| 30 | then in DBug: |
| 31 | DBug> dn -i zImage.initrd.lite5200 |
Andrea Gelmini | 976af68 | 2012-03-17 01:33:23 +0100 | [diff] [blame] | 32 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | |
Mauro Carvalho Chehab | 4d2e26a | 2019-04-10 08:32:42 -0300 | [diff] [blame] | 34 | Some remarks: |
| 35 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | - 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. |