diff options
author | Daniel Golle <daniel@makrotopia.org> | 2016-09-04 03:11:45 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2016-09-04 04:58:36 +0200 |
commit | c773a2c46e043b8426a023d355aa74b538f4a9b4 (patch) | |
tree | 085a94c4546af8210f93a2911b823c439e62501f /target/linux/oxnas/files | |
parent | fe89f9011904c80191b167619f8dc5778d714411 (diff) | |
download | upstream-c773a2c46e043b8426a023d355aa74b538f4a9b4.tar.gz upstream-c773a2c46e043b8426a023d355aa74b538f4a9b4.tar.bz2 upstream-c773a2c46e043b8426a023d355aa74b538f4a9b4.zip |
oxnas: kd20: generate image compatible with stock firmware
* adjust MTD partitions to match vendor's scheme
* generate *factory.tar.gz image compatible with stock web-if
firmware upgrade interface
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/oxnas/files')
-rw-r--r-- | target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts index 217d812b96..b5c79dede3 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts @@ -13,7 +13,7 @@ model = "Shuttle KD20"; chosen { - bootargs = "console=ttyS0,115200n8 earlyprintk=serial"; + bootargs = "console=ttyS0,115200n8 earlyprintk=serial mem=256M"; }; pcie-controller@47C00000 { @@ -33,14 +33,30 @@ status = "okay"; partition@0 { - label = "boot"; - reg = <0x00000000 0x00e00000>; - /*read-only;*/ + label = "stage1"; + reg = <0x00000000 0x00040000>; + read-only; + }; + + partition@40000 { + label = "u-boot"; + reg = <0x00040000 0x00200000>; + read-only; + }; + + partition@240000 { + label = "initrd"; + reg = <0x00240000 0x00600000>; + }; + + partition@840000 { + label = "kernel"; + reg = <0x00840000 0x007C0000>; }; partition@e00000 { label = "ubi"; - reg = <0x00e00000 0x07200000>; + reg = <0x01000000 0x07000000>; }; }; |