Skip to contentSkip to conversation

Booting DT support without U-Boot supporting it

DISCUSSION Viresh Kumar 5 participants 5 messages Apr 12, 2012 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

My U-boot is on an older version and that doesn't have DT support for ARM. Now, is there any way of booting Linux with DT, without U-Boot supporting DT?

Like, if we can compile dtb somehow with Linux or something else?

Signature · 1 line
viresh
#1 lore raw
Quoted 5 lines · Viresh Kumar

Hi,

My U-boot is on an older version and that doesn't have DT support for ARM. Now, is there any way of booting Linux with DT, without U-Boot supporting DT?

This is how I responded to Fabio on the same query a few hours ago :)

- Turn on CONFIG_ARM_APPENDED_DTB and CONFIG_ARM_ATAG_DTB_COMPAT
- cat zImage mx27pdk.dtb > zImage_dtb
- Boot zImage_dtb as you do with zImage

Regards,
Shawn

#2 lore raw
Quoted 11 lines · Shawn Guo
Quoted 5 lines · Viresh Kumar

Hi,

My U-boot is on an older version and that doesn't have DT support for ARM. Now, is there any way of booting Linux with DT, without U-Boot supporting DT?

This is how I responded to Fabio on the same query a few hours ago :)

- Turn on CONFIG_ARM_APPENDED_DTB and CONFIG_ARM_ATAG_DTB_COMPAT
- cat zImage mx27pdk.dtb > zImage_dtb
- Boot zImage_dtb as you do with zImage

Just fyi:

http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/091371.html

http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/091457.html

Best regards

Dirk

A message that is not in the archive (sent off-list or not yet received): 20120412051947.GG2445-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org

#4 lore raw

hi Guo:
I guess CONFIG_ARM_APPENDED_DTB and CONFIG_ARM_ATAG_DTB_COMPAT are ARM
soc specific?
So, what if I want to boot MIPS kernel, but without bootloader support DT? Thanks

Dennis

Quoted 14 lines · Shawn Guo
Quoted 3 lines · Viresh Kumar

Hi,

My U-boot is on an older version and that doesn't have DT support for

ARM.

Quoted 1 line

Now, is there any way of booting Linux with DT, without U-Boot

supporting DT?

Quoted 1 line

This is how I responded to Fabio on the same query a few hours ago :)

- Turn on CONFIG_ARM_APPENDED_DTB and CONFIG_ARM_ATAG_DTB_COMPAT
- cat zImage mx27pdk.dtb > zImage_dtb
- Boot zImage_dtb as you do with zImage

Quoted 7 lines

Regards,
Shawn
_______________________________________________
devicetree-discuss mailing list devicetree-discuss-uLR06cmDAlY/[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

_______________________________________________
devicetree-discuss mailing list devicetree-discuss-uLR06cmDAlY/[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

#5 lore raw
In reply to Viresh Kumar
Quoted 4 lines · Viresh Kumar

My U-boot is on an older version and that doesn't have DT support for ARM. Now, is there any way of booting Linux with DT, without U-Boot supporting DT?

Like, if we can compile dtb somehow with Linux or something else?

Yes, see CONFIG_ARM_APPENDED_DTB and CONFIG_ARM_ATAG_DTB_COMPAT.

Arnd