Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1072 - AR71xx / TP-RE450: Can't build image with kernel 4.9.x #6112

Closed
openwrt-bot opened this issue Oct 17, 2017 · 5 comments
Closed

FS#1072 - AR71xx / TP-RE450: Can't build image with kernel 4.9.x #6112

openwrt-bot opened this issue Oct 17, 2017 · 5 comments
Labels

Comments

@openwrt-bot
Copy link

dibdot:

Device problem occurs on: TP-RE450 v1
Software versions of LEDE release, packages, etc.: plain vanilla snapshot per 17.10.2017
Steps to reproduce:

  1. standard build root environment
  2. make distclean
  3. update & install standard package feeds
  4. edit/change target/linux/ar71xx/Makefile to "KERNEL_PATCHVER:=4.9"
  5. make menuconfig => select Target Profile "TP-LINK RE450 v1" => Save & exit
  6. make -j1 V=s

Compile-Output as follows:

[...]
cp /home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/vmlinux /home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/re450-v1-kernel.bin
/home/dirk/lede/TP-RE450/source/staging_dir/host/bin/patch-cmdline /home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/re450-v1-kernel.bin 'board=RE450 mtdparts=spi0.0:128k(u-boot)ro,1344k(kernel),4672k(rootfs),64k(pation-table)ro,64k(product-info)ro,1856k(config)ro,64k(art)ro,6016k@0x20000(firmware) console=ttyS0,115200'
search space used is default of 16KB
/home/dirk/lede/TP-RE450/source/staging_dir/host/bin/lzma e /home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/re450-v1-kernel.bin -lc1 -lp2 -pb2 /home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/re450-v1-kernel.bin.new
/home/dirk/lede/TP-RE450/source/staging_dir/host/bin/mktplinkfw -c -H 0x0 -W 0 -L 0x80060000 -E 0x80060000 -m 1 -N "LEDE" -V r5099-5fff2f44d5 -k /home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/re450-v1-kernel.bin -o /home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/re450-v1-kernel.bin.new
[mktplinkfw] firmware file "/home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/re450-v1-kernel.bin.new" completed
[ -f /home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/re450-v1-kernel.bin -a -f /home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/root.squashfs ]
dd if=/home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/root.squashfs >> /home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/lede-ar71xx-generic-re450-v1-squashfs-sysupgrade.bin
4336+1 records in
4336+1 records out
2220034 bytes (2.2 MB, 2.1 MiB) copied, 0.00595122 s, 373 MB/s
/home/dirk/lede/TP-RE450/source/staging_dir/host/bin/tplink-safeloader -B RE450 -V r5099-5fff2f44d5 -k /home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/re450-v1-kernel.bin -r /home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/lede-ar71xx-generic-re450-v1-squashfs-sysupgrade.bin -o /home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/lede-ar71xx-generic-re450-v1-squashfs-sysupgrade.bin.new -j -S && mv /home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/lede-ar71xx-generic-re450-v1-squashfs-sysupgrade.bin.new /home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/lede-ar71xx-generic-re450-v1-squashfs-sysupgrade.bin || rm -f /home/dirk/lede/TP-RE450/source/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/lede-ar71xx-generic-re450-v1-squashfs-sysupgrade.bin
os-image partition too big (more than 1376256 bytes): Success
[...]

@openwrt-bot
Copy link
Author

dibdot:

Since yesterday (switch from default kernel 4.4 to 4.9) buildbots no longer generates snapshot images for re450 devices. In my buildroot environment I've removed kernel debugs & kallsyms and I'm back in business ...

@openwrt-bot
Copy link
Author

@openwrt-bot
Copy link
Author

pepe2k:

Hello Dirk,

I have a fix in [[https://git.lede-project.org/?p=lede/pepe2k/staging.git;a=summary|my staging tree]] ("//ar71xx: increase kernel partition size for TP-Link RE450 v1//"). Please, test it as I don't have access to this device.

Cheers,
Piotr

@openwrt-bot
Copy link
Author

dibdot:

Hi Piotr,

retested with your current staging tree. Build with standard options runs flawlessly and the resulting image works OK - fixed for me!

Thank you very much!
Dirk

@openwrt-bot
Copy link
Author

pepe2k:

Hello Dirk,

Thank you for test and feedback!

Cheers,
Piotr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant