Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-15 Thread Alexander Graf
On 14.04.16 00:29, Tom Rini wrote: > On Wed, Apr 13, 2016 at 07:42:11PM +0200, Andreas Färber wrote: > [snip] >> $fdtfile needs to be the Linux filename. It does not always follow the >> same pattern as the U-Boot variables you suggest here. >> CONFIG_DEFAULT_DEVICE_TREE ".dtb" might work better,

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Stephen Warren
On 04/13/2016 02:27 PM, Andreas Färber wrote: Am 13.04.2016 um 20:51 schrieb Stephen Warren: On 04/13/2016 12:17 PM, Andreas Färber wrote: Am 13.04.2016 um 19:58 schrieb Stephen Warren: On 04/13/2016 11:42 AM, Andreas Färber wrote: Am 13.04.2016 um 19:00 schrieb Stephen Warren: Anyway, nothi

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Andreas Färber
Am 14.04.2016 um 00:05 schrieb Tom Rini: > On Wed, Apr 13, 2016 at 08:02:24PM +0200, Andreas Färber wrote: >> my point was that U-Boot != Linux filename in some cases. For >> example, the dragonboard410c is using dragonboard410c.dts but in Linux >> it's qcom/apq8016-sbc.dts. To make things worse, f

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Tom Rini
On Thu, Apr 14, 2016 at 12:38:22AM +0200, Alexander Graf wrote: > > > On 14.04.16 00:17, Tom Rini wrote: > > On Wed, Apr 13, 2016 at 07:21:27PM +0200, Alexander Graf wrote: > >> > >> > >>> Am 13.04.2016 um 19:00 schrieb Stephen Warren : > >>> > On 04/13/2016 09:51 AM, Alexander Graf wrote: >

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Alexander Graf
On 14.04.16 00:17, Tom Rini wrote: > On Wed, Apr 13, 2016 at 07:21:27PM +0200, Alexander Graf wrote: >> >> >>> Am 13.04.2016 um 19:00 schrieb Stephen Warren : >>> On 04/13/2016 09:51 AM, Alexander Graf wrote: > On 04/13/2016 05:31 PM, Stephen Warren wrote: >> On 04/13/2016 06:55 AM,

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Tom Rini
On Wed, Apr 13, 2016 at 07:42:11PM +0200, Andreas Färber wrote: [snip] > $fdtfile needs to be the Linux filename. It does not always follow the > same pattern as the U-Boot variables you suggest here. > CONFIG_DEFAULT_DEVICE_TREE ".dtb" might work better, and that was my > question to you. > > It'

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Tom Rini
On Wed, Apr 13, 2016 at 07:21:27PM +0200, Alexander Graf wrote: > > > > Am 13.04.2016 um 19:00 schrieb Stephen Warren : > > > >> On 04/13/2016 09:51 AM, Alexander Graf wrote: > >>> On 04/13/2016 05:31 PM, Stephen Warren wrote: > On 04/13/2016 06:55 AM, Andreas Färber wrote: > > Am 13.04

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Tom Rini
On Wed, Apr 13, 2016 at 08:02:24PM +0200, Andreas Färber wrote: [snip] > But my point was that U-Boot != Linux filename in some cases. For > example, the dragonboard410c is using dragonboard410c.dts but in Linux > it's qcom/apq8016-sbc.dts. To make things worse, for arm64 they're in > vendor subdir

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Tom Rini
On Wed, Apr 13, 2016 at 09:31:43AM -0600, Stephen Warren wrote: > On 04/13/2016 06:55 AM, Andreas Färber wrote: > >Am 13.04.2016 um 14:48 schrieb Andreas Färber: > >>The 4.5.0 kernel cannot cope with U-Boot's internal device tree, and the > >>distro boot commands are looking for $fdtfile, so provid

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Andreas Färber
Am 13.04.2016 um 20:51 schrieb Stephen Warren: > On 04/13/2016 12:17 PM, Andreas Färber wrote: >> Am 13.04.2016 um 19:58 schrieb Stephen Warren: >>> On 04/13/2016 11:42 AM, Andreas Färber wrote: Am 13.04.2016 um 19:00 schrieb Stephen Warren: > Anyway, nothing in your benefits-of-EFI statem

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Stephen Warren
On 04/13/2016 12:17 PM, Andreas Färber wrote: Am 13.04.2016 um 19:58 schrieb Stephen Warren: On 04/13/2016 11:42 AM, Andreas Färber wrote: Am 13.04.2016 um 19:00 schrieb Stephen Warren: Anyway, nothing in your benefits-of-EFI statement implies that relying on $fdtfile being set is correct. Tha

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Andreas Färber
Am 13.04.2016 um 19:58 schrieb Stephen Warren: > On 04/13/2016 11:42 AM, Andreas Färber wrote: >> Am 13.04.2016 um 19:00 schrieb Stephen Warren: >>> Anyway, nothing in your benefits-of-EFI statement implies that relying >>> on $fdtfile being set is correct. That's a new requirement that didn't >>>

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Andreas Färber
Am 13.04.2016 um 19:40 schrieb Stephen Warren: > On 04/13/2016 11:22 AM, Andreas Färber wrote: >> Am 13.04.2016 um 17:31 schrieb Stephen Warren: >>> On 04/13/2016 06:55 AM, Andreas Färber wrote: Am 13.04.2016 um 14:48 schrieb Andreas Färber: > The 4.5.0 kernel cannot cope with U-Boot's int

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Stephen Warren
On 04/13/2016 11:50 AM, Alexander Graf wrote: Am 13.04.2016 um 19:40 schrieb Stephen Warren : On 04/13/2016 11:22 AM, Andreas Färber wrote: Am 13.04.2016 um 17:31 schrieb Stephen Warren: On 04/13/2016 06:55 AM, Andreas Färber wrote: Am 13.04.2016 um 14:48 schrieb Andreas Färber: The 4.5.0

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Stephen Warren
On 04/13/2016 11:42 AM, Andreas Färber wrote: Am 13.04.2016 um 19:00 schrieb Stephen Warren: On 04/13/2016 09:51 AM, Alexander Graf wrote: On 04/13/2016 05:31 PM, Stephen Warren wrote: On 04/13/2016 06:55 AM, Andreas Färber wrote: Am 13.04.2016 um 14:48 schrieb Andreas Färber: The 4.5.0 kern

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Alexander Graf
> Am 13.04.2016 um 19:40 schrieb Stephen Warren : > >> On 04/13/2016 11:22 AM, Andreas Färber wrote: >>> Am 13.04.2016 um 17:31 schrieb Stephen Warren: On 04/13/2016 06:55 AM, Andreas Färber wrote: > Am 13.04.2016 um 14:48 schrieb Andreas Färber: > The 4.5.0 kernel cannot cope with

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Andreas Färber
Am 13.04.2016 um 19:00 schrieb Stephen Warren: > On 04/13/2016 09:51 AM, Alexander Graf wrote: >> On 04/13/2016 05:31 PM, Stephen Warren wrote: >>> On 04/13/2016 06:55 AM, Andreas Färber wrote: Am 13.04.2016 um 14:48 schrieb Andreas Färber: > The 4.5.0 kernel cannot cope with U-Boot's inte

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Stephen Warren
On 04/13/2016 11:22 AM, Andreas Färber wrote: Am 13.04.2016 um 17:31 schrieb Stephen Warren: On 04/13/2016 06:55 AM, Andreas Färber wrote: Am 13.04.2016 um 14:48 schrieb Andreas Färber: The 4.5.0 kernel cannot cope with U-Boot's internal device tree, and the distro boot commands are looking fo

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Alexander Graf
> Am 13.04.2016 um 19:31 schrieb Stephen Warren : > >> On 04/13/2016 11:21 AM, Alexander Graf wrote: >> >> Am 13.04.2016 um 19:00 schrieb Stephen Warren : > On 04/13/2016 09:51 AM, Alexander Graf wrote: >> On 04/13/2016 05:31 PM, Stephen Warren wrote: >>> On 04/13/2016 0

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Stephen Warren
On 04/13/2016 11:21 AM, Alexander Graf wrote: Am 13.04.2016 um 19:00 schrieb Stephen Warren : On 04/13/2016 09:51 AM, Alexander Graf wrote: On 04/13/2016 05:31 PM, Stephen Warren wrote: On 04/13/2016 06:55 AM, Andreas Färber wrote: Am 13.04.2016 um 14:48 schrieb Andreas Färber: The 4.5.0

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Andreas Färber
Am 13.04.2016 um 17:31 schrieb Stephen Warren: > On 04/13/2016 06:55 AM, Andreas Färber wrote: >> Am 13.04.2016 um 14:48 schrieb Andreas Färber: >>> The 4.5.0 kernel cannot cope with U-Boot's internal device tree, and the >>> distro boot commands are looking for $fdtfile, so provide it to avoid >>>

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Alexander Graf
> Am 13.04.2016 um 19:00 schrieb Stephen Warren : > >> On 04/13/2016 09:51 AM, Alexander Graf wrote: >>> On 04/13/2016 05:31 PM, Stephen Warren wrote: On 04/13/2016 06:55 AM, Andreas Färber wrote: > Am 13.04.2016 um 14:48 schrieb Andreas Färber: > The 4.5.0 kernel cannot cope with U

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Stephen Warren
On 04/13/2016 09:51 AM, Alexander Graf wrote: On 04/13/2016 05:31 PM, Stephen Warren wrote: On 04/13/2016 06:55 AM, Andreas Färber wrote: Am 13.04.2016 um 14:48 schrieb Andreas Färber: The 4.5.0 kernel cannot cope with U-Boot's internal device tree, and the distro boot commands are looking for

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Alexander Graf
On 04/13/2016 05:31 PM, Stephen Warren wrote: On 04/13/2016 06:55 AM, Andreas Färber wrote: Am 13.04.2016 um 14:48 schrieb Andreas Färber: The 4.5.0 kernel cannot cope with U-Boot's internal device tree, and the distro boot commands are looking for $fdtfile, so provide it to avoid having users

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Stephen Warren
On 04/13/2016 06:55 AM, Andreas Färber wrote: Am 13.04.2016 um 14:48 schrieb Andreas Färber: The 4.5.0 kernel cannot cope with U-Boot's internal device tree, and the distro boot commands are looking for $fdtfile, so provide it to avoid having users supply a dumb boot.scr doing a setenv fdtfile .

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Andreas Färber
Am 13.04.2016 um 14:48 schrieb Andreas Färber: > The 4.5.0 kernel cannot cope with U-Boot's internal device tree, and the > distro boot commands are looking for $fdtfile, so provide it to avoid > having users supply a dumb boot.scr doing a setenv fdtfile ...; boot, > defeating the purpose of generi