Changeset 4178


Ignore:
Timestamp:
2006-07-20T23:06:47+02:00 (12 years ago)
Author:
groz
Message:

UML target completed. Added ext2 target fs for use with uml images

Location:
branches/buildroot-ng/openwrt
Files:
2 added
7 edited

Legend:

Unmodified
Added
Removed
  • branches/buildroot-ng/openwrt/Config.in

    r4107 r4178  
    7575                help 
    7676                  Build a compressed tar archive of the the root filesystem 
     77                   
     78        config TARGET_ROOTFS_EXT2FS 
     79                bool "ext2" 
     80                default n 
     81                depends !TARGET_ROOTFS_INITRAMFS 
     82                help 
     83                  Ext2 file system with some free space for uml images 
     84 
    7785 
    7886endmenu 
  • branches/buildroot-ng/openwrt/include/image.mk

    r4091 r4178  
    4545    endef 
    4646  endif 
     47   
     48  ifeq ($(CONFIG_TARGET_ROOTFS_EXT2FS),y) 
     49    define Image/mkfs/ext2 
     50                genext2fs -q -b 4096 -I 1500 -d $(BUILD_DIR)/root/ $(KDIR)/root.ext2 
     51                $(call Image/Build,ext2) 
     52    endef 
     53  endif 
     54   
    4755endif 
    4856 
     
    7078        $(call Image/mkfs/squashfs) 
    7179        $(call Image/mkfs/tgz) 
     80        $(call Image/mkfs/ext2) 
    7281         
    7382clean: 
  • branches/buildroot-ng/openwrt/include/kernel-build.mk

    r4146 r4178  
    7373 
    7474$(LINUX_KERNEL): $(LINUX_DIR)/vmlinux 
    75         $(TARGET_CROSS)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S $< $@ 
     75        $(KERNEL_CROSS)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S $< $@ 
    7676        touch -c $(LINUX_KERNEL) 
    7777 
     
    7979        rm -rf $(KERNEL_BUILD_DIR)/modules 
    8080        $(MAKE) -C "$(LINUX_DIR)" CROSS_COMPILE="$(KERNEL_CROSS)" ARCH=$(LINUX_KARCH) PATH="$(TARGET_PATH)" modules 
    81         $(MAKE) -C "$(LINUX_DIR)" CROSS_COMPILE="$(KERNEL_CROSS)" DEPMOD=true INSTALL_MOD_PATH=$(KERNEL_BUILD_DIR)/modules modules_install 
     81        $(MAKE) -C "$(LINUX_DIR)" CROSS_COMPILE="$(KERNEL_CROSS)" ARCH=$(LINUX_KARCH) DEPMOD=true INSTALL_MOD_PATH=$(KERNEL_BUILD_DIR)/modules modules_install 
    8282        touch $(LINUX_DIR)/.modules_done 
    8383 
  • branches/buildroot-ng/openwrt/include/kernel.mk

    r4091 r4178  
    2828        -e 's/armeb/arm/' \ 
    2929) 
     30 
     31ifneq (,$(findstring uml,$(BOARD))) 
     32LINUX_KARCH="um" 
     33KERNEL_CROSS= 
     34endif 
    3035 
    3136KERNEL_BUILD_DIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD) 
  • branches/buildroot-ng/openwrt/include/target.mk

    r4120 r4178  
    1919$(eval $(call kernel_template,2.6,rb532,2_6_RB532)) 
    2020$(eval $(call kernel_template,2.6,x86,2_6_X86)) 
     21$(eval $(call kernel_template,2.6,uml,2_6_UML)) 
    2122$(eval $(call kernel_template,2.4,ar531x,2_4_AR531X)) 
    2223$(eval $(call kernel_template,2.6,aruba,2_6_ARUBA)) 
  • branches/buildroot-ng/openwrt/target/Config.in

    r4109 r4178  
    8383          Build firmware images for x86 based boards 
    8484          (e.g. Soekris net4521 and net4801, PC Engines WRAP...) 
     85 
     86config LINUX_2_6_UML 
     87        bool "x86 [uml]" 
     88        select i386 
     89        select LINUX_2_6 
     90        help 
     91          Build uml targetted images 
     92 
    8593 
    8694config LINUX_2_6_AU1000 
  • branches/buildroot-ng/openwrt/target/linux/uml-2.6/config

    r4177 r4178  
    22# Automatically generated make config: don't edit 
    33# Linux kernel version: 2.6.17 
    4 # Tue Jul 18 01:55:58 2006 
     4# Thu Jul 20 13:48:28 2006 
    55# 
    66CONFIG_GENERIC_HARDIRQS=y 
     
    7878CONFIG_BINFMT_ELF=y 
    7979# CONFIG_BINFMT_MISC is not set 
    80 CONFIG_HOSTFS=y 
    81 CONFIG_HPPFS=y 
     80# CONFIG_HOSTFS is not set 
     81# CONFIG_HPPFS is not set 
    8282CONFIG_MCONSOLE=y 
    8383# CONFIG_MAGIC_SYSRQ is not set 
     
    107107# CONFIG_IKCONFIG is not set 
    108108# CONFIG_RELAY is not set 
    109 CONFIG_INITRAMFS_SOURCE="../../root" 
    110 CONFIG_INITRAMFS_ROOT_UID=0 
    111 CONFIG_INITRAMFS_ROOT_GID=0 
     109CONFIG_INITRAMFS_SOURCE="" 
    112110CONFIG_UID16=y 
    113111CONFIG_CC_OPTIMIZE_FOR_SIZE=y 
     
    167165CONFIG_BLK_DEV_CRYPTOLOOP=m 
    168166CONFIG_BLK_DEV_NBD=m 
    169 # CONFIG_BLK_DEV_RAM is not set 
     167CONFIG_BLK_DEV_RAM=m 
     168CONFIG_BLK_DEV_RAM_COUNT=16 
     169CONFIG_BLK_DEV_RAM_SIZE=4096 
    170170CONFIG_BLK_DEV_INITRD=y 
    171171# CONFIG_ATA_OVER_ETH is not set 
     
    185185CONFIG_CON_ZERO_CHAN="fd:0,fd:1" 
    186186CONFIG_CON_CHAN="xterm" 
    187 CONFIG_SSL_CHAN="pty" 
     187CONFIG_SSL_CHAN="xterm" 
    188188CONFIG_UNIX98_PTYS=y 
    189189# CONFIG_LEGACY_PTYS is not set 
     
    191191CONFIG_WATCHDOG_NOWAYOUT=y 
    192192CONFIG_SOFT_WATCHDOG=m 
    193 CONFIG_UML_WATCHDOG=m 
     193# CONFIG_UML_WATCHDOG is not set 
    194194# CONFIG_UML_SOUND is not set 
    195195# CONFIG_SOUND is not set 
     
    530530CONFIG_UML_NET_MCAST=y 
    531531# CONFIG_UML_NET_PCAP is not set 
    532 CONFIG_UML_NET_SLIRP=y 
     532# CONFIG_UML_NET_SLIRP is not set 
    533533 
    534534# 
     
    590590# File systems 
    591591# 
    592 CONFIG_EXT2_FS=m 
     592CONFIG_EXT2_FS=y 
    593593# CONFIG_EXT2_FS_XATTR is not set 
    594594# CONFIG_EXT2_FS_XIP is not set 
    595 CONFIG_EXT3_FS=m 
     595CONFIG_EXT3_FS=y 
    596596# CONFIG_EXT3_FS_XATTR is not set 
    597 CONFIG_JBD=m 
     597CONFIG_JBD=y 
    598598# CONFIG_JBD_DEBUG is not set 
    599599CONFIG_REISERFS_FS=m 
Note: See TracChangeset for help on using the changeset viewer.