18c2ecf20Sopenharmony_ci=============================
28c2ecf20Sopenharmony_ciLinux 2.6.x on MPC52xx family
38c2ecf20Sopenharmony_ci=============================
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciFor the latest info, go to https://www.246tNt.com/mpc52xx/
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciTo compile/use :
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci  - U-Boot::
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci     # <edit Makefile to set ARCH=ppc & CROSS_COMPILE=... ( also EXTRAVERSION
128c2ecf20Sopenharmony_ci        if you wish to ).
138c2ecf20Sopenharmony_ci     # make lite5200_defconfig
148c2ecf20Sopenharmony_ci     # make uImage
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci     then, on U-boot:
178c2ecf20Sopenharmony_ci     => tftpboot 200000 uImage
188c2ecf20Sopenharmony_ci     => tftpboot 400000 pRamdisk
198c2ecf20Sopenharmony_ci     => bootm 200000 400000
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci  - DBug::
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci     # <edit Makefile to set ARCH=ppc & CROSS_COMPILE=... ( also EXTRAVERSION
248c2ecf20Sopenharmony_ci        if you wish to ).
258c2ecf20Sopenharmony_ci     # make lite5200_defconfig
268c2ecf20Sopenharmony_ci     # cp your_initrd.gz arch/ppc/boot/images/ramdisk.image.gz
278c2ecf20Sopenharmony_ci     # make zImage.initrd
288c2ecf20Sopenharmony_ci     # make
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci     then in DBug:
318c2ecf20Sopenharmony_ci     DBug> dn -i zImage.initrd.lite5200
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciSome remarks:
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci - The port is named mpc52xxx, and config options are PPC_MPC52xx. The MGT5100
378c2ecf20Sopenharmony_ci   is not supported, and I'm not sure anyone is interesting in working on it
388c2ecf20Sopenharmony_ci   so. I didn't took 5xxx because there's apparently a lot of 5xxx that have
398c2ecf20Sopenharmony_ci   nothing to do with the MPC5200. I also included the 'MPC' for the same
408c2ecf20Sopenharmony_ci   reason.
418c2ecf20Sopenharmony_ci - Of course, I inspired myself from the 2.4 port. If you think I forgot to
428c2ecf20Sopenharmony_ci   mention you/your company in the copyright of some code, I'll correct it
438c2ecf20Sopenharmony_ci   ASAP.
44