Re: [PATCH 1/1] ARM: dts: bcm2836-rpi-2: re-enable booting from SD card

2018-05-25 Thread Sascha Hauer
Hi Pascal, On Tue, May 22, 2018 at 10:23:36PM +0200, Pascal Vizeli wrote: > I do the same as we do with raspberry pi for booting from SDcard: > https://git.pengutronix.de/cgit/barebox/commit/arch/arm/dts/bcm2835-rpi.dts?id=abc0447440d68af720127fcca3c17f04ee144fcc > > Look like the patch for rpi

Re: [RFC] ARM: mmu: Do not try to pick early TTB up

2018-05-25 Thread Sam Ravnborg
> > OK, sure. Where do we go from here? Do you want to just take your > patch or should I update mine, with its War And Peace of a commit > message, and incorporate what you proposed? If you update yur patch then please prefix the patch part of changelog with "|" or similar - so patch do not get

Re: [RFC] ARM: mmu: Do not try to pick early TTB up

2018-05-25 Thread Andrey Smirnov
On Fri, May 25, 2018 at 2:01 AM, Sascha Hauer wrote: > On Thu, May 24, 2018 at 08:14:40PM -0700, Andrey Smirnov wrote: >> On Wed, May 23, 2018 at 1:43 AM, Sascha Hauer wrote: >> > On Tue, May 22, 2018 at 10:10:12PM -0700, Andrey Smirnov wrote: >>

Re: [RFC] ARM: mmu: Do not try to pick early TTB up

2018-05-25 Thread Andrey Smirnov
On Fri, May 25, 2018 at 2:09 AM, Lucas Stach wrote: > Am Freitag, den 25.05.2018, 11:01 +0200 schrieb Sascha Hauer: >> On Thu, May 24, 2018 at 08:14:40PM -0700, Andrey Smirnov wrote: >> > On Wed, May 23, 2018 at 1:43 AM, Sascha Hauer > > de> wrote:

Re: Trigger fixups of device tree

2018-05-25 Thread Pascal Vizeli
I solve it. It was a wrong environment. Sorry for the noise and a nice weekend :) 2018-05-25 16:08 GMT+02:00 Pascal Vizeli : > Hi, > > I test last some of_fixup_status. But they had no effect. If I do same > with `of_properties -s ...` it works and do what he should. Is

Trigger fixups of device tree

2018-05-25 Thread Pascal Vizeli
Hi, I test last some of_fixup_status. But they had no effect. If I do same with `of_properties -s ...` it works and do what he should. Is it possible, that I need trigger the fixups manual before I use bootm? greets Pascal ___ barebox mailing list

Re: barebox for an i586 board

2018-05-25 Thread Antony Pavlov
On Fri, 25 May 2018 11:19:53 +0200 (CEST) Giorgio Dal Molin wrote: > Hi, > > I'm trying to build a barebox image for an i586 (Vortex86) based board. > > The config file I'm using was derived from the > arch/x86/configs/generic_defconfig > > The build error I see is:

Re: [PATCH] commands/of_node: add option to apply changes as fixup

2018-05-25 Thread Baeuerle, Florian
Am Freitag, den 25.05.2018, 10:41 + schrieb Baeuerle, Florian: > Analogous to the of_property command, add an -f option to the of_node > command. This option defers the device tree modification until boot > time and thus applies the modification as a fixup on the linux device > tree. > >

[PATCH] commands/of_node: add option to apply changes as fixup

2018-05-25 Thread Baeuerle, Florian
Analogous to the of_property command, add an -f option to the of_node command. This option defers the device tree modification until boot time and thus applies the modification as a fixup on the linux device tree. Signed-off-by: Florian Bäuerle ---

[PATCH v2] commands/of_property: add option to apply changes as fixup

2018-05-25 Thread Baeuerle, Florian
Add an -f option to the of_property command, which defers the device tree modification until boot time and thus applies the modification as a fixup on the linux device tree. Signed-off-by: Florian Bäuerle --- commands/of_property.c | 191

Re: [RFC] ARM: mmu: Do not try to pick early TTB up

2018-05-25 Thread Lucas Stach
Am Freitag, den 25.05.2018, 11:01 +0200 schrieb Sascha Hauer: > On Thu, May 24, 2018 at 08:14:40PM -0700, Andrey Smirnov wrote: > > On Wed, May 23, 2018 at 1:43 AM, Sascha Hauer > de> wrote: > > > On Tue, May 22, 2018 at 10:10:12PM -0700, Andrey Smirnov wrote: > > > > The

barebox for an i586 board

2018-05-25 Thread Giorgio Dal Molin
Hi, I'm trying to build a barebox image for an i586 (Vortex86) based board. The config file I'm using was derived from the arch/x86/configs/generic_defconfig The build error I see is: ... LD defaultenv/built-in.o GEN .version CHK include/generated/compile.h UPD

Re: [BUG] TFTP: No access to subdirectories

2018-05-25 Thread Sascha Hauer
On Fri, May 25, 2018 at 08:53:47AM +0200, Franz Forstmayr wrote: > Hi Sascha, > > The barebox version is nearly your 2018.04 release, except of 5 minor > patches. I'm able to copy a file from my tftp-server to my sd-card. > After that, booting is fine. Booting is also fine, when i run the > mount

Re: [RFC] ARM: mmu: Do not try to pick early TTB up

2018-05-25 Thread Sascha Hauer
On Thu, May 24, 2018 at 08:14:40PM -0700, Andrey Smirnov wrote: > On Wed, May 23, 2018 at 1:43 AM, Sascha Hauer wrote: > > On Tue, May 22, 2018 at 10:10:12PM -0700, Andrey Smirnov wrote: > >> The call to create_flat_mapping() in mmu.c will change both memory > >> type and

Re: [PATCH] commands/of_property: add option to apply changes as fixup

2018-05-25 Thread s.ha...@pengutronix.de
On Fri, May 25, 2018 at 08:23:58AM +, Baeuerle, Florian wrote: > Hi Sascha, > > Thanks for the review! > > I've got one more question (below). > > Am Freitag, den 25.05.2018, 09:11 +0200 schrieb Sascha Hauer: > > HI Florian, > > > > looks good generally. Some small comments below. > > > >

Re: [PATCH] commands/of_property: add option to apply changes as fixup

2018-05-25 Thread Baeuerle, Florian
Hi Sascha, Thanks for the review! I've got one more question (below). Am Freitag, den 25.05.2018, 09:11 +0200 schrieb Sascha Hauer: > HI Florian, > > looks good generally. Some small comments below. > > On Thu, May 24, 2018 at 02:48:47PM +, Baeuerle, Florian wrote: > > +static int

Re: [PATCH] commands/of_property: add option to apply changes as fixup

2018-05-25 Thread Baeuerle, Florian
Am Donnerstag, den 24.05.2018, 14:48 + schrieb Baeuerle, Florian: > Add an -f option to the of_property command, which defers the device > tree modification until boot time and thus applies the modification as a > fixup on the linux device tree. > > Signed-off-by: Florian Bäuerle

Re: [PATCH] commands/of_property: add option to apply changes as fixup

2018-05-25 Thread Sascha Hauer
HI Florian, looks good generally. Some small comments below. On Thu, May 24, 2018 at 02:48:47PM +, Baeuerle, Florian wrote: > +static int of_fixup_property_set(struct device_node *root, void *context) > +{ > + const struct of_fixup_property_data *fixup = context; > + int ret =

Re: [BUG] TFTP: No access to subdirectories

2018-05-25 Thread Franz Forstmayr
Hi Sascha, The barebox version is nearly your 2018.04 release, except of 5 minor patches. I'm able to copy a file from my tftp-server to my sd-card. After that, booting is fine. Booting is also fine, when i run the mount command manually before booting. Maybe there's a problem with timeouts or

Re: [BUG] TFTP: No access to subdirectories

2018-05-25 Thread Sascha Hauer
Hi Franz, On Thu, May 24, 2018 at 09:26:18AM +0200, Franz Forstmayr wrote: > Hi, > > I just saw this old thread and wanted to ask, if this one has been > fixed already? I just ran into a similar/same problem using > barebox-2018-04 from the phytec repository >