* [Buildroot] [PATCH 1/1] configs/qemu: add DTB support for ARM Versatile PB
@ 2015-11-25 13:19 Guillaume Delbergue
2015-11-25 13:48 ` Thomas Petazzoni
2016-03-08 16:33 ` Thomas Petazzoni
0 siblings, 2 replies; 5+ messages in thread
From: Guillaume Delbergue @ 2015-11-25 13:19 UTC (permalink / raw)
To: buildroot
Currently, without this option, you can't boot
ARM Versatile PB with a DTB on QEMU. You get the
following error (using earlyprintk):
Uncompressing Linux... done, booting the kernel.
Error: unrecognized/unsupported device tree compatible list:
[ 'arm,versatile-pb' ]
Available machine support:
ID (hex) NAME
00000183 ARM-Versatile PB
0000025e ARM-Versatile AB
Please check your kernel config and/or bootloader.
Add CONFIG_MACH_VERSATILE_DT to support Versatile platform from device tree
Signed-off-by: Guillaume Delbergue <guillaume.delbergue@greensocs.com>
---
board/qemu/arm-versatile/linux-4.3.config | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/qemu/arm-versatile/linux-4.3.config b/board/qemu/arm-versatile/linux-4.3.config
index 9a1ae58..99df3a6 100644
--- a/board/qemu/arm-versatile/linux-4.3.config
+++ b/board/qemu/arm-versatile/linux-4.3.config
@@ -3,6 +3,7 @@ CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_ARCH_VERSATILE=y
CONFIG_MACH_VERSATILE_AB=y
+CONFIG_MACH_VERSATILE_DT=y
CONFIG_PCI=y
CONFIG_AEABI=y
CONFIG_USE_OF=y
--
2.4.9 (Apple Git-60)
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] configs/qemu: add DTB support for ARM Versatile PB
2015-11-25 13:19 [Buildroot] [PATCH 1/1] configs/qemu: add DTB support for ARM Versatile PB Guillaume Delbergue
@ 2015-11-25 13:48 ` Thomas Petazzoni
2015-11-25 13:54 ` Gustavo Zacarias
2016-03-08 16:33 ` Thomas Petazzoni
1 sibling, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2015-11-25 13:48 UTC (permalink / raw)
To: buildroot
Dear Guillaume Delbergue,
On Wed, 25 Nov 2015 14:19:59 +0100, Guillaume Delbergue wrote:
> Currently, without this option, you can't boot
> ARM Versatile PB with a DTB on QEMU. You get the
> following error (using earlyprintk):
>
> Uncompressing Linux... done, booting the kernel.
>
> Error: unrecognized/unsupported device tree compatible list:
> [ 'arm,versatile-pb' ]
>
> Available machine support:
>
> ID (hex) NAME
> 00000183 ARM-Versatile PB
> 0000025e ARM-Versatile AB
>
> Please check your kernel config and/or bootloader.
>
> Add CONFIG_MACH_VERSATILE_DT to support Versatile platform from device tree
>
> Signed-off-by: Guillaume Delbergue <guillaume.delbergue@greensocs.com>
Then maybe the board/qemu/arm-versatile/readme.txt file should be
updated to make use of the DTB ?
Gustavo ?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] configs/qemu: add DTB support for ARM Versatile PB
2015-11-25 13:48 ` Thomas Petazzoni
@ 2015-11-25 13:54 ` Gustavo Zacarias
2015-11-25 14:15 ` Guillaume Delbergue
0 siblings, 1 reply; 5+ messages in thread
From: Gustavo Zacarias @ 2015-11-25 13:54 UTC (permalink / raw)
To: buildroot
On 25/11/15 10:48, Thomas Petazzoni wrote:
>> Add CONFIG_MACH_VERSATILE_DT to support Versatile platform from device tree
>>
>> Signed-off-by: Guillaume Delbergue <guillaume.delbergue@greensocs.com>
>
> Then maybe the board/qemu/arm-versatile/readme.txt file should be
> updated to make use of the DTB ?
>
> Gustavo ?
>
> Thanks,
>
> Thomas
Hi.
Yes, definitely, since we don't default to any form of appended DTB for
that defconfig the current instructions will probably result in a
non-bootable scenario.
Care to adjust this and send a new patch?
You can look at the vexpress readme.txt
(board/qemu/arm-vexpress/readme.txt) on how to adjust/use it, but in
theory you already do that unless you changed the kernel output to
appended zImage.
Regards.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] configs/qemu: add DTB support for ARM Versatile PB
2015-11-25 13:54 ` Gustavo Zacarias
@ 2015-11-25 14:15 ` Guillaume Delbergue
0 siblings, 0 replies; 5+ messages in thread
From: Guillaume Delbergue @ 2015-11-25 14:15 UTC (permalink / raw)
To: buildroot
Hi both,
The platform boots with or without DTB option (-dtb [?]/versatile-pb.dtb) with this patch (tested with QEMU master on Ubuntu 14.04).
Of course, I can adjust README. But currently, even with this patch, README is still valid. If you don?t specify dtb, it will use ATAGS and boot.
PS : CONFIG_MACH_VERSATILE_DT ( != ARM_APPENDED_DTB) is not to support appended DTB to zImage. http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/mach-versatile/Kconfig
Regards,
Guillaume Delbergue
> On 25 Nov 2015, at 14:54, Gustavo Zacarias <gustavo@zacarias.com.ar> wrote:
>
> On 25/11/15 10:48, Thomas Petazzoni wrote:
>
>>> Add CONFIG_MACH_VERSATILE_DT to support Versatile platform from device tree
>>>
>>> Signed-off-by: Guillaume Delbergue <guillaume.delbergue@greensocs.com>
>>
>> Then maybe the board/qemu/arm-versatile/readme.txt file should be
>> updated to make use of the DTB ?
>>
>> Gustavo ?
>>
>> Thanks,
>>
>> Thomas
>
> Hi.
> Yes, definitely, since we don't default to any form of appended DTB for that defconfig the current instructions will probably result in a non-bootable scenario.
> Care to adjust this and send a new patch?
> You can look at the vexpress readme.txt (board/qemu/arm-vexpress/readme.txt) on how to adjust/use it, but in theory you already do that unless you changed the kernel output to appended zImage.
> Regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151125/d0f19d30/attachment.asc>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] configs/qemu: add DTB support for ARM Versatile PB
2015-11-25 13:19 [Buildroot] [PATCH 1/1] configs/qemu: add DTB support for ARM Versatile PB Guillaume Delbergue
2015-11-25 13:48 ` Thomas Petazzoni
@ 2016-03-08 16:33 ` Thomas Petazzoni
1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2016-03-08 16:33 UTC (permalink / raw)
To: buildroot
Dear Guillaume Delbergue,
On Wed, 25 Nov 2015 14:19:59 +0100, Guillaume Delbergue wrote:
> Currently, without this option, you can't boot
> ARM Versatile PB with a DTB on QEMU. You get the
> following error (using earlyprintk):
>
> Uncompressing Linux... done, booting the kernel.
>
> Error: unrecognized/unsupported device tree compatible list:
> [ 'arm,versatile-pb' ]
>
> Available machine support:
>
> ID (hex) NAME
> 00000183 ARM-Versatile PB
> 0000025e ARM-Versatile AB
>
> Please check your kernel config and/or bootloader.
>
> Add CONFIG_MACH_VERSATILE_DT to support Versatile platform from device tree
>
> Signed-off-by: Guillaume Delbergue <guillaume.delbergue@greensocs.com>
Finally, a slightly more complete commit implement DT based support for
ARM Versatile was pushed. See
https://git.busybox.net/buildroot/commit/?id=5825f1036a7dafcc69de3d84a57876ab0a1585cb
Consequently, I've marked your patch as "Superseded" in our patch
tracking system.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-03-08 16:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-25 13:19 [Buildroot] [PATCH 1/1] configs/qemu: add DTB support for ARM Versatile PB Guillaume Delbergue
2015-11-25 13:48 ` Thomas Petazzoni
2015-11-25 13:54 ` Gustavo Zacarias
2015-11-25 14:15 ` Guillaume Delbergue
2016-03-08 16:33 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox