[OpenWrt-Devel] lantiq: Netgear DM200 kernel too large

Paul Oranje por at oranjevos.nl
Mon Jan 21 06:39:36 EST 2019


Please see in-line.
Bye,
Paul

> Op 20 jan. 2019, om 17:52 heeft Thomas Nixon <tom at tomn.co.uk> het volgende geschreven:
> 
> Hi,
> 
> With a recent snapshot my Netgear DM200 failed to boot because the bootloader
> only loads the first 2MiB of the kernel into memory before booting, while the
> kernel image has grown to 2.017MiB.
> 
> This is obviously Not Good, but I'm not sure what to do about it. What do you
> think is the best way to deal with this?
> 
> This probably isn't an issue on other boards; the only other xrx200 board with
> a KERNEL_SIZE set is the fritz3370 at 4096k, so messing with the kernel config
> for all xrx200 boards seems a bit silly.
> 
> I could add a new subtarget like xrx200 but with small_flash enabled, but this
> seems a bit excessive for a single board. The DM200 has generally been a pain
> to support, and there are better options out there, so I wonder if it makes
> more sense to just drop it.
Some people use this modem, so dropping its support will not please everybody.
Supporting it as a small flash device seems the right approach.

> 
> For anyone else with this problem ("Verifying Checksum ... Bad Data CRC") who
> just needs it to work, I modified the uboot `bootcmd` variable:
> 
> old:
> 
>    sleep 1;nmrp;sf probe 0:3;sf read $loadaddr 0x30000 0x200000;bootm $loadaddr
> 
> new:
> 
>    sleep 1;nmrp;sf probe 0:3;sf read $loadaddr 0x30000 0x400000;bootm $loadaddr
> 
> Thanks,
> 
> Tom
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list