Changeset 21838


Ignore:
Timestamp:
2010-06-19T00:12:33+02:00 (8 years ago)
Author:
claudio
Message:

[at91] revamp target: add support for netusg20 board

Location:
trunk/target/linux/at91
Files:
6 added
3 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/at91/Makefile

    r18160 r21838  
    11#  
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99ARCH:=arm 
    1010BOARD:=at91 
    11 BOARDNAME:=Atmel AT91 
    12 FEATURES:=squashfs usb broken 
     11BOARDNAME:=NetusG20 
     12FEATURES:=squashfs jffs2 tgz 
     13CFLAGS:=-Os -pipe -march=armv5te -mtune=arm926ej-s -funit-at-a-time 
    1314 
    14 LINUX_VERSION:=2.6.25.20 
     15LINUX_VERSION:=2.6.34 
     16DEVICE_TYPE= 
    1517 
    1618include $(INCLUDE_DIR)/target.mk 
     
    1921 
    2022define Target/Description 
    21   Build fimware images for Figment Design Labs VersaLink board. 
     23        Build firmware images for Acmesystems NetusG20 board 
    2224endef 
    2325 
  • trunk/target/linux/at91/image/Makefile

    r20834 r21838  
    99 
    1010define Build/Clean 
    11         $(MAKE) -C dfboot clean 
    12         $(MAKE) -C u-boot clean 
    1311endef 
    1412 
    1513define Build/Compile 
    16         $(MAKE) -C dfboot compile 
    17         $(MAKE) -C u-boot compile 
    18         $(KDIR)/u-boot-1.1.4/tools/ubparams 
    19         cp params $(KDIR) 
    2014endef 
    2115 
    2216define Image/Prepare 
    23   cp $(LINUX_DIR)/arch/arm/boot/uImage $(KDIR)/uImage 
    24         cp $(KDIR)/dfboot/dfboot.bin $(KDIR)/dfboot.bin 
    25         cp $(KDIR)/dfboot/dfbptest.bin $(KDIR)/dfbptest.bin 
    26         cp $(KDIR)/u-boot-1.1.4/u-boot.bin $(KDIR)/u-boot.bin 
    27         dd if=$(KDIR)/u-boot.bin of=$(KDIR)/u-boot.block bs=100k count=1 conv=sync 
    28         cat $(KDIR)/u-boot.block $(KDIR)/params > $(KDIR)/u-boot.full 
    2917endef 
    3018 
    3119define Image/BuildKernel 
    32         cp $(KDIR)/uImage $(BIN_DIR)/$(IMG_PREFIX)-uImage 
     20        cp $(LINUX_DIR)/arch/arm/boot/uImage $(BIN_DIR)/$(IMG_PREFIX)-uImage 
    3321endef 
    3422 
    3523define Image/Build 
    36         dd if=$(KDIR)/uImage of=$(KDIR)/uImage.block bs=8448 conv=sync 
    37         dd if=$(KDIR)/root.squashfs of=$(KDIR)/root.block bs=8448 conv=sync 
    38         cat $(KDIR)/uImage.block $(KDIR)/root.block > $(KDIR)/knlroot.bin 
    39         $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/$(IMG_PREFIX).trx -f $(KDIR)/dfboot.bin -f$(KDIR)/u-boot.full -f$(KDIR)/knlroot.bin 
    40         cp $(KDIR)/dfbptest.bin $(BIN_DIR) 
    4124        $(call Image/Build/$(1),$(1)) 
    4225endef 
  • trunk/target/linux/at91/modules.mk

    r21132 r21838  
    2020 
    2121$(eval $(call KernelPackage,mmc-at91)) 
     22 
     23define KernelPackage/pwm-atmel 
     24  SUBMENU:=$(OTHER_MENU) 
     25  TITLE:=PWM on atmel SoC 
     26  DEPENDS:=@TARGET_at91 
     27  KCONFIG:=CONFIG_GENERIC_PWM \ 
     28                CONFIG_ATMEL_PWM 
     29  FILES:=$(LINUX_DIR)/drivers/pwm/atmel-pwm.$(LINUX_KMOD_SUFFIX) 
     30  AUTOLOAD:=$(call AutoLoad,51,atmel-pwm) 
     31endef 
     32 
     33define KernelPackage/pwm-atmel/description 
     34 Kernel module to use the PWM channel on ATMEL SoC 
     35endef 
     36 
     37$(eval $(call KernelPackage,pwm-atmel)) 
Note: See TracChangeset for help on using the changeset viewer.