Re: [U-Boot] ATAGS for Tegra, Sunxi, etc.

+ To: U-Boot ML
I forgot to send this to ML.
2015-12-17 13:58 GMT+09:00 Masahiro Yamada yamada.masahiro@socionext.com:
Hi,
I noticed some well-maintained new SoC families still define CONFIG_CMDLINE_TAG.
For example,
include/configs/tegra-common.h
#define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */
include/configs/sunxi-common.h
#define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_CMDLINE_TAG #define CONFIG_INITRD_TAG #define CONFIG_SERIAL_TAG
Do they still use ATAGS, not device tree?
-- Best Regards Masahiro Yamada

On 12/16/2015 09:59 PM, Masahiro Yamada wrote:
- To: U-Boot ML
I forgot to send this to ML.
2015-12-17 13:58 GMT+09:00 Masahiro Yamada yamada.masahiro@socionext.com:
Hi,
I noticed some well-maintained new SoC families still define CONFIG_CMDLINE_TAG.
For example,
include/configs/tegra-common.h
#define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */
IIRC, Tegra support in U-Boot was added in the days before DT was a thing, or a widespread thing at least. (Oh, happy days!) I imagine that the config option was simply never removed since there was no specific need to do so.

Hi everyone,
Thanks for explanation! Keeping ATAGS makes sense for combination of new U-Boot and old Linux.

On Thu, 2015-12-17 at 09:44 -0700, Stephen Warren wrote:
IIRC, Tegra support in U-Boot was added in the days before DT was a thing, or a widespread thing at least. (Oh, happy days!) I imagine that the config option was simply never removed since there was no specific need to do so.
Please remember that at least for T20 and T30 NVIDIA's officially supported Linux for Tegra (L4T) is still based on the ancient Linux kernel 3.1.10 relying on ATAGs. While Colibri T20 and Apalis/Colibri T30 are mainline since a while there is still no solution for hardware accelerated graphics/multimedia compatible with mainline as far as I know. So for hardware accelerated graphics/multimedia one is pretty much stuck with L4T requiring ATAGs!
participants (3)
-
Marcel Ziswiler
-
Masahiro Yamada
-
Stephen Warren