The following patch adds a new uboot configuration for the arv7518PW board. It's the same as the arv4518PW but with CONFIG_AR8216_SWITCH instead of CONFIG_RTL8306_SWITCH. The configuration for the arv752DPW22 also uses the ar8216 but the network doesn't work.
Signed-off-by: Luca Olivetti <l...@ventoso.org> --- Index: files/include/configs/arv7518PW.h =================================================================== --- files/include/configs/arv7518PW.h (revisión: 0) +++ files/include/configs/arv7518PW.h (revisión: 0) @@ -0,0 +1,16 @@ +#ifndef __CONFIG_H_7518 +#define __CONFIG_H_7518 + +#define CONFIG_ARV7518 1 +#define CONFIG_ARCADYAN "ARV7518PW" + +#define CONFIG_SYS_MAX_RAM 64*1024*1024 +#define CONFIG_USE_DDR_PSC_64 1 +#define CONFIG_SYS_PROMPT "ARV7518 => " + +//#define CONFIG_RMII 1 +#define CONFIG_AR8216_SWITCH 1 + +#include "arcadyan-common.h" + +#endif Cambios de propiedades en files/include/configs/arv7518PW.h ___________________________________________________________________ Añadido: svn:eol-style + native Index: Makefile =================================================================== --- Makefile (revisión: 29891) +++ Makefile (copia de trabajo) @@ -76,6 +76,9 @@ Package/uboot-lantiq-arv752DPW22_flash=$(call Package/uboot-lantiq-template,arv752DPW22_flash,NOR) Package/uboot-lantiq-arv752DPW22_ramboot=$(call Package/uboot-lantiq-template,arv752DPW22_ramboot,RAM) Package/uboot-lantiq-arv752DPW22_brnboot=$(call Package/uboot-lantiq-template,arv752DPW22_brnboot,BRN) +Package/uboot-lantiq-arv7518PW_flash=$(call Package/uboot-lantiq-template,arv7518PW_flash,NOR) +Package/uboot-lantiq-arv7518PW_ramboot=$(call Package/uboot-lantiq-template,arv7518PW_ramboot,RAM) +Package/uboot-lantiq-arv7518PW_brnboot=$(call Package/uboot-lantiq-template,arv7518PW_brnboot,BRN) DDR_CONFIG_arv3527P_ramboot:=arcadyan_psc166_32 DDR_CONFIG_arv4518PW_ramboot:=arcadyan_psc166_64 @@ -85,6 +88,7 @@ DDR_CONFIG_arv452CPW_ramboot:=arcadyan_psc166_32 DDR_CONFIG_arv752DPW_ramboot:=arcadyan_psc166_64 DDR_CONFIG_arv752DPW22_ramboot:=arcadyan_psc166_64 +DDR_CONFIG_arv7518PW_ramboot:=arcadyan_psc166_64 define Build/Prepare $(PKG_UNPACK) @@ -173,4 +177,7 @@ $(eval $(call BuildPackage,uboot-lantiq-arv752DPW22_flash)) $(eval $(call BuildPackage,uboot-lantiq-arv752DPW22_brnboot)) $(eval $(call BuildPackage,uboot-lantiq-arv752DPW22_ramboot)) +$(eval $(call BuildPackage,uboot-lantiq-arv7518PW_flash)) +$(eval $(call BuildPackage,uboot-lantiq-arv7518PW_brnboot)) +$(eval $(call BuildPackage,uboot-lantiq-arv7518PW_ramboot)) _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel