This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: AM5718 boot error

Other Parts Discussed in Thread: AM5718

Tool/software: Linux

Hi TI:

We use AM5718 platform.

SDK version is 04.01.00.06

We found an warning during booting.

WARNING: CPU: 0 PID: 1 at /home/davido/projects/rv700/workspace/build/arago-tmp-external-linaro-toolchain/work-shared/am57xx-rv700/kernel-source/drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x25c/0x36c
44000000.ocp:L3 Custom Error: MASTER MPU TARGET DMM_P1 (Read): Data Access in User mode during Functional access
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.41-gea3fe393f3 #10
Hardware name: Generic DRA72X (Flattened Device Tree)
Backtrace:
[<c020baf8>] (dump_backtrace) from [<c020bdb4>] (show_stack+0x18/0x1c)
 r7:00000009 r6:60000193 r5:00000000 r4:c10225d0
[<c020bd9c>] (show_stack) from [<c04d6d80>] (dump_stack+0x8c/0xa0)
[<c04d6cf4>] (dump_stack) from [<c022fb90>] (__warn+0xec/0x104)

We found if we remove &wakeupgen GIC_SPI 10 from ocp.

This warning will disappear.

dra7.dtsi

    ocp {
        compatible = "ti,dra7-l3-noc", "simple-bus";
        #address-cells = <1>;
        #size-cells = <1>;
        ranges = <0x0 0x0 0x0 0xc0000000>;
        ti,hwmods = "l3_main_1", "l3_main_2";
        reg = <0x0 0x44000000 0x0 0x1000000>,
              <0x0 0x45000000 0x0 0x1000>;
        /*interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
                      <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;*/

        interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;

1. Can you tell us the purpose about  interrupts-extended = <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>?

2. Can we remove it from device tree? (dra7.dtsi)

Thanks

dra7.rar

DarkHou