Re: [U-Boot] [U-boot] Question about bootp structure pack

2017-03-07 Thread Eric BOUXIROT
2017-02-27 10:07 GMT+01:00 Lukasz Majewski : > On Sun, 26 Feb 2017 07:27:42 +0100 > Eric BOUXIROT wrote: > >> I’m using u-boot-2015.07 in one of my project based on vpac270 soc >> module. >> >> u-boot is well configured and build is fine without error. >> >> Gcc is v3.4.5 and glibc v2.3.6 built by

Re: [U-Boot] [U-boot] Question about bootp structure pack

2017-03-02 Thread Eric BOUXIROT
Hi Lukasz, >> I’m using u-boot-2015.07 in one of my project based on vpac270 soc >> module. >> >> u-boot is well configured and build is fine without error. >> >> Gcc is v3.4.5 and glibc v2.3.6 built by crosstool 0.43 for >> arm-softfloat-linux-gnu > > Could you try to use newer gcc and see if boo

Re: [U-Boot] [U-boot] Question about bootp structure pack

2017-02-27 Thread Lukasz Majewski
On Sun, 26 Feb 2017 07:27:42 +0100 Eric BOUXIROT wrote: > I’m using u-boot-2015.07 in one of my project based on vpac270 soc > module. > > u-boot is well configured and build is fine without error. > > Gcc is v3.4.5 and glibc v2.3.6 built by crosstool 0.43 for > arm-softfloat-linux-gnu Could y

[U-Boot] [U-boot] Question about bootp structure pack

2017-02-26 Thread Eric BOUXIROT
Hi everyone, I’m using u-boot-2015.07 in one of my project based on vpac270 soc module. u-boot is well configured and build is fine without error. Gcc is v3.4.5 and glibc v2.3.6 built by crosstool 0.43 for arm-softfloat-linux-gnu My problem is when i use DHCP command to retrieve a file from

[U-Boot] [U-boot] Question about the (new) U-Boot Timer API

2014-08-01 Thread TigerLiu
Hi, Wolfgang: The wiki (http://www.denx.de/wiki/U-Boot/TaskTimerAPI) introduced new U-Boot Timer API, such as: time_ms_delta_raw() time_ms_delta_max() .. Not find in 2014.07 code package. Were they not adopted by u-boot maintainer? Best wishes,

Re: [U-Boot] [U-boot] question about nand_scan_bbt()

2014-07-18 Thread Scott Wood
On Wed, 2014-07-09 at 18:27 +0800, tiger...@via-alliance.com wrote: > Hi, Scott: > > I have a question about nand_scan_bbt() function in > drivers/mtd/nand/nand_bbt.c . > > …… > > len = (1 << this->bbt_erase_shift); // bbt_erase_shift = 18 > (256KB) > > len += (len >>

[U-Boot] [U-boot] question about nand_scan_bbt()

2014-07-09 Thread TigerLiu
Hi, Scott: I have a question about nand_scan_bbt() function in drivers/mtd/nand/nand_bbt.c . .. len = (1 << this->bbt_erase_shift); // bbt_erase_shift = 18 (256KB) len += (len >> this->page_shift) * mtd->oobsize; buf = vmalloc(len); ..

Re: [U-Boot] [U-boot] question about one env variable size

2014-02-19 Thread TigerLiu
Hi, Denk: Thanks a lot! I got it! Not exceed CONFIG_SYS_PBSIZE defined in my platform config file is a good choice! >What exactly was your reason to worry about the maximum size for env >vars? My colleage wanted to save a variable which contains 8KB data. He asked me whether it was ok for u-boot c

Re: [U-Boot] [U-boot] question about one env variable size

2014-02-19 Thread Wolfgang Denk
Dear tiger...@via-alliance.com, In message you wrote: > > I want to know the size limit for a single env variable. In theory the size of the variable is only limited by the free room in the envrionment (the size of which you configure in your board config file). > I have reviewed the code: >

[U-Boot] [U-boot] question about one env variable size

2014-02-19 Thread TigerLiu
Hi, experts: I want to know the size limit for a single env variable. I have reviewed the code: 1. It seems the size limit for a single env variable is 1M bytes, right? #defineMAX_ENV_SIZE (1 << 20) /* 1 MiB */ (in common/cmd_nvedit.c) Best wishes, ___

Re: [U-Boot] [U-boot]question: why write bbt and search bbt use different ops mode in nand_bbt.c in U-boot 2013.04?

2013-09-24 Thread Scott Wood
On Tue, 2013-09-24 at 10:13 +0800, tiger...@viatech.com.cn wrote: > It's confused that search BBT and write BBT uses different mtd ops > mode. And also data will not be valid if U-boot uses mtd ops > MTD_OOB_RAW during reading and no software ECC is implemented. > > I also noticed that in U-boot2

[U-Boot] [U-boot]question: why write bbt and search bbt use different ops mode in nand_bbt.c in U-boot 2013.04?

2013-09-23 Thread TigerLiu
Hi , Scott: First, My uboot version is 2013.04. In the function scan_write_bbt(), U-boot uses MTD_OOB_PLACE to write BBT data and BBT pattern. See ">>>" below static int scan_write_bbt(struct mtd_info *mtd, loff_t offs, size_t len, uint8_t *buf, uint8_t *oob)

Re: [U-Boot] [U-boot] question about pl310.h / armv7.h

2013-08-20 Thread Matt Sealey
I would agree with the idea moving pl310 functionality into pl310-specific files - armv7 doesn't dictate use of pl310 (or an external cache controller of any nature) at least for about half the possible cores you could go find. Those that need/configure for an external L2 controller may not even re

[U-Boot] [U-boot] question about pl310.h / armv7.h

2013-08-19 Thread TigerLiu
Hi, experts: There are 4 functions definition in arch/arm/include/asm/pl310.h . But not implemented in cache-pl310.c file. And the implemented functions in cache-pl310.c file are defined in arch/arm/include/asm/armv7.h . So, maybe pl310.h should be deleted? Or function declarations are m

[U-Boot] U-Boot question

2013-08-12 Thread Steven Rosenberg
Hi, I search the FAQs, but didn't quite find the right answer. I'm trying to understand how to load a binary from either U-Boot or directly from the bootstrapping that loads U-Boot (instead of U-Boot) and preferable multiple binaries at once (from the code automatically the way the bootstrappin

[U-Boot] U-boot, question

2011-04-25 Thread Stanislav Bezzubtcev
Hello, All! Can you please answer the following questions: * Is there an ability to access files stored on a UBIFS partition on a flash drive connected via SPI? * If yes, are there any pitfalls in using UBIFS with SPI? I will be glad to get any comments on this topic. Regards Stas