Bootup SAMA5D27-SOM1-Ek1

I have follow https://www.digikey.com/eewiki/display/linuxonarm/SAMA5D27-SOM1-EK1 to boot up my board but it shown nothing on screen .
but when i tried with demo image followed by https://www.linux4sam.org/bin/view/Linux4SAM/Sama5d27Som1EKMainPage#Demo , its working.
please anyone guide me .

Hi @Anil_Apaul, which display are you using with the SAMA5D27-SOM1-EK1?

Mainline kernel’s do not support the LCD interface with out external modifications.

Regards,

1 Like

thank for reply @RobertCNelson . it’s a touch display. can you provide me complete process to build images(.img) steps .

Hi @Anil_Apaul, which LCD Display are you using? Microchip supports 4 specific models.

Regards,

hi @RobertCNelson it is mXT640T

Hi @Anil_Apaul, is there any other identifiable marks on your LDC display? Did it come in any box with a model number?

mXT640T touchscreen controller is used on many lcd screen’s…

Regards,

hi @RobertCNelson PDA TM5000

Hi @Anil_Apaul, so the TM5000 should be the pda5… I only have a pda4 lcd which i just tested, but the same procedure should work for you…

Use this Kernel branch:

git clone https://github.com/RobertCNelson/armv7_devel
cd ./armv7_devel/
git checkout origin/v5.4.x-sama5-armv7 -b tmp
./build_kernel.sh

Next Clone Microchip’s overlay repo:

git clone https://github.com/linux4sam/dt-overlay-at91
cd ./dt-overlay-at91/
export KERNEL_DIR=../armv7_devel/KERNEL/
make sama5d27_som1_ek_dtbos

Install the Kernel and device-tree’s like previously:

https://www.digikey.com/eewiki/display/linuxonarm/SAMA5D27-SOM1-EK1#SAMA5D27-SOM1-EK1-CopyKernelImage

BUT before you sync/unmount, you’ll need to apply the overlay on top of the base *.dtb:

fdtoverlay -i /media/boot/dtbs/at91-sama5d27_som1_ek.dtb -o /media/boot/dtbs/at91-sama5d27_som1_ek.dtb ./sama5d27_som1_ek/sama5d27_som1_ek_pda5.dtbo

This command, will take the original “at91-sama5d27_som1_ek.dtb”, apply the “sama5d27_som1_ek_pda5.dtbo” overlay and write back to “at91-sama5d27_som1_ek.dtb”… So only run it once…

sync
sudo umount /media/boot
sudo umount /media/rootfs

Regards,

1 Like

Thank you @RobertCNelson, problem resolved.