Re: [U-Boot] Problem with v2018-09-rc2 to boot EFI on Arndale board

2018-08-16 Thread Peter Robinson
On Thu, Aug 16, 2018 at 10:40 AM, Guillaume GARDET wrote: > > Hi, > > While trying to boot Grub2/EFI on Arndale board, I got the following error: > ** > fdt_fixup_memory_banks: num banks 8 exceeds hardcoded limit 4. Recompile with

[U-Boot] Problem with v2018-09-rc2 to boot EFI on Arndale board

2018-08-16 Thread Guillaume GARDET
Hi, While trying to boot Grub2/EFI on Arndale board, I got the following error: ** fdt_fixup_memory_banks: num banks 8 exceeds hardcoded limit 4. Recompile with higher MEMORY_BANKS_MAX? ERROR: arch-specific fdt fixup failed - m

Re: [U-Boot] Problem booting uImage with u-boot

2018-08-01 Thread Michael Nazzareno Trimarchi
Hi On Wed, Aug 1, 2018 at 9:08 PM, Saeed Abdoli wrote: > Hi Michael > Thank you for your quick response. > Can you please tell me how to solve the problem. Where can I change the > relocation address, in kernel config or somewhere else? > If you not top-post and keep it posted it's better. What

Re: [U-Boot] Problem booting uImage with u-boot

2018-08-01 Thread Michael Nazzareno Trimarchi
Hi On Wed, Aug 1, 2018 at 8:47 PM, Saeed Abdoli wrote: > Hello > I am working on a project in which I need to boot a customized linux kernel > on my board. The board components are stm32f429 processor, 8Mbyte SDRAM and > 32Mbyte flash memory which are connected to the processer via FMC. I've > bo

[U-Boot] Problem booting uImage with u-boot

2018-08-01 Thread Saeed Abdoli
Hello I am working on a project in which I need to boot a customized linux kernel on my board. The board components are stm32f429 processor, 8Mbyte SDRAM and 32Mbyte flash memory which are connected to the processer via FMC. I've booted u-boot on the internal flash of the processor and I've install

Re: [U-Boot] Problem with Travis-Ci

2018-07-06 Thread Tom Rini
On Fri, Jul 06, 2018 at 11:20:01AM +0200, Lukasz Majewski wrote: > Hi Tom, > > I've performed the travis-ci build for some USB gadget related code: > > https://travis-ci.org/lmajewski/u-boot-dfu/jobs/400649043 > > And for some tasks (e.g. BUILDMAN="sun50i") I do see following errors: > > The f

[U-Boot] Problem with Travis-Ci

2018-07-06 Thread Lukasz Majewski
Hi Tom, I've performed the travis-ci build for some USB gadget related code: https://travis-ci.org/lmajewski/u-boot-dfu/jobs/400649043 And for some tasks (e.g. BUILDMAN="sun50i") I do see following errors: The following NEW packages will be installed: libisl15 0 upgraded, 1 newly installed, 0

[U-Boot] u-boot problem - Unknown commands

2018-05-03 Thread Dennis Jacobs
Dear u-boot mailing list, Recently I am working on a graduation project at Prodrive Technologies including the development of firmware for a Marvell Ethernet switch chip: 98DX3235. For parallel hardware/software development, I got access to another Marvell Ethernet switch chip 98DX3336 placed i

Re: [U-Boot] Problem with initialize in mmc_initialize in mmc.c

2017-11-27 Thread Jaehoon Chung
Hi, On 11/27/2017 05:16 PM, Jaehoon Chung wrote: > Hi Faiz, Remove the some mail account, because of private problem. > > On 11/02/2017 11:23 PM, Faiz Abbas wrote: >> >> >> On Monday 30 October 2017 07:37 PM, Faiz Abbas wrote: >>> Hi, >>> >>> The variable *initialized* in mmc_initialize() is de

Re: [U-Boot] Problem with initialize in mmc_initialize in mmc.c

2017-11-27 Thread Jaehoon Chung
Hi Faiz, On 11/02/2017 11:23 PM, Faiz Abbas wrote: > > > On Monday 30 October 2017 07:37 PM, Faiz Abbas wrote: >> Hi, >> >> The variable *initialized* in mmc_initialize() is declared as static and >> initialised to 0 in the following commit. This makes the compiler put it >> in the .bss section

Re: [U-Boot] Problem with initialize in mmc_initialize in mmc.c

2017-11-02 Thread Faiz Abbas
On Monday 30 October 2017 07:37 PM, Faiz Abbas wrote: > Hi, > > The variable *initialized* in mmc_initialize() is declared as static and > initialised to 0 in the following commit. This makes the compiler put it > in the .bss section of the image. > > commit 1b26bab12e85e8b0d382d6775e40d1444524

[U-Boot] problem with configuration

2017-11-02 Thread pranav prakash
Hello Sir, I want networking support in u-boot , In beaglebone black I easily got that. But if i want the same in AM3354BZCZD80 processor I am unable to get that .while booting from SD-card it is working but i am unable to boot from network.can you tell me where and all i have to do the modifica

[U-Boot] Problem with initialize in mmc_initialize in mmc.c

2017-10-30 Thread Faiz Abbas
Hi, The variable *initialized* in mmc_initialize() is declared as static and initialised to 0 in the following commit. This makes the compiler put it in the .bss section of the image. commit 1b26bab12e85e8b0d382d6775e40d14445249574 Author: Daniel Kochmański Date: Fri May 29 16:55:43 2015 +0200

[U-Boot] Problem in booting an u-boot image for raspberry pi 2 on QEMU

2017-05-09 Thread Pradeep M C
Hi people, Needed some help in running u-boot on qemu emulating Raspberry pi 2. I came across qemu supporting emulation of Raspbeerry pi 2 (raspi2 machine in qemu). I thought of giving it a try by running u-boot compiled for Raspberry pi 2. I used the config "rpi_2_defconfig" to build u-boot. foll

Re: [U-Boot] Problem: the build does not recurse into subdirectory

2016-12-20 Thread Simon Glass
Hi Maxim, On 19 December 2016 at 10:52, Maxim Sloyko wrote: > On Sat, Dec 17, 2016 at 2:46 PM, Simon Glass wrote: >> Hi Maxim, >> >> On 16 December 2016 at 17:18, Maxim Sloyko wrote: >>> Greetings, >>> >>> I'm working on adding new platform to U-Boot and right now I'm trying >>> to clean up the

Re: [U-Boot] Problem: the build does not recurse into subdirectory

2016-12-19 Thread Maxim Sloyko
On Sat, Dec 17, 2016 at 2:46 PM, Simon Glass wrote: > Hi Maxim, > > On 16 December 2016 at 17:18, Maxim Sloyko wrote: >> Greetings, >> >> I'm working on adding new platform to U-Boot and right now I'm trying >> to clean up the directory structure, but running into a problem of >> Make not recursi

Re: [U-Boot] Problem: the build does not recurse into subdirectory

2016-12-17 Thread Simon Glass
Hi Maxim, On 16 December 2016 at 17:18, Maxim Sloyko wrote: > Greetings, > > I'm working on adding new platform to U-Boot and right now I'm trying > to clean up the directory structure, but running into a problem of > Make not recursing into a subdirectory that I've created. > > in my arch/arm/ma

Re: [U-Boot] Problem with qspi when using micron devices

2016-12-15 Thread Jagan Teki
On Thu, Dec 15, 2016 at 11:45 AM, Phil Edworthy wrote: > Hi Jagan, > > On 07 December 2016 08:03, Phil Edworthy wrote: >> Hi Jagan, >> >> When using Micron devices, SPI flash with quad mode does not work since >> commit >> c56ae7519f141523ba1248b22b5b5169b21772fe "sf: Fix quad bit set for micron >

Re: [U-Boot] Problem with qspi when using micron devices

2016-12-15 Thread Marek Vasut
On 12/15/2016 11:45 AM, Phil Edworthy wrote: > Hi Jagan, > > On 07 December 2016 08:03, Phil Edworthy wrote: >> Hi Jagan, >> >> When using Micron devices, SPI flash with quad mode does not work since >> commit >> c56ae7519f141523ba1248b22b5b5169b21772fe "sf: Fix quad bit set for micron >> devices"

Re: [U-Boot] Problem with qspi when using micron devices

2016-12-15 Thread Phil Edworthy
Hi Jagan, On 07 December 2016 08:03, Phil Edworthy wrote: > Hi Jagan, > > When using Micron devices, SPI flash with quad mode does not work since > commit > c56ae7519f141523ba1248b22b5b5169b21772fe "sf: Fix quad bit set for micron > devices". > > This has been pointed out before, details about w

[U-Boot] Problem with qspi when using micron devices

2016-12-07 Thread Phil Edworthy
Hi Jagan, When using Micron devices, SPI flash with quad mode does not work since commit c56ae7519f141523ba1248b22b5b5169b21772fe "sf: Fix quad bit set for micron devices". This has been pointed out before, details about why the patch does work are here: http://lists.denx.de/pipermail/u-boot/20

[U-Boot] Problem using non-default init files

2016-08-23 Thread Thomas Koeller
Hi, I am trying to build U-Boot for an Avnet MicroZed board with a Zynq7 processor. Needing a customized hardware initialization, I tried to replace the distributed 'board/xilinx/zynq/MicroZed_hw_platform/ps7_init_gpl.[hc]' files with the ones produced by the Xilinx tools during creation of the FP

Re: [U-Boot] Problem loading boot script from ext4 mmc on sunxi H3

2016-07-08 Thread Michal Suchanek
Hello, On 30 June 2016 at 19:13, Robert Nelson wrote: > On Wed, Jun 29, 2016 at 5:30 AM, Michal Suchanek wrote: >> Hello, >> >> On 29 June 2016 at 10:45, Karsten Merker wrote: >>> On Wed, Jun 29, 2016 at 09:30:33AM +0200, Michal Suchanek wrote: >>> I tried loading system with recent u-boot

Re: [U-Boot] Problem loading boot script from ext4 mmc on sunxi H3

2016-06-30 Thread Robert Nelson
On Wed, Jun 29, 2016 at 5:30 AM, Michal Suchanek wrote: > Hello, > > On 29 June 2016 at 10:45, Karsten Merker wrote: >> On Wed, Jun 29, 2016 at 09:30:33AM +0200, Michal Suchanek wrote: >> >>> I tried loading system with recent u-boot but it does not work. >>> >>> Trying some ext4ls shows there is

Re: [U-Boot] Problem loading boot script from ext4 mmc on sunxi H3

2016-06-29 Thread Michal Suchanek
Hello, On 29 June 2016 at 10:45, Karsten Merker wrote: > On Wed, Jun 29, 2016 at 09:30:33AM +0200, Michal Suchanek wrote: > >> I tried loading system with recent u-boot but it does not work. >> >> Trying some ext4ls shows there is some problem accessing the filesystem. >> >> Not sure if this shou

[U-Boot] Problem loading boot script from ext4 mmc on sunxi H3

2016-06-29 Thread Michal Suchanek
Hello, I tried loading system with recent u-boot but it does not work. Trying some ext4ls shows there is some problem accessing the filesystem. Not sure if this should be attributed to the ext driver or to the mmc driver or something else entirely. Does this work for anybody? Any debug option t

Re: [U-Boot] Problem of git clone with http

2016-04-27 Thread Wolfgang Denk
Dear Sergey, In message you wrote: > > This seems to be a widespread thing. It is definitely caused by buggy Cisco > firewalls corrupting binary files. I had the same problem in corporate I cannot comment on this. In our case the cause was a different one. Best regards, Wolfgang Denk -- DE

Re: [U-Boot] Problem of git clone with http

2016-04-27 Thread Andreas Dannenberg
On Wed, Apr 27, 2016 at 02:05:47PM -0700, Sergey Kubushyn wrote: > On Wed, 27 Apr 2016, Wolfgang Denk wrote: > > >Dear Andreas, > > > >In message <20160427144315.gh2...@borg.dal.design.ti.com> you wrote: > >> > >But i can't pull and fetch anything with http.. > >... > >>I was just banging my h

Re: [U-Boot] Problem of git clone with http

2016-04-27 Thread Sergey Kubushyn
On Wed, 27 Apr 2016, Wolfgang Denk wrote: Dear Andreas, In message <20160427144315.gh2...@borg.dal.design.ti.com> you wrote: But i can't pull and fetch anything with http.. ... I was just banging my head not being able to fetch the latest U-Boot stuff, running into the same issue, and succ

Re: [U-Boot] Problem of git clone with http

2016-04-27 Thread Andreas Dannenberg
On Wed, Apr 27, 2016 at 10:44:00PM +0200, Wolfgang Denk wrote: > Dear Andreas, > > In message <20160427144315.gh2...@borg.dal.design.ti.com> you wrote: > > > > > >> But i can't pull and fetch anything with http.. > ... > > I was just banging my head not being able to fetch the latest U-Boot > > st

Re: [U-Boot] Problem of git clone with http

2016-04-27 Thread Wolfgang Denk
Dear Andreas, In message <20160427144315.gh2...@borg.dal.design.ti.com> you wrote: > > > >> But i can't pull and fetch anything with http.. ... > I was just banging my head not being able to fetch the latest U-Boot > stuff, running into the same issue, and successfully worked around it by > using

Re: [U-Boot] Problem of git clone with http

2016-04-27 Thread Tom Rini
On Wed, Apr 27, 2016 at 09:43:15AM -0500, Andreas Dannenberg wrote: > On Fri, Apr 01, 2016 at 04:29:48PM +0900, Jaehoon Chung wrote: > > Hi, > > > > On 04/01/2016 04:23 PM, Anatolij Gustschin wrote: > > > Hi, > > > > > > On Fri, 01 Apr 2016 09:59:22 +0900 > > > Jaehoon Chung jh80.ch...@samsung.co

Re: [U-Boot] Problem of git clone with http

2016-04-27 Thread Andreas Dannenberg
On Fri, Apr 01, 2016 at 04:29:48PM +0900, Jaehoon Chung wrote: > Hi, > > On 04/01/2016 04:23 PM, Anatolij Gustschin wrote: > > Hi, > > > > On Fri, 01 Apr 2016 09:59:22 +0900 > > Jaehoon Chung jh80.ch...@samsung.com wrote: > > ... > >> I have fetched the u-boot/master with http, not git. > >> url

[U-Boot] Problem: loading U-Boot from NAND while running SPL from SRAM

2016-04-24 Thread Ahmed Samir
Hello, Please, I'd like to ask for help/suggestions regarding the following problem that I have: The problem is regarding making SPL (in SRAM) to booting U-boot from 16 bit NAND. While configuring & debugging, I did run SPL from address in the SDRAM, & it worked fine & loaded U-boot successfully.

Re: [U-Boot] Problem with sf write on Arria 5.

2016-04-08 Thread Marek Vasut
On 04/09/2016 01:07 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, Hi! >>> Just check if the mainline SPL generated from this branch works on your >>> platform please. > > I tested U-boot generated from the branch you specified: > U-Boot 2016.03-11349-g5d09125-dirty (Apr 09 2016 -

Re: [U-Boot] Problem with sf write on Arria 5.

2016-04-08 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, >> Just check if the mainline SPL generated from this branch works on your >> platform please. I tested U-boot generated from the branch you specified: U-Boot 2016.03-11349-g5d09125-dirty (Apr 09 2016 - 00:42:24 +0200) Works pretty well. All needed functionality works for me. I tested

Re: [U-Boot] Problem with sf write on Arria 5.

2016-04-07 Thread Marek Vasut
On 04/07/2016 02:05 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: >> Just check if the mainline SPL generated from this branch works on your >> platform please. > > Ok. I will test it but probably during the weekend. > Because it requires me to merge my configuration to it. > I will write back

Re: [U-Boot] Problem with sf write on Arria 5.

2016-04-07 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
> Just check if the mainline SPL generated from this branch works on your > platform please. Ok. I will test it but probably during the weekend. Because it requires me to merge my configuration to it. I will write back once I will have some results. Best regards, Denis Bakhvalov _

Re: [U-Boot] Problem with sf write on Arria 5.

2016-04-07 Thread Marek Vasut
On 04/07/2016 09:32 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, > >> you mentioned you have problems with DRAM init on your AV, right ? >> Try this u-boot-socfpga/ddr branch [1] , see if it works for you and >> please let me know. The more testing the better. >> >> [1] >> http://g

Re: [U-Boot] Problem with sf write on Arria 5.

2016-04-07 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, > you mentioned you have problems with DRAM init on your AV, right ? > Try this u-boot-socfpga/ddr branch [1] , see if it works for you and > please let me know. The more testing the better. > > [1] > http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=shortlog;h=refs/heads/ddr Are you a

Re: [U-Boot] Problem with sf write on Arria 5.

2016-04-05 Thread Marek Vasut
On 03/30/2016 03:46 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, > >> Do "dcache off" and then update the flash again, it will work. That's >> the cache issue which we cannot track down. > > Thank you for you quick support! > > Maybe it's worth to invent a temporary solution? Hi

Re: [U-Boot] Problem of git clone with http

2016-04-01 Thread Jaehoon Chung
Hi, On 04/01/2016 04:23 PM, Anatolij Gustschin wrote: > Hi, > > On Fri, 01 Apr 2016 09:59:22 +0900 > Jaehoon Chung jh80.ch...@samsung.com wrote: > ... >> I have fetched the u-boot/master with http, not git. >> url = http://git.denx.de/u-boot.git >> >> When i saw the gitweb, it seems that v2016.03

Re: [U-Boot] Problem of git clone with http

2016-04-01 Thread Anatolij Gustschin
Hi, On Fri, 01 Apr 2016 09:59:22 +0900 Jaehoon Chung jh80.ch...@samsung.com wrote: ... > I have fetched the u-boot/master with http, not git. > url = http://git.denx.de/u-boot.git > > When i saw the gitweb, it seems that v2016.03 was released.. > But i can't pull and fetch anything with http.. ..

[U-Boot] Problem of git clone with http

2016-03-31 Thread Jaehoon Chung
Hi all, I have fetched the u-boot/master with http, not git. url = http://git.denx.de/u-boot.git When i saw the gitweb, it seems that v2016.03 was released.. But i can't pull and fetch anything with http.. $ git pull Already up-to-date. $ git show origin/master commit 077678eb0c226e52a1f90edabd

Re: [U-Boot] Problem with sf write on Arria 5.

2016-03-30 Thread Chin Liang See
On Wed, 2016-03-30 at 13:46 +, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, > > > Do "dcache off" and then update the flash again, it will work. > > That's > > the cache issue which we cannot track down. > > Thank you for you quick support! > > Maybe it's worth to invent a tempor

Re: [U-Boot] Problem with sf write on Arria 5.

2016-03-30 Thread Marek Vasut
On 03/30/2016 03:46 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, > >> Do "dcache off" and then update the flash again, it will work. That's >> the cache issue which we cannot track down. > > Thank you for you quick support! > > Maybe it's worth to invent a temporary solution? > B

Re: [U-Boot] Problem with sf write on Arria 5.

2016-03-30 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, > Do "dcache off" and then update the flash again, it will work. That's > the cache issue which we cannot track down. Thank you for you quick support! Maybe it's worth to invent a temporary solution? Because in other way users will face problems which are hard to find (I've been chasi

Re: [U-Boot] Problem with sf write on Arria 5.

2016-03-30 Thread Marek Vasut
On 03/30/2016 01:14 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Dear U-Boot support, > > I’m migrating to new U-Boot version from 2013 and now have problem with > writing to the flash. > > I have custom board with Altera Arria 5 SocFpga. > U-Boot version: 2016.03-rc1 > My flash: > SF: De

[U-Boot] Problem with sf write on Arria 5.

2016-03-30 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Dear U-Boot support, I'm migrating to new U-Boot version from 2013 and now have problem with writing to the flash. I have custom board with Altera Arria 5 SocFpga. U-Boot version: 2016.03-rc1 My flash: SF: Detected S25FL512S_256K with page size 512 Bytes, erase size 256 KiB, total 64 MiB I'm r

Re: [U-Boot] Problem with attaching UBI partition

2016-03-22 Thread Marek Vasut
On 03/22/2016 02:18 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi > >>> It's I belive in socfpga_common.h and it should be migrated to >>> socfpga_*_defconfig where it makes sense. Do you want to submit >>> a patch for this ? >> >> I put it in my todo list. >> Once I will finish with u-boo

Re: [U-Boot] Problem with attaching UBI partition

2016-03-22 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi > > It's I belive in socfpga_common.h and it should be migrated to > > socfpga_*_defconfig where it makes sense. Do you want to submit > > a patch for this ? > > I put it in my todo list. > Once I will finish with u-boot bringup I will submit the patch. > Currently I have Ethernet not working

Re: [U-Boot] Problem with attaching UBI partition

2016-03-04 Thread Marek Vasut
On 03/04/2016 01:24 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, Hi, >>> Currently I have Ethernet not working :( >> >> OK. Do you use the same ethernet controller as ArriaV SoCDK? There are two. > > Yes. I didn't changed that. > It is gmac1: ethernet@ff702000. > > I already s

Re: [U-Boot] Problem with attaching UBI partition

2016-03-04 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Jagan Teki Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Problem with attaching UBI partition On 03/04/2016 10:03 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, Hi, >> It's I belive in socfpga_common.h and it should be migrated to >> socfpga_*_defconfig where it makes s

Re: [U-Boot] Problem with attaching UBI partition

2016-03-04 Thread Marek Vasut
On 03/04/2016 10:03 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, Hi, >> It's I belive in socfpga_common.h and it should be migrated to >> socfpga_*_defconfig where it makes sense. Do you want to submit >> a patch for this ? > > I put it in my todo list. > Once I will finish with

Re: [U-Boot] Problem with attaching UBI partition

2016-03-04 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, > It's I belive in socfpga_common.h and it should be migrated to > socfpga_*_defconfig where it makes sense. Do you want to submit > a patch for this ? I put it in my todo list. Once I will finish with u-boot bringup I will submit the patch. Currently I have Ethernet not working :( B

Re: [U-Boot] Problem with attaching UBI partition

2016-03-03 Thread Marek Vasut
On 03/03/2016 12:51 PM, Stefan Roese wrote: > Hi Chin Liang, > > On 02.03.2016 13:24, Chin Liang See wrote: >>> On 01.03.2016 14:38, Chin Liang See wrote: On Tue, 2016-03-01 at 08:23 +0100, Stefan Roese wrote: > On 01.03.2016 07:53, Chin Liang See wrote: >> On Mon, 2016-02-29 at 23:55

Re: [U-Boot] Problem with attaching UBI partition

2016-03-03 Thread Stefan Roese
Hi Chin Liang, On 02.03.2016 13:24, Chin Liang See wrote: >> On 01.03.2016 14:38, Chin Liang See wrote: >>> On Tue, 2016-03-01 at 08:23 +0100, Stefan Roese wrote: On 01.03.2016 07:53, Chin Liang See wrote: > On Mon, 2016-02-29 at 23:55 +0100, Marek Vasut wrote: >> On 02/24/2016 09:59

Re: [U-Boot] Problem with attaching UBI partition

2016-03-02 Thread Chin Liang See
On Tue, 2016-03-01 at 16:35 +0100, Stefan Roese wrote: > Hi! Hi Stefan, > > (adding Marek to Cc again) > > On 01.03.2016 14:38, Chin Liang See wrote: > > On Tue, 2016-03-01 at 08:23 +0100, Stefan Roese wrote: > > > On 01.03.2016 07:53, Chin Liang See wrote: > > > > On Mon, 2016-02-29 at 23:55 +

Re: [U-Boot] Problem with attaching UBI partition

2016-03-01 Thread Jagan Teki
Hi Denis, On 1 March 2016 at 18:34, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, > >>Try enabling CONFIG_SPI_FLASH_BAR in your board config ;-) > > That solved my issue. > Thank you very much. > I removed workaround from the code. Sorry, I couldn't understand the issue nor what you s

Re: [U-Boot] Problem with attaching UBI partition

2016-03-01 Thread Stefan Roese
Hi! (adding Marek to Cc again) On 01.03.2016 14:38, Chin Liang See wrote: On Tue, 2016-03-01 at 08:23 +0100, Stefan Roese wrote: On 01.03.2016 07:53, Chin Liang See wrote: On Mon, 2016-02-29 at 23:55 +0100, Marek Vasut wrote: On 02/24/2016 09:59 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrot

Re: [U-Boot] Problem with attaching UBI partition

2016-03-01 Thread Marek Vasut
On 03/01/2016 02:53 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Jagan, > >> Sorry, I couldn't understand the issue nor what you solved? because, >> socfpga_arria5_defconfig by default have CONFIG_SPI_FLASH_BAR enabled >> and even sf probe looks no warning for enabling the same. If you >>

Re: [U-Boot] Problem with attaching UBI partition

2016-03-01 Thread Marek Vasut
On 03/01/2016 02:04 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, > >> Try enabling CONFIG_SPI_FLASH_BAR in your board config ;-) > > That solved my issue. > Thank you very much. > I removed workaround from the code. > > Best regards, > Denis Bakhvalov > Yay :-) -- Best regards

Re: [U-Boot] Problem with attaching UBI partition

2016-03-01 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Jagan, > Sorry, I couldn't understand the issue nor what you solved? because, > socfpga_arria5_defconfig by default have CONFIG_SPI_FLASH_BAR enabled > and even sf probe looks no warning for enabling the same. If you > haven't enable CONFIG_SPI_FLASH_BAR then spi_flash core will give > warning

Re: [U-Boot] Problem with attaching UBI partition

2016-03-01 Thread Chin Liang See
On Tue, 2016-03-01 at 08:23 +0100, Stefan Roese wrote: > On 01.03.2016 07:53, Chin Liang See wrote: > > On Mon, 2016-02-29 at 23:55 +0100, Marek Vasut wrote: > > > On 02/24/2016 09:59 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) > > > wrote: > > > > Hello Heiko, > > > > > > > > > Which U-Boot version

Re: [U-Boot] Problem with attaching UBI partition

2016-03-01 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, >Try enabling CONFIG_SPI_FLASH_BAR in your board config ;-) That solved my issue. Thank you very much. I removed workaround from the code. Best regards, Denis Bakhvalov ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] Problem with attaching UBI partition

2016-02-29 Thread Stefan Roese
On 01.03.2016 07:53, Chin Liang See wrote: On Mon, 2016-02-29 at 23:55 +0100, Marek Vasut wrote: On 02/24/2016 09:59 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: Hello Heiko, Which U-Boot version? Which board? This is U-Boot v2016.03-rc1. I have custom board with socfpga Arria5 onboard.

Re: [U-Boot] Problem with attaching UBI partition

2016-02-29 Thread Chin Liang See
On Mon, 2016-02-29 at 23:55 +0100, Marek Vasut wrote: > On 02/24/2016 09:59 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > > Hello Heiko, > > > > > Which U-Boot version? Which board? > > > > This is U-Boot v2016.03-rc1. I have custom board with socfpga > > Arria5 > > onboard. > > > > > Where

Re: [U-Boot] Problem with attaching UBI partition

2016-02-29 Thread Marek Vasut
On 02/24/2016 09:59 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hello Heiko, > >> Which U-Boot version? Which board? > > This is U-Boot v2016.03-rc1. I have custom board with socfpga Arria5 > onboard. > >> Where does this leading 0xff come from? There seems a problem with >> your spi nor

Re: [U-Boot] Problem with attaching UBI partition

2016-02-29 Thread Marek Vasut
On 02/29/2016 05:44 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Jagan, Heiko, > >> Did you enable CONFIG_SPI_FLASH_SPANSION on your config, becuase >> S25FL512S is already been added u-boot. Pls- check the same and let me >> know if you find any issues while detecting the flash. > >> Wh

Re: [U-Boot] Problem with attaching UBI partition

2016-02-29 Thread Jagan Teki
+ Marek On 29 February 2016 at 22:14, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Jagan, Heiko, > >> Did you enable CONFIG_SPI_FLASH_SPANSION on your config, becuase >> S25FL512S is already been added u-boot. Pls- check the same and let me >> know if you find any issues while detecting the

Re: [U-Boot] Problem with attaching UBI partition

2016-02-29 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Jagan, Heiko, > Did you enable CONFIG_SPI_FLASH_SPANSION on your config, becuase > S25FL512S is already been added u-boot. Pls- check the same and let me > know if you find any issues while detecting the flash. > Whether the driver detecting flash or not with RDID, please define > DEBUG on dri

Re: [U-Boot] Problem with attaching UBI partition

2016-02-28 Thread Jagan Teki
Hi Denis, On 24 February 2016 at 14:29, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hello Heiko, > >> Which U-Boot version? Which board? > > This is U-Boot v2016.03-rc1. > I have custom board with socfpga Arria5 onboard. > >> Where does this leading 0xff come from? There seems a problem >> wit

Re: [U-Boot] Problem with attaching UBI partition

2016-02-28 Thread Heiko Schocher
Hello Denis, Am 24.02.2016 um 09:59 schrieb Bakhvalov, Denis (Nokia - PL/Wroclaw): Hello Heiko, Which U-Boot version? Which board? This is U-Boot v2016.03-rc1. I have custom board with socfpga Arria5 onboard. Where does this leading 0xff come from? There seems a problem with your spi nor f

Re: [U-Boot] Problem with attaching UBI partition

2016-02-24 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hello Heiko, > Which U-Boot version? Which board? This is U-Boot v2016.03-rc1. I have custom board with socfpga Arria5 onboard. > Where does this leading 0xff come from? There seems a problem > with your spi nor flash driver? Yes, you're right. I have problems with the driver. As I mentioned in

Re: [U-Boot] Problem with attaching UBI partition

2016-02-23 Thread Heiko Schocher
Hello Dennis, Am 22.02.2016 um 15:17 schrieb Bakhvalov, Denis (Nokia - PL/Wroclaw): Dear U-Boot support, I have problems while running following commands in U-Boot: Which U-Boot version? Which board? U-Boot => sf probe 0 0 0 SF: Detected S25FL512S with page size 512, total: 67108864 U-Boot

Re: [U-Boot] Problem with attaching UBI partition

2016-02-23 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi, I found that I have problem with reading flash contents: When dumping the flash from Linux env: $ cat /dev/mtd5 > /tmp/flash.bin : 55424923 0100 0003 But when I dump the flash contents from U-Boot I see this: => sf read 0x1B00 0x01B0 0x1000 => md 0x1B0

[U-Boot] Problem with attaching UBI partition

2016-02-22 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Dear U-Boot support, I have problems while running following commands in U-Boot: U-Boot => sf probe 0 0 0 SF: Detected S25FL512S with page size 512, total: 67108864 U-Boot => mtdparts device nor0 , # parts = 4 #: namesizeoffset mask_flags 0: boot

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-12 Thread Marek Vasut
On 02/12/2016 04:39 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, Hi Denis, >> That's fine, just check if you did some modifications to the altera fork >> of u-boot. Especially interesting would be PLL/pinmux/DRAM config. > > I tried to launch altera branch from here: > https://g

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-12 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, > That's fine, just check if you did some modifications to the altera fork > of u-boot. Especially interesting would be PLL/pinmux/DRAM config. I tried to launch altera branch from here: https://github.com/altera-opensource/u-boot-socfpga. It didn't work out of the box as well. I will

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-12 Thread Marek Vasut
On 02/12/2016 03:00 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, Hi Denis, >>> Press the "WARM RESET" button of the HPS (located top-right, if you have >>> the board oriented with HPS ethernet on the top-left). Do you >>> see any console output then ? You do use the top-right mini

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-12 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, > > Press the "WARM RESET" button of the HPS (located top-right, if you have > > the board oriented with HPS ethernet on the top-left). Do you > > see any console output then ? You do use the top-right miniUSB port > > for console, right ? > > Currently board is integrated in RF unit. I

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-12 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
> > I tried mainline U-boot with your patches as well as socfpga branch. > > Still no success. > > Did you try the image I sent you ? That one is tested to work on AV SoCDK. I tried it also. The same result. > > There is no output on the console. > > Once again when I'm uploading old version of U

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-12 Thread Marek Vasut
On 02/12/2016 09:44 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, Hi Denis, > I tried mainline U-boot with your patches as well as socfpga branch. > Still no success. Did you try the image I sent you ? That one is tested to work on AV SoCDK. > There is no output on the console. >

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-12 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, I tried mainline U-boot with your patches as well as socfpga branch. Still no success. There is no output on the console. Once again when I'm uploading old version of U-boot and preloader (from 2013) at least I can see the output on the console. What could be the next step? Best regar

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-11 Thread Marek Vasut
On 02/11/2016 04:29 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: >> 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

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-11 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
> 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: >

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-11 Thread Marek Vasut
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 .bi

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-11 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
$ 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. >From manual: "HPS Flash Programmer The utility accepts a Binary File with a required ".bin" extension. The HPS flash programmer command-line syntax is

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-11 Thread Marek Vasut
On 02/11/2016 01:45 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, > > Here are my build steps: > > denis@DendiMachine:~/WorkSpace/u-boot$ make clean > CLEAN dts/../arch/arm/dts > CLEAN dts > CLEAN examples/standalone > CLEAN tools > CLEAN tools/lib tools/common

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-11 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, Here are my build steps: denis@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

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-11 Thread Marek Vasut
On 02/11/2016 11:01 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, Hi Denis, >> Please just use mainline everything. If you use Arria V SoCDK, you can >> just grab 2016.01 , compile it and write u-boot-with-spl-dtb.sfp to >> offset 0x0 of the QSPI and it should just magically work.

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-11 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, > Please just use mainline everything. If you use Arria V SoCDK, you can > just grab 2016.01 , compile it and write u-boot-with-spl-dtb.sfp to > offset 0x0 of the QSPI and it should just magically work. I haven't found the file with the name u-boot-with-spl-dtb.sfp. denis@DendiMachine:

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-10 Thread Marek Vasut
On 02/10/2016 02:18 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, Hi Denis, >> That's not mainline SPL. Please use mainline SPL with mainline U-Boot. >> Mixing and matching various versions of U-Boot and SPL is not supported. > >> Is there any reason why you are using non-mainline

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-10 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, > That's not mainline SPL. Please use mainline SPL with mainline U-Boot. > Mixing and matching various versions of U-Boot and SPL is not supported. > Is there any reason why you are using non-mainline SPL ? We received information from Altera that we should stick to this previous vers

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-09 Thread Marek Vasut
On Tuesday, February 09, 2016 at 04:36:33 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi, Hi! > Thank you for you responses! > > @To Marek: > > It would be very helpful to see the whole boot output, not just U-Boot > > output. For example SPL output is missing. Are you using mainline U-B

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-09 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi, Thank you for you responses! @To Marek: > It would be very helpful to see the whole boot output, not just U-Boot output. > For example SPL output is missing. Are you using mainline U-Boot SPL or not ? Here is the output from SPL: U-Boot SPL 2013.01.01-svn564 (May 27 2015 - 17:58:12) Board

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-08 Thread Marek Vasut
On Monday, February 08, 2016 at 01:22:33 PM, Wolfgang Denk wrote: > Dear Denis, Hi, > In message you wrote: > > 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. > > What do you mean by "current

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-08 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
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

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-08 Thread Calvin Johnson
Hi Denis, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wolfgang > Denk > Sent: Monday, February 08, 2016 5:53 PM > To: Bakhvalov, Denis (Nokia - PL/Wroclaw) > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] Problem

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-08 Thread Wolfgang Denk
Dear Denis, In message you wrote: > > 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. What do you mean by "current" here? UBI/UBIFS support in U-Boot was actually adapted from the Linux kernel,

  1   2   3   4   5   >