Changeset 35058 for trunk


Ignore:
Timestamp:
2013-01-08T23:20:16+01:00 (4 years ago)
Author:
florian
Message:

mvebu: add inital support for Marvell Armada XP/370 SoCs

This brings in the initial support for the Marvell Armada XP/370 SoCs.
Successfully tested on RD-A370-A1 and DB-MV784MP-GP boards the following
interfaces:

  • Ethernet
  • SDIO
  • GPIOs
  • SATA

Signed-off-by: Florian Fainelli <florian@…>

Location:
trunk/target/linux
Files:
21 added
1 edited
3 copied

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/config-3.8

    r35055 r35058  
    10261026# CONFIG_I2C_AMD756 is not set 
    10271027# CONFIG_I2C_AMD8111 is not set 
     1028# CONFIG_I2C_CBUS_GPIO is not set 
    10281029# CONFIG_I2C_CHARDEV is not set 
    10291030# CONFIG_I2C_COMPAT is not set 
  • trunk/target/linux/mvebu/Makefile

    r35057 r35058  
    88 
    99ARCH:=arm 
    10 BOARD:=omap4 
    11 BOARDNAME:=TI OMAP4 
    12 FEATURES:=usb targz audio display 
     10BOARD:=mvebu 
     11BOARDNAME:=Marvell Armada XP/370 boards 
     12FEATURES:=targz usb jffs2 pci pcie gpio 
     13CFLAGS:=-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp 
     14MAINTAINER:=Florian Fainelli <florian@openwrt.org> 
    1315 
    14 LINUX_VERSION:=3.3.8 
    15  
    16 CFLAGS:=-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp 
    17 MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> 
    18  
    19 KERNELNAME:="uImage" 
    20  
    21 DEFAULT_PACKAGES += uboot-omap4-omap4_panda 
    22  
    23 DEVICE_TYPE=developerboard 
    24  
    25 define Target/Description 
    26         TI OMAP4 
    27 endef 
     16LINUX_VERSION:=3.8-rc2 
    2817 
    2918include $(INCLUDE_DIR)/target.mk 
    3019 
     20KERNELNAME:="zImage dtbs" 
     21 
     22DEFAULT_PACKAGES += 
     23 
    3124$(eval $(call BuildTarget)) 
  • trunk/target/linux/mvebu/config-default

    r35057 r35058  
    11CONFIG_ALIGNMENT_TRAP=y 
     2# CONFIG_AMBA_PL08X is not set 
     3# CONFIG_ARCH_BCM is not set 
    24CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y 
    35CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y 
    4 CONFIG_ARCH_HAS_BARRIERS=y 
    56CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y 
     7CONFIG_ARCH_MULTIPLATFORM=y 
     8# CONFIG_ARCH_MULTI_CPU_AUTO is not set 
     9# CONFIG_ARCH_MULTI_V6 is not set 
     10CONFIG_ARCH_MULTI_V6_V7=y 
     11CONFIG_ARCH_MULTI_V7=y 
     12CONFIG_ARCH_MVEBU=y 
    613# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set 
    714CONFIG_ARCH_NR_GPIO=0 
    8 CONFIG_ARCH_REALVIEW=y 
    9 CONFIG_ARCH_SELECT_MEMORY_MODEL=y 
    10 CONFIG_ARCH_SPARSEMEM_DEFAULT=y 
    11 CONFIG_ARCH_SPARSEMEM_ENABLE=y 
     15CONFIG_ARCH_REQUIRE_GPIOLIB=y 
     16# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set 
     17# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set 
     18# CONFIG_ARCH_SUNXI is not set 
    1219CONFIG_ARCH_SUSPEND_POSSIBLE=y 
     20CONFIG_ARCH_VEXPRESS=y 
     21# CONFIG_ARCH_VEXPRESS_CA9X4 is not set 
     22CONFIG_ARCH_VEXPRESS_CORTEX_A5_A9_ERRATA=y 
    1323# CONFIG_ARCH_VT8500_SINGLE is not set 
    1424CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y 
    15 CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y 
    1625CONFIG_ARM=y 
     26CONFIG_ARMADA_370_XP_TIMER=y 
    1727CONFIG_ARM_AMBA=y 
     28CONFIG_ARM_APPENDED_DTB=y 
     29# CONFIG_ARM_ATAG_DTB_COMPAT is not set 
    1830# CONFIG_ARM_CHARLCD is not set 
    1931# CONFIG_ARM_CPU_SUSPEND is not set 
    20 # CONFIG_ARM_ERRATA_326103 is not set 
    2132# CONFIG_ARM_ERRATA_430973 is not set 
    2233# CONFIG_ARM_ERRATA_458693 is not set 
    2334# CONFIG_ARM_ERRATA_460075 is not set 
    24 # CONFIG_ARM_ERRATA_720789 is not set 
    25 # CONFIG_ARM_ERRATA_742230 is not set 
    26 # CONFIG_ARM_ERRATA_742231 is not set 
     35CONFIG_ARM_ERRATA_720789=y 
    2736# CONFIG_ARM_ERRATA_743622 is not set 
    28 # CONFIG_ARM_ERRATA_751472 is not set 
     37CONFIG_ARM_ERRATA_751472=y 
    2938# CONFIG_ARM_ERRATA_754322 is not set 
    30 # CONFIG_ARM_ERRATA_754327 is not set 
    31 # CONFIG_ARM_ERRATA_764369 is not set 
    3239CONFIG_ARM_GIC=y 
    3340CONFIG_ARM_L1_CACHE_SHIFT=6 
    3441CONFIG_ARM_L1_CACHE_SHIFT_6=y 
     42# CONFIG_ARM_LPAE is not set 
    3543CONFIG_ARM_NR_BANKS=8 
     44CONFIG_ARM_PATCH_PHYS_VIRT=y 
    3645# CONFIG_ARM_SP805_WATCHDOG is not set 
    3746CONFIG_ARM_THUMB=y 
    3847# CONFIG_ARM_THUMBEE is not set 
    3948CONFIG_ARM_TIMER_SP804=y 
     49CONFIG_ASYNC_TX_DMA=y 
     50CONFIG_ASYNC_TX_ENABLE_CHANNEL_SWITCH=y 
    4051CONFIG_ATAGS=y 
    41 CONFIG_ATAGS_PROC=y 
    4252CONFIG_AUTO_ZRELADDR=y 
    43 CONFIG_BLK_DEV_RAM=y 
    44 CONFIG_BLK_DEV_RAM_COUNT=16 
    45 CONFIG_BLK_DEV_RAM_SIZE=4096 
    4653CONFIG_BOUNCE=y 
    4754CONFIG_CACHE_L2X0=y 
     55CONFIG_CACHE_PL310=y 
    4856CONFIG_CC_OPTIMIZE_FOR_SIZE=y 
    4957CONFIG_CLKDEV_LOOKUP=y 
    5058CONFIG_CLKSRC_MMIO=y 
    5159CONFIG_CLONE_BACKWARDS=y 
    52 CONFIG_CMDLINE="console=ttyAMA0 mem=128M" 
    53 CONFIG_CMDLINE_FROM_BOOTLOADER=y 
    5460CONFIG_COMMON_CLK=y 
    5561CONFIG_COMMON_CLK_VERSATILE=y 
    56 CONFIG_CPU_32v6=y 
    5762CONFIG_CPU_32v6K=y 
    5863CONFIG_CPU_32v7=y 
    59 CONFIG_CPU_ABRT_EV6=y 
    6064CONFIG_CPU_ABRT_EV7=y 
    61 # CONFIG_CPU_ARM926T is not set 
    6265# CONFIG_CPU_BPREDICT_DISABLE is not set 
    63 CONFIG_CPU_CACHE_V6=y 
    6466CONFIG_CPU_CACHE_V7=y 
    6567CONFIG_CPU_CACHE_VIPT=y 
     
    6971CONFIG_CPU_HAS_ASID=y 
    7072# CONFIG_CPU_ICACHE_DISABLE is not set 
    71 CONFIG_CPU_PABRT_V6=y 
    7273CONFIG_CPU_PABRT_V7=y 
    73 CONFIG_CPU_RMAP=y 
    74 CONFIG_CPU_TLB_V6=y 
     74CONFIG_CPU_PJ4B=y 
    7575CONFIG_CPU_TLB_V7=y 
    76 CONFIG_CPU_USE_DOMAINS=y 
    77 CONFIG_CPU_V6=y 
    78 CONFIG_CPU_V6K=y 
    7976CONFIG_CPU_V7=y 
     77CONFIG_CRC_ITU_T=m 
    8078CONFIG_CRYPTO_AES=y 
    8179CONFIG_CRYPTO_ALGAPI=y 
    8280CONFIG_CRYPTO_ALGAPI2=y 
    8381CONFIG_DCACHE_WORD_ACCESS=y 
    84 CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S" 
    85 # CONFIG_DEBUG_LL_UART_NONE is not set 
    86 # CONFIG_DEBUG_REALVIEW_PB1176_PORT is not set 
    87 CONFIG_DEBUG_REALVIEW_STD_PORT=y 
     82CONFIG_DEBUG_INFO=y 
     83CONFIG_DEBUG_LL=y 
     84CONFIG_DEBUG_LL_INCLUDE="debug/mvebu.S" 
     85CONFIG_DEBUG_MVEBU_UART=y 
     86# CONFIG_DEBUG_PINCTRL is not set 
    8887CONFIG_DEBUG_USER=y 
    89 CONFIG_DMA_CACHE_RWFO=y 
    90 CONFIG_DNOTIFY=y 
    91 CONFIG_FB=y 
    92 CONFIG_FB_ARMCLCD=y 
    93 CONFIG_FB_CFB_COPYAREA=y 
    94 CONFIG_FB_CFB_FILLRECT=y 
    95 CONFIG_FB_CFB_IMAGEBLIT=y 
    96 # CONFIG_FB_WMT_GE_ROPS is not set 
     88# CONFIG_DEBUG_VEXPRESS_UART0_CA9 is not set 
     89# CONFIG_DEBUG_VEXPRESS_UART0_DETECT is not set 
     90# CONFIG_DEBUG_VEXPRESS_UART0_RS1 is not set 
     91CONFIG_DECOMPRESS_LZMA=y 
     92CONFIG_DMADEVICES=y 
     93CONFIG_DMA_ENGINE=y 
     94CONFIG_DTC=y 
     95# CONFIG_DW_DMAC is not set 
     96CONFIG_EARLY_PRINTK=y 
     97CONFIG_EXT2_FS=y 
     98CONFIG_EXT3_FS=y 
     99CONFIG_FAT_FS=y 
    97100CONFIG_FRAME_POINTER=y 
    98 CONFIG_GENERIC_ALLOCATOR=y 
    99 CONFIG_GENERIC_ATOMIC64=y 
    100101CONFIG_GENERIC_BUG=y 
    101102CONFIG_GENERIC_CLOCKEVENTS=y 
    102 CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y 
    103103CONFIG_GENERIC_CLOCKEVENTS_BUILD=y 
     104CONFIG_GENERIC_GPIO=y 
    104105CONFIG_GENERIC_IO=y 
     106CONFIG_GENERIC_IRQ_CHIP=y 
    105107CONFIG_GENERIC_IRQ_SHOW=y 
    106108CONFIG_GENERIC_PCI_IOMAP=y 
     
    108110CONFIG_GENERIC_STRNCPY_FROM_USER=y 
    109111CONFIG_GENERIC_STRNLEN_USER=y 
     112CONFIG_GPIOLIB=y 
     113CONFIG_GPIO_GENERIC=y 
     114CONFIG_GPIO_MVEBU=y 
     115CONFIG_GPIO_SYSFS=y 
    110116CONFIG_HARDIRQS_SW_RESEND=y 
    111117CONFIG_HAS_DMA=y 
    112118CONFIG_HAS_IOMEM=y 
    113 CONFIG_HAS_IOPORT=y 
    114119CONFIG_HAVE_AOUT=y 
    115120CONFIG_HAVE_ARCH_JUMP_LABEL=y 
    116121CONFIG_HAVE_ARCH_KGDB=y 
    117 # CONFIG_HAVE_ARCH_PFN_VALID is not set 
     122CONFIG_HAVE_ARCH_PFN_VALID=y 
    118123CONFIG_HAVE_ARCH_SECCOMP_FILTER=y 
    119124CONFIG_HAVE_ARCH_TRACEHOOK=y 
    120 CONFIG_HAVE_ARM_SCU=y 
    121 CONFIG_HAVE_ARM_TWD=y 
    122125CONFIG_HAVE_BPF_JIT=y 
    123126CONFIG_HAVE_CLK=y 
     
    134137CONFIG_HAVE_GENERIC_DMA_COHERENT=y 
    135138CONFIG_HAVE_GENERIC_HARDIRQS=y 
    136 CONFIG_HAVE_HW_BREAKPOINT=y 
    137139CONFIG_HAVE_IRQ_WORK=y 
    138140CONFIG_HAVE_KERNEL_GZIP=y 
     
    140142CONFIG_HAVE_KERNEL_LZO=y 
    141143CONFIG_HAVE_KERNEL_XZ=y 
     144CONFIG_HAVE_LATENCYTOP_SUPPORT=y 
    142145CONFIG_HAVE_MEMBLOCK=y 
    143 CONFIG_HAVE_MEMORY_PRESENT=y 
    144146CONFIG_HAVE_NET_DSA=y 
    145147CONFIG_HAVE_OPROFILE=y 
     
    150152CONFIG_HAVE_SMP=y 
    151153CONFIG_HAVE_SYSCALL_TRACEPOINTS=y 
    152 CONFIG_HAVE_TCM=y 
    153154CONFIG_HAVE_UID16=y 
    154 CONFIG_HOTPLUG_CPU=y 
    155 # CONFIG_HW_PERF_EVENTS is not set 
     155CONFIG_HIGHMEM=y 
     156# CONFIG_HIGHPTE is not set 
    156157CONFIG_ICST=y 
    157158CONFIG_INITRAMFS_SOURCE="" 
    158 CONFIG_IP_PNP=y 
    159 CONFIG_IP_PNP_BOOTP=y 
    160 CONFIG_IP_PNP_DHCP=y 
    161 # CONFIG_IP_PNP_RARP is not set 
    162159CONFIG_IRQ_DOMAIN=y 
    163 CONFIG_IRQ_WORK=y 
    164 CONFIG_JFFS2_LZO=y 
    165 CONFIG_JFFS2_RUBIN=y 
    166 CONFIG_JFFS2_ZLIB=y 
    167 CONFIG_KEXEC=y 
     160CONFIG_IRQ_DOMAIN_DEBUG=y 
     161CONFIG_ISO9660_FS=y 
     162CONFIG_JBD=y 
     163CONFIG_JUMP_LABEL=y 
    168164CONFIG_KTIME_SCALAR=y 
    169 CONFIG_LOCAL_TIMERS=y 
    170 CONFIG_LOGO=y 
    171 CONFIG_LOGO_LINUX_CLUT224=y 
    172 # CONFIG_LOGO_LINUX_MONO is not set 
    173 # CONFIG_LOGO_LINUX_VGA16 is not set 
    174 CONFIG_LZO_COMPRESS=y 
    175 CONFIG_LZO_DECOMPRESS=y 
    176 CONFIG_MACH_REALVIEW_EB=y 
    177 CONFIG_MACH_REALVIEW_PB1176=y 
    178 CONFIG_MACH_REALVIEW_PB11MP=y 
    179 CONFIG_MACH_REALVIEW_PBA8=y 
    180 CONFIG_MACH_REALVIEW_PBX=y 
     165CONFIG_LOG_BUF_SHIFT=14 
     166CONFIG_MACH_ARMADA_370=y 
     167CONFIG_MACH_ARMADA_370_XP=y 
     168CONFIG_MACH_ARMADA_XP=y 
    181169CONFIG_MAGIC_SYSRQ=y 
    182170CONFIG_MDIO_BOARDINFO=y 
    183171CONFIG_MIGHT_HAVE_CACHE_L2X0=y 
    184172CONFIG_MODULES_USE_ELF_REL=y 
    185 # CONFIG_MPCORE_WATCHDOG is not set 
    186 CONFIG_MTD_CMDLINE_PARTS=y 
     173CONFIG_MSDOS_FS=y 
     174CONFIG_MTD_OF_PARTS=y 
     175# CONFIG_MTD_PHYSMAP_OF is not set 
    187176CONFIG_MULTI_IRQ_HANDLER=y 
    188 CONFIG_MUTEX_SPIN_ON_OWNER=y 
     177CONFIG_MVEBU_CLK_CORE=y 
     178CONFIG_MVEBU_CLK_CPU=y 
     179CONFIG_MVEBU_CLK_GATING=y 
     180CONFIG_MVMDIO=y 
     181CONFIG_MVNETA=y 
     182CONFIG_MV_XOR=y 
    189183CONFIG_NEED_DMA_MAP_STATE=y 
    190 CONFIG_NEED_MACH_MEMORY_H=y 
     184CONFIG_NEED_PER_CPU_KM=y 
    191185# CONFIG_NEON is not set 
     186CONFIG_NET_DMA=y 
    192187CONFIG_NLS=y 
    193 CONFIG_NR_CPUS=4 
     188CONFIG_NLS_CODEPAGE_437=y 
     189CONFIG_NLS_CODEPAGE_850=y 
     190CONFIG_NLS_ISO8859_1=y 
     191CONFIG_NLS_ISO8859_2=y 
     192CONFIG_NLS_UTF8=y 
     193CONFIG_NO_IOPORT=y 
     194CONFIG_OF=y 
     195CONFIG_OF_ADDRESS=y 
     196CONFIG_OF_DEVICE=y 
     197CONFIG_OF_EARLY_FLATTREE=y 
     198CONFIG_OF_FLATTREE=y 
     199CONFIG_OF_GPIO=y 
     200CONFIG_OF_IRQ=y 
     201CONFIG_OF_MDIO=y 
     202CONFIG_OF_MTD=y 
     203CONFIG_OF_NET=y 
    194204CONFIG_OUTER_CACHE=y 
    195205CONFIG_OUTER_CACHE_SYNC=y 
     206CONFIG_PAGEFLAGS_EXTENDED=y 
    196207CONFIG_PAGE_OFFSET=0xC0000000 
    197208# CONFIG_PCI_SYSCALL is not set 
    198209CONFIG_PERCPU_RWSEM=y 
    199 CONFIG_PERF_EVENTS=y 
    200210CONFIG_PERF_USE_VMALLOC=y 
    201211CONFIG_PHYLIB=y 
     212CONFIG_PINCONF=y 
     213CONFIG_PINCTRL=y 
     214CONFIG_PINCTRL_ARMADA_370=y 
     215CONFIG_PINCTRL_ARMADA_XP=y 
     216# CONFIG_PINCTRL_EXYNOS4 is not set 
     217CONFIG_PINCTRL_MVEBU=y 
     218# CONFIG_PINCTRL_SINGLE is not set 
     219CONFIG_PINMUX=y 
    202220# CONFIG_PL310_ERRATA_588369 is not set 
    203221# CONFIG_PL310_ERRATA_727915 is not set 
     222CONFIG_PL310_ERRATA_753970=y 
    204223# CONFIG_PL310_ERRATA_769419 is not set 
     224# CONFIG_PL330_DMA is not set 
     225CONFIG_PLAT_ORION=y 
    205226CONFIG_PLAT_VERSATILE=y 
    206227CONFIG_PLAT_VERSATILE_CLCD=y 
    207 CONFIG_PLAT_VERSATILE_LEDS=y 
    208228CONFIG_PLAT_VERSATILE_SCHED_CLOCK=y 
    209229# CONFIG_PREEMPT_RCU is not set 
    210 # CONFIG_RD_LZMA is not set 
    211 # CONFIG_REALVIEW_EB_A9MP is not set 
    212 CONFIG_REALVIEW_EB_ARM11MP=y 
    213 CONFIG_REALVIEW_EB_ARM11MP_REVB=y 
    214 CONFIG_REALVIEW_PB1176_SECURE_FLASH=y 
    215 CONFIG_RFS_ACCEL=y 
    216 CONFIG_RPS=y 
    217230# CONFIG_SCSI_DMA is not set 
    218 # CONFIG_SERIAL_8250 is not set 
    219231# CONFIG_SERIAL_AMBA_PL010 is not set 
    220 CONFIG_SERIAL_AMBA_PL011=y 
    221 CONFIG_SERIAL_AMBA_PL011_CONSOLE=y 
    222 CONFIG_SMC91X=y 
    223 CONFIG_SMP=y 
    224 CONFIG_SMP_ON_UP=y 
    225 CONFIG_SMSC911X=y 
    226 # CONFIG_SMSC911X_ARCH_HOOKS is not set 
    227 CONFIG_SMSC_PHY=y 
    228 CONFIG_SND=y 
    229 # CONFIG_SND_DRIVERS is not set 
    230 # CONFIG_SND_EMU10K1_SEQ is not set 
    231 CONFIG_SND_MIXER_OSS=y 
    232 # CONFIG_SND_OPL3_LIB_SEQ is not set 
    233 # CONFIG_SND_OPL4_LIB_SEQ is not set 
    234 CONFIG_SND_PCM=y 
    235 CONFIG_SND_PCM_OSS=y 
    236 # CONFIG_SND_RAWMIDI_SEQ is not set 
    237 # CONFIG_SND_SBAWE_SEQ is not set 
    238 CONFIG_SND_TIMER=y 
    239 CONFIG_SOUND=y 
    240 CONFIG_SOUND_OSS_CORE=y 
    241 CONFIG_SOUND_OSS_CORE_PRECLAIM=y 
    242 CONFIG_SPARSEMEM=y 
    243 CONFIG_SPARSEMEM_EXTREME=y 
    244 CONFIG_SPARSEMEM_MANUAL=y 
    245 CONFIG_STOP_MACHINE=y 
    246 # CONFIG_SWAP is not set 
    247 CONFIG_SYSFS_DEPRECATED=y 
    248 CONFIG_SYSFS_DEPRECATED_V2=y 
     232# CONFIG_SERIAL_AMBA_PL011 is not set 
     233CONFIG_SERIAL_OF_PLATFORM=y 
     234CONFIG_SERIAL_8250_DW=y 
     235CONFIG_SPARSE_IRQ=y 
     236# CONFIG_SWP_EMULATE is not set 
    249237CONFIG_SYS_SUPPORTS_APM_EMULATION=y 
     238# CONFIG_THUMB2_KERNEL is not set 
    250239CONFIG_TICK_CPU_ACCOUNTING=y 
    251 CONFIG_TREE_RCU=y 
     240CONFIG_TIMER_STATS=y 
     241CONFIG_UDF_FS=m 
    252242CONFIG_UID16=y 
    253243CONFIG_UIDGID_CONVERTED=y 
    254 # CONFIG_USB_ARCH_HAS_EHCI is not set 
    255244# CONFIG_USB_ARCH_HAS_OHCI is not set 
    256245# CONFIG_USB_ARCH_HAS_XHCI is not set 
    257 CONFIG_USE_GENERIC_SMP_HELPERS=y 
     246CONFIG_USE_OF=y 
    258247CONFIG_VECTORS_BASE=0xffff0000 
     248CONFIG_VEXPRESS_CONFIG=y 
     249CONFIG_VFAT_FS=y 
    259250CONFIG_VFP=y 
    260251CONFIG_VFPv3=y 
    261 CONFIG_XPS=y 
     252# CONFIG_XEN is not set 
    262253CONFIG_ZBOOT_ROM_BSS=0x0 
    263254CONFIG_ZBOOT_ROM_TEXT=0x0 
     255CONFIG_ZONE_DMA_FLAG=0 
  • trunk/target/linux/mvebu/image/Makefile

    r35057 r35058  
    88include $(INCLUDE_DIR)/image.mk 
    99 
    10 TARGET_DTBS := rbt-832 dlan-usb-extender 
     10TARGET_DTBS := armada-xp-db armada-370-db armada-xp-openblocks-ax3-4 armada-370-mirabox 
    1111 
    1212LOADADDR:=0x00008000 
     
    2626define Image/Build/DTB 
    2727        cp $(KDIR)/zImage $(KDIR)/zImage-$(1); 
    28         cat $(LINUX_DIR)/arch/$(ARCH)/boot/$(1).dtb >> $(KDIR)/zImage-$(1); 
     28        cat $(LINUX_DIR)/arch/$(ARCH)/boot/dts/$(1).dtb >> $(KDIR)/zImage-$(1); 
    2929        $(call Image/Build/MkuImage,$(KDIR)/zImage-$(1),$(KDIR)/uImage-$(1)) 
    3030        cp $(KDIR)/uImage-$(1) $(UIMAGE)-$(1); 
     
    3333define Image/Prepare 
    3434        cp $(LINUX_DIR)/arch/$(ARCH)/boot/zImage $(KDIR)/zImage 
    35 endef 
    36  
    37 define Image/Build/Profile/dLAN_USB_Extender 
    38         dd if=$(KDIR)/uImage-dlan-usb-extender bs=1M conv=sync of=$(KDIR)/$(IMG_PREFIX)-dlan-usb-extender-upgrade-$(1).bin 
    39         cat $(KDIR)/root.$(1) >> $(KDIR)/$(IMG_PREFIX)-dlan-usb-extender-upgrade-$(1).bin 
    40         cp $(KDIR)/$(IMG_PREFIX)-dlan-usb-extender-upgrade-$(1).bin $(BIN_DIR)/ 
    4135endef 
    4236 
     
    5347        $(call Image/Build/$(1)) 
    5448        dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync 
    55         $(call Image/Build/Profile/$(PROFILE),$(1)) 
    5649endef 
    5750 
Note: See TracChangeset for help on using the changeset viewer.