Hi,

On 23-04-15 14:36, Paul Kocialkowski wrote:
Le 2015-04-23 12:00, Hans de Goede a écrit :
Hi,

On 23-04-15 11:03, Reinhard Max wrote:
On Sat, 18 Apr 2015 at 18:31, Paul Kocialkowski wrote:

I think we should do that too for devices that have a device-tree source that 
we cannot rename. This will cause a lack of consistency between sunxi-boards, 
U-Boot, the wiki on the one hand and Linux on the other for those devices, but 
since the problem is in the kernel, it's only fair that only the kernel keeps 
the inconsistent naming and not the other way round.

Would it be possible to have two names referring to the same device-tree, so 
that new installations can use the cleaned-up naming scheme while keeping the 
kernel backwards compatible with U-Boots that that still use the old name?

No that cannot be (easily) done.

Well, I think it's a good idea to do it and I see a few ways to do it in a not 
so dirty way:
* have symlinks in arch/arm/boot/dts/ with the new names as actual files and 
the legacy names as symlinks
* or, add build rules to also create dtb files with the legacy names (but 
keeping the dts names in the new scheme)
* or, duplicate each file, which is probably unmaintainable and not the best 
idea

I was thinking more about modifying u-boot to try both the old and new name, so 
that it can still boot
older kernels. But you're right the kernel will need to come with both old and 
new name dtb files
almost indefinitely too. IOW this is really a bad idea to fix some very very 
minor, purely cosmetic issue.

Regards,

Hans

--
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to