[OpenWrt-Devel] looking for a tl-wdr4900 tester

John Crispin blogic at openwrt.org
Fri Feb 13 11:47:06 EST 2015



On 13/02/2015 14:20, Bastian Bittorf wrote:
> * John Crispin <blogic at openwrt.org> [13.02.2015 08:14]:
>>> Is there any testing procedure I should follow? Do we have
>>> some kind of tests I don't know of?
>> 
>> i wish i had. best if you flash the image, see if wifi and
>> ethernet work, thats the best we can do right now i guess :-)
> 
> i'am working on this, the first thing i spotted:
> 

i have not even pushed my patches yet. i can send you an image to test
if you want

> 64-bit kernel (PPC64) [N/y/?] (NEW) aborted!
> 
> so, we have to set the symbol 'PPC64' to 'N'
> 
> but later the build stops: make[2]: Leaving directory
> `/home/bastian/openwrt' make[2]: Entering directory
> `/home/bastian/openwrt' make[3]: Entering directory
> `/home/bastian/openwrt/target/linux' make[4]: Entering directory
> `/home/bastian/openwrt/target/linux/mpc85xx' 
> /home/bastian/openwrt/scripts/kconfig.pl  + 
> /home/bastian/openwrt/target/linux/generic/config-3.18 
> /home/bastian/openwrt/target/linux/mpc85xx/generic/config-default
> > 
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.config.target
>
> 
awk
> '/^(#[[:space:]]+)?CONFIG_KERNEL/{sub("CONFIG_KERNEL_","CONFIG_");print}'
>
> 
/home/bastian/openwrt/.config >>
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.config.target
>
> 
echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >>
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.config.target
>
> 
echo "# CONFIG_KALLSYMS_ALL is not set" >>
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.config.target
>
> 
echo "# CONFIG_KALLSYMS_UNCOMPRESSED is not set" >>
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.config.target
>
> 
echo "# CONFIG_KPROBES is not set" >>
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.config.target
>
> 
/home/bastian/openwrt/scripts/metadata.pl kconfig
> /home/bastian/openwrt/tmp/.packageinfo
> /home/bastian/openwrt/.config 3.18 > 
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.config.override
>
> 
/home/bastian/openwrt/scripts/kconfig.pl 'm+' '+'
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.config.target
>
> 
/dev/null
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.config.override
>>
> 
/home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.config
> mv 
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.config
>
> 
/home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.config.old
> grep -v INITRAMFS 
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.config.old
>>
> 
/home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.config
> echo 'CONFIG_INITRAMFS_SOURCE=""' >> 
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.config
>
> 
rm -rf
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/modules
>
> 
export MAKEFLAGS= ; [ -d
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/user_headers
>
> 
] || make -C
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6
>
> 
HOSTCFLAGS="-O2 -I/home/bastian/openwrt/staging_dir/host/include
> -I/home/bastian/openwrt/staging_dir/host/usr/include -Wall 
> -Wmissing-prototypes -Wstrict-prototypes" 
> CROSS_COMPILE="powerpc-openwrt-linux-uclibcspe-" ARCH="powerpc" 
> KBUILD_HAVE_NLS=no CONFIG_SHELL="bash" V='' 
> CC="powerpc-openwrt-linux-uclibcspe-gcc" 
> INSTALL_HDR_PATH=/home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/user_headers
>
> 
headers_install
> . /home/bastian/openwrt/include/shell.sh; grep '=[ym]' 
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.config
>
> 
| LC_ALL=C sort | md5s >
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.vermagic
>
> 
touch
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.configured
>
> 
rm -f
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/root-mpc85xx/init
>
> 
make -C
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6
>
> 
HOSTCFLAGS="-O2 -I/home/bastian/openwrt/staging_dir/host/include
> -I/home/bastian/openwrt/staging_dir/host/usr/include -Wall 
> -Wmissing-prototypes -Wstrict-prototypes" 
> CROSS_COMPILE="powerpc-openwrt-linux-uclibcspe-" ARCH="powerpc" 
> KBUILD_HAVE_NLS=no CONFIG_SHELL="bash" V='' 
> CC="powerpc-openwrt-linux-uclibcspe-gcc" all modules make[5]:
> Entering directory 
> `/home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6'
>
> 
scripts/kconfig/conf --silentoldconfig Kconfig
> net/sched/Kconfig:43: warning: menuconfig statement without prompt 
> # # configuration written to .config # make[5]: Leaving directory 
> `/home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6'
>
> 
make[5]: Entering directory
> `/home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6'
>
> 
CHK     include/config/kernel.release
> CHK     include/generated/uapi/linux/version.h CHK
> include/generated/utsrelease.h CALL    scripts/checksyscalls.sh CHK
> include/generated/compile.h CALL
> arch/powerpc/kernel/systbl_chk.sh CALL
> arch/powerpc/kernel/prom_init_check.sh LINK    vmlinux LD
> vmlinux.o MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x1e99e):
> Section mismatch in reference from the function chrp_init_early()
> to the variable .init.data:boot_command_line The function
> chrp_init_early() references the variable __initdata
> boot_command_line. This is often because chrp_init_early lacks a
> __initdata annotation or the annotation of boot_command_line is
> wrong.
> 
> WARNING: vmlinux.o(.text+0x1e9a6): Section mismatch in reference
> from the function chrp_init_early() to the variable 
> .init.data:boot_command_line The function chrp_init_early()
> references the variable __initdata boot_command_line. This is often
> because chrp_init_early lacks a __initdata annotation or the
> annotation of boot_command_line is wrong.
> 
> GEN     .version CHK     include/generated/compile.h UPD
> include/generated/compile.h CC      init/version.o LD
> init/built-in.o KSYM    .tmp_kallsyms1.o KSYM    .tmp_kallsyms2.o 
> LD      vmlinux SYSMAP  System.map WRAP
> arch/powerpc/boot/zImage.chrp WRAP
> arch/powerpc/boot/zImage.pmac WRAP
> arch/powerpc/boot/zImage.coff WRAP
> arch/powerpc/boot/zImage.miboot Building modules, stage 2. MODPOST
> 110 modules make[5]: Nothing to be done for `modules'. make[5]:
> Leaving directory 
> `/home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6'
>
> 
powerpc-openwrt-linux-uclibcspe-objcopy -O binary -R .reginfo -R .notes
> -R .note -R .comment -R .mdebug -R .note.gnu.build-id -S 
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/vmlinux
>
> 
/home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/vmlinux
> powerpc-openwrt-linux-uclibcspe-objcopy -R .reginfo -R .notes -R
> .note -R .comment -R .mdebug -R .note.gnu.build-id -S 
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/vmlinux
>
> 
/home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/vmlinux.elf
> cp -fpR 
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/vmlinux
>
> 
/home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/vmlinux.debug
> cp -fpR 
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/arch/powerpc/boot//zImage
>
> 
/home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/zImage;
> cp -fpR 
> /home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/arch/powerpc/boot//cuImage.tl-wdr4900-v1
>
> 
/home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/cuImage.tl-wdr4900-v1;
> cp: cannot stat 
> `/home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/arch/powerpc/boot//cuImage.tl-wdr4900-v1':
>
> 
No such file or directory
> make[4]: *** 
> [/home/bastian/openwrt/build_dir/target-powerpc_8540_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.18.6/.image]
>
> 
Error 1
> make[4]: Leaving directory
> `/home/bastian/openwrt/target/linux/mpc85xx' make[3]: *** [install]
> Error 2 make[3]: Leaving directory
> `/home/bastian/openwrt/target/linux' make[2]: ***
> [target/linux/install] Error 2 make[2]: Leaving directory
> `/home/bastian/openwrt' make[1]: *** 
> [/home/bastian/openwrt/staging_dir/target-powerpc_8540_uClibc-0.9.33.2/stamp/.target_install]
>
> 
Error 2
> make[1]: Leaving directory `/home/bastian/openwrt' make: ***
> [world] Error 2 bastian at gcc20:~/openwrt$
> 
> bye, bastian _______________________________________________ 
> openwrt-devel mailing list openwrt-devel at lists.openwrt.org 
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list