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

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

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

2016-03-04 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
om>; EXT Jagan Teki <jt...@openedev.com> 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 migrate

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 :(

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

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

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)

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

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

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

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

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. > > > > >

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. > >>

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

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

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?

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

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

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

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

[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