Changeset 33609


Ignore:
Timestamp:
2012-10-03T18:15:05+02:00 (5 years ago)
Author:
florian
Message:

[pxa] add Default and Gumstix PXA profiles

Gumstix builds a fake flash image for usage in qemu

Location:
trunk/target/linux/pxa
Files:
2 added
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/pxa/image/Makefile

    r20834 r33609  
    11# 
    2 # Copyright (C) 2008-2010 OpenWrt.org 
     2# Copyright (C) 2008-2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1616endef 
    1717 
     18# Build a fake flash image for usage in Qemu 
     19define Image/Build/Gumstix 
     20        dd if=/dev/zero bs=128k count=256 of=$(BIN_DIR)/$(IMG_PREFIX)-$(1)-qemu-flash.img 
     21        dd if=$(BIN_DIR)/openwrt-pxa-gumstix-u-boot.bin conv=notrunc bs=128k \ 
     22                of=$(BIN_DIR)/$(IMG_PREFIX)-$(1)-qemu-flash.img 
     23        dd if=$(KDIR)/root.$(1) conv=notrunc bs=128k seek=2 \ 
     24                of=$(BIN_DIR)/$(IMG_PREFIX)-$(1)-qemu-flash.img 
     25        dd if=$(KDIR)/uImage conv=notrunc bs=128k seek=248 \ 
     26                of=$(BIN_DIR)/$(IMG_PREFIX)-$(1)-qemu-flash.img 
     27endef 
     28 
    1829define Image/Build 
    1930        $(call Image/Build/$(1),$(1)) 
     31        $(call Image/Build/$(PROFILE),$(1)) 
    2032endef 
    2133 
  • trunk/target/linux/pxa/profiles/100-Default.mk

    r33608 r33609  
    11# 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    88define Profile/Default 
    99  NAME:=Default Profile 
    10   PACKAGES:=kmod-ath5k 
     10  PACKAGES:= 
    1111endef 
    1212 
    1313define Profile/Default/Description 
    14         Default IXP4xx Profile 
     14        Default PXA Profile 
    1515endef 
    1616$(eval $(call Profile,Default)) 
Note: See TracChangeset for help on using the changeset viewer.