All of lore.kernel.org
 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 13:53:43 +0100	[thread overview]
Message-ID: <56BC8457.5010702@denx.de> (raw)
In-Reply-To: <BFEE4BD273371E48B6EB70F96CEC5B5403F6E74E@DEMUMBX007.nsn-intra.net>

On 02/11/2016 01:45 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote:
> Hi Marek,
> 
> Here are my build steps:
> 
> denis at DendiMachine:~/WorkSpace/u-boot$ make clean
>   CLEAN   dts/../arch/arm/dts
>   CLEAN   dts
>   CLEAN   examples/standalone
>   CLEAN   tools
>   CLEAN   tools/lib tools/common
>   CLEAN   spl/arch spl/board spl/cmd spl/common spl/drivers spl/dts spl/fs spl/lib spl/u-boot-spl spl/u-boot-spl.bin spl/u-boot-spl.cfg spl/u-boot-spl.dtb spl/u-boot-spl-dtb.bin spl/u-boot-spl.lds spl/u-boot-spl.map spl/u-boot-spl-nodtb.bin spl/u-boot-spl-pad.bin spl/u-boot-spl.sfp
>   CLEAN   u-boot u-boot.bin u-boot.cfg u-boot.dtb u-boot-dtb.bin u-boot-dtb.img u-boot.img u-boot.lds u-boot.map u-boot-nodtb.bin u-boot.srec System.map
> denis at DendiMachine:~/WorkSpace/u-boot$ make distclean
>   CLEAN   scripts/basic
>   CLEAN   scripts/kconfig
>   CLEAN   include/config include/generated spl
>   CLEAN   .config .config.old include/autoconf.mk include/autoconf.mk.dep include/config.h
> denis at DendiMachine:~/WorkSpace/u-boot$ make clean
> denis at DendiMachine:~/WorkSpace/u-boot$ make distclean
> denis at DendiMachine:~/WorkSpace/u-boot$ git pull
> Already up-to-date.
> denis at DendiMachine:~/WorkSpace/u-boot$ git describe
> v2016.03-rc1-138-gcc8d698

I see , so you're not building 2016.01 , but 2016.03-rc .

> denis at DendiMachine:~/WorkSpace/u-boot$ git status
> On branch master
> Your branch is up-to-date with 'origin/master'.
> 
> Changes not staged for commit:
>   (use "git add <file>..." to update what will be committed)
>   (use "git checkout -- <file>..." to discard changes in working directory)
> 
> 	modified:   include/configs/socfpga_arria5_socdk.h    // here I only changed SDRAM configuration
> 
> no changes added to commit (use "git add" and/or "git commit -a")
> denis at DendiMachine:~/WorkSpace/u-boot$ make socfpga_arria5_defconfig
>   HOSTCC  scripts/basic/fixdep
>   HOSTCC  scripts/kconfig/conf.o
>   SHIPPED scripts/kconfig/zconf.tab.c
>   SHIPPED scripts/kconfig/zconf.lex.c
>   SHIPPED scripts/kconfig/zconf.hash.c
>   HOSTCC  scripts/kconfig/zconf.tab.o
>   HOSTLD  scripts/kconfig/conf
> #
> # configuration written to .config
> #
> denis at DendiMachine:~/WorkSpace/u-boot$ make -j9
> 
> But after compilation I don't have such file.
> 
> I have installed:
> - linaro toolchain
> - u-boot-tools
> - device-tree-compiler

OK, there has been a patch applied after 2016.01 which renames the
artifacts. I expected it to cause confusion, but I didn't expect it
to happen so soon. And the patch is even broken, sigh.

Do this after make -j9 as a workaround for the breakage:

$ make u-boot-with-spl.sfp

And then use the "u-boot-with-spl.sfp" file and place it into the QSPI
NOR. I will send a fix for the broken patch.

> All env variables should be ok, because in other way it won't compile.
> 
> make u-boot-with-spl-dtb.sfp doesn't work for me because there is no such target in Makefile.
> What I'm doing wrong?
> I will try to clone sources and build it from the scratch.
> 
> Best regards,
> Denis Bakhvalov
> 

  reply	other threads:[~2016-02-11 12:53 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 [this message]
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=56BC8457.5010702@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 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.