| 1 |
============================= |
| 2 |
Linux 2.6.x on MPC52xx family |
| 3 |
============================= |
| 4 |
|
| 5 |
For the latest info, go to https://www.246tNt.com/mpc52xx/ |
| 6 |
|
| 7 |
To compile/use : |
| 8 |
|
| 9 |
- U-Boot:: |
| 10 |
|
| 11 |
# <edit Makefile to set ARCH=ppc & CROSS_COMPILE=... ( also EXTRAVERSION |
| 12 |
if you wish to ). |
| 13 |
# make lite5200_defconfig |
| 14 |
# make uImage |
| 15 |
|
| 16 |
then, on U-boot: |
| 17 |
=> tftpboot 200000 uImage |
| 18 |
=> tftpboot 400000 pRamdisk |
| 19 |
=> bootm 200000 400000 |
| 20 |
|
| 21 |
- DBug:: |
| 22 |
|
| 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 |
| 27 |
# make zImage.initrd |
| 28 |
# make |
| 29 |
|
| 30 |
then in DBug: |
| 31 |
DBug> dn -i zImage.initrd.lite5200 |
| 32 |
|
| 33 |
|
| 34 |
Some remarks: |
| 35 |
|
| 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 interested 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. |