嵌入式开发者社区

标题: AM5728如何修改模型树 [打印本页]

作者: yongqiu    时间: 2017-6-19 14:50
标题: AM5728如何修改模型树
请问AM5728能否提供模型树修改方法
作者: yongqiu    时间: 2017-6-19 14:52
我的模型树修改之后按照创龙提供的方法放到SD卡的BOOT目录下但LINUX并没有跟着更改过来
作者: human    时间: 2017-6-19 16:55
这个暂时 没有
你可以把实际问题贴出来看看
作者: yongqiu    时间: 2017-6-20 14:48
reserved-memory {
                #address-cells = <2>;
                #size-cells = <2>;
                ranges;

                ipu2_cma_pool: ipu2_cma@95800000 {
                        compatible = "shared-dma-pool";
                        reg = <0x0 0x95800000 0x0 0x3800000>;
                        reusable;
                        status = "okay";
                };

                dsp1_cma_pool: dsp1_cma@99000000 {
                        compatible = "shared-dma-pool";
                        reg = <0x0 0x99000000 0x0 0x4000000>;
                        reusable;
                        status = "okay";
                };

                ipu1_cma_pool: ipu1_cma@9d000000 {
                        compatible = "shared-dma-pool";
                        reg = <0x0 0x9d000000 0x0 0x2000000>;
                        reusable;
                        status = "okay";
                };

                dsp2_cma_pool: dsp2_cma@9f000000 {
                        compatible = "shared-dma-pool";
                        reg = <0x0 0x9f000000 0x0 0x800000>;
                        reusable;
                        status = "okay";
                };
        };
这是之前的DTS文件
作者: yongqiu    时间: 2017-6-20 14:51
reserved-memory {
                #address-cells = <2>;
                #size-cells = <2>;
                ranges;

                ipu2_cma_pool: ipu2_cma@95800000 {
                        compatible = "shared-dma-pool";
                        reg = <0x0 0x95800000 0x0 0x200000>;
                        reusable;
                        status = "okay";
                };

                dsp1_cma_pool: dsp1_cma@96000000 {
                        compatible = "shared-dma-pool";
                        reg = <0x0 0x96000000 0x0 0x7000000>;
                        reusable;
                        status = "okay";
                };

                ipu1_cma_pool: ipu1_cma@9d000000 {
                        compatible = "shared-dma-pool";
                        reg = <0x0 0x9d000000 0x0 0x2000000>;
                        reusable;
                        status = "okay";
                };

                dsp2_cma_pool: dsp2_cma@9f000000 {
                        compatible = "shared-dma-pool";
                        reg = <0x0 0x9f000000 0x0 0x800000>;
                        reusable;
                        status = "okay";
                };
        };
这是修改后的

作者: yongqiu    时间: 2017-6-20 14:53
编译成am57xx-evm-reva3.dtb 放到SD卡中重新启动后
执行dmesg|grep -i cma 后显示CMA地址还是更改前的
作者: vefone    时间: 2017-6-28 12:01
yongqiu 发表于 2017-6-20 14:53
编译成am57xx-evm-reva3.dtb 放到SD卡中重新启动后
执行dmesg|grep -i cma 后显示CMA地址还是更改前的 ...

请问dtb是放到了什么位置?
作者: 1093    时间: 2017-7-20 18:56
vefone 发表于 2017-6-28 12:01
请问dtb是放到了什么位置?

我放在了SD的boot分区,没有变化,am57xx-evm-reva3.dtb这个文件
作者: human    时间: 2018-9-7 08:48
使用SD系统启动卡启动系统时,如需替换设备树,只需将编译生成的新设备树文件替换SD系统启动卡rootfs分区“/boot”目录下的对应文件即可。




欢迎光临 嵌入式开发者社区 (https://www.51ele.net/) Powered by Discuz! X3.4