Modify

Opened 3 years ago

Last modified 3 years ago

#18122 new defect

When building WLI-TX4-AG300N .bin files, SYSUPGRADE file is generated, but FACTORY file isn't

Reported by: gonzlobo@… Owned by: developers
Priority: lowest Milestone: Barrier Breaker 14.07
Component: base system Version: Barrier Breaker 14.07
Keywords: Cc:

Description

Title says it all.

Attachments (0)

Change History (5)

comment:1 Changed 3 years ago by florian

Re-run the build with make target/linux/install V=s and attach a log of when this fails. It could be as simple as your image being too big.

comment:2 Changed 3 years ago by gonzlobo@…

gonzlobo@gonzlobo-MacBookPro ~/OpenWRT/trunk $ make target/linux/install V=s
make[1]: Entering directory `/home/gonzlobo/OpenWRT/trunk'
make[2]: Entering directory `/home/gonzlobo/OpenWRT/trunk/target/linux'
make[3]: Entering directory `/home/gonzlobo/OpenWRT/trunk/target/linux/ramips'
/home/gonzlobo/OpenWRT/trunk/scripts/kconfig.pl + /home/gonzlobo/OpenWRT/trunk/target/linux/generic/config-3.14 /home/gonzlobo/OpenWRT/trunk/target/linux/ramips/rt288x/config-3.14 > /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.config.target
awk '/(#:space:?+)?CONFIG_KERNEL/{sub("CONFIG_KERNEL_","CONFIG_");print}' /home/gonzlobo/OpenWRT/trunk/.config >> /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.config.target
echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.config.target
echo "# CONFIG_KALLSYMS_ALL is not set" >> /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.config.target
echo "# CONFIG_KALLSYMS_UNCOMPRESSED is not set" >> /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.config.target
echo "# CONFIG_KPROBES is not set" >> /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.config.target
/home/gonzlobo/OpenWRT/trunk/scripts/metadata.pl kconfig /home/gonzlobo/OpenWRT/trunk/tmp/.packageinfo /home/gonzlobo/OpenWRT/trunk/.config > /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.config.override
/home/gonzlobo/OpenWRT/trunk/scripts/kconfig.pl 'm+' '+' /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.config.target /dev/null /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.config.override > /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.config
mv /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.config /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.config.old
grep -v INITRAMFS /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.config.old > /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.config
echo 'CONFIG_INITRAMFS_SOURCE=""' >> /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.config
rm -rf /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/modules

export MAKEFLAGS= ; [ -d /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/user_headers ]
make -C /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18 HOSTCFLAGS="-O2 -I/home/gonzlobo/OpenWRT/trunk/staging_dir/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="mipsel-openwrt-linux-uclibc-" ARCH="mips" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash" V= CC="mipsel-openwrt-linux-uclibc-gcc" INSTALL_HDR_PATH=/home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/user_headers headers_install

. /home/gonzlobo/OpenWRT/trunk/include/shell.sh; grep '=[ym]' /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.config | LC_ALL=C sort | md5s > /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.vermagic
touch /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.configured
rm -f /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/root-ramips/init
make -C /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18 HOSTCFLAGS="-O2 -I/home/gonzlobo/OpenWRT/trunk/staging_dir/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="mipsel-openwrt-linux-uclibc-" ARCH="mips" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash" V= CC="mipsel-openwrt-linux-uclibc-gcc" all modules
/bin/sh: 1: mipsel-openwrt-linux-uclibc-gcc: not found
/bin/sh: 1: mipsel-openwrt-linux-uclibc-gcc: not found
/bin/sh: 1: mipsel-openwrt-linux-uclibc-gcc: not found
/bin/sh: 1: mipsel-openwrt-linux-uclibc-gcc: not found
make[4]: mipsel-openwrt-linux-uclibc-gcc: Command not found
make[4]: Entering directory `/home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18'
/bin/sh: 1: mipsel-openwrt-linux-uclibc-gcc: not found
/bin/sh: 1: mipsel-openwrt-linux-uclibc-gcc: not found
scripts/kconfig/conf --silentoldconfig Kconfig
net/sched/Kconfig:43: warning: menuconfig statement without prompt
drivers/base/regmap/Kconfig:13:warning: multi-line strings not supported
#
# configuration written to .config
#
make[4]: Leaving directory `/home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18'
/bin/sh: 1: mipsel-openwrt-linux-uclibc-gcc: not found
/bin/sh: 1: mipsel-openwrt-linux-uclibc-gcc: not found
/bin/sh: 1: mipsel-openwrt-linux-uclibc-gcc: not found
/bin/sh: 1: mipsel-openwrt-linux-uclibc-gcc: not found
make[4]: mipsel-openwrt-linux-uclibc-gcc: Command not found
make[4]: Entering directory `/home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18'

CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s

/bin/sh: 1: mipsel-openwrt-linux-uclibc-gcc: not found
make[5]: * [kernel/bounds.s] Error 127
make[4]:
* [prepare0] Error 2
make[4]: Leaving directory `/home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18'
make[3]: * /home/gonzlobo/OpenWRT/trunk/build_dir/target-mipsel_mips32r2_uClibc-0.9.33.2/linux-ramips_rt288x/linux-3.14.18/.image Error 2
make[3]: Leaving directory `/home/gonzlobo/OpenWRT/trunk/target/linux/ramips'
make[2]:
* [install] Error 2
make[2]: Leaving directory `/home/gonzlobo/OpenWRT/trunk/target/linux'
make[1]: * [target/linux/install] Error 2
make[1]: Leaving directory `/home/gonzlobo/OpenWRT/trunk'
make:
* [target/linux/install] Error 2

comment:3 Changed 3 years ago by gonzlobo@…

Ah, I forgot...

There are wli-tx4-ag300n builds all over openwrt.org's servers, and none of them have FACTORY files, so it seems there's some sort of issue.

For example, at: https://downloads.openwrt.org/latest/ramips/rt288x/, there's openwrt-ramips-rt288x-wli-tx4-ag300n-squashfs-SYSUPGRADE.bin, but no FACTORY file.

comment:4 Changed 3 years ago by gonzlobo@…

My mistake... my build was actually Trunk, but I entered the Ticket under Barrier Breaker.

comment:5 Changed 3 years ago by gonzlobo@…

My mistake... my build was actually Trunk, but I entered the Ticket under Barrier Breaker.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.