Patchwork ARM: tegra_defconfig: enable CONFIG_ARM_APPENDED_DTB

login
register
mail settings
Submitter Olof Johansson
Date Sept. 20, 2013, 12:56 a.m.
Message ID <1379638594-28888-1-git-send-email-olof@lixom.net>
Download mbox | patch
Permalink /patch/276169/
State Rejected, archived
Headers show

Comments

Olof Johansson - Sept. 20, 2013, 12:56 a.m.
This is needed on TrimSlice, since the u-boot on that hardware is too old
to support native device tree booting. Same for any device that currently
run fastboot, but none of that hardware is supported in mainline today;
or at least there are modern u-boot ports for it.

Signed-off-by: Olof Johansson <olof@lixom.net>
---
 arch/arm/configs/tegra_defconfig |    2 ++
 1 file changed, 2 insertions(+)
Steev Klimaszewski - Sept. 20, 2013, 12:59 a.m.
CompuLab provide a u-boot that supports dtb, and afaik, it's supported
in mainline u-boot as well.

On Thu, Sep 19, 2013 at 7:56 PM, Olof Johansson <olof@lixom.net> wrote:
> This is needed on TrimSlice, since the u-boot on that hardware is too old
> to support native device tree booting. Same for any device that currently
> run fastboot, but none of that hardware is supported in mainline today;
> or at least there are modern u-boot ports for it.
>
> Signed-off-by: Olof Johansson <olof@lixom.net>
> ---
>  arch/arm/configs/tegra_defconfig |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig
> index ea042e8..b694a09 100644
> --- a/arch/arm/configs/tegra_defconfig
> +++ b/arch/arm/configs/tegra_defconfig
> @@ -39,6 +39,8 @@ CONFIG_AEABI=y
>  CONFIG_HIGHMEM=y
>  CONFIG_ZBOOT_ROM_TEXT=0x0
>  CONFIG_ZBOOT_ROM_BSS=0x0
> +CONFIG_ARM_APPENDED_DTB=y
> +CONFIG_ARM_ATAG_DTB_COMPAT=y
>  CONFIG_KEXEC=y
>  CONFIG_CPU_FREQ=y
>  CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
> --
> 1.7.10.4
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Olof Johansson - Sept. 20, 2013, 1:09 a.m.
They do? The hardware I have came with a very old u-boot. Got a link
to the newer one?


-Olof

On Thu, Sep 19, 2013 at 5:59 PM, Steev Klimaszewski
<steev@pwnieexpress.com> wrote:
> CompuLab provide a u-boot that supports dtb, and afaik, it's supported
> in mainline u-boot as well.
>
> On Thu, Sep 19, 2013 at 7:56 PM, Olof Johansson <olof@lixom.net> wrote:
>> This is needed on TrimSlice, since the u-boot on that hardware is too old
>> to support native device tree booting. Same for any device that currently
>> run fastboot, but none of that hardware is supported in mainline today;
>> or at least there are modern u-boot ports for it.
>>
>> Signed-off-by: Olof Johansson <olof@lixom.net>
>> ---
>>  arch/arm/configs/tegra_defconfig |    2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig
>> index ea042e8..b694a09 100644
>> --- a/arch/arm/configs/tegra_defconfig
>> +++ b/arch/arm/configs/tegra_defconfig
>> @@ -39,6 +39,8 @@ CONFIG_AEABI=y
>>  CONFIG_HIGHMEM=y
>>  CONFIG_ZBOOT_ROM_TEXT=0x0
>>  CONFIG_ZBOOT_ROM_BSS=0x0
>> +CONFIG_ARM_APPENDED_DTB=y
>> +CONFIG_ARM_ATAG_DTB_COMPAT=y
>>  CONFIG_KEXEC=y
>>  CONFIG_CPU_FREQ=y
>>  CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
>> --
>> 1.7.10.4
>>
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
> --
> This e-mail and any attachments are for the sole use of the intended
> recipients(s) and may be confidential. Use of any Pwnie Express product
> signifies your agreement to the Rapid Focus Security EULA<http://pwnieexpress.com/pdfs/RFSEULA.pdf>and is subject to export controls under the U.S. Commerce Department's
> Export Administration Regulations ("EAR").
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Stephen Warren - Sept. 20, 2013, 1:35 a.m.
On 09/19/2013 07:09 PM, Olof Johansson wrote:
> They do? The hardware I have came with a very old u-boot. Got a link
> to the newer one?

Mainline U-Boot runs nicely on the TrimSlice. Missing functionality
includes PCIe Ethernet and HDMI, but everything else works fine IIRC.
You can flash it using:

https://github.com/NVIDIA/tegra-uboot-flasher-scripts

(read README-developer.txt first, then README-user.txt)
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Olof Johansson - Sept. 20, 2013, 1:39 a.m.
On Thu, Sep 19, 2013 at 6:35 PM, Stephen Warren <swarren@wwwdotorg.org> wrote:
> On 09/19/2013 07:09 PM, Olof Johansson wrote:
>> They do? The hardware I have came with a very old u-boot. Got a link
>> to the newer one?
>
> Mainline U-Boot runs nicely on the TrimSlice. Missing functionality
> includes PCIe Ethernet and HDMI, but everything else works fine IIRC.
> You can flash it using:
>
> https://github.com/NVIDIA/tegra-uboot-flasher-scripts
>
> (read README-developer.txt first, then README-user.txt)

Oh great. Unfortunately lack of PCI-e makes it hard to network boot
(unless I add a redundant usb-ethernet adapter on it). Hmm.


-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Stephen Warren - Sept. 20, 2013, 1:58 a.m.
On 09/19/2013 07:39 PM, Olof Johansson wrote:
> On Thu, Sep 19, 2013 at 6:35 PM, Stephen Warren <swarren@wwwdotorg.org> wrote:
>> On 09/19/2013 07:09 PM, Olof Johansson wrote:
>>> They do? The hardware I have came with a very old u-boot. Got a link
>>> to the newer one?
>>
>> Mainline U-Boot runs nicely on the TrimSlice. Missing functionality
>> includes PCIe Ethernet and HDMI, but everything else works fine IIRC.
>> You can flash it using:
>>
>> https://github.com/NVIDIA/tegra-uboot-flasher-scripts
>>
>> (read README-developer.txt first, then README-user.txt)
> 
> Oh great. Unfortunately lack of PCI-e makes it hard to network boot
> (unless I add a redundant usb-ethernet adapter on it). Hmm.

I think Thierry was looking into PCIe, although I don't think it's
working yet. I always just use USB even on TrimSlice since it's easier
to move the USB connector than the network connector when switching
machines:-) PCIe works in Linux now though, as of v3.12-rc1.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Thierry Reding - Sept. 20, 2013, 7:30 a.m.
On Thu, Sep 19, 2013 at 07:58:10PM -0600, Stephen Warren wrote:
> On 09/19/2013 07:39 PM, Olof Johansson wrote:
> > On Thu, Sep 19, 2013 at 6:35 PM, Stephen Warren <swarren@wwwdotorg.org> wrote:
> >> On 09/19/2013 07:09 PM, Olof Johansson wrote:
> >>> They do? The hardware I have came with a very old u-boot. Got a link
> >>> to the newer one?
> >>
> >> Mainline U-Boot runs nicely on the TrimSlice. Missing functionality
> >> includes PCIe Ethernet and HDMI, but everything else works fine IIRC.
> >> You can flash it using:
> >>
> >> https://github.com/NVIDIA/tegra-uboot-flasher-scripts
> >>
> >> (read README-developer.txt first, then README-user.txt)
> > 
> > Oh great. Unfortunately lack of PCI-e makes it hard to network boot
> > (unless I add a redundant usb-ethernet adapter on it). Hmm.
> 
> I think Thierry was looking into PCIe, although I don't think it's
> working yet. I always just use USB even on TrimSlice since it's easier
> to move the USB connector than the network connector when switching
> machines:-) PCIe works in Linux now though, as of v3.12-rc1.

I have a local branch that makes it work at least on Beaver, but it
causes the kernel PCIe to fail for reasons that I haven't tracked down
yet.

Thierry

Patch

diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig
index ea042e8..b694a09 100644
--- a/arch/arm/configs/tegra_defconfig
+++ b/arch/arm/configs/tegra_defconfig
@@ -39,6 +39,8 @@  CONFIG_AEABI=y
 CONFIG_HIGHMEM=y
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
+CONFIG_ARM_APPENDED_DTB=y
+CONFIG_ARM_ATAG_DTB_COMPAT=y
 CONFIG_KEXEC=y
 CONFIG_CPU_FREQ=y
 CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y