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
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
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
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
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.
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 ---
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
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 |
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-
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
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
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 +
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
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
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/
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 +
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
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
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
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
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 +++
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
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
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
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
-
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(-)
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
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
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
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
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 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
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
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
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
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
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
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
* 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
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
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
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:
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
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
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(+
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
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;
> >
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:
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
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
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
- 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
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
- 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 &
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
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:
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
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
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
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
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
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
--- 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
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
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
> ++
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
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,
--
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
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
- 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(+
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
- 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
72 matches
Mail list logo