FAQ_MA35D1_Control LED by MA35D1 RTP M4

Post Reply
ytliu6
Posts: 80
Joined: 08 Nov 2022, 10:28

02 Dec 2022, 15:54

Modify ma35d1.dtsi at arm-trusted-firmware

Code: Select all

Buildroot:
MA35D1_Buildroot/output/build/arm-trusted-firmware-custom/fdts/ma35d1.dtsi

Yocto:
~/shared/yocto/build/tmp-glibc/work/numaker_iot_ma35d16f90-poky-linux/tf-a-ma35d1/2.3.r1-r0/git/fdts/ma35d1.dtsi

Code: Select all

sspcc: sspcc@404F0000 {
                compatible = "nuvoton,ma35d1-sspcc";
                reg = <0x0 0x404F0000 0x0 0x1000>;
                config = <UART0_TZNS>,
                        <SDH0_TZNS>,
                        <SDH1_TZNS>,
                        <NAND_TZNS>,
                        <QSPI0_TZNS>,
                        <TIMER01_TZNS>,
                        <UART16_SUBM>,
                        <TRNG_TZNS>;
                gpio_s = <PD6_S>,
                        <PD7_S>,
                        <PN6_SUBM>;
        };
Modify ma35d1.dts

Code: Select all

Buildroot:
MA35D1_Buildroot/output/build/arm-trusted-firmware-custom/fdts/ma35d1-cpu800-wb-512m.dts

Yocto:
~/shared/yocto/build/tmp-glibc/work/numaker_iot_ma35d16f90-poky-linux/tf-a-ma35d1/2.3.r1-r0/git/fdts/ma35d1-cpu800-wb-512m.dts

Code: Select all

&sspcc {
       gpio_s = <PD6_S>,
                <PD7_S>,
               <PN6_SUBM>;
};
Rebuild arm-trusted-firmware and repack Image

Code: Select all

Buildroot:
# make arm-trusted-firmware-rebuild && make

Yocto:
#bitbake tf-a-ma35d1 –C compile && bitbake nvt-image-qt5
#MA35D1 #M4 #RTP #LED

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests