* [U-Boot] UBI attach issues
@ 2016-02-01 8:58 Andy Ng
2016-02-01 9:34 ` Heiko Schocher
0 siblings, 1 reply; 4+ messages in thread
From: Andy Ng @ 2016-02-01 8:58 UTC (permalink / raw)
To: u-boot
Dear u-boot team,
Occasionally, I get corrupted rootfs if the system power goes away
while u-boot is attaching the root file system in order to fetch the
kernel.
I am using imx6 Solo and u-boot 2013-10.
Is there any way to stop uboot messing up the file system while making
attachment of UBI? Does the latest u-boot provides a better way to
protect the ubi file system during attachment.
Any advice or guidance will be very much appreciated.
Andy
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] UBI attach issues
2016-02-01 8:58 [U-Boot] UBI attach issues Andy Ng
@ 2016-02-01 9:34 ` Heiko Schocher
2016-02-01 13:42 ` Andy Ng
0 siblings, 1 reply; 4+ messages in thread
From: Heiko Schocher @ 2016-02-01 9:34 UTC (permalink / raw)
To: u-boot
Hello Andy,
Am 01.02.2016 um 09:58 schrieb Andy Ng:
> Dear u-boot team,
>
> Occasionally, I get corrupted rootfs if the system power goes away
> while u-boot is attaching the root file system in order to fetch the
> kernel.
>
> I am using imx6 Solo and u-boot 2013-10.
>
> Is there any way to stop uboot messing up the file system while making
> attachment of UBI? Does the latest u-boot provides a better way to
> protect the ubi file system during attachment.
>
>
> Any advice or guidance will be very much appreciated.
In principle U-Boot has the same code as Linux. Current
U-Boot uses Linux code from:
linux v4.2 commit 64291f7db5bd8150a74ad2036f1037e6a0428df2
see U-Boot commit: 0195a7bb36a0abc71145da419001377bf56662fd
2013-10 uses an older Source Base, so update to current U-Boot
is recommended... yes.
Do you see this issue also with Linux?
Do you use UBI FASTMAP?
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] UBI attach issues
2016-02-01 9:34 ` Heiko Schocher
@ 2016-02-01 13:42 ` Andy Ng
2016-02-02 6:49 ` Heiko Schocher
0 siblings, 1 reply; 4+ messages in thread
From: Andy Ng @ 2016-02-01 13:42 UTC (permalink / raw)
To: u-boot
Thank you for your reply.
by going to update u-boot, does it guaranty corruption free UBI if the
power goes away during the phase where u-boot fetches uImage from the
ubifs?
best regards,
Andy
On Mon, Feb 1, 2016 at 9:34 AM, Heiko Schocher <hs@denx.de> wrote:
> Hello Andy,
>
> Am 01.02.2016 um 09:58 schrieb Andy Ng:
>>
>> Dear u-boot team,
>>
>> Occasionally, I get corrupted rootfs if the system power goes away
>> while u-boot is attaching the root file system in order to fetch the
>> kernel.
>>
>> I am using imx6 Solo and u-boot 2013-10.
>>
>> Is there any way to stop uboot messing up the file system while making
>> attachment of UBI? Does the latest u-boot provides a better way to
>> protect the ubi file system during attachment.
>>
>>
>> Any advice or guidance will be very much appreciated.
>
>
> In principle U-Boot has the same code as Linux. Current
> U-Boot uses Linux code from:
>
> linux v4.2 commit 64291f7db5bd8150a74ad2036f1037e6a0428df2
>
> see U-Boot commit: 0195a7bb36a0abc71145da419001377bf56662fd
>
> 2013-10 uses an older Source Base, so update to current U-Boot
> is recommended... yes.
>
> Do you see this issue also with Linux?
>
> Do you use UBI FASTMAP?
>
> bye,
> Heiko
> --
> DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] UBI attach issues
2016-02-01 13:42 ` Andy Ng
@ 2016-02-02 6:49 ` Heiko Schocher
0 siblings, 0 replies; 4+ messages in thread
From: Heiko Schocher @ 2016-02-02 6:49 UTC (permalink / raw)
To: u-boot
Hello Andy,
Am 01.02.2016 um 14:42 schrieb Andy Ng:
> Thank you for your reply.
>
> by going to update u-boot, does it guaranty corruption free UBI if the
> power goes away during the phase where u-boot fetches uImage from the
> ubifs?
I cannot guarantee this. The problem can be also in the underlying nand
driver. Try current code, also enable UBI debug messages, may this
shows the problem...
bye,
Heiko
>
> best regards,
> Andy
>
> On Mon, Feb 1, 2016 at 9:34 AM, Heiko Schocher <hs@denx.de> wrote:
>> Hello Andy,
>>
>> Am 01.02.2016 um 09:58 schrieb Andy Ng:
>>>
>>> Dear u-boot team,
>>>
>>> Occasionally, I get corrupted rootfs if the system power goes away
>>> while u-boot is attaching the root file system in order to fetch the
>>> kernel.
>>>
>>> I am using imx6 Solo and u-boot 2013-10.
>>>
>>> Is there any way to stop uboot messing up the file system while making
>>> attachment of UBI? Does the latest u-boot provides a better way to
>>> protect the ubi file system during attachment.
>>>
>>>
>>> Any advice or guidance will be very much appreciated.
>>
>>
>> In principle U-Boot has the same code as Linux. Current
>> U-Boot uses Linux code from:
>>
>> linux v4.2 commit 64291f7db5bd8150a74ad2036f1037e6a0428df2
>>
>> see U-Boot commit: 0195a7bb36a0abc71145da419001377bf56662fd
>>
>> 2013-10 uses an older Source Base, so update to current U-Boot
>> is recommended... yes.
>>
>> Do you see this issue also with Linux?
>>
>> Do you use UBI FASTMAP?
>>
>> bye,
>> Heiko
>> --
>> DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
>> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
>
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-02-02 6:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-01 8:58 [U-Boot] UBI attach issues Andy Ng
2016-02-01 9:34 ` Heiko Schocher
2016-02-01 13:42 ` Andy Ng
2016-02-02 6:49 ` Heiko Schocher
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.