mpc52xx.rst 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. =============================
  2. Linux 2.6.x on MPC52xx family
  3. =============================
  4. For the latest info, go to https://www.246tNt.com/mpc52xx/
  5. To compile/use :
  6. - U-Boot::
  7. # <edit Makefile to set ARCH=ppc & CROSS_COMPILE=... ( also EXTRAVERSION
  8. if you wish to ).
  9. # make lite5200_defconfig
  10. # make uImage
  11. then, on U-boot:
  12. => tftpboot 200000 uImage
  13. => tftpboot 400000 pRamdisk
  14. => bootm 200000 400000
  15. - DBug::
  16. # <edit Makefile to set ARCH=ppc & CROSS_COMPILE=... ( also EXTRAVERSION
  17. if you wish to ).
  18. # make lite5200_defconfig
  19. # cp your_initrd.gz arch/ppc/boot/images/ramdisk.image.gz
  20. # make zImage.initrd
  21. # make
  22. then in DBug:
  23. DBug> dn -i zImage.initrd.lite5200
  24. Some remarks:
  25. - The port is named mpc52xxx, and config options are PPC_MPC52xx. The MGT5100
  26. is not supported, and I'm not sure anyone is interested in working on it
  27. so. I didn't took 5xxx because there's apparently a lot of 5xxx that have
  28. nothing to do with the MPC5200. I also included the 'MPC' for the same
  29. reason.
  30. - Of course, I inspired myself from the 2.4 port. If you think I forgot to
  31. mention you/your company in the copyright of some code, I'll correct it
  32. ASAP.