Hi,
On Sun, 2012-12-02 at 04:24 -0500, Robert P. J. Day wrote:
> i've isolated the commit that introduces the apparent booting
> problem on my xM:
>
> $ git show 154496f
> commit 154496f736db54123c3f6daaba18809fab54ed9b
> Merge: 05d251f bd6d12b
> Author: Sascha Hauer
> Date: Fri Nov 16 14:02:4
On Mon, 3 Dec 2012, Jan Lübbe wrote:
> Hi,
>
> On Sun, 2012-12-02 at 04:24 -0500, Robert P. J. Day wrote:
> > i've isolated the commit that introduces the apparent booting
> > problem on my xM:
> >
> > $ git show 154496f
> > commit 154496f736db54123c3f6daaba18809fab54ed9b
> > Merge: 05d251f bd6d12
On Fri, Nov 30, 2012 at 11:10:30AM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
> On 09:06 Fri 30 Nov , Sascha Hauer wrote:
> > On Fri, Nov 30, 2012 at 05:57:32AM +0100, Jean-Christophe PLAGNIOL-VILLARD
> > wrote:
> > > On 20:02 Thu 29 Nov , Sascha Hauer wrote:
> > > > When multiple MMC
On Thu, Nov 29, 2012 at 08:02:25PM +0100, Sascha Hauer wrote:
> For these cards we have to calculate the size using the ext csd
> sector count fields.
>
> Signed-off-by: Sascha Hauer
> ---
> drivers/mci/mci-core.c | 20 ++--
> 1 file changed, 14 insertions(+), 6 deletions(-)
>
On Fri, Nov 30, 2012 at 06:53:53AM +0400, Antony Pavlov wrote:
> The commit
>
> commit d25d94bea67308e29db895d418f3f1f8153ae2ea
> Author: Antony Pavlov
> Date: Fri Jun 1 13:23:20 2012 +0400
>
> MIPS: make possible board-specific header files
>
> This patch makes possible to
On Fri, Nov 30, 2012 at 11:11:12AM +0100, Jan Luebbe wrote:
> Also use %p for pointers.
>
> Signed-off-by: Jan Luebbe
> ---
Applied, thanks
Sascha
> arch/arm/mach-omap/gpmc.c | 10 +-
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/mach-omap/gpmc.c b/arc
On Mon, 2012-12-03 at 03:31 -0500, Robert P. J. Day wrote:
> *sigh* ... i *think* i figured out what's happening. in order to
> play with barebox on my xM, until recently, i'd done nothing more than
> create a single FAT partition on a micro SD card, put MLO and
> barebox.bin on it, put it in my x
On Mon, 3 Dec 2012, Jan Lübbe wrote:
> On Mon, 2012-12-03 at 03:31 -0500, Robert P. J. Day wrote:
> > *sigh* ... i *think* i figured out what's happening. in order to
> > play with barebox on my xM, until recently, i'd done nothing more than
> > create a single FAT partition on a micro SD card, p
On Fri, Nov 30, 2012 at 12:14:04PM +0100, Juergen Beisert wrote:
> When the built-in RTC in the i.MX28 is programmed to wake-up the SoC, the RTC
> reports two events: RST and WAKE. RST is okay in this case, because the PMIC
> was really powered down. But the real event is the WAKE from the RTC and
On Mon, 3 Dec 2012, Jan Lübbe wrote:
> On Mon, 2012-12-03 at 03:31 -0500, Robert P. J. Day wrote:
> > *sigh* ... i *think* i figured out what's happening. in order to
> > play with barebox on my xM, until recently, i'd done nothing more than
> > create a single FAT partition on a micro SD card, p
On Sat, Dec 01, 2012 at 08:19:26AM -0500, Robert P. J. Day wrote:
> On Sat, 1 Dec 2012, Robert P. J. Day wrote:
>
> >
> > writing up a simple barebox exercise for students and on this page:
> >
> > http://wiki.barebox.org/doku.php?id=user:first_steps
> >
> > it seems clear(?) that you can define
On Sat, Dec 01, 2012 at 11:28:08AM -0500, Robert P. J. Day wrote:
>
> again, just following along here:
>
> http://wiki.barebox.org/doku.php?id=user:first_steps
>
> i created a small cramfs filesystem image:
>
> $ ls -l crypto.cramfs
> -rw-rw-r-- 1 rpjday rpjday 24576 Dec 1 11:19 crypto.cram
Hi Robert,
On Sat, Dec 01, 2012 at 04:18:08PM -0500, Robert P. J. Day wrote:
>
> a bit embarrassed but, all of a sudden, what used to work just fine
> in terms of building and booting barebox on my beagleboard xM (rev C)
> doesn't work anymore.
>
> not that long ago, i documented how easy t
On Mon, Dec 03, 2012 at 12:42:23AM +0400, Antony Pavlov wrote:
> [PATCH 1/2] clk: add always enabled clocks
> [PATCH 2/2] commands: clk_dump: denote always enabled clocks
Nice. The clk_dump command looks a bit weird because it suggests that
all clocks are disabled. now I can turn them into always
On Mon, 3 Dec 2012, Sascha Hauer wrote:
> I just rechecked, current master works fine for me on my beagle (no
> xM though). Just a guess, have you used the barebox-flash-image link
> instead of barebox.bin? Since the image is compressed now it becomes
> important to use the link (which points to t
kbuild in barebox can't built when
obj-y += foo/xxx.o
But in kernel, It's OK
Maybe it should:
--
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index cb46db2..14e471d 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@
On Fri, Nov 30, 2012 at 07:03:36PM +0800, 张忠山 wrote:
> the function uncompress_fd_to_buf has no parameter to return
> the uncompressed length, How to get the uncompressed content
> length?
AFAIK the uncompressed size is not contained in the compressed data
You would have to uncompress to a file a
On Mon, Dec 03, 2012 at 04:50:24AM -0500, Robert P. J. Day wrote:
> On Mon, 3 Dec 2012, Sascha Hauer wrote:
>
> > I just rechecked, current master works fine for me on my beagle (no
> > xM though). Just a guess, have you used the barebox-flash-image link
> > instead of barebox.bin? Since the image
On Mon, Dec 03, 2012 at 05:51:50PM +0800, 张忠山 wrote:
> kbuild in barebox can't built when
>
> obj-y += foo/xxx.o
>
> But in kernel, It's OK
>
> Maybe it should:
>
> --
> diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
> index cb46
On Mon, 3 Dec 2012, Sascha Hauer wrote:
> On Mon, Dec 03, 2012 at 04:50:24AM -0500, Robert P. J. Day wrote:
> > On Mon, 3 Dec 2012, Sascha Hauer wrote:
> >
> > > I just rechecked, current master works fine for me on my beagle (no
> > > xM though). Just a guess, have you used the barebox-flash-imag
On Mon, Dec 03, 2012 at 09:08:56AM +0400, Antony Pavlov wrote:
> The scripts/tags.sh file copied from linux-3.6.
>
> Signed-off-by: Antony Pavlov
Making the toplevel Makefile smaller is a good move.
Applied, thanks
Sascha
> ---
> Makefile| 111 +--
> scripts/tags
On Mon, Dec 03, 2012 at 09:46:52AM +0400, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov
> ---
> drivers/eeprom/at25.c |7 +--
> 1 file changed, 1 insertion(+), 6 deletions(-)
Applied, thanks
Sascha
>
> diff --git a/drivers/eeprom/at25.c b/drivers/eeprom/at25.c
> index 5578c78..9
On Mon, Dec 03, 2012 at 05:01:43AM -0500, Robert P. J. Day wrote:
> On Mon, 3 Dec 2012, Sascha Hauer wrote:
>
> > On Mon, Dec 03, 2012 at 04:50:24AM -0500, Robert P. J. Day wrote:
> > > On Mon, 3 Dec 2012, Sascha Hauer wrote:
> > >
> > > > I just rechecked, current master works fine for me on my b
Signed-off-by: Robert P. J. Day
---
no functional change, but it's just an annoying typo. :-)
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index ea4e37b..e1a8472 100644
--- a/drivers/base/platform.c
+++ b/drivers/base/platform.c
@@ -76,8 +76,8 @@ struct bus_type platform_bu
On Mon, 3 Dec 2012, Sascha Hauer wrote:
> On Mon, Dec 03, 2012 at 05:01:43AM -0500, Robert P. J. Day wrote:
> > On Mon, 3 Dec 2012, Sascha Hauer wrote:
> >
> > > On Mon, Dec 03, 2012 at 04:50:24AM -0500, Robert P. J. Day wrote:
> > > > On Mon, 3 Dec 2012, Sascha Hauer wrote:
> > > >
> > > > > I ju
On Mon, Dec 03, 2012 at 05:05:34AM -0500, Robert P. J. Day wrote:
>
> Signed-off-by: Robert P. J. Day
>
> ---
>
> no functional change, but it's just an annoying typo. :-)
Applied, thanks.
Sascha
>
> diff --git a/drivers/base/platform.c b/drivers/base/platform.c
> index ea4e37b..e1a8472 1
When calling ls in short mode we do not have to call stat()
for additional informations because we do not use them. This
speeds up ls on filesystems on which stat() is expensive
because the barebox filesystem support always has to iterate
over the directory tree.
Signed-off-by: Sascha Hauer
---
Pass the buffer size to the file detection code. This makes sure we do not
read past the buffer. This is especially useful for ext filesystem detection
as the magic is at byte offset 1080. Also introduce a FILE_TYPE_SAFE_BUFSIZE
define which is set to the minimum bufsize the detection code needs to
Hi All,
The following adds ext4 readonly filesystem support to barebox.
The implementation is from U-Boot which recently gained ext4
support.
ext filesystems can automatically be detected, so the -t option
to mount is not necessary. Some preparation is needed because
ext filesystems have their mag
Signed-off-by: Sascha Hauer
---
common/filetype.c |8
include/filetype.h |1 +
2 files changed, 9 insertions(+)
diff --git a/common/filetype.c b/common/filetype.c
index c1bd11d..748e364 100644
--- a/common/filetype.c
+++ b/common/filetype.c
@@ -47,6 +47,7 @@ static const struct
The ext4 implementation has been taken from U-Boot with some
changes:
- No global variables to allow for multiple filesystems to
be mounted and multiple files to be open.
- remove fs internal link following and use the barebox link
implementation.
- remove write support. This is incomplete in
Straight forward driver, we only have to configure some additional
bits and then use the generic ide support.
Signed-off-by: Sascha Hauer
---
drivers/ata/Kconfig|7 ++
drivers/ata/Makefile |1 +
drivers/ata/pata-imx.c | 203
3 files
Signed-off-by: Sascha Hauer
---
arch/arm/mach-imx/clk-imx5.c |1 +
arch/arm/mach-imx/devices.c|5 +
arch/arm/mach-imx/include/mach/devices-imx51.h |5 +
arch/arm/mach-imx/include/mach/devices.h |2 +-
4 files changed, 12 insertio
On Mon, 3 Dec 2012, Sascha Hauer wrote:
> make omap3530_beagle_xload_defconfig && make
>
> > > xload: cp barebox-flash-image /mnt/MLO
>
> make omap3530_beagle_defconfig && make
>
> > > barebox: cp barebox-flash-image /mnt/barebox.bin
> >
> > i did that second copy, but are you sure i should copy
On Mon, 3 Dec 2012, Sascha Hauer wrote:
> On Sat, Dec 01, 2012 at 08:19:26AM -0500, Robert P. J. Day wrote:
> > On Sat, 1 Dec 2012, Robert P. J. Day wrote:
> >
> > >
> > > writing up a simple barebox exercise for students and on this page:
> > >
> > > http://wiki.barebox.org/doku.php?id=user:fir
On Mon, 3 Dec 2012, Sascha Hauer wrote:
> cramfs was present in barebox very early. I think in some places the
> implementation still assumes that the filesystem image is directly
> memory mapped. Probably we should investigate and either add a big
> warning somewhere or fix it.
ok, good to kno
looking through common/startup.c and decided i wanted to see
confirmation of all the initcalls running here:
for (initcall = __barebox_initcalls_start;
initcall < __barebox_initcalls_end; initcall++) {
debug("initcall-> %pS\n", *initcall);
On Mon, Dec 03, 2012 at 10:45:41AM -0500, Robert P. J. Day wrote:
>
> looking through common/startup.c and decided i wanted to see
> confirmation of all the initcalls running here:
>
> for (initcall = __barebox_initcalls_start;
> initcall < __barebox_initcalls_en
On Mon, 3 Dec 2012, Sascha Hauer wrote:
> On Mon, Dec 03, 2012 at 10:45:41AM -0500, Robert P. J. Day wrote:
> >
> > looking through common/startup.c and decided i wanted to see
> > confirmation of all the initcalls running here:
> >
> > for (initcall = __barebox_initcalls_start;
> >
Signed-off-by: Renaud Barbier
---
fs/fs.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/fs/fs.c b/fs/fs.c
index dc3a6e3..3065440 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -1108,7 +1108,8 @@ static int fs_probe(struct device_d *dev)
return ret;
if
A new type is added (linux/types.h) in preparation to the introduction of
the UBIFS support. Also functions to do bit operations are added.
Signed-off-by: Renaud Barbier
---
include/linux/bitops.h | 32
include/linux/types.h |2 ++
2 files changed, 34 inse
This patch deals with reading/writing the master node and orphan inodes.
Signed-off-by: Renaud Barbier
---
fs/ubifs/master.c | 341 +
fs/ubifs/orphan.c | 316 +
2 files changed, 657 insertions(+
This patchset adds UBIFS support to Barebox. It includes the core UBIFS
support and more recent patches found in the U-boot git tree.
It has been tested on a PPC system by mounting a NOR flash UBI volume,
copying the kernel to memory and booting it.
Bernhard Walle (1):
UBIFS: Improve error mess
This file defines all the files/directories operations.
It also initializes the driver.
Signed-off-by: Renaud Barbier
---
fs/ubifs/ubifs.c | 942 ++
1 files changed, 942 insertions(+), 0 deletions(-)
create mode 100644 fs/ubifs/ubifs.c
diff
This is the UBIFS initialization and VFS superblock operations.
Signed-off-by: Renaud Barbier
---
fs/ubifs/super.c | 1200 ++
1 files changed, 1200 insertions(+), 0 deletions(-)
create mode 100644 fs/ubifs/super.c
diff --git a/fs/ubifs/super.
This patch allows to include and build UBIFS.
Signed-off-by: Renaud Barbier
---
fs/Kconfig|4
fs/Makefile |1 +
fs/ubifs/Makefile |9 +
3 files changed, 14 insertions(+), 0 deletions(-)
create mode 100644 fs/ubifs/Makefile
diff --git a/fs/Kconfig b/fs/Kco
This support code implements the I/O subsystem helper functions and space
management. There is also functions for crc16 calculation and debugging.
Signed-off-by: Renaud Barbier
---
fs/ubifs/budget.c | 113 +++
fs/ubifs/crc16.c | 60 ++
fs/ubifs/debug.c | 156 +++
From: Bernhard Walle
In addition to the error message also display the error code. I had the
problem that my malloc memory was not enough (ENOMEM), and if u-boot
had displayed the error code immediately that would have saved me some
debugging.
Signed-off-by: Bernhard Walle
Use ubifs_err instea
From: Stefan Roese
This patch fixes a memory leak in ubifs_finddir().
Signed-off-by: Stefan Roese
Cc: dev.ma@gmail.com
---
fs/ubifs/ubifs.c | 11 ++-
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c
index bd9ac84..a3ac674 100644
-
This code supports the journal manipulation and replay.
Signed-off-by: Renaud Barbier
---
fs/ubifs/log.c| 104 ++
fs/ubifs/replay.c | 1070 +
2 files changed, 1174 insertions(+), 0 deletions(-)
create mode 100644 fs/ubifs/log.c
creat
Superblock support functions.
Signed-off-by: Renaud Barbier
---
fs/ubifs/sb.c | 346 +
1 files changed, 346 insertions(+), 0 deletions(-)
create mode 100644 fs/ubifs/sb.c
diff --git a/fs/ubifs/sb.c b/fs/ubifs/sb.c
new file mode 100644
in
From: Lars Poeschel
This patch fixes an issue when ubifs reads a bad superblock. Later it
tries to free memory, that was not allocated, which freezes u-boot.
This is fixed by looking for a non null pointer before free.
The message I got before u-boot freezes:
UBI: max/mean erase counter: 53/32
U
This file implements a recovery method for unclean un-mounts.
Signed-off-by: Renaud Barbier
---
fs/ubifs/recovery.c | 1225 +++
1 files changed, 1225 insertions(+), 0 deletions(-)
create mode 100644 fs/ubifs/recovery.c
diff --git a/fs/ubifs/recov
The scan function determines what nodes are in an eraseblock.
Signed-off-by: Renaud Barbier
---
fs/ubifs/scan.c | 362 +++
1 files changed, 362 insertions(+), 0 deletions(-)
create mode 100644 fs/ubifs/scan.c
diff --git a/fs/ubifs/scan.c b/f
buf is still needed, instead mbr should be freed.
Signed-off-by: Sascha Hauer
---
arch/arm/mach-imx/imx-bbu-internal.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/imx-bbu-internal.c
b/arch/arm/mach-imx/imx-bbu-internal.c
index c34f86f..a36a427 100644
Pass the return value from ulpi_probe in ulpi_setup instead
of returning -1 (which is -EPERM and does not make sense in
this context)
Signed-off-by: Sascha Hauer
---
drivers/usb/otg/ulpi.c |7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/otg/ulpi.c b/driv
Sascha Hauer writes:
> mtd->write is supposed to loop around pages internally, no need
> to do this in mtd_write. This fixes a huge write performance drop
> with the m25p80 driver when it was converted to a mtd driver recently.
> Since mtd->writesize is 1 for this driver mtd_write ended up doing
Renaud Barbier writes:
> This patchset adds UBIFS support to Barebox. It includes the core UBIFS
> support and more recent patches found in the U-boot git tree.
> It has been tested on a PPC system by mounting a NOR flash UBI volume,
> copying the kernel to memory and booting it.
Hi Renaud,
Th
for possible teaching purposes, i posted the initcalls invoked both
for MLO and barebox.bin on my beagle xM:
http://www.crashcourse.ca/wiki/index.php/Barebox_initcalls_for_the_xM
to perhaps walk folks through the steps of barebox booting. given
time, i might expand on that page later to dig i
Lançamento
CPE Krazer Sky Station 5GHz N
Você cliente pediu que a Krazer fizesse uma nova CPE num formato mais estiloso,
pequena, de menor tamanho e que tivesse novas funcionabilidade, mais
especificamente acesso fácil ao botão de reset, proteção contra queima e a tão
desejada SAÍDA PARA ANTEN
When obj-y has foo/bar.o, kbuild can't generate
foo/bar.o according foo/bar.c. Fix this
this patch based on linux kernel
commit 521cb40b0c44418a4fd36dc633f575813d59a43d
Signed-off-by: 张忠山
---
scripts/Makefile.lib |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sc
In message <20121203095534.gl10...@pengutronix.de> Sascha Hauer wrote:
> On Fri, Nov 30, 2012 at 07:03:36PM +0800, 张忠山 wrote:
> > the function uncompress_fd_to_buf has no parameter to return
> > the uncompressed length, How to get the uncompressed content
> > length?
>
> AFAIK the uncompressed size
When write a command function do_xxx.
When all right it should return zero.
But when error, It should return a negtive value or a positive value?
And what difference between neg-val and pos-val?
--
Best Regards,
zzs
___
barebox mailing list
barebox
On Tue, Dec 04, 2012 at 10:54:54AM +0800, 张忠山 wrote:
> When write a command function do_xxx.
>
> When all right it should return zero.
>
> But when error, It should return a negtive value or a positive value?
> And what difference between neg-val and pos-val?
Traditionally only positive error va
On Tue, Dec 04, 2012 at 09:42:42AM +0800, 张忠山 wrote:
> In message <20121203095534.gl10...@pengutronix.de> Sascha Hauer wrote:
> > On Fri, Nov 30, 2012 at 07:03:36PM +0800, 张忠山 wrote:
> > > the function uncompress_fd_to_buf has no parameter to return
> > > the uncompressed length, How to get the unc
65 matches
Mail list logo