From 8fced213f3850f6fbc6d99eb6f72dd0f4131014f Mon Sep 17 00:00:00 2001 From: Luan Yuan Date: Tue, 23 Oct 2018 14:41:08 +0800 Subject: [PATCH] dts: add partition_mbox_p241.dtsi. [1/1] PD#SWPL-924 Problem: It occurs error when the kernel is compiled separately. Solution: copy partition_mbox_p241.dtsi to common/arch/arm/boot/dts/amlogic/ Verify: verify by curie Change-Id: Id5821c50c1333f6c91c2559894b10181a41df6a6 Signed-off-by: Luan Yuan --- MAINTAINERS | 5 + arch/arm/boot/dts/amlogic/partition_mbox_p241.dtsi | 144 +++++++++++++++++++++ .../boot/dts/amlogic/partition_mbox_p241_P.dtsi | 2 +- 3 files changed, 150 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/amlogic/partition_mbox_p241.dtsi diff --git a/MAINTAINERS b/MAINTAINERS index abb2d5a..621438f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14646,3 +14646,8 @@ M: Luan Yuan F: arch/arm/boot/dts/amlogic/gxl_p241_1g.dts F: arch/arm/boot/dts/amlogic/gxl_p241_v2-1g.dts F: arch/arm/boot/dts/amlogic/partition_mbox_p241_P.dtsi + +AMLOGIC DTS +M: Luan Yuan +F: arch/arm/boot/dts/amlogic/partition_mbox_p241_P.dtsi + diff --git a/arch/arm/boot/dts/amlogic/partition_mbox_p241.dtsi b/arch/arm/boot/dts/amlogic/partition_mbox_p241.dtsi new file mode 100644 index 0000000..2af114b --- /dev/null +++ b/arch/arm/boot/dts/amlogic/partition_mbox_p241.dtsi @@ -0,0 +1,144 @@ +/* + * Amlogic partition set for normal + * + * Copyright (c) 2017-2017 Amlogic Ltd + * + * This file is licensed under a dual GPLv2 or BSD license. + * + */ +/ { + partitions: partitions{ + parts = <14>; + part-0 = <&logo>; + part-1 = <&recovery>; + part-2 = <&misc>; + part-3 = <&dto>; + part-4 = <&cri_data>; + part-5 = <¶m>; + part-6 = <&boot>; + part-7 = <&rsv>; + part-8 = <&tee>; + part-9 = <&vendor>; + part-10 = <&odm>; + part-11 = <&system>; + part-12 = <&cache>; + part-13 = <&data>; + + logo:logo{ + pname = "logo"; + size = <0x0 0x800000>; + mask = <1>; + }; + recovery:recovery{ + pname = "recovery"; + size = <0x0 0x1800000>; + mask = <1>; + }; + misc:misc{ + pname = "misc"; + size = <0x0 0x800000>; + mask = <1>; + }; + dto:dto{ + pname = "dto"; + size = <0x0 0x800000>; + mask = <1>; + }; + cri_data:cri_data + { + pname = "cri_data"; + size = <0x0 0x800000>; + mask = <2>; + }; + rsv:rsv{ + pname = "rsv"; + size = <0x0 0x1000000>; + mask = <1>; + }; + param:param{ + pname = "param"; + size = <0x0 0x1000000>; + mask = <2>; + }; + boot:boot + { + pname = "boot"; + size = <0x0 0x1000000>; + mask = <1>; + }; + tee:tee{ + pname = "tee"; + size = <0x0 0x2000000>; + mask = <1>; + }; + vendor:vendor + { + pname = "vendor"; + size = <0x0 0x10000000>; + mask = <1>; + }; + odm:odm + { + pname = "odm"; + size = <0x0 0x10000000>; + mask = <1>; + }; + system:system + { + pname = "system"; + size = <0x0 0x46000000>; + mask = <1>; + }; + cache:cache + { + pname = "cache"; + size = <0x0 0x25000000>; + mask = <2>; + }; + data:data + { + pname = "data"; + size = <0xffffffff 0xffffffff>; + mask = <4>; + }; + }; + + firmware { + android { + compatible = "android, firmware"; + vbmeta { + compatible = "android, vbmeta"; + parts = "boot, system, vendor"; + by_name_prefix="/dev/block"; + }; + fstab { + compatible = "android, fstab"; + system { + compatible = "android, system"; + dev = "/dev/block/system"; + type = "ext4"; + mnt_flags = + "ro,barrier=1,inode_readahead_blks=8"; + fsmgr_flags = "wait"; + }; + + vendor { + compatible = "android, vendor"; + dev = "/dev/block/vendor"; + type = "ext4"; + mnt_flags = + "ro,barrier=1,inode_readahead_blks=8"; + fsmgr_flags = "wait"; + }; + odm { + compatible = "android, odm"; + dev = "/dev/block/odm"; + type = "ext4"; + mnt_flags = + "ro,barrier=1,inode_readahead_blks=8"; + fsmgr_flags = "wait"; + }; + }; + }; + }; +};/* end of / */ diff --git a/arch/arm/boot/dts/amlogic/partition_mbox_p241_P.dtsi b/arch/arm/boot/dts/amlogic/partition_mbox_p241_P.dtsi index 33afb3a..aeb1dee 100644 --- a/arch/arm/boot/dts/amlogic/partition_mbox_p241_P.dtsi +++ b/arch/arm/boot/dts/amlogic/partition_mbox_p241_P.dtsi @@ -7,7 +7,7 @@ * */ -#include "firmware_system.dtsi" +#include "firmware_normal.dtsi" / { partitions: partitions{ -- 2.7.4