kendryte / k230_docs

Kendryte K230 SDK Docs
BSD 2-Clause "Simplified" License
91 stars 11 forks source link

[Errata]: 我修改了设备树后,系统无法正常启动 #10

Closed roingbu closed 1 year ago

roingbu commented 1 year ago

Errata

我修改了设备树后,系统无法正常启动,一直卡在 1.610382] gpio gpiochip6: registered GPIOs 34 to 34 on 9140c000.gpio34

我修改的内容如下

pmu: pmu@0x91000000 {
            compatible = "kendryte, k230-pmu";
            reg = <0x0 0x91000000 0x0 0xb0>;
            interrupt-parent = <&intc>;
            interrupts = <175>;
            status = "okay";

            int0 {
                force-powerdown-value = <100000>;
                power-event-value = <10>;
                edge-cnt-type = <IRQ_TYPE_EDGE_RISING>;
                edge-cnt-value = <1>;
                edge-cnt-wakeup;
                edge-cnt-event;
                type = <IRQ_TYPE_EDGE_RISING>;
                wakeup;
                event;
            };
            int1 {

                edge-cnt-type = <IRQ_TYPE_EDGE_RISING>;
                edge-cnt-value = <1>;
                edge-cnt-wakeup;
                edge-cnt-event;
                type = <IRQ_TYPE_EDGE_RISING>;
                wakeup;
                event;
            };
            int2 {
                debounce-value = <256>;
                type = <IRQ_TYPE_EDGE_RISING>;
                wakeup;
                event;
            };
            int3 {
                debounce-value = <256>;
                type = <IRQ_TYPE_EDGE_RISING>;
                wakeup;
                event;
            };
            int4 {
                type = <IRQ_TYPE_EDGE_FALLING>;
                wakeup;
                event;
            };
            int5 {
                type = <IRQ_TYPE_EDGE_RISING>;
                wakeup;
                event;
            };
            rtc {
                alarm-wakeup;
                alarm-event;
                tick-wakeup;
                tick-event;
            };

        };

后面我还尝试过,注释int内容,就和初始一样,也是卡在这一步 image

wycwyhwyq commented 1 year ago

PMU模块使用注意事项 PMU模块硬件连接

chenhb3 commented 1 year ago

7天以上未反馈结果,问题先关闭;希望已帮助您解决问题;后续有其它问题再重新创建,谢谢!