public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Problem with mounting a jffs2 partition on flash.
Date: Thu, 11 Feb 2016 15:56:47 +0100	[thread overview]
Message-ID: <56BCA12F.1010308@denx.de> (raw)
In-Reply-To: <BFEE4BD273371E48B6EB70F96CEC5B5403F6E81F@DEMUMBX007.nsn-intra.net>

On 02/11/2016 03:02 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote:
> $ quartus_hps -c 1 -o PV -a 0x0 u-boot-with-spl.sfp.bin
> // here ".bin" because current programmer requires so. I think it shouldn't be a problem.

This looks fine. You should be able to avoid renaming the file to have a
.bin suffix, the quartus_hps should take any file. I only tested it
with quartus 15.1 though, so it is possible there was a change since
13.1 which is what you use.

> From manual:
> "HPS Flash Programmer
> The utility accepts a Binary File with a required ".bin" extension.
> The HPS flash programmer command-line syntax is:
> quartus_hps <options> <file.bin>"
> 
> Info: Version 13.1.0 Build 162 10/23/2013 SJ Full Version
> 
> After that I power off/on the unit and nothing happened.
> I also compared md5 while copying - everything should be ok.
> 
> I tried it 2 times with no success:
> Looks like unit is no booting.
> No output in the console is visible.

There is output, but it takes a while for the USB-to-UART chip to kick
in after restart, so you don't see it. I will send you two more patches,
so apply them and it should get you up and running. The QSPI NOR boot
was not enabled on AV/CV SoCDK.

You can also grab the latest stuff here:
http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=summary

> If I change the images back (that is currently in official release) - at least bootloader pass and u-boot is also launching.
> 
> Does it mean that there is something wrong with SPL configuration?
> Or maybe I need some patches from altera in order to make them working?
> Because I can see some traces of applied patches in the svn history.
> 
> Best regards,
> Denis Bakhvalov
> 

  reply	other threads:[~2016-02-11 14:56 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
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 [this message]
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=56BCA12F.1010308@denx.de \
    --to=marex@denx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox