[OpenWrt-Devel] naming for new subtarget in mpc83xx
kaloz at openwrt.org
Tue Sep 23 05:41:29 EDT 2014
On Tue, 23 Sep 2014 11:10:17 +0200, Claudio Thomas <ct at xmodus-systems.de> wrote:
> The RB600/RB300 uses a MPC8377, the XM1700 uses a MPC8306. They are
> quite similar, but not equal.
Well, RB333 is MPC8321, RB600 is MPC8323 and we support the MPC8377EWLAN board, which is MPC8377E :)
> The main problem is, that I need some patches for the MPC8306.
> Two examples based on the QE
> * The QUICC Engine Block is different on the MPC8306 comparing to other
> MPC83xx, it does not support certain range of snum thread (Table 4-29.
> SNUM Table comment 7 on page 297), multiplex timers on page 299.
> Another example (/arch/powerpc/platforms/83xx/mpc83xx.h)
> #define MPC837X_SICRL_USB_ULPI 0x50000000
> #define MPC837X_SICRL_USBB_MASK 0x30000000
> +#define MPC8306_SICRL_USB_ULPI 0x00000000
> +#define MPC8306_SICRL_USB_MASK 0x003C0000
> #define MPC837X_SICRH_SPI_MASK 0x00000003
> #define MPC837X_SICRH_SD 0x00000001
> +#define MPC8306_SICRH_USB_MASK 0x0F00F300
> +#define MPC8306_SICRH_USB_ULPI 0x00000000
> My conclusion is, that this changes need to have a flag in the config
> for the MPC8306 that can not be in the config for the rb600.
> I would also appreciate to use only one config, but I don't know how I
> could patch the kernel to fit for both.
> I'm open for suggestions.
MPC8306 should be the same "PowerQUICC II Pro" family and seems pretty similar to MPC8308. Do you have a patch for the board to check?
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel