Skip to contentSkip to conversation

dtoverlay for mx6 ARM

U-Boot Johann Obermayr 3 participants 5 messages Jun 11, 2015 – Jun 12, 2015

lore
Share & tools
lore
#0 lore raw

Hello,

for raspberyy pi there are some "features" available. dtoverlay, dtparam, ...
we have a Freescale mx6 CPU.
How we can add/enable this features ?

regards
Johann

#1 lore raw
Quoted 1 line · Johann Obermayr

Hello,

Hi there,

Quoted 4 lines

for raspberyy pi there are some "features" available. dtoverlay, dtparam, ...
we have a Freescale mx6 CPU.
How we can add/enable this features ?

I'm new to U-Boot but on RPi the "features" are provided by their
proprietary firmware/bootloader. AFAIK U-Boot doesn't support DT
overlays.

Kuba

#2 lore raw

Am 11.06.2015 um 22:13 schrieb Jakub Kici?ski:

Quoted 8 lines · Johann Obermayr
Quoted 1 line

Hello,

Hi there,

Quoted 4 lines

for raspberyy pi there are some "features" available. dtoverlay, dtparam, ...
we have a Freescale mx6 CPU.
How we can add/enable this features ?

Quoted 6 lines

I'm new to U-Boot but on RPi the "features" are provided by their
proprietary firmware/bootloader. AFAIK U-Boot doesn't support DT
overlays.

Kuba

Thank you for this information.

Is there a way to change a loaded devicetree configuration ?

Because we have many boards with small differents. but less memory on disk. at this time one DTB file need ~150kb. we have 1MB free, but we have > 20 different boards and
every month 1 or 2 new boards.

regards
Johann

#3 lore raw
Quoted 12 lines · Johann Obermayr

Am 11.06.2015 um 22:13 schrieb Jakub Kici?ski:

Quoted 11 lines · Johann Obermayr
Quoted 1 line

Hello,

Hi there,

Quoted 4 lines

for raspberyy pi there are some "features" available. dtoverlay, dtparam, ...
we have a Freescale mx6 CPU.
How we can add/enable this features ?

I'm new to U-Boot but on RPi the "features" are provided by their
proprietary firmware/bootloader. AFAIK U-Boot doesn't support DT
overlays.

Quoted 8 lines

Thank you for this information.

Is there a way to change a loaded devicetree configuration ?

Because we have many boards with small differents. but less memory on disk. at this time one DTB file need ~150kb. we have 1MB free, but we have > 20 different boards and
every month 1 or 2 new boards.

Ugh, nothing comes to my mind, but as I said, I'm a newbie. Maybe someone else can chime in.

#4 lore raw
In reply to Johann Obermayr

Hello,

Quoted 20 lines · Johann Obermayr

Am 11.06.2015 um 22:13 schrieb Jakub Kici?ski:

Quoted 13 lines · Johann Obermayr
Quoted 2 lines

Hello,

Hi there,

Quoted 5 lines

for raspberyy pi there are some "features" available. dtoverlay, dtparam, ...
we have a Freescale mx6 CPU.
How we can add/enable this features ?

Quoted 6 lines

I'm new to U-Boot but on RPi the "features" are provided by their
proprietary firmware/bootloader. AFAIK U-Boot doesn't support DT
overlays.

Kuba

Quoted 8 lines

Thank you for this information.

Is there a way to change a loaded devicetree configuration ?

Because we have many boards with small differents. but less memory on disk. at this time one DTB file need ~150kb. we have 1MB free, but we have > 20 different boards and
every month 1 or 2 new boards.

This depends on the changes you want.

If the change is in a part of the DT which you do not need to boot you can just leave that part out and build overlay bits which you load at runtime in your init scripts (needs kernel and dtc patches).

If the changes are required to boot there is some support in u-boot to modify DTs but I am not sure how much functionality is desirable and already implemented. Currently simplefb depends on u-boot modifying pre-made DT nodes.

Thanks

Michal