OpenNuvoton / MA35D1_Buildroot

MA35D1 Buildroot
Other
11 stars 7 forks source link

Peripherals for custom board #18

Open Barmallini opened 3 days ago

Barmallini commented 3 days ago

Hi, how to add peripheral to custom board?

Maybe somewhere custom .dtsi ?

I'm use buildroot image from Nuvoton (Virtualbox)

ychuang3 commented 3 days ago

First, please update Buildroot:

git pull

Then, perform a clean build and select the appropriate board configuration:

rm -rf output
make numaker_som_ma35d16a81_defconfig  # Assuming your board is SOM 256MB
make

The build process will take about an hour or more to complete. After that, you can customize your .dtsi file. It can be found at:

buildroot/output/build/linux-custom/arch/arm64/boot/dts/nuvoton/ma35d1.dtsi