This commit is a preperation for a subsequent UBIFS commit
which needs atomic_long operations.
Therefor include/asm-generic/atomic-long.h is imported
from 1860e37 Linux 3.15
Signed-off-by: Anton Habegger anton.habeg...@gmail.com
---
Hello Heiko
Changes v2:
- Eliminate #ifndef __UBOOT__ as much
Enable ubifs_replay_journal during mount_ubifs, which was
disabled before.
This commit fix an issue with unrecoverable ubifs volumes
after power cut.
Therefor the gc.c is imported now from 1860e37 Linux 3.15
Signed-off-by: Anton Habegger anton.habeg...@gmail.com
---
Changes for v2:
- clear
Hello Heiko
here the second part with the real fix and better
commit message.
From 66cdf8324f5e9be1422818cb51c5810b54feef93 Mon Sep 17 00:00:00 2001
From: Anton Habegger anton.habeg...@delta-es.com
Date: Wed, 21 Jan 2015 16:23:02 +0100
Subject: [PATCH] ubifs: Enable journal replay during mount
Hello Heiko
Here the second patch you want. This needs to be applied
prior the real bug fix, becouse it solves the warning as
you mention as well.
From fd0a1377825638d15bc66b5f07a05beb14fe747c Mon Sep 17 00:00:00 2001
From: Anton Habegger anton.habeg...@delta-es.com
Date: Wed, 21 Jan 2015 16
Hello Heiko
On Thu, Jan 22, 2015 at 7:30 AM, Heiko Schocher h...@denx.de wrote:
Hello Anton,
Am 21.01.2015 16:47, schrieb Anton Habegger:
Hello Heiko
Here the second patch you want. This needs to be applied
prior the real bug fix, becouse it solves the warning as
you mention as well
and fix some unrecoverable UBIFS volumes.
Signed-off-by: Anton Habegger anton.habeg...@delta-es.com
---
fs/ubifs/Makefile | 2 +-
fs/ubifs/gc.c | 987 ++
fs/ubifs/replay.c | 4 -
fs/ubifs/super.c | 8 +-
fs/ubifs/tnc.c| 2 -
fs/ubifs
-by: Anton Habegger anton.habeg...@delta-es.com
---
fs/ubifs/Makefile | 2 +-
fs/ubifs/gc.c | 987 ++
fs/ubifs/replay.c | 8 +-
fs/ubifs/super.c | 8 +-
fs/ubifs/tnc.c| 7 +-
5 files changed, 997 insertions(+), 15 deletions(-)
create mode
wasn't able to enable the error case,
ubifs_destroy_journal, because there
is a dependency to the garbage collector gc.c. So far I didn't found
time to integrate this stuff.
What do you think, Is this the right way to fix this issue?
Signed-off-by: Anton Habegger anton.habeg...@delta-es.com
---
fs
in UBIFS, but I'm wondering how can
U-Boot grantee to open a UBIFS volume after an power cut in a not
corrupted state without replaying the journal?
Thank you to give me one hint again.
On Fri, Jan 16, 2015 at 6:47 PM, Anton Habegger
anton.habeg...@gmail.com wrote:
On Fri, Jan 16, 2015 at 4:42
Hello Heiko
We have a PPC MPC5125 device with 64MB NOR flash. The U-boot has to load
the kernel and initramfs from a UBIFS partition.
Recently we made an upgrade from U-Boot version V2010.12 to version
V2014.10. Now after some regression tests with power cuts, we got an UBIFS
state,
Sorry, there is something wrong with my mail client.
Here again the same with hopefully better line endings.
We have a PPC MPC5125 device with 64MB NOR flash. The U-boot has to load
the kernel and initramfs from a UBIFS partition.
Recently we made an upgrade from U-Boot version V2010.12 to
I'm definitely not a friend of Outlook,
here the third trial with my personal account.
We have a PPC MPC5125 device with 64MB NOR flash. The U-boot has to load
the kernel and initramfs from a UBIFS partition.
Recently we made an upgrade from U-Boot version V2010.12 to version
V2014.10. Now
On Fri, Jan 16, 2015 at 4:42 PM, Bill Pringlemeir
bpringlem...@nbsps.com wrote:
On 16 Jan 2015, anton.habeg...@delta-es.com wrote:
What does a dangling branch and dangling match mean? Are those
situations handled differently under U-Boot?
... I don't know about this. However, it is easy to
Hello Heiko
Am 14.01.2015 13:52, schrieb Anton Habegger:
Hello
We have a PPC MPC5125 device with 64MB NOR flash. The U-boot has to load the
kernel and initramfs from a UBIFS partition.
Recently we made an upgrade from U-Boot version V2010.12 to version
V2014.10. Now after some regression
Hello
We have a PPC MPC5125 device with 64MB NOR flash. The U-boot has to load the
kernel and initramfs from a UBIFS partition.
Recently we made an upgrade from U-Boot version V2010.12 to version V2014.10.
Now after some regression tests with power cuts, we got an UBIFS state, which
is
15 matches
Mail list logo