[U-Boot] TFTP server support in U-boot

2008-12-15 Thread santosh pattar
Dear All, As of now in the U-boot only TFTP client is supported. I am planning to have TFTP server support in the u-boot. Can you please help me in this regarding? Please provide me few links if this has been done already, or links from where i can take some information and start working on it.

[U-Boot] [PATCH] at91: add at91sam9xeek board support

2008-12-15 Thread Nicolas Ferre
At91sam9xe is basically an at91sam9260 with embedded flash. We can manage it as another entry for at91sam9260 in the Makefile. Check documentation at : http://www.atmel.com/dyn/products/product_card.asp?part_id=4263 Signed-off-by: Nicolas Ferre --- Makefile| 17 + doc/

[U-Boot] [U-Boot-v2][PATCH] imx27: set pagesize_2k after probing the nand flash

2008-12-15 Thread frederic rodo
Signed-off-by:Frederic Rodo Date: Mon, 15 Dec 2008 14:37:18 +0100 Subject: [PATCH] set pagesize_2k after probing the nand flash --- drivers/nand/nand_imx.c | 14 +++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/nand/nand_imx.c b/drivers/nand/nand_imx.c ind

[U-Boot] [RESEND][U-Boot-v2][PATCH] imx27: nandboot with 2k page

2008-12-15 Thread frederic rodo
Signed-off-by:Frederic Rodo >From 328f5f5b5213bd36672553bb3a411f0fd59af1fe Mon Sep 17 00:00:00 2001 Date: Thu, 11 Dec 2008 11:56:01 +0100 Subject: [PATCH] nandboot with 2k pages --- drivers/nand/nand_imx.c | 94 +-- include/asm-arm/arch-imx/imx-nand.

[U-Boot] [PATCH] at91: Fix Atmel's at91sam9 boards out of tree build

2008-12-15 Thread Jean-Christophe PLAGNIOL-VILLARD
introduced in commit 89a7a87f084c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- Makefile |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 2ac8141..0e31697 100644 --- a/Makefile +++ b/Makefile @@ -2586,6 +2586,7 @@ at91sam9260ek_nandflash

[U-Boot] [PATCH] fix bmp_logo.h make dependencies to allow parallel build

2008-12-15 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 0e31697..623b8f7 100644 --- a/Makefile +++ b/Makefile @@ -340,7 +340,7 @@ $(obj)u-boot: depend $(SUBDIRS) $(OBJS) $(LIBBO

[U-Boot] DE2 board with MMC interface (PIO based) and FAT support enabled

2008-12-15 Thread ivanchuklist ivanchu
Hi list, I'm working with an Altera DE2 board (Nios II processor without MMU). I developed a sd interface implemented with pio cores. In order to compile u-boot correctly i modified the Makefile to match my binutils. I also changed the file common/cmd_mem.c because it has a little problem when it

[U-Boot] [PATCH] common: Iteration limit for memory test.

2008-12-15 Thread Dirk Eibach
We want to use mtest for production memory test (though I know it is not recommended). I implemented an iteration limit, so expect can parse the results. The iteration limit is passed to mtest as a fourth parameter: [start [end [pattern [iterations If no fourth parameter is supplied, there is

[U-Boot] [U-Boot-v2][PATCH] imx27: correct READ ID cmd with 2k pages

2008-12-15 Thread frederic rodo
Signed-off-by:Frederic Rodo Date: Thu, 11 Dec 2008 13:05:53 +0100 Subject: [PATCH] correct send_id with 2k page --- drivers/nand/nand_imx.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/nand/nand_imx.c b/drivers/nand/nand_imx.c index 3bf67de..fbef9b7 10064

Re: [U-Boot] [RFC USB PATCH V2] USB ehci fix and test on ixp4xx hardware

2008-12-15 Thread michael
Hi, Remy Bohmer wrote: > Hello Michael, > > 2008/12/12 Michael Trimarchi : >> EHCI fix code and ixp4xx test. >> USB ehci configuration parameter: >> >> #define CONFIG_CMD_USB 1 >> #define CONFIG_USB_STORAGE 1 >> #define CONFIG_USB_EHCI >> #define CONFIG_USB_EHCI_IXP4XX 1 >> #define

[U-Boot] [PATCH] MIPS: Add VCT board series support (Part 3/3)

2008-12-15 Thread Stefan Roese
This patch adds support for the Micronas VCT board series. Currently the following platforms are supported: vct_premium vct_premium_small vct_premium_onenand vct_premium_onenand_small vct_platinum vct_platinum_small vct_platinum_onenand vct_platinum_onenand_small vct_platinumavc

[U-Boot] U-boot to DE2 board with MMC interface (PIO based) and FAT support enabled

2008-12-15 Thread ivanchuklist ivanchu
Hi list, I'm working with an Altera DE2 board (Nios II processor without MMU). I developed a sd interface implemented with pio cores. In order to compile u-boot correctly i modified the Makefile to match my binutils. I also changed the file common/cmd_mem.c because it has a little problem when it

[U-Boot] [PATCH] at91: add at91sam9xeek board support (typo)

2008-12-15 Thread Nicolas Ferre
Typo: CFG_ convert to CONFIG_SYS_ Signed-off-by: Nicolas Ferre --- Makefile |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7be1de2..74dfcca 100644 --- a/Makefile +++ b/Makefile @@ -2605,13 +2605,13 @@ at91sam9xeek_dataflash_cs1_config \ a

Re: [U-Boot] DE2 board with MMC interface (PIO based) and FAT support enabled

2008-12-15 Thread Wolfgang Denk
Dear "ivanchuklist ivanchu", In message <51a313240812150407xc75ec0vf7e14720277bb...@mail.gmail.com> you wrote: > > I don't know how to post all what i did. I have made the diff files, i could > post them but i don't know how the patches are managed. In fact it's not a > patch at all, just a littl

[U-Boot] U-Boot hangs after uncompressing image

2008-12-15 Thread Marco Antônio Possamai
Hello, all! As the title says, it hangs when uncompressing the image. The board is the MPC5200b Lite. Got the device-tree blob after compiling it from the lite5200b.dts. Used the latest device-tree compiler (v1.2.0); Got the file cuImage.lite5200b to pass it as image. Stored 0x0001 in fdt_a

Re: [U-Boot] [PATCH] MIPS: Add VCT board series support (Part 1/3)

2008-12-15 Thread Andrew Dyer
On Mon, Dec 15, 2008 at 8:51 AM, Stefan Roese wrote: > This patch adds support for the Micronas VCT board series. > Currently the following platforms are supported: > > vct_premium > vct_premium_small > vct_premium_onenand > vct_premium_onenand_small > vct_platinum > vct_platinum_small > vc

[U-Boot] [PATCH] serial: Rename driver vcth to vct to support other board variants

2008-12-15 Thread Stefan Roese
Moved driver vcth.c to vct.c to better reflect the VCT board series. This driver is now used by the VCT platforms: vct_premium vct_platinum vct_platinumsvc Signed-off-by: Stefan Roese --- drivers/serial/Makefile |2 +- drivers/serial/{vcth.c => vct.c} |8 ++-- 2 files chang

[U-Boot] [PATCH] MIPS: Add VCT board series support (Part 1/3)

2008-12-15 Thread Stefan Roese
This patch adds support for the Micronas VCT board series. Currently the following platforms are supported: vct_premium vct_premium_small vct_premium_onenand vct_premium_onenand_small vct_platinum vct_platinum_small vct_platinum_onenand vct_platinum_onenand_small vct_platinumavc

Re: [U-Boot] [PATCH] mpc83xx: Size optimization of start.S

2008-12-15 Thread Scott Wood
On Mon, Dec 15, 2008 at 08:26:03AM +0100, Jens Gehrlein wrote: > Hi Ron, > > Ron Madrid schrieb: > > Currently there are in excess of 100 bytes located at the beginning of the > > image > > built by start.S that are not being utilized. > > Hmmm, are you sure? What if someone designs a board, whe

[U-Boot] [PATCH v4] Add support for boards where the NOR FLASH is not memory-mapped

2008-12-15 Thread Stefan Roese
This patch adds the CONFIG_FLASH_NOT_MEM_MAPPED define which can be used on boards where the NOR FLASH is not memory-mapped and special accessor functions are needed to access the NOR FLASH. This affects the memory commands (cmd_mem.c) and the environment (env_flash.c). Boards using CONFIG_FLASH_N

Re: [U-Boot] [PATCH 06/15 v6] OMAP3: Add NAND support

2008-12-15 Thread Scott Wood
Dirk Behme wrote: > Add NAND support. > > Signed-off-by: Nishanth Menon > Signed-off-by: Syed Mohammed Khasim > Signed-off-by: Dirk Behme > > --- ACK -Scott ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot-Users] TFTP server support in U-boot

2008-12-15 Thread Ben Warren
Hello Santosh, santosh pattar wrote: > Dear All, > > As of now in the U-boot only TFTP client is supported. I am planning > to have TFTP server support in the u-boot. Can you please help me in > this regarding? > > Please provide me few links if this has been done already, or links > from where i

Re: [U-Boot] [PATCH] POST Make: fix the sub-dir dependencies missing.

2008-12-15 Thread Wolfgang Denk
Dear Yuri, In message <1228684370-5292-1-git-send-email...@denx.de> you wrote: > From: Yuri Tikhonov > > Signed-off-by: Yuri Tikhonov > --- > post/Makefile |7 ++- > 1 files changed, 6 insertions(+), 1 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engi

Re: [U-Boot] [PATCH v4 1/4] Introduce virt_to_phys()

2008-12-15 Thread Wolfgang Denk
Dear Kumar Gala, In message <1229210430-4522-1-git-send-email-ga...@kernel.crashing.org> you wrote: > virt_to_phys() returns the physical address given a virtual. In most cases > this will just the input value as the vast majority of systems run in a 1:1 > mode. > > However in systems that are

Re: [U-Boot] [PATCH v4 2/4] Introduce addr_map library

2008-12-15 Thread Wolfgang Denk
Dear Kumar Gala, In message <1229210430-4522-2-git-send-email-ga...@kernel.crashing.org> you wrote: > Add a library that helps in translating between virtual and physical > addresses. This library can be useful as a simple means to implement > map_physmem() and virt_to_phys() for platforms that

Re: [U-Boot] [PATCH v4 2/4] Introduce addr_map library

2008-12-15 Thread Kumar Gala
On Dec 15, 2008, at 3:07 PM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <1229210430-4522-2-git-send-email- > ga...@kernel.crashing.org> you wrote: >> Add a library that helps in translating between virtual and physical >> addresses. This library can be useful as a simple means to im

Re: [U-Boot] [PATCH v1] lib_ppc: rework the flush_cache

2008-12-15 Thread Wolfgang Denk
Dear Dave Liu, In message <1228462574-20076-1-git-send-email-dave...@freescale.com> you wrote: > - It is possible to miss flush/invalidate the last > cache line, we fix it at here. > - add the volatile and memory clobber. > > They are pointed by Scott Wood. > > Signed-off-by: Dave Liu > --- >

Re: [U-Boot] [PATCH] usb_kbd: fix usb_kbd_deregister when DEVICE_DEREGISTER not enable

2008-12-15 Thread Remy Bohmer
Hello, 2008/12/14 Jean-Christophe PLAGNIOL-VILLARD : > On 21:58 Tue 02 Dec , Jean-Christophe PLAGNIOL-VILLARD wrote: >> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD >> --- >> common/usb_kbd.c |4 >> include/devices.h |2 ++ >> 2 files changed, 6 insertions(+), 0 deletions(-)

Re: [U-Boot] [PATCH v2 1/4] Flex-OneNAND driver

2008-12-15 Thread Scott Wood
On Thu, Dec 11, 2008 at 07:57:18PM +0530, Rohit Hagargundgi wrote: > This patch adds support for MLC OneNAND and Flex-OneNAND devices. Patch does not apply to u-boot-nand-flash/next (the master branch is for 2008.12 bugfixes only). It's looking a lot better (though I'm not familiar enough with th

Re: [U-Boot] [PATCH] NAND CMD: Add bad block skipping for nboot

2008-12-15 Thread Scott Wood
On Thu, Dec 11, 2008 at 01:32:40PM -0500, david.kond...@onqlegrand.com wrote: > > This patch adds bad block skipping for nboot command by using > nand_read_skip_bad function. Patch is whitespace-mangled. > > The initial read size had to be increased because there seems to be an > issue with nan

Re: [U-Boot] [PATCH v3] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-12-15 Thread Wolfgang Denk
Dear Timur Tabi, In message <1228325310-19275-1-git-send-email-ti...@freescale.com> you wrote: > All implementations of the functions i2c_reg_read() and i2c_reg_write() are > identical. We can save space and simplify the code by converting these > functions into inlines and putting them in i2c.h.

Re: [U-Boot] [PATCH] MTD:NAND Enable nand lock, unlock feature

2008-12-15 Thread Scott Wood
On Sat, Dec 13, 2008 at 09:43:06AM -0600, Nishanth Menon wrote: > Enable nand lock, unlock and status of lock feature. > Not every device and platform requires this, hence, > it is under define for CONFIG_CMD_NAND_LOCK_UNLOCK > > Nand unlock and status operate on block boundary instead > of page b

Re: [U-Boot] [PATCH] common: nvedit to protect additional ethernet addresses Part 1/1

2008-12-15 Thread Wolfgang Denk
Dear Stefan Althoefer, In message you wrote: > > > That would be one way to avoid unnecessary tests. > > > > Probably not the most elegant approach, agreed. > > > > There are other options, though. > > But your suggested optimizations will only be effective if someone tries to > write to "seri

Re: [U-Boot] [PATCH] common: nvedit to protect additional ethernet addresses Part 1/1

2008-12-15 Thread Wolfgang Denk
Dear =?iso-8859-15?Q?Stefan_Alth=F6fer?=, In message <531234...@web.de> you wrote: > Then maybe we should have > > #define CONFIG_ENV_PROTECTED_ITEM "ethaddr1,ethaddr2," > > in board configuration to have the greatest flexibility? Jerry Van Baren already showed you an elegant way to solve t

Re: [U-Boot] [PATCH] ARM: Allow cross endian linux boot Part 1/1

2008-12-15 Thread Wolfgang Denk
Dear Stefan Althoefer, In message <493846df.zrcph0cfyvcoo+pi%stefan.althoe...@web.de> you wrote: > [PATCH] ARM: Allow cross endian linux boot > > This patch adds the capability to boot a little endian linux > kernel on a big endian u-boot. This is usefull on IXP425 platform > which is always big-

Re: [U-Boot] Warning in ffs2_1pass.c

2008-12-15 Thread Scott Wood
On Sat, Dec 13, 2008 at 06:30:21PM +0100, Dirk Behme wrote: > Just fyi: Using git head (89d56f5503eed351efe5ab0b4dd0f1e888fd2336: > Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx) I get warning: > > -- cut -- > ffs2_1pass.c:1411:1: warning: "min_t" redefined > In file include/nand.h:30,

Re: [U-Boot] [PATCH] IDE: Improving speed on reading data Part 1/1

2008-12-15 Thread Wolfgang Denk
Dear Stefan Althoefer, In message <49384704.sPrSOzo/cyqyo4zk%stefan.althoe...@web.de> you wrote: > [PATCH] IDE: Improving speed on reading data > > This patch improves the speed when reading blocks from > IDE devices by reading more than one block at a time. Up to > 128 blocks are requested in on

Re: [U-Boot] [patch] make hello world example work for at91sam9261ek and make readme clearer about this

2008-12-15 Thread Wolfgang Denk
Dear Remy Bohmer, In message <49384d2e.2805420a.5c7b.8...@mx.google.com> you wrote: > > 'examples/hello_world.c' contains a small "Hello World" Demo > application; it is automatically compiled when you build U-Boot. > -It's configured to run at address 0x00040004, so you can play with it > +

Re: [U-Boot] [patch] make hello world example work for at91sam9261ek and make readme clearer about this

2008-12-15 Thread Wolfgang Denk
Dear "Remy Bohmer", In message <3efb10970812050041y199ae0a4la4f4c3589a07...@mail.gmail.com> you wrote: > > This was just a minor patch I had on the stack for months and > yesterday I just put them all out. > The most important part of this patch was the comment about the > load-addr in the readm

Re: [U-Boot] [patch] Print image address the bootm command assumed when it complains about wrong image format.

2008-12-15 Thread Wolfgang Denk
Dear Remy Bohmer, In message <49384d33.130c420a.602f.8...@mx.google.com> you wrote: > If the error "Wrong Image Format for bootm command" is displayed, it helps > debugging > if the address is printed where it assumed the image to be. > > Signed-off-by: Remy Bohmer > --- > common/cmd_bootm

Re: [U-Boot] [patch] Improve progres bar for booting from USB stick.

2008-12-15 Thread Wolfgang Denk
Dear Remy Bohmer, In message <49384d2b.01b2420a.53e2.7...@mx.google.com> you wrote: > The progress bar that is displayed during booting from USB stick runs out out > the screen > This change limits the 'dots' to 60 characters at most on a line. > > Signed-off-by: Remy Bohmer > --- > common/usb

Re: [U-Boot] [PATCH] IXP425: make cmd_go handle caches correctly Part 1/1

2008-12-15 Thread Wolfgang Denk
Dear Stefan Althoefer, In message <49384710.dwdg58iab1mkoo9u%stefan.althoe...@web.de> you wrote: > [PATCH] IXP425: make cmd_go handle caches correctly > > This patch adds icache_invalidate() and dcache_flush() to > cpu/ixp/cpu.c. > > Also it adds do_go_exec() which is called from do_go(). > This

Re: [U-Boot] [PATCH] IXP425: Fixing PCI access Part 1/1

2008-12-15 Thread Wolfgang Denk
Dear Stefan Althoefer, In message <4938471d.ipiaro7pyltl2jna%stefan.althoe...@web.de> you wrote: > [PATCH] IXP425: Fixing PCI access > > This patch fixes the PCI handling routines of the IXP port. > It seems that this hasn't been touch for quite a while and > u-boot PCI handling has changed since

Re: [U-Boot] [PATCH] IXP425: Fixing PCI access Part 1/1

2008-12-15 Thread Wolfgang Denk
Dear Stefan Althoefer, In message you wrote: > I posted new version of patch to fix some more errors and style, so > this is obsolete. It would be nice if you keept the threading in place, so one can actually see the new patch as part of the old thread. Best regards, Wolfgang Denk -- DENX So

Re: [U-Boot] [PATCH] IXP425: Fixing timer code Part 1/1

2008-12-15 Thread Wolfgang Denk
Dear Stefan Althoefer, In message <49384728.lmggwd1otzmugoap%stefan.althoe...@web.de> you wrote: > > With this patch, this is nonsense. Instead you should use: > > #ifdef CONFIG_USE_IRQ > /* Interrupt driven timer wants system tick here */ > #define CONFIG_SYS_HZ 1000 > #else >

Re: [U-Boot] [PATCH V2 1/1] IXP425: Fixing PCI access

2008-12-15 Thread Wolfgang Denk
Dear Stefan Althoefer, In message you wrote: > This patch fixes the PCI handling routines of the IXP port. > It seems that this hasn't been touched for quite a while and > u-boot PCI handling has changed since then (but nobody > update IXP). > > Changes (list uncomplete): >- non_prefetched_r

Re: [U-Boot] [PATCH v3] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-12-15 Thread ksi
On Mon, 15 Dec 2008, Wolfgang Denk wrote: Are you going to implement support for multiple I2C busses on some boards? I'm working on something like this now so it would be nice to coordinate our efforts somehow... There is a provision for using 2 I2C busses in fsl-i2c.c now but I'm trying to make

Re: [U-Boot] [PATCH v3] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-12-15 Thread Timur Tabi
k...@koi8.net wrote: > On Mon, 15 Dec 2008, Wolfgang Denk wrote: > > Are you going to implement support for multiple I2C busses on some boards? > I'm working on something like this now so it would be nice to coordinate our > efforts somehow... Yes, my goal is to add low-level i2c functions that t

Re: [U-Boot] [PATCH] smc911x_eeprom: new example app for managing newer SMC parts

2008-12-15 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1228959968-2075-1-git-send-email-vap...@gentoo.org> you wrote: > A forward port of the last version to work with the newer smc911x driver. > A bunch of simple functions/defines had to be split out of the smc911x > driver to avoid ugly code duplication in the eeprom

Re: [U-Boot] [PATCH] env_sf: support embedded environments

2008-12-15 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1228994617-11732-1-git-send-email-vap...@gentoo.org> you wrote: > If both CONFIG_ENV_SECT_SIZE and CONFIG_ENV_SIZE are defined, and the sect > size is larger than the env size, then it means the env is embedded in a > block. So we have to save/restore the part of

Re: [U-Boot] [PATCH] spi/stmicro: fix debug() display of cmd

2008-12-15 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1229038748-26397-1-git-send-email-vap...@gentoo.org> you wrote: > The stmicro_wait_ready() func tries to show the actual opcode that was sent > to the device, but instead it displays the array pointer. Fix it to pull > out the opcode from the start of the array. >

Re: [U-Boot] [PATCH] common: Iteration limit for memory test.

2008-12-15 Thread Wolfgang Denk
Dear Dirk Eibach, In message <1229338818-4209-1-git-send-email-eib...@gdsys.de> you wrote: > We want to use mtest for production memory test (though I know it is > not recommended). I implemented an iteration limit, so expect can parse > the results. Do you really want to use this text as part of

Re: [U-Boot] [PATCH v4 2/3] Add support for Maxim's DS4510 I2C device

2008-12-15 Thread Peter Tyser
Hi Wolfgang, Thanks for the comments. On Sun, 2008-12-14 at 12:38 +0100, Wolfgang Denk wrote: > Dear Peter Tyser, > > In message > <300544b7901dacbe6b9e3edd052629f612b92735.1228160312.git.pty...@xes-inc.com> > you wrote: > > Initial support for the DS4510, a CPU supervisor with > > integrated E

Re: [U-Boot] [PATCH v3] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-12-15 Thread ksi
On Mon, 15 Dec 2008, Timur Tabi wrote: > k...@koi8.net wrote: >> On Mon, 15 Dec 2008, Wolfgang Denk wrote: >> >> Are you going to implement support for multiple I2C busses on some > boards? >> I'm working on something like this now so it would be nice to > coordinate our >> efforts somehow... > >

Re: [U-Boot] [PATCH v4 2/4] Introduce addr_map library

2008-12-15 Thread Wolfgang Denk
Dear Kumar, In message <8fdad51e-151a-43c8-bfb2-101b8277e...@kernel.crashing.org> you wrote: > > On Dec 15, 2008, at 3:07 PM, Wolfgang Denk wrote: > > > Dear Kumar Gala, > > > > In message <1229210430-4522-2-git-send-email- > > ga...@kernel.crashing.org> you wrote: > >> Add a library that helps

[U-Boot] sectoff in asm

2008-12-15 Thread youhello youhello
hi all: i am a u-boot beginner, i found a line code "li r0,__got2_entr...@sectoff@l" in almost all mpc start.s.i have tried to delete sectoff and i got same result of uboot with "li r0,__got2_entr...@l". could you tell me what difference between "li r0,__got2_entr...@sectoff@l" and "li r0,__got2_en

Re: [U-Boot] [PATCH v4 2/4] Introduce addr_map library

2008-12-15 Thread Becky Bruce
On Dec 15, 2008, at 6:46 PM, Wolfgang Denk wrote: > Dear Kumar, > > In message <8FDAD51E-151A-43C8- > bfb2-101b8277e...@kernel.crashing.org> you wrote: >> >> On Dec 15, 2008, at 3:07 PM, Wolfgang Denk wrote: >> >>> Dear Kumar Gala, >>> >>> In message <1229210430-4522-2-git-send-email- >>> ga...@k

[U-Boot] [PATCH 1/3] 85xx: Fix the boot window issue

2008-12-15 Thread Dave Liu
If one custom board is using the 8MB flash, it is set as FLASH_BASE = 0xef00, TEXT_BASE = 0xef78. The current start.S code will be broken at switch_as. It is because the TLB1[15] is set as 16MB page size, EPN = TEXT_BASE & 0xff00, RPN = 0xff00. For the 8MB flash case, the EPN = 0x

[U-Boot] [PATCH 2/3] 85xx: Fix the wrong CSIZE mask bit

2008-12-15 Thread Dave Liu
The CSIZE is L1CFG0[56-63] in the e500 and e500mc core, so we should mask 0xff, not 0x1ff. Signed-off-by: Dave Liu --- cpu/mpc85xx/start.S |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/mpc85xx/start.S b/cpu/mpc85xx/start.S index 80f9677..cfa53c0 100644 --- a/cpu

[U-Boot] [PATCH 3/3] Move the LAW definition to fsl_law.h

2008-12-15 Thread Dave Liu
some code need the LAWAR_EN, make them sharable. Signed-off-by: Dave Liu --- Jon, The 86xx also is using the fsl_law code, Could you ack and let Andy pick up to 85xx tree? Thanks, Dave drivers/misc/fsl_law.c| 15 --- include/asm-ppc/fsl_law.h | 16 2 files

Re: [U-Boot] [PATCH] mpc83xx: Size optimization of start.S

2008-12-15 Thread Jens Gehrlein
Hi Scott, Scott Wood schrieb: > On Mon, Dec 15, 2008 at 08:26:03AM +0100, Jens Gehrlein wrote: >> Hi Ron, >> >> Ron Madrid schrieb: >>> Currently there are in excess of 100 bytes located at the beginning of the >>> image >>> built by start.S that are not being utilized. >> Hmmm, are you sure? Wha