[OpenWrt-Devel] [PATCH] [orion] Update kernel to 3.10.44

Maarten Bezemer maarten.bezemer at gmail.com
Sun Jul 20 08:31:52 EDT 2014


On Sunday 20 July 2014 13:56:30 Felix Fietkau wrote:
> On 2014-07-20 11:20, Hauke Mehrtens wrote:
> > Hi,
> > 
> > I am getting an error when compiling:
> > 
> > /home/hauke/openwrt/git/staging_dir/host/bin/mkfs.jffs2
> > --compression-mode=none --pad --little-endian --squash -e 64KiB -o
> > '/home/hauke/openwrt/git/build_dir/target-arm_xscale_uClibc-0.9.33.2_eabi/
> > linux-orion_generic/wn802t-uImage.jffs2' -d
> > '/home/hauke/openwrt/git/tmp/wn802t_jffs2_uimage'
> > rm -rf '/home/hauke/openwrt/git/tmp/wn802t_jffs2_uimage'
> > [ `stat -c %s
> > '/home/hauke/openwrt/git/build_dir/target-arm_xscale_uClibc-0.9.33.2_eabi/
> > linux-orion_generic/wn802t-uImage.jffs2'` -le 1048576 ] || { echo '  
> > ERROR:
> > /home/hauke/openwrt/git/build_dir/target-arm_xscale_uClibc-0.9.33.2_eabi/l
> > inux-orion_generic/wn802t-uImage.jffs2 too big (> 1048576 bytes)'; exit 1;
> > }
> > 
> >    ERROR:
> > /home/hauke/openwrt/git/build_dir/target-arm_xscale_uClibc-0.9.33.2_eabi/l
> > inux-orion_generic/wn802t-uImage.jffs2 too big (> 1048576 bytes)
> > make[5]: *** [install] Error 1
> > 
> > You could try to move the ethernet controller and switch driver into a
> > kernel module to make the kernel image smaller.
> 
> That's not useful as a long term solution, as 3.14 will likely get even
> bigger. Can we maybe make the partition size dynamic here?

Hm, I get the same error now (clean rebuild). Earlier (last week) it was 
working (building and running on my router). I guess something got added that 
increased the size..?

I'll await further discussion on whether to make the partition size dynamic, 
as I agree with Felix that removing drivers from the kernel (into modules) is 
not a viable solution for the long(er) term.

Regards,
  Maarten
_______________________________________________
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