Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
the problem I had (i.e. a boot loop caused by a stray fi in
/env/bin/init).
Reported-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
Tested-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
Thanks
Uwe
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial
.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/boards/eukrea_cpuimx27/lowlevel_init.S|2 +-
arch/arm/boards/freescale-mx25-3-stack/lowlevel_init.S |2 +-
arch/arm/boards/freescale-mx35-3-stack/lowlevel_init.S |2 +-
arch/arm/boards/imx21ads
there and I don't really care (neither about big endian
images nor about this change). So feel free to ignore my concerns if you
know better.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http
already too late:
$Subject ~= s/rember/remember/
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/ |
___
barebox mailing list
that, I wonder what is the difference between
static const char wake[] = WKE;
... use wake here ...
and
... just use WKE ...
.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions
.c respectively.
Uwe
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org
Without this patch the next command prompt starts directly after the
calculated check sum. While at it also fix the coding style.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
commands/crc.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commands
to an
int (which is -2081423360), returned to do_crc and interpreted as
error there without yielding another error message.
This also makes
crc32 -f /dev/mem 0x+0x1
die on a NULL pointer exception instead of reporting:
lseek: No error
:-)
Signed-off-by: Uwe Kleine-König
that in this case (the first boot) the default config
is flashed in the nand (save) command.
Any idea how to do that ?
if [ ! -e /dev/saved ]; then
echo -o /dev/saved
saveenv
fi
Is /dev/saved persistent over a reboot?
Uwe
--
Pengutronix e.K. | Uwe Kleine
Hello Sascha,
On Wed, Jun 27, 2012 at 11:08:33AM +0200, Uwe Kleine-König wrote:
This fixes
barebox@Very long board name:/ crc32 -f /dev/mem 0x83f0+0xfff
CRC32 for /dev/mem 0x83fff000 ... 0x83fe == 0xa080584bbarebox@Very
long board name:/
The problem here
A barebox image generated from pcm043_defconfig doesn't fit into the
0x4 byte sized self partition as of
v2012.07.0-153-g14c8c60 (command: add missing EXPORT_SYMBOL for
find_cmd)
.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/boards/pcm043/pcm043.c
list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de
A barebox image generated from pcm043_defconfig doesn't fit into the
0x4 byte sized self partition as of
v2012.07.0-153-g14c8c60 (command: add missing EXPORT_SYMBOL for
find_cmd)
.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/boards/pcm043/env/config
but at least also Eric who has this problem.
Uwe
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
The amount of available ram is determined by the ESDCTL register, so
better don't hardcode the value.
This commit provides a command that can be used instead of
arm_add_mem_device and convertes pcm043 (on which this patch was tested)
to it.
Signed-off-by: Uwe Kleine-König u.kleine-koe
to this loop only.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
http
On Mon, Aug 13, 2012 at 09:30:01AM +0200, Jean-Christophe PLAGNIOL-VILLARD
wrote:
On 09:08 Mon 13 Aug , Uwe Kleine-König wrote:
Hello,
On Sun, Aug 12, 2012 at 01:49:36PM +0200, Jean-Christophe PLAGNIOL-VILLARD
wrote:
+static const char * detect_fs(const char *filename
the calculation accordingly.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
--
But note that this doesn't fix accessing the phy on my machine. The
calculated value is 9 (with and without this patch btw) but accessing
the phy only gets reliable with a value of =20 or alternatively
hit the same problem, but for me it was the fec that failed first :-)
Acked-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
Hi Johannes,
On Thu, Sep 27, 2012 at 12:33:23PM +0200, Johannes Stezenbach wrote:
On Thu, Sep 27, 2012 at 11:53:12AM +0200, Sascha Hauer wrote:
On Thu, Sep 27, 2012 at 12:56:46AM +0200, Uwe Kleine-König wrote:
2-WIRE SOFTWARE RESET: After an interruption in protocol, power
diagnoses a loss of arbitration before
even trying to start pulling SDA low to create a start indication.
So I have to use gpio bitbanging and there is no chance to implement
this in generic code only.
On Thu, Sep 27, 2012 at 12:56:46AM +0200, Uwe Kleine-König wrote:
If an i2c slave pulls SDA low
The same issue was fixed in the Linux kernel in commit
66ddfc6 (mx35: add a missing comma in a pad definition)
for 2.6.33-rc7.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/mach-imx/include/mach/iomux-mx35.h |2 +-
1 file changed, 1 insertion(+), 1
.
Uwe
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman
.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
drivers/of/base.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index d22031f..6cb5521 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -1078,6 +1078,10 @@ int
On Thu, Apr 25, 2013 at 02:49:47PM +0200, Uwe Kleine-König wrote:
Linux expects linux,initrd-end to contain the first unused address. As
this doesn't match the end semantic used by barebox (i.e. end contains
the last used address) adding one is necessary.
Without this change Linux fails
the
user passes -L UIMAGE_SOME_ADDRESS or -L UIMAGE_INVALID_ADDRESS to
bootm. (-L UIMAGE_SOME_ADDRESS is now used literally instead of ignored
before. -L UIMAGE_INVALID_ADDRESS used to skip getting the
initrd-address from the uInitrd, now the uInitrd address is honored.)
Signed-off-by: Uwe Kleine-König
.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
commands/bootm.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/commands/bootm.c b/commands/bootm.c
index bb44776..5dd1703 100644
--- a/commands/bootm.c
+++ b/commands/bootm.c
@@ -127,9 +127,6 @@ static int
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
-selectable? (The other pinctrl driver are affected by the
same issue.)
+ help
+ The pinmux controller found on the Tegra 20 line of SoCs.
+
endmenu
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http
[(uchar) cfg]
where cfg is set to -1 a few lines above.
(BTW, the function hint is wrong, this is in pcaal1_sdrc_init().)
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de
boot -l crashes with CONFIG_MENU disabled because blspec_alloc returns
with blspec-menu being NULL in this case. So guard the usage of
blspec-menu accordingly.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
commands/boot.c | 5 -
1 file changed, 4 insertions(+), 1
similar to what is
possible for the imx-esdhc driver.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/mach-mxs/include/mach/mci.h | 1 +
drivers/mci/mxs.c| 3 +++
include/mci.h| 2 +-
3 files changed, 5 insertions(+), 1
similar to what is
possible for the imx-esdhc driver.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
Notes:
Changes since (implicit) v1, sent with
Message-Id:
1383821462-29348-1-git-send-email-u.kleine-koe...@pengutronix.de:
- don't check for pd-devname
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
common/blspec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/common/blspec.c b/common/blspec.c
index 095809b..2244d5a 100644
--- a/common/blspec.c
+++ b/common/blspec.c
@@ -135,8 +135,7 @@ static int
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
Hello,
note this is only compile tested.
Best regards
Uwe
common/partitions/dos.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/partitions/dos.c b/common/partitions/dos.c
index 31b1ed6..9afd122
The code used to ineffectively take the end of the last partition as guess
for the disk size. Better use the end of the partition that has its end
rearmost.
Also return an unsigned type instead of int as the result is always
non-negative.
Signed-off-by: Uwe Kleine-König u.kleine-koe
DOS MBRs might contain an extended partition that holds several logical
partitions. Add these to the partitions of the block device.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
common/partitions/dos.c | 76 -
1 file changed
On Fri, Nov 08, 2013 at 01:16:31AM +0100, Uwe Kleine-König wrote:
The code used to ineffectively take the end of the last partition as guess
for the disk size. Better use the end of the partition that has its end
rearmost.
Also return an unsigned type instead of int as the result is always
Hello,
On Fri, Nov 08, 2013 at 01:17:26AM +0100, Uwe Kleine-König wrote:
DOS MBRs might contain an extended partition that holds several logical
partitions. Add these to the partitions of the block device.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
common
The code used to ineffectively take the end of the last partition as guess
for the disk size. Better use the end of the partition that has its end
rearmost.
Also return an unsigned type instead of int as the result is always
non-negative.
Signed-off-by: Uwe Kleine-König u.kleine-koe
DOS MBRs might contain an extended partition that holds several logical
partitions. Add these to the partitions of the block device.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
common/partitions/dos.c | 76 -
1 file changed
From: Uwe Kleine-König u...@kleine-koenig.org
Similar to mount(8) the barebox command mount now supports passing a string
to the file system driver via -o.
This is used in on of the next commits to let the user specify port numbers
for nfs mounts.
Signed-off-by: Uwe Kleine-König u.kleine-koe
While at it also fix the type of flen holding a string length
(int - size_t).
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
fs/nfs.c | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/fs/nfs.c b/fs/nfs.c
index f1643feebbf9..373159d6ffb7
When a former transaction was aborted by hitting Ctrl-C the old reply might
still hang in the ethernet controller making all further transactions fail.
So just skip over old replies.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
An alternative would be to drain the ethernet
Kleine-König u.kleine-koe...@pengutronix.de
---
fs/nfs.c | 62 +++---
1 file changed, 51 insertions(+), 11 deletions(-)
diff --git a/fs/nfs.c b/fs/nfs.c
index 8eec63078dd3..50b3744b4551 100644
--- a/fs/nfs.c
+++ b/fs/nfs.c
@@ -1305,6 +1305,38
This was tested against nfs-kernel-server and unfs3.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
fs/nfs.c | 859 ---
1 file changed, 608 insertions(+), 251 deletions(-)
diff --git a/fs/nfs.c b/fs/nfs.c
index
before 2014.03.0.
Uwe Kleine-König (9):
net: net_read_uint32: assert that only 32 bit are read
nfs: skip over stale rpc packets
nfs: shorten and simplify rpc_add_credentials a bit
nfs: simplify rpc_lookup_req
nfs: drop an unneeded variable from nfs_do_open()
net: new function net_read_uint64
that uses big endian byte order is s390x
...)
Also change the argument to void * because the pointer is not necessarily
properly aligned.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
include/net.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
fs/nfs.c | 26 +-
1 file changed, 5 insertions(+), 21 deletions(-)
diff --git a/fs/nfs.c b/fs/nfs.c
index e9a6eede06bd..a6a47f22934c 100644
--- a/fs/nfs.c
+++ b/fs/nfs.c
@@ -224,34 +224,18 @@ out_overflow
Instead of letting rpc_lookup_req set mount_port and nfs_port, let it
return the port found and let the caller use that information.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
fs/nfs.c | 24 ++--
1 file changed, 6 insertions(+), 18 deletions(-)
diff
From: Uwe Kleine-König u...@kleine-koenig.org
This is needed for nfs3 support as some types became bigger compared to
nfs2.
Signed-off-by: Uwe Kleine-König u...@kleine-koenig.org
---
include/net.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/include/net.h b/include/net.h
index
On Thu, Feb 06, 2014 at 05:40:51PM +0100, Uwe Kleine-König wrote:
From: Uwe Kleine-König u...@kleine-koenig.org
This was added by mistake. Sascha, can you please drop it and use my
pengutronix.de address instead. Ditto for the S-o-b line and patch 7 in
this series.
Thanks
Uwe
This is needed
Hello,
On Thu, Feb 06, 2014 at 05:40:47PM +0100, Uwe Kleine-König wrote:
When a former transaction was aborted by hitting Ctrl-C the old reply might
still hang in the ethernet controller making all further transactions fail.
So just skip over old replies.
Signed-off-by: Uwe Kleine-König
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
);
+ goto err;
I'd drop the printf instead because in the bad crc case uimage_verify()
already printfs an error. But instead let it give tongue in the other
error cases (like lseek() or read() failing)
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König
that is). nfsd-v3 support is in Linux 2.4.0
(from 2003) and I bet that any distro-Kernel that has nfsd enabled also
knows about nfs3. So I think it's sane to drop nfs2 support from barebox
which will only bitrot otherwise.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König
kernel commandline parser it's
fine to hardcode ',' and let it live in fs/.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de
When a former transaction was aborted by hitting Ctrl-C the old reply might
still hang in the ethernet controller making all further transactions fail.
So just skip over old replies.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
Notes:
Changed in v2:
- use
Instead of letting rpc_lookup_req set mount_port and nfs_port, let it
return the port found and let the caller use that information.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
fs/nfs.c | 24 ++--
1 file changed, 6 insertions(+), 18 deletions(-)
diff
This is needed for nfs3 support as some types became bigger compared to
nfs2.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
include/net.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/include/net.h b/include/net.h
index 8388e2f12ebe..6c86947d9ca3 100644
Similar to mount(8) the barebox command mount now supports passing a string
to the file system driver via -o.
This is used in the next commit to let the user specify port numbers for
nfs mounts.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/boards/raspberry-pi
Kleine-König u.kleine-koe...@pengutronix.de
---
Notes:
move parseopt_hu into a seperate file. For now compile it depending on
CONFIG_FS_NFS.
fs/Makefile | 2 +-
fs/nfs.c | 32 +---
fs/parseopt.c | 34 ++
fs/parseopt.h
This was tested against nfs-kernel-server and unfs3.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
Notes:
Changes since implicit v1:
- fix PROG_MOUNT version to 3
- add empty line as requested by Jean-Christophe
- use {hton,ntoh}{16,32,64}
fs/nfs.c | 894
ntohl always converts 32 bits even on archs where sizeof(long) == 8.
ntoh32 is a much more intuitive name here. Also the name of the 64 bit
variant that is also added isn't questionable.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
Notes:
new in v2
include/byteorder.h
We're speaking rpc mount version 2 (i.e. the same version as the
implemented nfs protocol), so also specify that in the lookup.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
Notes:
new in v2
fs/nfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
While at it also fix the type of flen holding a string length
(int - size_t).
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
fs/nfs.c | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/fs/nfs.c b/fs/nfs.c
index 761bfd626716..79df6a8e4f7a
On Sat, Feb 08, 2014 at 07:51:28AM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
On 22:28 Fri 07 Feb , Uwe Kleine-K??nig wrote:
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
keep the hostname I use it on nfs for export filter
Which hostname? There is only one used
Kleine-König u.kleine-koe...@pengutronix.de
Thanks
Uwe
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/ |
___
barebox mailing list
barebox
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/boards/sama5d3xek/init.c | 18 ++
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boards/sama5d3xek/init.c
b/arch/arm/boards/sama5d3xek/init.c
index 4f866aa6f85d..ba5f90c7063c
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/boards/a9m2410/a9m2410.c | 24 +---
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/arch/arm/boards/a9m2410/a9m2410.c
b/arch/arm/boards/a9m2410/a9m2410.c
index b2b6c87117a3
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/boards/phycard-i.MX27/pca100.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/phycard-i.MX27/pca100.c
b/arch/arm/boards/phycard-i.MX27/pca100.c
index 2ff1b793291c..b211ef563532
the hole in the partitioning layout.
Still I think it's a nice cleanup because holes in the partitioning
(which should be the exception) are more explicit now.
Best regards
Uwe
Jan Luebbe (1):
devfs-core: introduce devfs_append_partition
Uwe Kleine-König (4):
ARM: sama5d3xek: convert
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/boards/freescale-mx35-3-stack/3stack.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boards/freescale-mx35-3-stack/3stack.c
b/arch/arm/boards/freescale-mx35-3-stack/3stack.c
the new
partition).]
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
fs/devfs-core.c | 9 +
include/driver.h | 6 --
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/fs/devfs-core.c b/fs/devfs-core.c
index 44f0169e6324..c10345b3bfed 100644
--- a/fs/devfs
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/boards/phycard-i.MX27/pca100.c | 23 ---
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/arch/arm/boards/phycard-i.MX27/pca100.c
b/arch/arm/boards/phycard-i.MX27/pca100.c
index
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/boards/a9m2410/a9m2410.c | 23 +--
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boards/a9m2410/a9m2410.c
b/arch/arm/boards/a9m2410/a9m2410.c
index b2b6c87117a3..8d528cf60378
, but in return the
new call is better understandable without checking its prototype and it
supports creating partitions that start directly at the end of the
previous one without the need to explicitly calculate its offset.
This also includes a few fixes and cleanups.
Best regards
Uwe
Uwe Kleine
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/boards/sama5d3xek/init.c | 38 ++
1 file changed, 30 insertions(+), 8 deletions(-)
diff --git a/arch/arm/boards/sama5d3xek/init.c
b/arch/arm/boards/sama5d3xek/init.c
index
The flags parameter was skipped in the example. Add it as
DEVFS_PARTITION_FIXED.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
Documentation/porting.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/porting.txt b/Documentation/porting.txt
The value is only used to assign to a (*struct cdev)-flags which is an
unsigned int and it is passed as fourth parameter of mtd_add_partition which
is an unsigned long.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
fs/devfs-core.c | 2 +-
include/driver.h | 8
2
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/boards/pcm038/pcm038.c | 41 +++--
1 file changed, 31 insertions(+), 10 deletions(-)
diff --git a/arch/arm/boards/pcm038/pcm038.c b/arch/arm/boards/pcm038/pcm038.c
index 1733261f7d04
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
fs/devfs-core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/devfs-core.c b/fs/devfs-core.c
index 44f0169e6324..5a120c64879a 100644
--- a/fs/devfs-core.c
+++ b/fs/devfs-core.c
@@ -292,6 +292,7 @@ struct cdev
by the new helper if the bbname is
specified for a partition.
Note that adding partitions is also more flexible now (also via
devfs_add_partition) because negative values for offset and size now
have a proper meaning instead of creating broken partitions.
Signed-off-by: Uwe Kleine-König u.kleine
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/boards/freescale-mx35-3-stack/3stack.c | 36 -
1 file changed, 30 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boards/freescale-mx35-3-stack/3stack.c
b/arch/arm/boards/freescale-mx35-3
On Wed, Feb 26, 2014 at 12:25:20AM +0100, Sebastian Hesselbarth wrote:
On 02/25/2014 11:51 PM, Uwe Kleine-König wrote:
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/boards/a9m2410/a9m2410.c | 23 +--
1 file changed, 17 insertions(+), 6
by the new helper if the bbname is
specified for a partition.
Note that adding partitions is also more flexible now (also via
devfs_add_partition) because negative values for offset and size now
have a proper meaning instead of creating broken partitions.
Signed-off-by: Uwe Kleine-König u.kleine
The string pointed to isn't modified, so declare it as const.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
drivers/mtd/nand/nand-bb.c | 2 +-
include/nand.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/nand/nand-bb.c b
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/boards/pcm038/pcm038.c | 47 -
1 file changed, 37 insertions(+), 10 deletions(-)
diff --git a/arch/arm/boards/pcm038/pcm038.c b/arch/arm/boards/pcm038/pcm038.c
index 1733261f7d04
The flags parameter was skipped in the example. Add it as
DEVFS_PARTITION_FIXED.
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
Documentation/porting.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/porting.txt b/Documentation/porting.txt
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
arch/arm/boards/sama5d3xek/init.c | 41 +++
1 file changed, 33 insertions(+), 8 deletions(-)
diff --git a/arch/arm/boards/sama5d3xek/init.c
b/arch/arm/boards/sama5d3xek/init.c
index
clear here.
Best regards
Uwe
[1] i.e. with CONFIG_ZBOOT_ROM=y it's wrong.
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/ |
___
barebox mailing list
|
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de
mainline code [1]. Then this is currently
not fixed in any way (comment or setting to NULL
There is also the macro uninitialized_var (in both kernel and barebox)
that could be used here instead of the explicit = NULL.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König
the static 'in_automount' with 0? Or can we rely
on the compiler, that all statics will be initialized with zeros?
static variables are initialized to 0 (for pointers: NULL) by the
compiler.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial
. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
could
still explicitly load and save the external env.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/ |
___
barebox mailing list
On Thu, Jul 31, 2014 at 09:33:02AM +0200, Juergen Borleis wrote:
Hi Uwe,
On Thursday 31 July 2014 09:14:25 Uwe Kleine-König wrote:
[...]
Compared with storing the default environment in the external store the
only difference is that you don't need to modify it if you change
1 - 100 of 755 matches
Mail list logo