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