Re: [U-Boot] Searching for JFFS2 understanding.

2011-04-03 Thread Wolfgang Denk
Dear Charles Krinke, In message you wrote: > > I have *CONFIG_CMD_JFFS2* defined, but not *CONFIG_CMD_MTDPARTS* as they > seem to be mutually exclusive. They are not. There are 64 boards in mainline which define both. > thinking this would define sufficiently mtdparts for the Linux kernel to

[U-Boot] [PATCH] gpio: generalize for all generic gpio providers

2011-04-03 Thread Mike Frysinger
The Blackfin gpio command isn't terribly Blackfin-specific. So generalize the few pieces into two new optional helpers: name_to_gpio() - turn a string name into a GPIO # gpio_status() - display current pin bindings (think /proc/gpio) Once these pieces are pulled out, we can reloca

[U-Boot] [PATCH 02/34] Blackfin: skip RAM display for 0 mem systems

2011-04-03 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- arch/blackfin/lib/board.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c index 8eca7d6..59a0810 100644 --- a/arch/blackfin/lib/board.c +++ b/arch/blackfin/lib/board.c @@ -283,8

[U-Boot] [PATCH 01/34] Blackfin: bf518f-ezbrd: don't require SPI logic all the time

2011-04-03 Thread Mike Frysinger
Only the first run of boards had a ksz switch on it, so if building for a newer silicon rev or SPI is disabled, don't bother checking for the ksz. Signed-off-by: Mike Frysinger --- board/bf518f-ezbrd/bf518f-ezbrd.c | 30 +- 1 files changed, 21 insertions(+), 9 delet

[U-Boot] [PATCH 04/34] Blackfin: unify bootmode based LDR_FLAGS setup

2011-04-03 Thread Mike Frysinger
Unify this convention for all Blackfin boards. Signed-off-by: Mike Frysinger --- arch/blackfin/config.mk |3 +++ board/bct-brettl2/config.mk |3 --- board/bf518f-ezbrd/config.mk |3 --- board/bf526-ezbrd/config.mk |3 --- board/bf527-ad7160-eval/config.

[U-Boot] [PATCH 03/34] Blackfin: drop CONFIG_SYS_TEXT_BASE from boards

2011-04-03 Thread Mike Frysinger
We don't want/use this value for Blackfin boards, so punt it and have the common code error out when people try to use it. Signed-off-by: Mike Frysinger --- arch/blackfin/config.mk |4 board/bct-brettl2/config.mk |3 --- board/bf518f-ezbrd/config.mk |3 ---

[U-Boot] [PATCH 00/34] Blackfin updates for 2011.06

2011-04-03 Thread Mike Frysinger
Andreas Schallenberg (1): Blackfin: dnp5370: new board port Chong Huang (1): Blackfin: bf525-ucr2: new board port Cliff Cai (1): Blackfin: bfin_sdh: set all timer bits before transfer Kyle Moffett (1): Blackfin: replace "bfin_reset_or_hang()" with "panic()" Mike Frysinger (29): Blackf

[U-Boot] [PATCH 05/34] Blackfin: move CONFIG_BFIN_CPU back to board config.h

2011-04-03 Thread Mike Frysinger
This is a revert of 821ad16fa9900c as Wolfgang doesn't like the new code. Signed-off-by: Mike Frysinger --- arch/blackfin/config.mk |8 +++- arch/blackfin/include/asm/config.h |5 + arch/blackfin/lib/board.c |2 +- board/bct-brettl2/config.mk |

[U-Boot] [PATCH 06/34] Blackfin: bf527-sdp: update custom CFLAGS paths

2011-04-03 Thread Mike Frysinger
Looks like the filesystem shuffling missed the SDP board. Signed-off-by: Mike Frysinger --- board/bf527-sdp/config.mk |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/bf527-sdp/config.mk b/board/bf527-sdp/config.mk index ce8f75c..7271774 100644 --- a/board/bf527-

[U-Boot] [PATCH 07/34] Blackfin: bf537-pnav/blackstamp/blackvme: drop empty config.mk files

2011-04-03 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- board/bf537-pnav/config.mk | 25 - board/blackstamp/config.mk | 25 - board/blackvme/config.mk | 24 3 files changed, 0 insertions(+), 74 deletions(-) delete mode 100644 board/bf537

[U-Boot] [PATCH 08/34] Blackfin: dnp5370: new board port

2011-04-03 Thread Mike Frysinger
From: Andreas Schallenberg Info about the hardware can be found here: http://www.dilnetpc.com/dnp0086.htm Signed-off-by: Andreas Schallenberg Signed-off-by: Mike Frysinger --- MAINTAINERS |4 ++ board/dnp5370/Makefile| 54 +++ board/dnp5370/dnp5

[U-Boot] [PATCH 09/34] Blackfin: bf525-ucr2: new board port

2011-04-03 Thread Mike Frysinger
From: Chong Huang Signed-off-by: Chong Huang Signed-off-by: Haitao Zhang Signed-off-by: Mike Frysinger --- MAINTAINERS |5 ++ board/bf525-ucr2/Makefile | 54 + board/bf525-ucr2/bf525-ucr2.c | 16 ++ boards.cfg|1 +

[U-Boot] [PATCH 10/34] Blackfin: serial: clean up muxing a bit

2011-04-03 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- arch/blackfin/cpu/serial.h | 51 +-- 1 files changed, 20 insertions(+), 31 deletions(-) diff --git a/arch/blackfin/cpu/serial.h b/arch/blackfin/cpu/serial.h index f9e311f..b0cf09a 100644 --- a/arch/blackfin/cpu/serial.h

[U-Boot] [PATCH 11/34] Blackfin: bf537-minotaur/bf537-srv1: undefine nfs when net is disabled

2011-04-03 Thread Mike Frysinger
Fixes a build error due to new partial linking logic. Signed-off-by: Mike Frysinger --- include/configs/bf537-minotaur.h |1 + include/configs/bf537-srv1.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/bf537-minotaur.h b/include/configs/bf537-mi

[U-Boot] [PATCH 12/34] Blackfin: bf537: fix L1 data defines

2011-04-03 Thread Mike Frysinger
The __BFIN_DEF_ADSP_BF537_proc__ define isn't setup anymore, so use the one coming from the compiler. Signed-off-by: Mike Frysinger --- arch/blackfin/include/asm/mach-bf537/BF534_def.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/include/asm/mach-bf537/

[U-Boot] [PATCH 13/34] Blackfin: bf561-ezkit/ibf-dsp561: invert env offset/addr logic

2011-04-03 Thread Mike Frysinger
Have CONFIG_ENV_ADDR be based on CONFIG_ENV_OFFSET rather than the other way around so that we can use CONFIG_ENV_OFFSET during build. It also avoids a little address duplication. Signed-off-by: Mike Frysinger --- include/configs/bf561-ezkit.h |4 ++-- include/configs/ibf-dsp561.h |4 +

[U-Boot] [PATCH 14/34] Blackfin: fix bd_t handling

2011-04-03 Thread Mike Frysinger
The recent global data changes (making the size autogenerated) broke the board info handling on Blackfin ports as we were lying and lumping the bd_t size in with the gd_t size. So use the new dedicated bd_t size to setup its own address in memory. Signed-off-by: Mike Frysinger --- arch/blackfin

[U-Boot] [PATCH 16/34] Blackfin: drop duplicate system mmr and L1 scratch defines

2011-04-03 Thread Mike Frysinger
Common code already takes care of setting up these defines when a port hasn't specified them, so punt the duplicate values. Signed-off-by: Mike Frysinger --- arch/blackfin/include/asm/mach-bf518/BF512_def.h |6 -- arch/blackfin/include/asm/mach-bf533/BF531_def.h |6 -- arch/black

[U-Boot] [PATCH 19/34] Blackfin: only check for os log when we have external memory

2011-04-03 Thread Mike Frysinger
If the part has no external memory configured, then there will be no os log for us to check, and any attempt to access that memory will trigger hardware errors. Signed-off-by: Mike Frysinger --- arch/blackfin/lib/board.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/a

[U-Boot] [PATCH 21/34] Blackfin: default to L1 bank A when L1 bank B does not exist

2011-04-03 Thread Mike Frysinger
Some parts lack Bank B in L1 data, so have the linker script fall back to Bank A when that happens. This way we can still leverage L1 data. Signed-off-by: Mike Frysinger --- arch/blackfin/lib/u-boot.lds.S | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/bla

[U-Boot] [PATCH 22/34] Blackfin: bf506f-ezkit: new board port

2011-04-03 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- MAINTAINERS |1 + board/bf506f-ezkit/Makefile | 54 +++ board/bf506f-ezkit/bf506f-ezkit.c | 27 ++ boards.cfg|1 + include/configs/bf506f-ezkit.h| 102 +++

[U-Boot] [PATCH 20/34] Blackfin: turn off caches when self initializing

2011-04-03 Thread Mike Frysinger
When bootstrapping ourselves on the fly at runtime (via "go"), we need to turn off the caches to avoid taking software exceptions. Since caches need CPLBs and CPLBs need exception handlers, but we're about to rewrite the code in memory where those exception handlers live, we need to turn off cache

[U-Boot] [PATCH 25/34] Blackfin: bootldr: use common defines

2011-04-03 Thread Mike Frysinger
Now that the common bootrom.h sets up defines for us, switch to them rather than our own local set. Signed-off-by: Mike Frysinger --- common/cmd_bootldr.c | 21 - 1 files changed, 8 insertions(+), 13 deletions(-) diff --git a/common/cmd_bootldr.c b/common/cmd_bootldr.c ind

[U-Boot] [PATCH 24/34] Blackfin: bootrom.h: sync with toolchain

2011-04-03 Thread Mike Frysinger
We need the updated LDR bit defines for our LDR utils. Signed-off-by: Mike Frysinger --- .../include/asm/mach-common/bits/bootrom.h | 86 +-- 1 files changed, 59 insertions(+), 27 deletions(-) diff --git a/arch/blackfin/include/asm/mach-common/bits/bootrom.h b/arch/bl

[U-Boot] [PATCH 23/34] Blackfin: adi boards: drop old ELF define

2011-04-03 Thread Mike Frysinger
This define isn't used anywhere anymore, so punt it. Signed-off-by: Mike Frysinger --- include/configs/bfin_adi_common.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h index 03c6433..b86ca68 100644 -

[U-Boot] [PATCH 26/34] Blackfin: ldrinfo: new command

2011-04-03 Thread Mike Frysinger
Simple command to decode/check an LDR image before we try to boot it. Signed-off-by: Mike Frysinger --- README |1 + common/Makefile |1 + common/cmd_ldrinfo.c | 192 ++ 3 files changed, 194 insertions(+), 0 deletions(-)

[U-Boot] [PATCH 27/34] Blackfin: adi boards: enable ldrinfo

2011-04-03 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- include/configs/bfin_adi_common.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h index b86ca68..9016a26 100644 --- a/include/configs/bfin_adi_common.h +++ b/include/c

[U-Boot] [PATCH 28/34] Blackfin: bfin_sdh: set all timer bits before transfer

2011-04-03 Thread Mike Frysinger
From: Cliff Cai The timer register is 32bits, not 16bit, so 0x won't fill it. Write out -1 to make sure to fill the whole thing. Signed-off-by: Cliff Cai Signed-off-by: Mike Frysinger --- drivers/mmc/bfin_sdh.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/driv

[U-Boot] [PATCH 29/34] Blackfin: bfin_sdh: add support for multiblock operations

2011-04-03 Thread Mike Frysinger
From: Sonic Zhang Don't forget to count full data size for the multiblock operation request. Signed-off-by: Sonic Zhang Signed-off-by: Mike Frysinger --- drivers/mmc/bfin_sdh.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/bfin_sdh.c b/drivers/mm

[U-Boot] [PATCH 31/34] Blackfin: replace "bfin_reset_or_hang()" with "panic()"

2011-04-03 Thread Mike Frysinger
From: Kyle Moffett The bfin_reset_or_hang function unnecessarily duplicates the panic() logic based on CONFIG_PANIC_HANG. This patch deletes 20 lines of code and just calls panic() instead. This also makes the following generic-restart conversion patch simpler. Signed-off-by: Kyle Moffett Sign

[U-Boot] [PATCH 30/34] Blackfin: adi boards: enable CONFIG_MONITOR_IS_IN_RAM

2011-04-03 Thread Mike Frysinger
Our monitor is always in RAM, so enable this define for the CFI layer. Signed-off-by: Mike Frysinger --- include/configs/bf506f-ezkit.h|1 + include/configs/bfin_adi_common.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/bf506f-ezkit.h b/include

[U-Boot] [PATCH 32/34] Blackfin: bf548-ezkit: move env sector

2011-04-03 Thread Mike Frysinger
U-Boot itself takes up more than 0x4 bytes, so we can't use that sector for the environment. Move it down a page. Signed-off-by: Mike Frysinger --- include/configs/bf548-ezkit.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/bf548-ezkit.h b/include

[U-Boot] [PATCH 34/34] Blackfin: bf526-ezbrd: get MAC from flash

2011-04-03 Thread Mike Frysinger
The MAC address is stored in the last flash sector rather than OTP. Signed-off-by: Mike Frysinger --- board/bf526-ezbrd/bf526-ezbrd.c | 29 + 1 files changed, 17 insertions(+), 12 deletions(-) diff --git a/board/bf526-ezbrd/bf526-ezbrd.c b/board/bf526-ezbrd/bf526-e

[U-Boot] [PATCH 33/34] Blackfin: bf518f-ezbrd: get MAC from flash

2011-04-03 Thread Mike Frysinger
The MAC address is stored in the last flash sector rather than OTP. Signed-off-by: Mike Frysinger --- board/bf518f-ezbrd/bf518f-ezbrd.c | 31 +-- 1 files changed, 17 insertions(+), 14 deletions(-) diff --git a/board/bf518f-ezbrd/bf518f-ezbrd.c b/board/bf518f-ezbrd

[U-Boot] [PATCH 1/2] MX31: mx31pdk: fix nand_spl

2011-04-03 Thread Stefano Babic
Commit f326cbba98bae21d41df8daac0bd78121d557af1 breaks mx31pdk, as the _end section in u-boot.lds is missing for the nand_spl production. Signed-off-by: Stefano Babic CC: Fabio Estevam --- nand_spl/board/freescale/mx31pdk/u-boot.lds |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) d

[U-Boot] [PATCH] MX35: Added bootcounter to mx35

2011-04-03 Thread Stefano Babic
Added bootcount_load() and bootcount_store(). The bootcounter is stored in the internal RAM at the address defined in the configuration file (CONFIG_BOOTCOUNT_ADDRESS). Signed-off-by: Stefano Babic --- arch/arm/cpu/arm1136/mx35/generic.c | 33 + arch/arm/inclu

Re: [U-Boot] [PATCH V6 2/5] mv_i2c: use structure to replace the direclty define

2011-04-03 Thread Lei Wen
Hi Prafulla, On Sat, Apr 2, 2011 at 2:29 AM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Lei Wen [mailto:lei...@marvell.com] >> Sent: Thursday, March 31, 2011 2:07 PM >> To: Heiko Schocher; Prafulla Wadaskar; Wolfgang Denk; u- >> b...@lists.denx.de; Marek Vasut; Ashish Kar

Re: [U-Boot] [PATCH V6 3/5] I2C: add i2c support for Pantheon platform

2011-04-03 Thread Lei Wen
On Sat, Apr 2, 2011 at 2:34 AM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Lei Wen [mailto:lei...@marvell.com] >> Sent: Thursday, March 31, 2011 2:07 PM >> To: Heiko Schocher; Prafulla Wadaskar; Wolfgang Denk; u- >> b...@lists.denx.de; Marek Vasut; Ashish Karkare; Prabhanj

[U-Boot] [PATCH] Add CONFIG_AT91FAMILY to AT91RM9200 arch

2011-04-03 Thread Jens Scharsig
* Add CONFIG_AT91FAMILY to AT91RM9200 arch Signed-off-by: Jens Scharsig --- This will also fix brocken EB+CPUx9k2 board in Version 2011.03 arch/arm/include/asm/arch-at91/at91rm9200.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/include/asm/arch-at91/at9

Re: [U-Boot] [PATCH 1/2] MX31: mx31pdk: fix nand_spl

2011-04-03 Thread Albert ARIBAUD
Hi Stefano, Le 03/04/2011 12:01, Stefano Babic a écrit : > Commit f326cbba98bae21d41df8daac0bd78121d557af1 breaks mx31pdk, > as the _end section in u-boot.lds is missing for the nand_spl > production. What command line should one use to reproduce the issue? I just did a ./MAKEALL mx31pdk from th

[U-Boot] [PATCH V7 0/5] add i2c support to pantheon and aramada100

2011-04-03 Thread Lei Wen
V2: rename the previous pxa_i2c to mvi2c, since this driver would be shared by many other Marvell platforms. V3: Clean the code sytle issue V4: add and* and or* to make set bit operation generic Also make i2c definition included in the ifdef V5: Fix code style issue of the first patch V6: Sepe

[U-Boot] [PATCH V7 1/5] pxa: move i2c driver to the common place

2011-04-03 Thread Lei Wen
For better sharing with other platform other than pxa's, it is more convenient to put the driver to the common place. Signed-off-by: Lei Wen --- Changelog: v2: rename previous pxa_i2c to mvi2c. V3: change previous name from pxa_i2c to mv_i2c clean code style issue exist in original code V4:

[U-Boot] [PATCH V7 2/5] mv_i2c: use structure to replace the direclty define

2011-04-03 Thread Lei Wen
Add i2c_clk_enable in the cpu specific code, since previous platform it, while new platform don't need. In the pantheon and armada100 platform, this function is defined as NULL one. Signed-off-by: Lei Wen --- Changelog: V2: NO CHANGE V3: clean code sytle issue V4: V5: V6: NO CHANGE V7: Fix com

[U-Boot] [PATCH V7 3/5] I2C: add i2c support for Pantheon platform

2011-04-03 Thread Lei Wen
Add i2c support to dkb board with pantheon soc. Signed-off-by: Lei Wen --- Changelog: V2: NO CHANGE V3: clean code sytle issue Add i2c clock enable code include in I2C configure define block V4: make i2c definition included in the ifdef V5: NO CHANGE V6: Move the CONFIG_CMD_I2C define place

[U-Boot] [PATCH V7 4/5] I2C: mv_i2c: add multi bus support

2011-04-03 Thread Lei Wen
Add the ability to support multiple i2c bus for mv_i2c Signed-off-by: Lei Wen --- Changelog: V2: NO CHANGE V3: clean code style issue V4: V5: V6: NO CHANGE V7: Make global change from PXA to MV drivers/i2c/mv_i2c.c | 36 +++- 1 files changed, 35 insertions(+

[U-Boot] [PATCH V7 5/5] I2C: add i2c support for Armada100 platform

2011-04-03 Thread Lei Wen
Add i2c support to aspenite board with Armada100 soc. Signed-off-by: Lei Wen --- Changelog: V2: NO CHANGE V3: clean code style issue V4: V5: NO CHANGE V6: Move the CONFIG_CMD_I2C define place V7: Make global change from PXA to MV move i2c setting to arch/arm/cpu/arm926ejs/armada100/cpu.c

Re: [U-Boot] [PATCH V6 2/5] mv_i2c: use structure to replace the direclty define

2011-04-03 Thread Wolfgang Denk
Dear Lei Wen, In message you wrote: > > >> @@ -114,13 +97,15 @@ static void i2c_reset(void) > >> static int i2c_isr_set_cleared(unsigned long set_mask, > >> unsigned long> cleared_mask) > >> { > >> - int timeout = 1; > >> + int timeout = 1000, isr; > >

Re: [U-Boot] [PATCH V7 2/5] mv_i2c: use structure to replace the direclty define

2011-04-03 Thread Wolfgang Denk
Dear Lei Wen, In message <1301835656-20512-3-git-send-email-lei...@marvell.com> you wrote: > Add i2c_clk_enable in the cpu specific code, since previous platform it, > while new platform don't need. In the pantheon and armada100 platform, > this function is defined as NULL one. > > Signed-off-by:

Re: [U-Boot] [PATCH] S5P: mmc: Resolved interrupt error during mmc_init

2011-04-03 Thread Minkyu Kang
Dear Raffaele Recalcati, On 3 April 2011 13:39, Raffaele Recalcati wrote: > Hi Minkyu, > > I have sent some patches about mmc and reviewed one, can you please > tell me what to do mainline them? > > 11 mar : > [PATCH 1/3][v3] mmc: checking status after commands with R1b response > --> it has one

[U-Boot] [PATCH 1/2] NAND: Fix integer overflow in ONFI detection of chips >= 4GiB

2011-04-03 Thread Florian Fainelli
From: Florian Fainelli This patch sync with David's patch on Linux in nand_flash_detect_onfi() commit 4ccb3b4497ce01fab4933704fe21581e30fda1a5 Author: David Woodhouse Date: Fri Dec 3 16:36:34 2010 + mtd: nand: Fix integer overflow in ONFI detection of chip

[U-Boot] [PATCH 2/2] NAND: rearrange ONFI revision checking, add ONFI 2.3

2011-04-03 Thread Florian Fainelli
From: Florian Fainelli This patch sync with Brian's patch on Linux in nand_flash_detect_onfi() commit b7b1a29d94c17e4341856381bccb4d17495bea60 Author: Brian Norris Date: Sun Dec 12 00:23:33 2010 -0800 mtd: nand: rearrange ONFI revision checking, add ONFI 2

[U-Boot] [PATCH 3/3] cpuat91: fix board support

2011-04-03 Thread Eric Bénard
- fix board support following relocation changes - switch to boards.cfg - disable i2c to keep size under 128kiB (1 sector) Signed-off-by: Eric Bénard --- Makefile | 10 --- board/eukrea/cpuat91/Makefile |4 +- board/eukrea/cpuat91/config.mk |1 - board/eukrea/cpu

[U-Boot] [PATCH 1/3] mp2usb: remove board support

2011-04-03 Thread Eric Bénard
this board was cancelled long time ago so remove it as it won't be maintained anymore Signed-off-by: Eric Bénard --- board/mp2usb/Makefile| 50 - board/mp2usb/config.mk |3 - board/mp2usb/flash.c | 552 -- board/mp2usb/mp2usb.c

[U-Boot] [PATCH 2/3] cpu9260: update board support

2011-04-03 Thread Eric Bénard
- update to new relocation code - switch to boards.cfg - get rid of LEGACY (still a little hack in .h to compile) - add nand boot configuration - boot tested for the following configurations : 9260 (64MB RAM & nor boot) 9260_nand (64MB RAM & nand boot) 9G20_128M (128MB RAM &

Re: [U-Boot] [PATCH 1/2] MX31: mx31pdk: fix nand_spl

2011-04-03 Thread Stefano Babic
On 04/03/2011 02:08 PM, Albert ARIBAUD wrote: > Hi Stefano, > Hi Albert, > Le 03/04/2011 12:01, Stefano Babic a écrit : >> Commit f326cbba98bae21d41df8daac0bd78121d557af1 breaks mx31pdk, >> as the _end section in u-boot.lds is missing for the nand_spl >> production. > > What command line should

Re: [U-Boot] Searching for JFFS2 understanding.

2011-04-03 Thread Charles Krinke
I believe the command line to the kernel is indeed not quite complete, but here it is at this point: *bootargs root=mtd:nor0 rw rootfstype=jffs2 mtdparts=nor0:3072k(u-boot),-(jffs2) console=ttyS0,115200* With this command line, the kernel printk's just before it panics are: *MTDSB: dev_name "mtd:

Re: [U-Boot] Searching for JFFS2 understanding.

2011-04-03 Thread Charles Krinke
A litrtle bit more info. I turned on the debug statements in u-boot and when I do an ls of the jffs2 file system, I see this: *=> ls ---mtdparts_init--- dev id: type = 1, num = 0, size = 0x0100, mtd_id = single part part : name = static, size = 0x0100, offset = 0x --- jffs2_part

[U-Boot] dynenv and mtdparts

2011-04-03 Thread haifeng zhang
Hi There I am trying to use new code( 2010.03 ) on my development board(mini2440) found out there is no command (dynenv and mtdparts) anymore. Are there any replacement for them? Thanks Craig ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx

Re: [U-Boot] [PATCH 1/2] MX31: mx31pdk: fix nand_spl

2011-04-03 Thread Fabio Estevam
Hi Stefano, On 4/3/2011 7:01 AM, Stefano Babic wrote: > Commit f326cbba98bae21d41df8daac0bd78121d557af1 breaks mx31pdk, > as the _end section in u-boot.lds is missing for the nand_spl > production. After applying your patch I was able to build and boot MX31PDK from NAND, so here goes my: > Sign

[U-Boot] [PATCH] MX25: tx25: Add _end section on nand_spl

2011-04-03 Thread Fabio Estevam
Commit f326cbb (arm: fix incorrect monitor protection region in FLASH) missed to update nand_spl/board/karo/tx25/u-boot.lds. Add the _end section. Signed-off-by: Fabio Estevam --- nand_spl/board/karo/tx25/u-boot.lds |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/nan

Re: [U-Boot] [PATCH 1/2] MX31: mx31pdk: fix nand_spl

2011-04-03 Thread Fabio Estevam
Hi Albert, --- On Sun, 4/3/11, Albert ARIBAUD wrote: > From: Albert ARIBAUD > Subject: Re: [U-Boot] [PATCH 1/2] MX31: mx31pdk: fix nand_spl > To: u-boot@lists.denx.de > Date: Sunday, April 3, 2011, 9:08 AM > Hi Stefano, > > Le 03/04/2011 12:01, Stefano Babic a écrit : > > Commit f326cbba98bae2

Re: [U-Boot] Booting kernel from NAND flash on AT91SAM9 custom board using fsload

2011-04-03 Thread Nicholas Kinar
Nicholas Kinar wrote: > > I now strongly believe that the bootargs are not being passed in > properly to the kernel. Having found a posting on the AT91 website [1], > I now realize that the Linux kernel has been built with a load address > of 0x20008000, but must be loaded to different address 0x2

Re: [U-Boot] mpq101 board broken

2011-04-03 Thread Alex Dubov
--- On Fri, 1/4/11, Wolfgang Denk wrote: > > In message <791834.81297...@web37605.mail.mud.yahoo.com> > you wrote: > > > > I pulled the git and recompiled, yet I don't see any > errors, > > everything is > > just fine. My compiler version is: > ... > > gcc version 4.5.1 (GCC) > > Seems you are

[U-Boot] [PATCH] eNET: Fix undefined reference to `monitor_flash_len'

2011-04-03 Thread Graeme Russ
commit cfbe861506e2dc3250ac99dc45bb3d1ac60f4857 removed the definition of monitor_flash_len from the eNET which was not picked up due to extensive use of the SRAM configuration target for testing Signed-off-by: Graeme Russ --- board/eNET/eNET.c |2 ++ 1 files changed, 2 insertions(+), 0 dele

Re: [U-Boot] [PATCHv2 3/4] I2C: add driver of st-ericsson u8500 i2c

2011-04-03 Thread Heiko Schocher
Hello John, John Rigby wrote: > From: Michael Brandt > > Signed-off-by: John Rigby > CC: Heiko Schocher > --- > v2: Incorporate suggestions from Heiko Schocher Thanks, one nitpicking comment... > > drivers/i2c/Makefile|1 + > drivers/i2c/u8500_i2c.c | 613 > ++

Re: [U-Boot] [PATCH 1/2] MX31: mx31pdk: fix nand_spl

2011-04-03 Thread Albert ARIBAUD
Le 04/04/2011 00:04, Fabio Estevam a écrit : > Hi Stefano, > > On 4/3/2011 7:01 AM, Stefano Babic wrote: >> Commit f326cbba98bae21d41df8daac0bd78121d557af1 breaks mx31pdk, >> as the _end section in u-boot.lds is missing for the nand_spl >> production. > > After applying your patch I was able to bui

Re: [U-Boot] [PATCH] MX25: tx25: Add _end section on nand_spl

2011-04-03 Thread Albert ARIBAUD
Le 04/04/2011 00:17, Fabio Estevam a écrit : > Commit f326cbb (arm: fix incorrect monitor protection region in FLASH) missed > to update > nand_spl/board/karo/tx25/u-boot.lds. > > Add the _end section. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-arm/master, thanks! Amicalement, --

[U-Boot] Your E-mail Have Just Been Awarded

2011-04-03 Thread Premier Oil Online Promo
Send Detail To Claim Your 750,000.00 GBP Awarded To You By The Premier Oil Online Promo in our last online random select Promo Game. Name:___ Address: Tel: Send Detail To Claim Your 750,000.00 GBP Awarded To You By The Premier Oil Online Promo in our last o

[U-Boot] [PATCH 3/3] mpc52xx, digsy_mtc: protect default flash sectors

2011-04-03 Thread Heiko Schocher
call flash_protect_default() to protect default sectors. Signed-off-by: Heiko Schocher --- board/digsy_mtc/digsy_mtc.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/board/digsy_mtc/digsy_mtc.c b/board/digsy_mtc/digsy_mtc.c index 79cb3f1..9f13a3d 100644 --- a/board/dig

[U-Boot] [PATCH 1/3] mpc52xx, digsy_mtc: change phy addr for rev5 boards.

2011-04-03 Thread Heiko Schocher
- rev5 board has phy addr 1 -> adapt CONFIG_PHY_ADDR define in board config file. - also fixup the phy addr entry in dts, before booting Linux. Signed-off-by: Heiko Schocher --- board/digsy_mtc/digsy_mtc.c |5 + include/configs/digsy_mtc.h |4 2 files changed, 9 insertions(+

[U-Boot] [PATCH 2/3] mtd, cfi: introduce void flash_protect_default(void)

2011-04-03 Thread Heiko Schocher
collect code which protects default sectors in a function, called flash_protect_default. So boardspecific code can call it too. Signed-off-by: Heiko Schocher cc: Stefan Roese --- drivers/mtd/cfi_flash.c | 77 +-- include/flash.h |1 + 2

[U-Boot] [PATCH 0/3] powerpc, mpc52xx: update for digsy_mtc support

2011-04-03 Thread Heiko Schocher
- change PHY addr for rev5 boards - protect default sectors in NOR flash again Heiko Schocher (3): mpc52xx, digsy_mtc: change phy addr for rev5 boards. mtd, cfi: introduce void flash_protect_default(void) mpc52xx, digsy_mtc: protect default flash sectors board/digsy_mtc/digsy_mtc.c |7