[U-Boot] [PATCH v3 04/17] arm: socfpga: sockit: Undefine CONFIG_SPI_FLASH_USE_4K_SECTORS

Chin Liang See clsee at altera.com
Wed Dec 23 02:36:13 CET 2015


On Wed, 2015-12-23 at 01:47 +0100, Marek Vasut wrote:
> On Wednesday, December 23, 2015 at 01:21:31 AM, Chin Liang See wrote:
> > On Tue, 2015-12-22 at 21:28 +0100, Marek Vasut wrote:
> > > On Tuesday, December 22, 2015 at 08:32:29 AM, Chin Liang See
> > > wrote:

[..]

> > > > 
> >   CFG     spl/u-boot-spl.cfg
> >   FDTGREP spl/u-boot-spl.dtb
> >   CAT     spl/u-boot-spl-dtb.bin
> >   MKIMAGE spl/u-boot-spl-dtb.sfp
> > make[1]: warning:  Clock skew detected.  Your build may be
> > incomplete.
> 
> This is a bit weird, isn't it ;-)

Yah, this is something need be hammered

> 
> >   MKIMAGE u-boot.img
> >   COPY    u-boot.dtb
> >   CAT     u-boot-dtb.bin
> >   MKIMAGE u-boot-dtb.img
> 
> [...]
> 
> > > There's buildman for doing such bulk builds, let me know if you
> > > need
> > > help
> > > setting it up.
> > 
> > That's sound good to me instead i invoke it manually every time.
> > Let me
> > take a look. A quick link would be much appreciated.
> 
> Thomas did a good concise writeup on setting up buildman:
> 
> http://www.mail-archive.com/u-boot@lists.denx.de/msg191914.html

Yah, I saw the conversation. Cool, let me set it up.

> 
> > > I will drop this patch and fix the remaining three during
> > > application, since
> > > I want to get this set out of the door, but please do some better
> > > testing
> > > next time.
> > 
> > Do share you build error so I can simulate the build error.
> 
> CONFIG_SPI_FLASH_USE_4K_SECTORS was used twice in the config file
> sockit
> config file (configs/socfpga_sockit) .

Oh I believe its commented out.

bash-3.2$ git grep --color CONFIG_SPI_FLASH_USE_4K_SECTORS
configs/socfpga_arria5_defconfig:CONFIG_SPI_FLASH_USE_4K_SECTORS=n
configs/socfpga_cyclone5_defconfig:CONFIG_SPI_FLASH_USE_4K_SECTORS=n
configs/socfpga_sockit_defconfig:# CONFIG_SPI_FLASH_USE_4K_SECTORS is
not set
configs/socfpga_sockit_defconfig:CONFIG_SPI_FLASH_USE_4K_SECTORS=n
configs/socfpga_sr1500_defconfig:CONFIG_SPI_FLASH_USE_4K_SECTORS=n
drivers/mtd/spi/sf_internal.h:#ifdef CONFIG_SPI_FLASH_USE_4K_SECTORS

Thanks
Chin Liang



More information about the U-Boot mailing list