Missing at91-sama5d27_som1_ek_pda4.dtb in new kernels

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

User avatar
koan
Contact:
Location: Bergamo, Italia
Posts: 210
Joined: Wed May 12, 2004 6:59 pm

Missing at91-sama5d27_som1_ek_pda4.dtb in new kernels

Wed Nov 07, 2018 3:59 pm

Hello,
I have been succesfully using a kernel 4.9 with at91-sama5d27_som1_ek_pda4.dtb to test my SAMA5D27-SOM1-EK1.
Now I'd like to migrate to the latest kernel 4.14.73 but I'm wondering why all the PDA device tree files was removed form the sources.
Why?

Code: Select all

		at91-sama5d27_som1_ek.dtb \
		at91-sama5d27_som1_ek_pda4.dtb \
		at91-sama5d27_som1_ek_pda7.dtb \
		at91-sama5d27_som1_ek_pda7b.dtb \
Marco Cavallini
Koan s.a.s. - Bergamo - ITALIA
Embedded and Real-Time Software Engineering
- Atmel Third Party Consultant
Tel. +39-(0)35-255.235 - Fax +39-178-223.9748
http://www.KoanSoftware.com | http://www.KaeilOS.com
nferre
Site Admin
Posts: 186
Joined: Wed Feb 14, 2007 11:17 am

Re: Missing at91-sama5d27_som1_ek_pda4.dtb in new kernels

Mon Nov 12, 2018 6:38 pm

Hi Marco,

We switched to adding the PDA screen additional nodes with DT overlays merged at boot time by U-Boot.
This way we are far closer to the Mainline sources and we can take advantage of this DT overlay possibility for other aspects like camera sensor selection for Image capture or daughter boards like click boards.
The sources of our DT overlays are here: https://github.com/linux4sam/dt-overlay-at91

Best regards,
Nicolas
User avatar
koan
Contact:
Location: Bergamo, Italia
Posts: 210
Joined: Wed May 12, 2004 6:59 pm

Re: Missing at91-sama5d27_som1_ek_pda4.dtb in new kernels

Wed Nov 21, 2018 6:48 pm

nferre wrote:
Mon Nov 12, 2018 6:38 pm
We switched to adding the PDA screen additional nodes with DT overlays merged at boot time by U-Boot.
This way we are far closer to the Mainline sources and we can take advantage of this DT overlay possibility for other aspects like camera sensor selection for Image capture or daughter boards like click boards.
The sources of our DT overlays are here: https://github.com/linux4sam/dt-overlay-at91
Hi Nicolas,

I built them

Code: Select all

 export KERNEL_DIR=$HOME/linux-atmel-git/linux-at91-4.14/
 make sama5d27_som1_ek_dtbos
In the u-boot you need to set

Code: Select all

setenv at91_overlays_config '#isc#pda4'

=> boot
3901236 bytes read in 279 ms (13.3 MiB/s)
## Loading kernel from FIT Image at 24000000 ...
   Using 'kernel_dtb' configuration
   Trying 'kernel@1' kernel subimage
     Description:  Linux4SAM Linux kernel
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x240000e0
     Data Size:    3835928 Bytes = 3.7 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x22000000
     Entry Point:  0x22000000
     Hash algo:    crc32
     Hash value:   79485d90
     Hash algo:    sha1
     Hash value:   224e9286292201a39e0b8d3af00ef83d9684875a
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 24000000 ...
   Using 'kernel_dtb' configuration
   Trying 'base_fdt' fdt subimage
     Description:  Flattened Device Tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x243a8a24
     Data Size:    44915 Bytes = 43.9 KiB
     Architecture: ARM
     Load Address: 0x23000000
     Hash algo:    crc32
     Hash value:   44aa981a
     Hash algo:    sha1
     Hash value:   96610a3de96b76f7669da56de84f1aac5689c2f4
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x243a8a24 to 0x23000000
## Loading fdt from FIT Image at 24000000 ...
Could not find configuration node
load of <NULL> failed
## Loading fdt from FIT Image at 24000000 ...
   Using 'pda4' configuration
   Trying 'fdt_pda4' fdt subimage
     Description:  Device Tree blob pda4300 overlay
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x243b3aa8
     Data Size:    4270 Bytes = 4.2 KiB
     Architecture: ARM
     Load Address: 0x23130000
     Hash algo:    crc32
     Hash value:   f6fe6973
     Hash algo:    sha1
     Hash value:   1fd381fb48ddd882d053b210410dbacc1f6b3d15
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x243b3aa8 to 0x23130000
   Booting using the fdt blob at 0x23000000
   Loading Kernel Image ... OK
   Loading Device Tree to 27b46000, end 27b5496e ... OK

Starting kernel ...

Useful links:
linux4sam/bin/view/Linux4SAM/DT-Overlay
linux4sam/bin/view/Linux4SAM/Sama5d27So ... h_the_demo

Thank you
Marco Cavallini
Koan s.a.s. - Bergamo - ITALIA
Embedded and Real-Time Software Engineering
- Atmel Third Party Consultant
Tel. +39-(0)35-255.235 - Fax +39-178-223.9748
http://www.KoanSoftware.com | http://www.KaeilOS.com

Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 2 guests