[U-Boot] [PATCH] at91sam9260/9263: add back up fot the rst(reset controller).

2009-06-24 Thread Sedji Gaouaou
On the boards at91sam9260ek, at91sam9263ek and afed9260, the rstc register was set to 0 after being set to 500 ms for the PHY reset. Do backup the old reset length and restore it after the MACB initialisation. Signed-off-by: Sedji Gaouaou --- board/afeb9260/afeb9260.c |6 +++

Re: [U-Boot] 88e61xx driver in u-boot

2009-06-24 Thread Prafulla Wadaskar
> -Original Message- > From: Andrew Dyer [mailto:amd...@gmail.com] > Sent: Wednesday, June 24, 2009 4:55 AM > To: Prafulla Wadaskar; U-Boot List > Subject: 88e61xx driver in u-boot > > Hi, I am in the midst of bringing up a board using the > 88E6161 chip and was looking at your u-boot

Re: [U-Boot] Relocating to my code.

2009-06-24 Thread Detlev Zundel
Hi Prathika, > hi everyone, > I am working on a card based on PPC440EP, I am porting u-boot on this card. > As I understand, the PPC initially boots from the flash and then > relocates itself to RAM address where there is board_init_r() and > main_loop() is called. Correct. Running from flash

[U-Boot] ARM920T SMDK2440 support

2009-06-24 Thread J.Hwan.Kim
Hi, everyone Is U-Boot not support ARM920T SMDK2440 board? Regards, J.H.Kim ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/3] A320: driver for FTRTC010 real time clock

2009-06-24 Thread Detlev Zundel
Hi Po-Yu Chuang, > Dear Jean-Christophe PLAGNIOL-VILLARD, > > 2009/6/24 Jean-Christophe PLAGNIOL-VILLARD : >>> + >>> +static volatile struct ftrtc010 *rtc = (struct ftrtc010 >>> *)CONFIG_SYS_RTC_BASE; >>> + >>> +static void ftrtc_enable (void) >> you use it at one please only the reset > Sorry, I

Re: [U-Boot] R: USB EHCI driver

2009-06-24 Thread Detlev Zundel
Hi Francesco, > I'm successful in provide a preliminary support to EHCI USB Freescale > controller integrated on ADS5121 platform. I'm preparing a patch to > submit to u-boot mailing list. Congratulations - I'm also looking forward to see and test the patch on our ads5121. Cheers Detlev --

[U-Boot] [PATCH] xscale: add support for the polaris board

2009-06-24 Thread Stefano Babic
The Polaris board is based on the TrizepsIV module of Keith & Koep (http://www.keith-koep.com). Signed-off-by: Stefano Babic --- MAINTAINERS |4 Makefile|7 ++- board/trizepsiv/conxs.c | 27 +++ include/configs/tr

[U-Boot] R: R: USB EHCI driver

2009-06-24 Thread Rendine Francesco
Hi, thanks for your compliments, but I think that there is some work to do about this driver to support OTG mode and gadget mode. For now I enabled support to host mode, and from my test does it work. I'm preparing the patch, and this will carry away some days because usb u-boot source code is

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Detlev Zundel
Hi Scott, > On Tue, Jun 23, 2009 at 06:33:53PM +0200, Detlev Zundel wrote: >> Also this is one of the objections worded on the mailing list, namely >> that such a cooperation will be impossible in the future if U-Boot moves >> to GPLv3. >> >> As a base for reasonable discussion, I think we need t

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Detlev Zundel
Hi Mike, > On Tuesday 23 June 2009 15:26:35 Scott Wood wrote: >> On Tue, Jun 23, 2009 at 06:33:53PM +0200, Detlev Zundel wrote: >> > Apart from the the above reasons, currently most people who voiced their >> > opinion (not too many right now) oppose the move. The reasoning seems >> > to be that

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Detlev Zundel
Hi Jean-Christophe, > On 15:41 Tue 23 Jun , Mike Frysinger wrote: >> On Tuesday 23 June 2009 15:26:35 Scott Wood wrote: >> > On Tue, Jun 23, 2009 at 06:33:53PM +0200, Detlev Zundel wrote: >> > > Apart from the the above reasons, currently most people who voiced their >> > > opinion (not too ma

Re: [U-Boot] [PATCH] config.mk: Remove unused HPATH

2009-06-24 Thread Shinya Kuribayashi
Hi Detlev, Detlev Zundel wrote: >> This variable is not unused anywhere. > > Makes my brain twist and after carefully applying boolean equivalence > operations contradicts the title ;) Oops, thanks for pointing out. Will correct it later. ___ U-Boot m

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Mike Frysinger
On Wednesday 24 June 2009 05:12:01 Detlev Zundel wrote: > > On Tuesday 23 June 2009 15:26:35 Scott Wood wrote: > >> On Tue, Jun 23, 2009 at 06:33:53PM +0200, Detlev Zundel wrote: > >> > Apart from the the above reasons, currently most people who voiced > >> > their opinion (not too many right now)

Re: [U-Boot] mcf5445x watchdog support in U-Boot

2009-06-24 Thread Matthew Lear
Hello TsiChung. I have added watchdog support in U-Boot for MCF5445x devices using the M54455 EVB platform to test. I can send you a patch if you wish (the timeout is hard coded to 16 secs at the moment)? However, I am having trouble when U-Boot starts Linux in the case when the watchdog has been

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Detlev Zundel
Hi Mike, > On Wednesday 24 June 2009 05:12:01 Detlev Zundel wrote: >> > On Tuesday 23 June 2009 15:26:35 Scott Wood wrote: >> >> On Tue, Jun 23, 2009 at 06:33:53PM +0200, Detlev Zundel wrote: >> >> > Apart from the the above reasons, currently most people who voiced >> >> > their opinion (not too

Re: [U-Boot] U-Boot timer example crashes on EP88xC

2009-06-24 Thread Detlev Zundel
Hi Mikhail, > I am using ELDK 4.2 and U-Boot 2009.03 on an EP88xC rev1.1 board > (MPC885 cpu) and am trying to get the example apps working (the ones > that come with U-Boot) following instructions on > "http://www.denx.de/wiki/view/DULG/UBootStandalone#Section_5.12.2.";. > > "examples/hello_world

Re: [U-Boot] [PATCH 3/3] A320: Add support for Faraday A320 evaluation board

2009-06-24 Thread Detlev Zundel
Hello Po-Yu, > 2009/6/24 Jean-Christophe PLAGNIOL-VILLARD : >> please use git > I cannot access git in the company, but I will try that at home. Why is that? If it is because of the git port not getting through a company firewall, we do actually offer http:// access to our git repos - just check

Re: [U-Boot] uboot 2009 for Freescale mpc5121

2009-06-24 Thread Detlev Zundel
Hi Stas, > I was able to compile and run the u-boot for my board from both cygwin and > Linux. > > The only problem I had was the uboot.lds file that in the old version had the > manual listing of the segments like this: > *(.rodata) > *(.rodata1) > *(.rodata.str1.4) > > Now it uses a macro to s

Re: [U-Boot] ARM920T SMDK2440 support

2009-06-24 Thread Detlev Zundel
Hi J.H.Kim, > Is U-Boot not support ARM920T SMDK2440 board? Apparantly not out of the box. If you search the ML however[1] you will see a few comments about that board. Maybe mail the relevant authors. Cheers Detlev [1] http://search.gmane.org/?query=smdk2440&group=gmane.comp.boot-loaders.u

Re: [U-Boot] Relocating to my code.

2009-06-24 Thread Detlev Zundel
Hi Prathika, > I did not mean it should run from flash itself..My application will > just reside in flash, I will read back from flash to a RAM location. To be honest, I have trouble understanding this. > As I understand, in board_init_f(), after calling the init_sequence, > relocate_code() is c

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Matthew Lear
Hi Detlev, > What exactly is secure boot? Jean-Christophe - if I may interject... Embedded systems using core soc silicon from a number of manufacturers have started to use what is known as 'secure boot'. This is typically the case in applications which utilise conditional access system software t

Re: [U-Boot] U-Boot timer example crashes on EP88xC

2009-06-24 Thread Mikhail Zaturenskiy
> When I use objdump to deassemble the object file, it seems > that "timer" is at 40108. Try "go 0x40108" and read the FAQ[1] ;) > > Cheers > Detlev > > [1] http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork > > "go 0x40108" did it, thanks! And thanks for the FAQ reference, kn

Re: [U-Boot] [PATCH 3/3] minor fixes for mvBL-M7 and use of common code

2009-06-24 Thread André Schwarz
Kim, On Tue, 2009-06-23 at 18:17 -0500, Kim Phillips wrote: > On Mon, 22 Jun 2009 15:50:29 +0200 > André Schwarz wrote: > > Hello André, > > > X-Mailer: Evolution 2.26.1 > > ... > > > [0001-rebased-mvBLM7-with-minor-fixes.patch text/x-patch (8.2KB)] > > please use > Insert->Text File... (A

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Mike Frysinger
On Wednesday 24 June 2009 09:17:50 Detlev Zundel wrote: > > if you want to push your agenda on your customers (i'm assuming you > > actually have some and arent just here for fun), that's your business. > > Is it possible that you jump to conslusions here? All we - on a regular > basis - do is to

Re: [U-Boot] 88e61xx driver in u-boot

2009-06-24 Thread Andrew Dyer
On Wed, Jun 24, 2009 at 3:09 AM, Prafulla Wadaskar wrote: >> I don't see anything in the 88E6161 switch itself that would >> respond at those 0xEE addresses (IIRC the MII bus only >> provides for 5 bits of register and phy address).  Is this >> something specific to the board/SoC you were running t

Re: [U-Boot] [PATCH 2/2 v5] KB9202: Add NAND support

2009-06-24 Thread Matthias Kaehlcke
Add NAND support for the KwikByte KB9202 Signed-off-by: Matthias Kaehlcke --- El Tue, Jun 23, 2009 at 04:19:40PM -0500 Scott Wood ha dit: > I get conflicts in kb9202.h. Is this against an arch tree, or does it > need to be respun? The previous patches were against v2009-03, as i had problems

Re: [U-Boot] ARM920T SMDK2440 support

2009-06-24 Thread kevin.morf...@fearnside-systems.co.uk
n of virus signature > database 4181 (20090623) __ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > > __ Information from ESET NOD32 Antivirus, version of virus signature database 4184 (20090624) ___

Re: [U-Boot] U-Boot timer example crashes on EP88xC

2009-06-24 Thread Detlev Zundel
Hi Mikhail, >> When I use objdump to deassemble the object file, it seems >> that "timer" is at 40108. Try "go 0x40108" and read the FAQ[1] ;) >> >> Cheers >> Detlev >> >> [1] http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork >> >> > > "go 0x40108" did it, thanks! And thanks f

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Scott Wood
On Wed, Jun 24, 2009 at 11:09:49AM +0200, Detlev Zundel wrote: > > nand_ecc.c is an exception, which not only has the "or later" language > > but also has an exception that makes it non-viral. > > Why do you refer to one of the most important aspects of the > effectiveness of the GPL as being vira

Re: [U-Boot] [PATCH 3/3] minor fixes for mvBL-M7 and use of common code

2009-06-24 Thread Kim Phillips
On Wed, 24 Jun 2009 16:19:06 +0200 André Schwarz wrote: > > > -#define _IO_BASE 0x > > > - > > > > the above is the reason for the below: > > ok - understood. Didn't expect your patch being applied that quickly, > i.e. obviously missed all ACK's. WD hasn't applied it yet - I ap

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Detlev Zundel
Hi Mike, > On Wednesday 24 June 2009 09:17:50 Detlev Zundel wrote: >> > if you want to push your agenda on your customers (i'm assuming you >> > actually have some and arent just here for fun), that's your business. >> >> Is it possible that you jump to conslusions here? All we - on a regular >>

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Jon Smirl
There is an enormous practical consideration stopping the licensing change. u-boot has not required copyright assignment. This means that every single person that has contributed code to u-boot needs to give their permission for the change. This includes the authors of code copied from the Linux ke

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Detlev Zundel
Hi Matthew, thanks for the explanation. >> Don't you mistake "security" for "authenticity"? > > In this context, I believe both terms are interchangeable and effectively > mean the same thing. This is generally not true. These concepts have well defined meanings. I can have a secure communicati

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Detlev Zundel
Hi Jon, > There is an enormous practical consideration stopping the licensing > change. u-boot has not required copyright assignment. This means that > every single person that has contributed code to u-boot needs to give > their permission for the change. This is not correct. People who wrote c

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Scott Wood
Detlev Zundel wrote: >> i personally dont have a problem with people locking their hardware. >> that is their choice and the GPLv2 allows them that freedom. > > You have a strange definition of freedom - for you it is limited to the > provider of the devices not to the users of the devices. I gue

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Grant Likely
On Tue, Jun 23, 2009 at 10:33 AM, Detlev Zundel wrote: >> Is there any chance of convincing those authors to change that? > > Apart from the the above reasons, currently most people who voiced their > opinion (not too many right now) oppose the move.  The reasoning seems > to be that companies usin

[U-Boot] Trouble "booting using board info"

2009-06-24 Thread Mikhail Zaturenskiy
Hello, I'm trying to load Linux from U-Boot. I'm pretty new at this so there may be some obvious things wrong with what I'm doing. I am using ELDK 4.2 and U-Boot 2009.03 on an EP88xC rev1.1 board (MPC885 cpu) and the linux kernel sources obtained from instructions at "http://www.denx.de/wiki/vi

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Mike Frysinger
On Wednesday 24 June 2009 12:34:40 Detlev Zundel wrote: > > On Wednesday 24 June 2009 09:17:50 Detlev Zundel wrote: > >> > if you want to push your agenda on your customers (i'm assuming you > >> > actually have some and arent just here for fun), that's your business. > >> > >> Is it possible that

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Mike Frysinger
On Wednesday 24 June 2009 12:45:38 Detlev Zundel wrote: > > It is secure because only authenticated code is allowed to be > > executed, thus another step to avoid piracy, hacking of conditional > > access systems etc. > > Running only authenticated code does *not* ensure security, no matter > how m

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Jon Smirl
On Wed, Jun 24, 2009 at 12:56 PM, Detlev Zundel wrote: > Hi Jon, > >> There is an enormous practical consideration stopping the licensing >> change. u-boot has not required copyright assignment. This means that >> every single person that has contributed code to u-boot needs to give >> their permis

Re: [U-Boot] [PATCH 2/2 v5] KB9202: Add NAND support

2009-06-24 Thread Scott Wood
On Wed, Jun 24, 2009 at 05:23:05PM +0200, Matthias Kaehlcke wrote: > Add NAND support for the KwikByte KB9202 > > Signed-off-by: Matthias Kaehlcke > > --- > > El Tue, Jun 23, 2009 at 04:19:40PM -0500 Scott Wood ha dit: > > > I get conflicts in kb9202.h. Is this against an arch tree, or does i

[U-Boot] [PATCH] 8313erdb: Enable CONFIG_SYS_64BIT_VSPRINTF.

2009-06-24 Thread Scott Wood
This is now required by the NAND subsystem. Signed-off-by: Scott Wood --- include/configs/MPC8313ERDB.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/MPC8313ERDB.h b/include/configs/MPC8313ERDB.h index 2308568..92f74cc 100644 --- a/include/configs/MPC8

[U-Boot] [PATCH] nand_spl: Fix cmd_ctrl usage in nand_boot.c.

2009-06-24 Thread Scott Wood
When adding large page NAND support to this file, I had a misunderstanding about the exact semantics of NAND_CTRL_CHANGE (which isn't documented anywhere I can find) -- it is apparently just a hint to drivers, which aren't required to preserve the old value for subsequent non-"change" invocations.

Re: [U-Boot] [PATCH] 8313erdb: Enable CONFIG_SYS_64BIT_VSPRINTF.

2009-06-24 Thread Kim Phillips
On Wed, 24 Jun 2009 17:11:48 -0500 Scott Wood wrote: > This is now required by the NAND subsystem. > > Signed-off-by: Scott Wood > --- abd. see: http://lists.denx.de/pipermail/u-boot/2009-June/054383.html Kim ___ U-Boot mailing list U-Boot@lists.de

[U-Boot] [PATCH-ARM] Add support for Embest SBC2440-II Board 3/7

2009-06-24 Thread kevin.morf...@fearnside-systems.co.uk
This patch re-formats the s3c24x0 driver code, excluding the MTD NAND driver which is in patch 4, in preparation for changes to make the NAND driver support both s3c2410 and s3c2440 CPU's, ready for the addition of the Embest SBC2440-II Board. The changes are as follows: - re-indent the code

[U-Boot] [PATCH-ARM, MTD] Add support for Embest SBC2440-II Board 4/7

2009-06-24 Thread kevin.morf...@fearnside-systems.co.uk
This patch re-formats the s3c24x0 NAND driver code in preparation for changes to make the NAND driver support both s3c2410 and s3c2440 CPU's, ready for the addition of the Embest SBC2440-II Board. The changes are as follows: - re-indent the code using Lindent - make sure register layouts are d

[U-Boot] [PATCH-ARM] Add support for Embest SBC2440-II Board 5/7

2009-06-24 Thread kevin.morf...@fearnside-systems.co.uk
Patches 5 to 7, replace "[PATCH-ARM 2/2] Add support for the Embest SBC2440-II Board 2/2" submitted on 19/06/2009. This patch adds support for the s3c2440 cpu, excluding the NAND driver which is in patch 6/7. This patch assume the following patches have already been applied: - [PATCH-ARM] Bug

[U-Boot] [PATCH-ARM, MTD] Add support for Embest SBC2440-II Board 6/7

2009-06-24 Thread kevin.morf...@fearnside-systems.co.uk
This patch adds support for the s3c2440 cpu to the MTD NAND driver. The changes were based heavily on the Linux-2.6.30 s3c2410 MTD NAND driver which also supports the s3c2440 cpu. I've tested these changes on an s3c2440 cpu (on the Embest SBC2440-II Board) but not on an s3c2410 cpu as none of the

[U-Boot] [PATCH-ARM] Add support for Embest SBC2440-II Board 7/7

2009-06-24 Thread kevin.morf...@fearnside-systems.co.uk
This patch adds support for the Embest SBC2440-II Board. The patch was tested by: - running MAKEALL for all ARM9 targets and checking that no new warnings or errors were introduced - programming it into NOR flash of an Embest SBC2440-II Board, loading kernel and root file system images via

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Richard Stallman
> The NAND subsystem is from Linux and is GPL v2 only, as is the > u-boot-specific NAND code in drivers/mtd/nand. Ok, thanks for that info. Subtracting the drivers this is ~5k LOC, right? Two ways of dealing with ths include (1) contacting the developers and asking then to reli

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Richard Stallman
Embedded systems using core soc silicon from a number of manufacturers have started to use what is known as 'secure boot'. This is typically the case in applications which utilise conditional access system software to protect content. The emphasis on using secure boot is largely dri

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Richard Stallman
This is due to us many times (re-)using Linux drivers inside U-Boot. This won't stop you from making sure all of U-Boot (aside from these drivers) says "GPLv2 or later". Also, you can talk with the developers of the drivers that you need, or might need, to ask them to release their drivers GP

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Richard Stallman
I can assure you that today If we switch the V2 to the v3 we will lose a lot of customers Are the users of U-Boot usually customers? That term normally refers to people that buy a commercial product or service. And force to give the private key which use to sign the code is not real

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Richard Stallman
their response is simply "fine, we'll move on to the next= =20 guy who will satisfy our requirements". When people offer to use my programs if I relax the license requirements, my respose to them is, "If you don't use my software, that's your loss." __

[U-Boot] EHCI and OHCI deriver in u-boot-2009.03

2009-06-24 Thread xiaoguizi007
Hi, I am using diver of EHCI and OHCI in u-boot-2009.03. My HC is ISP1564, this HC has multi-function, it supports OHCI and EHCI. So, I think that maybe we must define new macros in my NSB405EP.h which is in ./include/config dir. But I find there are many functions in usb_ohci.c and usb_ehci_cor

Re: [U-Boot] Relocating to my code.

2009-06-24 Thread prathika
Detlev Zundel wrote: Hi Prathika, I did not mean it should run from flash itself..My application will just reside in flash, I will read back from flash to a RAM location. To be honest, I have trouble understanding this. As I understand, in board_init_f(), after calling the ini

[U-Boot] hi, I could not understand the memsize.c, somebody help me?

2009-06-24 Thread IaMaPlAyEr
Hi all, I could not understand common/memsize.c, how it works? maxsize / sizeof (long), what's meaning of it? why sizeof (long) is dividend? just like stack, push every step mem addr to save: save[i++] = *addr; and then? thanks -- -- Sincerely, HaveF _

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-24 Thread Mike Frysinger
On Wednesday 24 June 2009 20:59:47 Richard Stallman wrote: > their response is simply "fine, we'll move on to the next= > =20 > guy who will satisfy our requirements". > > When people offer to use my programs if I relax the license > requirements, my respose to them is, "If you don't

[U-Boot] Uboot and ARM SMP support

2009-06-24 Thread Sudeep K N
Hi, I have seen the latest Uboot code there is no support for Cortex A9. What I would like to know is that can we reuse ARM Cortex A8 code for ARM Cortex A9 SMP system as bootloader must run in single core. Reference: http://www.linux-arm.org/LinuxBootLoader/SMPBoot -- Regards, Sudeep _

Re: [U-Boot] [PATCH 3/3] A320: Add support for Faraday A320 evaluation board

2009-06-24 Thread Po-Yu Chuang
Dear Detlev Zundel, 2009/6/24 Detlev Zundel : >> I cannot access git in the company, but I will try that at home. > Why is that?  If it is because of the git port not getting through a > company firewall, we do actually offer http:// access to our git repos - > just check the "URL" section in gitw