openwrt/target/linux/lantiq/files-4.14/arch/mips/boot/dts
Christian Lamparter 33727ecea5 lantiq: enlarge ZyXEL P-2812HNU-F1 kernel partition (FS#2124)
The current snapshot release kernel with it's 2119245 Byte
size is too big to fit into the 2097152 (2MiB) area that
was set aside for the kernel. Which causes the device to
fail to boot (after an update or even during a fresh install)

 NAND read: device 0 offset 0x60000, size 0x200000
  2097152 bytes read: OK
 ## Booting kernel from Legacy Image at 80800000 ...
    Image Name:   MIPS OpenWrt Linux-4.14.98
    Created:      2019-02-13   9:37:36 UTC
    Image Type:   MIPS Linux Kernel Image (lzma compressed)
    Data Size:    2119245 Bytes = 2 MiB
    Load Address: 80002000
    Entry Point:  80002000
    Verifying Checksum ... Bad Data CRC
 ERROR: can't get kernel image!

This patch fixes the problem by enlarging the kernel partition
at the cost of the ubi/data partition behind it. The patch
also adds a KERNEL_SIZE variable to the image Makefile to
prevent silent corruptions from happening in the future.

Please note: The u-boot environment for the router also
needs to be updated. So please attach an appropriate
serial converter cable and enter the following commands
into the u-boot prompt:

 setenv nboot 'nand read 0x80800000 0x60000 0x300000; bootm 0x80800000'
 saveenv

The wiki has been updated accordingly:
<https://openwrt.org/toh/zyxel/p2812hnu-f1>

Fixes: FS#2124
Suggested-by: Mafketel (User on bugs.openwrt.org)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2019-03-06 21:58:59 +01:00
..
ACMP252.dts lantiq: kernel 4.14: use vbus-supply devicetree property 2018-05-17 07:40:19 +02:00
ALL0333CJ.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
ARV452CQW.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
ARV752DPW.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
ARV752DPW22.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
ARV4510PW.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
ARV4518PWR01.dts
ARV4518PWR01.dtsi lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
ARV4518PWR01A.dts
ARV4519PW.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
ARV4520PW.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
ARV4525PW.dts
ARV7506PW11.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
ARV7510PW22.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
ARV7518PW.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
ARV7519PW.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
ARV7519RW22.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
ARV7525PW.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
ARV8539PW22.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
ASL56026.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
BTHOMEHUBV2B.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
BTHOMEHUBV3A.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
BTHOMEHUBV5A.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
DGN1000B.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
DGN3500.dts
DGN3500.dtsi lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
DGN3500B.dts
DM200.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
EASY50712.dts
EASY50810.dts
EASY80920.dtsi lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
EASY80920NAND.dts
EASY80920NOR.dts
EASY88388.dts treewide: dts: Remove default-state=off property from all gpio LED nodes 2018-12-17 08:16:28 +01:00
EASY88444.dts treewide: dts: Remove default-state=off property from all gpio LED nodes 2018-12-17 08:16:28 +01:00
EASY98000-base.dtsi
EASY98000NAND.dts
EASY98000NOR.dts
EASY98000SFLASH.dts
EASY98020.dts treewide: dts: Remove default-state=off property from all gpio LED nodes 2018-12-17 08:16:28 +01:00
EASY98020V18.dts
EASY98021.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
EASY98035SYNCE.dts
EASY98035SYNCE1588.dts
FALCON-MDU.dts
FALCON-SFP.dts
FRITZ3370-REV2-HYNIX.dts lantiq: make AVM FRITZ!Box naming consistent 2019-01-26 10:41:26 +01:00
FRITZ3370-REV2-MICRON.dts lantiq: make AVM FRITZ!Box naming consistent 2019-01-26 10:41:26 +01:00
FRITZ3370-REV2.dtsi lantiq: make AVM FRITZ!Box naming consistent 2019-01-26 10:41:26 +01:00
FRITZ7312.dts lantiq: make AVM FRITZ!Box naming consistent 2019-01-26 10:41:26 +01:00
FRITZ7320.dts lantiq: Add support for 2nd USB port on Fritz!Box 7320 and 7330 2019-01-26 10:42:19 +01:00
FRITZ7360SL.dts lantiq: make AVM FRITZ!Box naming consistent 2019-01-26 10:41:26 +01:00
GIGASX76X.dts lantiq: kernel 4.14: use vbus-supply devicetree property 2018-05-17 07:40:19 +02:00
H201L.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
P2601HNFX.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
P2812HNUF1.dts lantiq: enlarge ZyXEL P-2812HNU-F1 kernel partition (FS#2124) 2019-03-06 21:58:59 +01:00
P2812HNUF3.dts
P2812HNUFX.dtsi lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
TDW89X0.dtsi lantiq: kernel 4.14: use vbus-supply devicetree property 2018-05-17 07:40:19 +02:00
TDW8970.dts
TDW8980.dts
VG3503J.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
VGV7510KW22.dtsi lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
VGV7510KW22BRN.dts
VGV7510KW22NOR.dts
VGV7519.dtsi lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
VGV7519BRN.dts
VGV7519NOR.dts
VR200.dts lantiq: enable FXS ports on VR200v 2018-11-26 12:30:33 +01:00
VR200.dtsi lantiq: enable FXS ports on VR200v 2018-11-26 12:30:33 +01:00
VR200v.dts lantiq: enable FXS ports on VR200v 2018-11-26 12:30:33 +01:00
WBMR.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
WBMR300.dts lantiq: add support for upgrade led 2018-08-16 21:20:57 +02:00
amazonse.dtsi lantiq: kernel 4.14: update dts files 2018-02-20 19:25:17 +01:00
ar9.dtsi lantiq: kernel 4.14: update dts files 2018-02-20 19:25:17 +01:00
danube.dtsi lantiq: kernel 4.14: update dts files 2018-02-20 19:25:17 +01:00
falcon-sflash-16M.dtsi
falcon.dtsi
vr9.dtsi lantiq: kernel 4.14: fix vr9 reboot mask 2018-04-04 09:09:51 +02:00