• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2020-2021 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16/dts-v1/;
17
18/ {
19    description = "U-Boot uImage source file for arm_virt";
20    #address-cells = <1>;
21
22    images {
23        kernel@1 {
24            description = "Linux kernel for arm_virt";
25            data = /incbin/("./packages/phone/images/zImage-dtb");
26            type = "kernel";
27            arch = "arm";
28            os = "linux";
29            compression = "none";
30            load = <0x82000000>;
31            entry = <0x82000000>;
32        };
33	ramdisk@1 {
34            description = "ohos Ramdisk Image";
35            data = /incbin/("./ramdisk.img");
36            type = "ramdisk";
37            arch = "arm";
38            os = "linux";
39            compression = "none";
40            load = <0x84000000>;
41            entry = <0x84000000>;
42        };
43    };
44
45    configurations {
46        default = "conf@boot";
47        conf@boot {
48            description = "booting ARM Linux Kernel Image";
49            kernel = "kernel@1";
50            ramdisk = "ramdisk@1";
51        };
52    };
53};
54