OpenWrt Forum Archive

Topic: Problem with initramfs in the openwrt at compile time

The content of this topic has been archived on 7 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I want add my CPIO initramfs to the openwrt with this config:
however this is intresting for me because after compile (openwrt-ar71xx-generic-vmlinux-initramfs.elf) work only with default embedded initramfs and not my initramfs!!
resolve this problem  is very important for me.please help me

 
CONFIG_HAVE_DOT_CONFIG=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_UBNTRSPRO=y
CONFIG_HAS_SUBTARGETS=y
CONFIG_TARGET_BOARD="ar71xx"
CONFIG_TARGET_ARCH_PACKAGES="ar71xx"
CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves"
CONFIG_LINUX_3_3=y
CONFIG_DEFAULT_base-files=y
CONFIG_DEFAULT_busybox=y
CONFIG_DEFAULT_dnsmasq=y
CONFIG_DEFAULT_dropbear=y
CONFIG_DEFAULT_firewall=y
CONFIG_DEFAULT_hotplug2=y
CONFIG_DEFAULT_iptables=y
CONFIG_DEFAULT_kmod-ath9k=y
CONFIG_DEFAULT_kmod-gpio-button-hotplug=y
CONFIG_DEFAULT_kmod-ipt-nathelper=y
CONFIG_DEFAULT_kmod-leds-gpio=y
CONFIG_DEFAULT_kmod-ledtrig-default-on=y
CONFIG_DEFAULT_kmod-ledtrig-netdev=y
CONFIG_DEFAULT_kmod-ledtrig-timer=y
CONFIG_DEFAULT_kmod-usb-core=y
CONFIG_DEFAULT_kmod-usb-ohci=y
CONFIG_DEFAULT_kmod-usb2=y
CONFIG_DEFAULT_kmod-wdt-ath79=y
CONFIG_DEFAULT_libc=y
CONFIG_DEFAULT_libgcc=y
CONFIG_DEFAULT_mtd=y
CONFIG_DEFAULT_netifd=y
CONFIG_DEFAULT_opkg=y
CONFIG_DEFAULT_ppp=y
CONFIG_DEFAULT_ppp-mod-pppoe=y
CONFIG_DEFAULT_swconfig=y
CONFIG_DEFAULT_uboot-envtools=y
CONFIG_DEFAULT_uci=y
CONFIG_DEFAULT_wpad-mini=y
CONFIG_AUDIO_SUPPORT=y
CONFIG_GPIO_SUPPORT=y
CONFIG_PCI_SUPPORT=y
CONFIG_USB_SUPPORT=y
CONFIG_BIG_ENDIAN=y
CONFIG_USES_SQUASHFS=y
CONFIG_USES_JFFS2=y
CONFIG_USES_TARGZ=y
CONFIG_mips=y
CONFIG_ARCH="mips"
#
# Target Images
#
CONFIG_TARGET_ROOTFS_INITRAMFS=y
CONFIG_TARGET_INITRAMFS_COMPRESSION_LZMA=y
CONFIG_EXTERNAL_CPIO="/media/p2/programming/mips/initramfs/initramfs.cpio"
#
# Root filesystem archives
#
CONFIG_TARGET_ROOTFS_CPIOGZ=y
CONFIG_TARGET_ROOTFS_TARGZ=y
#
# Root filesystem images
#

#
# Image Options
#

#
# Global build settings
#
# CONFIG_ALL is not set

Who's here to help?
Or minimum ,tell me ,where i can change FSTAB file in the CPIO before compile of kernel.

The discussion might have continued from here.