Re: Kernel fails to start on at91sam9263 target

2018-06-04 Thread Sam Ravnborg
Hi Sascha. > The output of bootm -v might be useful. This setting is 'hidden' in General Setttings which is why I missed it. > Have you tried earlyprintk or earlyconsole? earlyprintk did the trick. Now I can see the output of the kernel boot and can see it bails out with a null-reference. So

Re: RaspberryPi 1/2(/3)

2018-06-04 Thread Roland Hieber
On Tue, May 22, 2018 at 07:38:52PM +0200, Pascal Vizeli wrote: > With debug modus it works perfect :) Look like the Serial console is > not exists (PL011). > Is that a problem with changed/updated DTS files? If this is still relevant, you could try fiddling a bit with the UART options [1] in

[PATCH] commands: mmc_extcsd: Add support to write multibyte registers

2018-06-04 Thread Teresa Remmet
It has been possible to write only the first byte of a multibyte register. Updated the command to write the complete value of a multibyte register at once. Signed-off-by: Teresa Remmet --- commands/mmc_extcsd.c | 44 +++- 1 file changed, 27 insertions(+),

Re: barebox large disk problem

2018-06-04 Thread Sascha Hauer
On Mon, Jun 04, 2018 at 12:54:41PM +0300, Antony Pavlov wrote: > Hi! > > I'm trying to use ST2000DM006-2DM164 SATA 2000 GB hard disk with barebox. > This disk has 3907029168 sectors. > > Alas barebox uses 32-bit signed integer to store disk sector count > (int num_blocks from struct

Re: [PATCH 1/3] drivers: of: implement overlay support

2018-06-04 Thread Roland Hieber
On Sat, Jun 02, 2018 at 09:17:13PM +, Pascal Vizeli wrote: > diff --git a/Documentation/user/devicetree.rst > b/Documentation/user/devicetree.rst > index 17934d86e..b2220997d 100644 > --- a/Documentation/user/devicetree.rst > +++ b/Documentation/user/devicetree.rst > @@ -21,7 +21,7 @@ The

[PATCH v3 1/4] filetype: add ELF type

2018-06-04 Thread Oleksij Rempel
From: Antony Pavlov Signed-off-by: Antony Pavlov --- common/filetype.c | 5 + include/filetype.h | 1 + 2 files changed, 6 insertions(+) diff --git a/common/filetype.c b/common/filetype.c index 444ec14cc..77cf9a105 100644 --- a/common/filetype.c +++ b/common/filetype.c @@ -27,6 +27,7 @@

[PATCH v3 2/4] add basic ELF parser

2018-06-04 Thread Oleksij Rempel
This parser is needed for kernel boot support on MIPS and can potentially reused on other platforms. Signed-off-by: Oleksij Rempel --- common/Kconfig | 3 + common/Makefile | 1 + common/elf.c| 145 include/elf.h | 10 4 files

[PATCH v3 0/4] MIPS: provide basic ELF support

2018-06-04 Thread Oleksij Rempel
changes v3: - select ELF by MIPS changes v2: - add dryrun support - some style fixes - enable ELF parser only on supported platform (currently only MIPS) Antony Pavlov (1): filetype: add ELF type Oleksij Rempel (3): add basic ELF parser bootm: split split bootm_load_devicetree function

[PATCH v3 4/4] MIPS: bootm: add ELF handler

2018-06-04 Thread Oleksij Rempel
With this handler barebox will be able to start linux kernel as is, without additional image conversation. Signed-off-by: Oleksij Rempel --- arch/mips/Kconfig | 1 + arch/mips/lib/bootm.c | 56 +++ 2 files changed, 57 insertions(+) diff --git

barebox large disk problem

2018-06-04 Thread Antony Pavlov
Hi! I'm trying to use ST2000DM006-2DM164 SATA 2000 GB hard disk with barebox. This disk has 3907029168 sectors. Alas barebox uses 32-bit signed integer to store disk sector count (int num_blocks from struct block_device, see include/block.h for details) and hereby the ST2000DM006 disk is too

Re: Kernel fails to start on at91sam9263 target

2018-06-04 Thread Sam Ravnborg
Hi Sascha. On Mon, Jun 04, 2018 at 09:58:21AM +0200, Sascha Hauer wrote: > On Sun, Jun 03, 2018 at 11:14:16PM +0200, Sam Ravnborg wrote: > > Hi all. > > > > I have a proprietary target with an AT91SAM9263 CPU. > > I have at91bootstrap running and barebox load fine. > > > > When I try to boot

Re: Kernel fails to start on at91sam9263 target

2018-06-04 Thread Sascha Hauer
On Sun, Jun 03, 2018 at 11:14:16PM +0200, Sam Ravnborg wrote: > Hi all. > > I have a proprietary target with an AT91SAM9263 CPU. > I have at91bootstrap running and barebox load fine. > > When I try to boot the kernel it stop after Uncompressing... > > Log snip: > > chunk_get_cached: found 7287

Re: [PATCH v2 2/4] add basic ELF parser

2018-06-04 Thread Sascha Hauer
On Sun, Jun 03, 2018 at 08:23:12AM +0200, Oleksij Rempel wrote: > This parser is needed for kernel boot support on MIPS > and can potentially reused on other platforms. > > Signed-off-by: Oleksij Rempel > --- > common/Kconfig | 5 ++ > common/Makefile | 1 + > common/elf.c| 145

Re: [PATCH 1/4] kwbimage_v0: add support to detect and boot a mvebu v0 image

2018-06-04 Thread Uwe Kleine-König
Hello Sascha, On Mon, Jun 04, 2018 at 09:01:37AM +0200, Sascha Hauer wrote: > On Fri, Jun 01, 2018 at 08:07:47PM +0200, Uwe Kleine-König wrote: > > The differences between v0 and v1 of the mvebu kwbimage are small enough > > that the function to boot such an image can be shared between both > >

Re: [PATCH 1/4] kwbimage_v0: add support to detect and boot a mvebu v0 image

2018-06-04 Thread Sascha Hauer
On Fri, Jun 01, 2018 at 08:07:47PM +0200, Uwe Kleine-König wrote: > The differences between v0 and v1 of the mvebu kwbimage are small enough > that the function to boot such an image can be shared between both > variants. > > Signed-off-by: Uwe Kleine-König > --- >

Re: [PATCH] ARM: i.MX50: fix Kindle-MX50 DT issues and warnings

2018-06-04 Thread Sascha Hauer
On Fri, Jun 01, 2018 at 05:44:09AM +, Alexander Kurz wrote: > Fix warnings generated from the kindle-mx50 dts when used in linux with W=1: > unit names should not have leading "0x"; reg property given, but no unit name; > use stdout-path instead of linux,stdout-path. > Also move the

Re: [PATCH] kwbimage_v0: add support to detect and boot a mvebu v0 image

2018-06-04 Thread Sascha Hauer
On Thu, May 31, 2018 at 11:28:17PM +0200, Uwe Kleine-König wrote: > The differences between v0 and v1 of the mvebu kwbimage are small enough > that the function to boot such an image can be shared between both > variants. > > Signed-off-by: Uwe Kleine-König > --- >

Re: [PATCH] .gitignore: sort normal pattern rules alphabetically

2018-06-04 Thread Sascha Hauer
On Fri, Jun 01, 2018 at 11:26:09AM +0900, Masahiro Yamada wrote: > Follow Linux commit 1377dd3e2987 (".gitignore: sort normal pattern > rules alphabetically"). > > This would allow us to easily catch duplicated patterns if any. > > Signed-off-by: Masahiro Yamada > --- Applied, thanks Sascha