mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
9a9cdc65c4
The bootloader only writes the first 2MB of the image to the NOR flash when installing the NAND factory image. The bootloader is capable of booting larger kernels as it boots from the memory mapped SPI flash. Disable the NAND factory image. The NAND can be bootstrapped by writing the NAND initramfs image using the NOR upgrade method in the bootloader web-recovery and sysupgrading from there. The NOR variant is not affected. Also refactor the partition definitions in the DTS to make them less annoying to read. Signed-off-by: David Bauer <mail@david-bauer.net>
32 lines
529 B
Plaintext
32 lines
529 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
/dts-v1/;
|
|
|
|
#include "qca9563_glinet_gl-ar750s.dtsi"
|
|
|
|
/ {
|
|
compatible = "glinet,gl-ar750s-nor-nand", "qca,qca9563";
|
|
model = "GL.iNet GL-AR750S (NOR/NAND)";
|
|
};
|
|
|
|
&nor_partitions {
|
|
partition@60000 {
|
|
label = "kernel";
|
|
reg = <0x060000 0x400000>;
|
|
|
|
/*
|
|
* U-Boot bootcmd is "bootm 0x9f060000".
|
|
* So this might be possible to resize in the future.
|
|
*/
|
|
};
|
|
|
|
partition@460000 {
|
|
label = "nor_reserved";
|
|
reg = <0x460000 0xba0000>;
|
|
};
|
|
};
|
|
|
|
&nand_ubi {
|
|
label = "ubi";
|
|
};
|