All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bakhvalov, Denis (Nokia - PL/Wroclaw) <denis.bakhvalov@nokia.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Problem with mounting a jffs2 partition on flash.
Date: Mon, 8 Feb 2016 12:07:47 +0000	[thread overview]
Message-ID: <BFEE4BD273371E48B6EB70F96CEC5B54F300DB@DEMUMBX007.nsn-intra.net> (raw)
In-Reply-To: <20160208114108.22606380F49@gemini.denx.de>

Hi Wolfgang,

Thank you for your quick reply.

> 1) Is there any specific reason for using JFFS2?  We consider this
>   pretty much deprecated today and usually tend to prefer UBI/UBIFS.

Yes, I'm aware that jffs2 is quite old and ubifs is a successor of jffs2, but the reason is that current Linux Kernel has no support for UBI.
It means that if will use UBI in U-boot we can't see the contents in Lunix env after it starts.
I understand that it should have solution, but it requires recompiling Linux kernel which is also time consuming.

So, for a proof of concept I decided to make it work with jffs2.

> 2) Especially with SoCFPGA it is highly recommended to use current
>   mainline code.

> As mentioned, it is highly recommended to use current mainline
> instead.

> OK - I understand this is with the OLD version of U-Boot, right?
Yes, current logs are from OLD U-boot version.

> What exactly are these "other problems" ?

U-Boot launches, but after that it is hanging.
U-Boot 2016.01 (Feb 05 2016 - 14:15:47 +0100)

CPU:   Altera SoCFPGA Platform
FPGA:  Altera Arria V, D5, version 0x0
BOOT:  QSPI Flash (3.0V)
       Watchdog enabled
I2C:   ready
DRAM:

I will try to tackle this problem also.
However, I must say that I don't have much experience with U-Boot, so maybe I'm missing something obvious?

Can you please share some examples of correct configuration for such use case (jffs2 partition on NOR flash with SPI)?
I spent some time digging into the code, enabling different defines, so now it is complete mess in my sources.

Best regards,
Denis Bakhvalov

MBB Radio Platforms, RFSW

  reply	other threads:[~2016-02-08 12:07 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-08 10:56 [U-Boot] Problem with mounting a jffs2 partition on flash Bakhvalov, Denis
2016-02-08 11:41 ` Wolfgang Denk
2016-02-08 12:07   ` Bakhvalov, Denis [this message]
2016-02-08 12:22     ` Wolfgang Denk
2016-02-08 13:15       ` Calvin Johnson
2016-02-08 16:12       ` Marek Vasut
2016-02-09 15:36         ` Bakhvalov, Denis
2016-02-09 17:30           ` Marek Vasut
2016-02-10 13:18             ` Bakhvalov, Denis
2016-02-10 16:16               ` Marek Vasut
2016-02-11 10:01                 ` Bakhvalov, Denis
2016-02-11 11:56                   ` Marek Vasut
2016-02-11 12:45                     ` Bakhvalov, Denis
2016-02-11 12:53                       ` Marek Vasut
2016-02-11 14:02                         ` Bakhvalov, Denis
2016-02-11 14:56                           ` Marek Vasut
2016-02-11 15:29                             ` Bakhvalov, Denis
2016-02-11 15:45                               ` Marek Vasut
2016-02-12  8:44                                 ` Bakhvalov, Denis
2016-02-12 12:00                                   ` Marek Vasut
2016-02-12 13:15                                     ` Bakhvalov, Denis
2016-02-12 14:00                                     ` Bakhvalov, Denis
2016-02-12 15:09                                       ` Marek Vasut
2016-02-12 15:39                                         ` Bakhvalov, Denis
2016-02-12 15:44                                           ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BFEE4BD273371E48B6EB70F96CEC5B54F300DB@DEMUMBX007.nsn-intra.net \
    --to=denis.bakhvalov@nokia.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.