Re: [U-Boot] [PULL] u-boot-mpc5xxx pull request

2009-07-07 Thread Jon Smirl
ng Denk & Detlev Zundel > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de > An Ada exception is when a routine gets in trouble and says > 'Beam me up, Scotty'. > __

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

2009-07-07 Thread Jon Smirl
est regards, > > Wolfgang Denk > > -- > DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de > This m

Re: [U-Boot] U-book and GPLv3?

2009-07-06 Thread Jon Smirl
retracted. Why do you want to take on a bunch of pointless administrative work that is going to result in losing developers? That time could be spent productively writing code. -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.d

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

2009-07-03 Thread Jon Smirl
the cable company. I took the disk out of mine, the information on the disk is encrypted. Recently the head of the MPAA has been quoted as saying that the only fair use exemption is to use a video camera to photograph your TV. -- Jon Smirl jonsm...@gmail.com __

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

2009-07-02 Thread Jon Smirl
ing to rent cable boxes everywhere for the sole purpose of decoding DRM that I don't want. > ___ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > -- Jon Smirl jonsm...@gmail.com

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

2009-06-24 Thread Jon Smirl
. Require copyright assignment on the new boot loader and then the license can be easily changed. -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

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

2009-06-24 Thread Jon Smirl
start off with the GPL v3 initially. -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v6] board support patch for phyCORE-MPC5200B-tiny

2009-06-20 Thread Jon Smirl
What is the merge status of this patch? Can we please get it applied to the 5xxx tree? On Sun, Jun 14, 2009 at 6:21 PM, Jon Smirl wrote: > Add support for the Phytec phyCORE-MPC5200B-tiny. Code originally from > Pengutronix.de. > Created CONFIG_SYS_ATA_CS_ON_TIMER01 define for when IDE

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

2009-06-18 Thread Jon Smirl
1nd I do known a lot of firms that will stop to use and dev under U-Boot > if we switch to the v3 > > so I'm against it > > Best Regards, > J. > ___ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mai

[U-Boot] [PATCH v6] board support patch for phyCORE-MPC5200B-tiny

2009-06-14 Thread Jon Smirl
Add support for the Phytec phyCORE-MPC5200B-tiny. Code originally from Pengutronix.de. Created CONFIG_SYS_ATA_CS_ON_TIMER01 define for when IDE CS is on Timer 0/1 Signed-off-by: Jon Smirl --- MAINTAINERS |4 MAKEALL |1 Makefile

Re: [U-Boot] [PATCH v5] board support patch for phyCORE-MPC5200B-tiny

2009-06-14 Thread Jon Smirl
I took out the old auto-sizing code because it didn't work right. Also, I don't own any hardware with different sized RAM/flash to test with. -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v5] board support patch for phyCORE-MPC5200B-tiny

2009-06-10 Thread Jon Smirl
Add support for the Phytec phyCORE-MPC5200B-tiny. Code originally from Pengutronix.de. v5 - Rebased onto u-boot/next. Changed official board name to phyCORE-MPC5200B-tiny. Signed-off-by: Jon Smirl --- MAINTAINERS |4 MAKEALL |1

Re: [U-Boot] [PATCH v5] board support patch for phyCORE-MPC5200B-tiny

2009-06-10 Thread Jon Smirl
On Wed, Jun 10, 2009 at 10:14 AM, Jon Smirl wrote: > Add support for the Phytec phyCORE-MPC5200B-tiny. Code originally from > Pengutronix.de. > v5 - Rebased onto u-boot/next. Changed official board name to > phyCORE-MPC5200B-tiny. Does this patch need to go in through a maintainer&#

Re: [U-Boot] [PATCH V4] board support patch for phyCORE-MPC5200B-tiny

2009-06-08 Thread Jon Smirl
Is this patch ready for merging? Is there anything else I need to do? On Mon, Jun 1, 2009 at 2:51 PM, Jon Smirl wrote: > Add support for the Phytec phyCORE-MPC5200B-tiny. Code originally from > Pengutronix.de. > Added MAKEALL and MAINTAINER entry per last posting. > > Signed-of

Re: [U-Boot] [PATCH V4] board support patch for phyCORE-MPC5200B-tiny

2009-06-05 Thread Jon Smirl
Is this patch ready for merge? On Mon, Jun 1, 2009 at 2:51 PM, Jon Smirl wrote: > Add support for the Phytec phyCORE-MPC5200B-tiny. Code originally from > Pengutronix.de. > Added MAKEALL and MAINTAINER entry per last posting. > > Signed-off-by: Jon Smirl >

[U-Boot] [PATCH V4] board support patch for phyCORE-MPC5200B-tiny

2009-06-01 Thread Jon Smirl
Add support for the Phytec phyCORE-MPC5200B-tiny. Code originally from Pengutronix.de. Added MAKEALL and MAINTAINER entry per last posting. Signed-off-by: Jon Smirl --- MAINTAINERS |4 MAKEALL |1 Makefile

[U-Boot] [PATCH V3] board support patch for phyCORE-MPC5200B-tiny

2009-06-01 Thread Jon Smirl
Add support for the Phytec phyCORE-MPC5200B-tiny. Code originally from Pengutronix.de. Added MAKEALL and MAINTAINER entry per last posting. Signed-off-by: Jon Smirl --- MAINTAINERS |4 MAKEALL |1 Makefile

Re: [U-Boot] [PATCH V2] board support patch for phyCORE-MPC5200B-tiny

2009-05-31 Thread Jon Smirl
On Sun, May 31, 2009 at 6:11 PM, Wolfgang Denk wrote: >> +#define CONFIG_SYS_LOAD_ADDR 0x10 /* default load address */ > > This used to be a reasonable choice with Linux 2.4.4; it ain't so any > more. What should it be? -- Jon Smir

Re: [U-Boot] [PATCH V2] board support patch for phyCORE-MPC5200B-tiny

2009-05-31 Thread Jon Smirl
KB page size which wastes a lot of space holding a 2KB environment so I see why some people want to stick with EEPROM. So I'd like to keep them both in place. Would it be better if the FLASH section was a comment? -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH V2] board support patch for phyCORE-MPC5200B-tiny

2009-05-30 Thread Jon Smirl
Add support for the Phytec phyCORE-MPC5200B-tiny. Code originally from Pengutronix.de. Added MAKEALL and MAINTAINER entry per last posting. Signed-off-by: Jon Smirl --- MAINTAINERS |4 MAKEALL |1 Makefile

Re: [U-Boot] MII register display

2009-05-06 Thread Jon Smirl
On Wed, May 6, 2009 at 10:03 PM, Mike Frysinger wrote: > On Wednesday 06 May 2009 21:53:21 Jon Smirl wrote: >> On Wed, May 6, 2009 at 2:57 PM, Jon Smirl wrote: >> > Why is "speed selection = 10 Mbps" when both sides support 100Mb? >> > Is uboot decoding thi

Re: [U-Boot] MII register display

2009-05-06 Thread Jon Smirl
On Wed, May 6, 2009 at 2:57 PM, Jon Smirl wrote: > Why is "speed selection = 10 Mbps" when both sides support 100Mb? > Is uboot decoding this register correctly? > > uboot> mii dump 0 0 > 0.     (1000)                 -- PHY control register -- >  (8000:) 0.

[U-Boot] MII register display

2009-05-06 Thread Jon Smirl
0 = 1selector = IEEE 802.3 uboot> -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Kconfig menu layout

2009-04-21 Thread Jon Smirl
On Tue, Apr 21, 2009 at 7:14 PM, Wolfgang Denk wrote: > Dear Jon Smirl, > > In message <9e4733910904211533s58df5764na715986b36824...@mail.gmail.com> you > wrote: >> >> >> - for those who look for a board name, we should support this, >> >>  proba

Re: [U-Boot] Kconfig menu layout

2009-04-21 Thread Jon Smirl
the choice by >>  selecting first processor architecture (ARM, PowerPC, MIPS, ...), >>  then CPU (family) name, then board names. >> >>  like this:     => Architecture => PPC => MPC83xx => MPC837XERDB > > I vote for the second one. > > Now I'll ask what the location of "defconfig"s should be? > > - k > -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Kconfig menu layout

2009-04-21 Thread Jon Smirl
On Tue, Apr 21, 2009 at 10:27 AM, Wolfgang Denk wrote: > Dear Jon Smirl, > > In message <9e4733910904201712x68658ddfk3c18298deb82b...@mail.gmail.com> you > wrote: >> >> There are a lot of boards that could be moved into a vendor subdirs. I >> suspect we have

Re: [U-Boot] Kconfig menu layout

2009-04-21 Thread Jon Smirl
On Tue, Apr 21, 2009 at 10:25 AM, Wolfgang Denk wrote: > Dear Jon Smirl, > > In message <9e4733910904201706u58387d5fod231dd4b8ac88...@mail.gmail.com> you > wrote: >> >> Everyone will know the vendor of their board. You could alphabetize > > Really? So who

Re: [U-Boot] Kconfig menu layout

2009-04-20 Thread Jon Smirl
On Mon, Apr 20, 2009 at 8:06 PM, Jon Smirl wrote: > On Mon, Apr 20, 2009 at 7:57 PM, Kumar Gala wrote: >> >> On Apr 20, 2009, at 5:01 PM, Jon Smirl wrote: >> >>> On Mon, Apr 20, 2009 at 5:11 PM, Kumar Gala >>> wrote: >>>> >>>> In

Re: [U-Boot] Kconfig menu layout

2009-04-20 Thread Jon Smirl
On Mon, Apr 20, 2009 at 7:57 PM, Kumar Gala wrote: > > On Apr 20, 2009, at 5:01 PM, Jon Smirl wrote: > >> On Mon, Apr 20, 2009 at 5:11 PM, Kumar Gala >> wrote: >>> >>> In chatting w/Wolfgang on IRC he felt that we should maintain the >>> highlevel

Re: [U-Boot] Kconfig menu layout

2009-04-20 Thread Jon Smirl
ists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] mpc5200: reduce delays in i2c

2009-04-04 Thread Jon Smirl
The previous code waited 1000us before checking i2c status. Measurement shows i2c is usually ready in under 50us. Change the polling interval to 15us, loop 6,667 times to keep the polling timeout constant at 100ms. --- cpu/mpc5xxx/i2c.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(

[U-Boot] [PATCH V3] mpc5200: reduce delays in i2c

2009-03-31 Thread Jon Smirl
Make the i2c delays smaller. The measured delay is 55us at 100Khz. Set the delay to 15us which should work for 400Khz. 100Khz will loop four times and get a 60us delay. Try four times at a 15us delay and then revert to the previous behavior of 1ms delays. --- cpu/mpc5xxx/i2c.c |9 + 1

Re: [U-Boot] [PATCH V2] mpc5200: reduce delays in i2c

2009-03-31 Thread Jon Smirl
On Tue, Mar 31, 2009 at 4:54 PM, Wolfgang Denk wrote: > Dear Jon Smirl, > > In message <20090331010330.20946.41742.st...@localhost> you wrote: >> Make the i2c delays smaller. The measured delay is 55us at >> 100Khz. Set the delay to 15us which should work for 400Kh

Re: [U-Boot] [PATCH 2/3] mpc52xx phy: initialize only when needed

2009-03-30 Thread Jon Smirl
On Wed, Mar 25, 2009 at 5:53 PM, Wolfgang Denk wrote: > Dear Jon Smirl, > > In message <9e4733910903251212j4436f1afu817456c7f6e9c...@mail.gmail.com> you > wrote: >> Is this patch ok for inclusion? Ping? Any answer on this one? >> >> On Sat, Mar 21, 20

[U-Boot] [PATCH V2] mpc5200: reduce delays in i2c

2009-03-30 Thread Jon Smirl
Make the i2c delays smaller. The measured delay is 55us at 100Khz. Set the delay to 15us which should work for 400Khz. 100Khz will loop four times and get a 60us delay. Previous total delay was 100,000us new total delay is 150,000us before timeout. Signed-off-by: Jon Smirl --- cpu/mpc5xxx

Re: [U-Boot] [PATCH v4] board support patch for phyCORE-MPC5200B-tiny

2009-03-30 Thread Jon Smirl
On Mon, Mar 30, 2009 at 12:13 PM, Anatolij Gustschin wrote: > Jon Smirl wrote: >> On Sun, Mar 29, 2009 at 10:08 AM, Markus Rathgeb >> wrote: >>> Hi! >>> >>> Have you read the BIOSEMU stuff in the mailing list? >>> Can you adjust the PCI sectio

Re: [U-Boot] [PATCH v4] board support patch for phyCORE-MPC5200B-tiny

2009-03-30 Thread Jon Smirl
On Mon, Mar 30, 2009 at 12:13 PM, Anatolij Gustschin wrote: > Jon Smirl wrote: >> On Sun, Mar 29, 2009 at 10:08 AM, Markus Rathgeb >> wrote: >>> Hi! >>> >>> Have you read the BIOSEMU stuff in the mailing list? >>> Can you adjust the PCI sectio

Re: [U-Boot] What to do for a working BIOSEMU and ATI_RADEON_FB environment?

2009-03-29 Thread Jon Smirl
2009/3/29 Jon Smirl : > On Sat, Mar 28, 2009 at 11:26 AM, Markus Rathgeb wrote: >> Hi! >> >> I own a phytec's pcm-030 with the shipped baseboard pcm-973. >> I would like to use a radeon 9200 pci card in the slot on the baseboard. BTW what you are doing will d

Re: [U-Boot] What to do for a working BIOSEMU and ATI_RADEON_FB environment?

2009-03-29 Thread Jon Smirl
slot. > > This means, the interrupt routing map must be much smaller to get a correct > behaviour. > > The current DTS also contains a second slot definition, that was never present > on this type of baseboard. > > ---

Re: [U-Boot] [PATCH v4] board support patch for phyCORE-MPC5200B-tiny

2009-03-29 Thread Jon Smirl
will ensure that you have your BARs set, PCI timings right, etc. > > Greats, > Markus -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v4] board support patch for phyCORE-MPC5200B-tiny

2009-03-27 Thread Jon Smirl
gt; > Except from that, it looks OK to me. > > Best regards, > > Wolfgang Denk -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Size of external u-boot commands

2009-03-27 Thread Jon Smirl
*) } > > I fully agree that the examples should rather use defaults because as > the name implies, they are examples after all, not tightly optimized > special cases. Providing an example linker script would show us the right way to write it. I've never written a linker script f

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Jon Smirl
On Thu, Mar 26, 2009 at 7:26 PM, Wolfgang Denk wrote: > Dear Jon Smirl, > > In message <9e4733910903261435x598055f8m74c5ac03ad16b...@mail.gmail.com> you > wrote: >> >> The *.bin format is not smart enough to encode gaps. It just puts in >> 60KB of zeros. >

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Jon Smirl
On Thu, Mar 26, 2009 at 5:15 PM, Wolfgang Denk wrote: > Dear Jon Smirl, > > In message <9e4733910903261350v21bf16c5l5729927048e0d...@mail.gmail.com> you > wrote: >> >> > I'm not sure how you calculate sizes, or how you link your >> > applications

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Jon Smirl
On Thu, Mar 26, 2009 at 4:27 PM, Wolfgang Denk wrote: > Dear Jon Smirl, > > In message <9e4733910903260647w549a97acv7101ea9347a76...@mail.gmail.com> you > wrote: >> My networking hardware needs microcode loaded into it before it will >> function. What's the

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Jon Smirl
On Thu, Mar 26, 2009 at 11:10 AM, Jon Smirl wrote: > On Thu, Mar 26, 2009 at 11:06 AM, Jon Smirl wrote: >> On Thu, Mar 26, 2009 at 10:43 AM, Rafal Jaworowski wrote: >>> >>> On 2009-03-26, at 15:21, Jon Smirl wrote: >>> >>>> Libraries appear to be

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Jon Smirl
On Thu, Mar 26, 2009 at 11:06 AM, Jon Smirl wrote: > On Thu, Mar 26, 2009 at 10:43 AM, Rafal Jaworowski wrote: >> >> On 2009-03-26, at 15:21, Jon Smirl wrote: >> >>> Libraries appear to be the problem. A program that just returns is 100 >>> bytes, a

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Jon Smirl
On Thu, Mar 26, 2009 at 10:43 AM, Rafal Jaworowski wrote: > > On 2009-03-26, at 15:21, Jon Smirl wrote: > >> Libraries appear to be the problem. A program that just returns is 100 >> bytes, add a puts("hello world") and it is 65KB. >> >> I had expected

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Jon Smirl
On Thu, Mar 26, 2009 at 9:52 AM, Jerry Van Baren wrote: > Jon Smirl wrote: >> >> My networking hardware needs microcode loaded into it before it will >> function. What's the best method to load this code? It's 70KB. >> >> My current u-boot image i

[U-Boot] Size of external u-boot commands

2009-03-26 Thread Jon Smirl
ardware is 7KB. Now it looks like I will need to incorporate it into the main u-boot image instead of making it an external command. -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] mpc5200: do not use printf in i2c_init()

2009-03-25 Thread Jon Smirl
On Wed, Mar 25, 2009 at 5:51 PM, Wolfgang Denk wrote: > Fixed manually and applied. Thanks. I used stgit to smtp.gmail.com::587 for the initial patch. I wasn't thinking and used cut/paste to paste the last patch into a reply. These patches are at git.digispeaker.com if that is easier.

Re: [U-Boot] [PATCH v4] board support patch for phyCORE-MPC5200B-tiny

2009-03-25 Thread Jon Smirl
Is this one ok now? On Tue, Mar 24, 2009 at 11:56 AM, Jon Smirl wrote: > Add support for the Phytec phyCORE-MPC5200B-tiny. This code is from > Pengutronix.de but they > didn't sign the patch. > > Signed-off-by: Jon Smirl > > --- >  Makefile                      

Re: [U-Boot] [PATCH 2/3] mpc52xx phy: initialize only when needed

2009-03-25 Thread Jon Smirl
\n"); > @@ -937,8 +946,6 @@ int mpc5xxx_fec_initialize(bd_t * bis) >                mpc5xxx_fec_set_hwaddr(fec, env_enetaddr); >        } > > -       mpc5xxx_fec_init_phy(dev, bis); > - >        return 1; >  } > > > -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v4] board support patch for phyCORE-MPC5200B-tiny

2009-03-24 Thread Jon Smirl
Add support for the Phytec phyCORE-MPC5200B-tiny. This code is from Pengutronix.de but they didn't sign the patch. Signed-off-by: Jon Smirl --- Makefile| 10 + board/phytec/pcm030/Makefile| 50 board/phytec/pcm030/config.mk | 42 +++

Re: [U-Boot] [PATCH 2] board support patch for phyCORE-MPC5200B-tiny

2009-03-24 Thread Jon Smirl
On Mon, Mar 23, 2009 at 10:55 PM, Jon Smirl wrote: >>> +/* >>> + * Returns OPENIP register base address. First thing called in the driver. >>> + */ >>> +unsigned int board_video_init(void) >>> +{ >>> +     ulong dummy; >>> +     dummy

[U-Boot] [PATCH V3] board support patch for phyCORE-MPC5200B-tiny

2009-03-23 Thread Jon Smirl
Add support for the Phytec phyCORE-MPC5200B-tiny. This code is from Pengutronix.de but they didn't sign the patch. Signed-off-by: Jon Smirl --- Makefile| 10 + board/phytec/pcm030/Makefile| 50 board/phytec/pcm030/config.mk | 42 +++

Re: [U-Boot] [PATCH 2] board support patch for phyCORE-MPC5200B-tiny

2009-03-23 Thread Jon Smirl
rdware and I didn't write this code. I don't work for Phytec or Pengutronix; I'm just a customer. I needed some newer features from the current u-boot and I had to port Pengutronix's release of u-boot 1.2 up to current git head. I want to get this code included in u-boot so it

[U-Boot] [PATCH 2] board support patch for phyCORE-MPC5200B-tiny

2009-03-23 Thread Jon Smirl
Add support for the Phytec phyCORE-MPC5200B-tiny. This code is from Pengutronix.de but they didn't sign the patch. I have updated it from u-boot 1.2 to work on u-boot master. Edited to reflect feedback received. Signed-off-by: Jon Smirl --- Makefile| 10 +

Re: [U-Boot] [PATCH] board support patch for phyCORE-MPC5200B-tiny

2009-03-23 Thread Jon Smirl
On Mon, Mar 23, 2009 at 3:10 PM, Jon Smirl wrote: > > On Sat, Mar 21, 2009 at 4:32 PM, Wolfgang Denk wrote: > >> diff --git a/board/phycore_mpc5200b_tiny/u-boot.lds > >> b/board/phycore_mpc5200b_tiny/u-boot.lds > >> new file mode 100644 > >> index 000

Re: [U-Boot] [PATCH] board support patch for phyCORE-MPC5200B-tiny

2009-03-23 Thread Jon Smirl
0 boards > use a common script, and I don;t see a specific reason why you would > need to do different. How do I make it use the common one? -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] Make flash protection work, when the environment is in EEPROM

2009-03-22 Thread Jon Smirl
On Sun, Mar 22, 2009 at 6:59 PM, Sascha Hauer wrote: > Hi Wolgang, > > On Sat, Mar 21, 2009 at 09:24:05PM +0100, Wolfgang Denk wrote: >> Dear Jon Smirl, >> >> In message <9e4733910903211308v63878fabx19f3327371db5...@mail.gmail.com> you >> wrote: >>

Re: [U-Boot] [PATCH 3/3] mpc5200: make i2c faster

2009-03-22 Thread Jon Smirl
(®s->msr); while (timeout-- && !(*status & I2C_IF)) { - udelay(1000); + udelay(15); *status = mpc_reg_in(®s->msr); } -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] mpc5200: do not use printf in i2c_init()

2009-03-22 Thread Jon Smirl
On Sun, Mar 22, 2009 at 11:23 AM, Wolfgang Denk wrote: > Dear Jon Smirl, > > In message <9e4733910903220723u31546286q233c9b24b7a5...@mail.gmail.com> you > wrote: >> >> Would it be better to put the check for (gd->have_console)  into printf >> itself? >

Re: [U-Boot] [PATCH 1/3] mpc5200: do not use printf in i2c_init()

2009-03-22 Thread Jon Smirl
ch a macro definition violates some rules. > >> +#define printf(format, arg...) if (gd->have_console) printf(format, ## arg) > > There are only a few places in cpu/mpc5xxx/i2c.c where printf() is > used that we should explicitly code this, there. Would it be better to put the ch

Re: [U-Boot] [PATCH 3/3] mpc5200: make i2c faster

2009-03-22 Thread Jon Smirl
faster. The measured delay is 55us at 100Khz. Set the delay to 15us which should work for 400Khz. 100Khz will loop four times and get a 60us delay. Signed-off-by: Jon Smirl --- cpu/mpc5xxx/i2c.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cpu/mpc5xxx/i2c.c b/cpu/m

Re: [U-Boot] [PATCH 1/3] mpc5200: do not use printf in i2c_init()

2009-03-22 Thread Jon Smirl
On Sat, Mar 21, 2009 at 4:56 PM, Wolfgang Denk wrote: > Dear Jon Smirl, > > In message <9e4733910903211339u60f5531cp7a9574f2d1ba2...@mail.gmail.com> you > wrote: >> >> How about this instead?  Is there a variable that indicates when the >> console is safe

Re: [U-Boot] [PATCH 1/3] mpc5200: do not use printf in i2c_init()

2009-03-21 Thread Jon Smirl
ion ) > How about this instead? Is there a variable that indicates when the console is safe to use, if so I can adjust the macro. From: Jon Smirl On boards which have the environment in eeprom, i2c_init() is called before the console and ram is initialized. Do not printf here. Signed-off-

Re: [U-Boot] [PATCH] Make flash protection work, when the environment is in EEPROM

2009-03-21 Thread Jon Smirl
On Sat, Mar 21, 2009 at 4:24 PM, Wolfgang Denk wrote: > Dear Jon Smirl, > > In message <9e4733910903211308v63878fabx19f3327371db5...@mail.gmail.com> you > wrote: >> >> My guess is getenv() returns a pointer to the environment variable, >> not a copy o

Re: [U-Boot] [PATCH] Make flash protection work, when the environment is in EEPROM

2009-03-21 Thread Jon Smirl
bserving. > > > Best regards, > > Wolfgang Denk > > -- > DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...

[U-Boot] [PATCH] board support patch for phyCORE-MPC5200B-tiny

2009-03-21 Thread Jon Smirl
Add support for the Phytec phyCORE-MPC5200B-tiny. This code is from Pengutronix.de but they didn't sign the patch. I have updated it from u-boot 1.2 to work on u-boot master. Signed-off-by: Jon Smirl Signed-off-by: Jon Smirl --- Makefile |

[U-Boot] [PATCH] Add define for mpc5200 CDM_CLK_ENA

2009-03-21 Thread Jon Smirl
Add define for mpc5200 CDM_CLK_ENA Signed-off-by: Jon Smirl --- include/mpc5xxx.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/mpc5xxx.h b/include/mpc5xxx.h index 3a32821..6138d45 100644 --- a/include/mpc5xxx.h +++ b/include/mpc5xxx.h @@ -140,6 +140,7

Re: [U-Boot] Compiling api_examples/demo

2009-03-19 Thread Jon Smirl
On Thu, Mar 19, 2009 at 9:56 PM, Jon Smirl wrote: > What's the right way to compile api_examples/demo? CONFIG_API="y" is in include/autoconf.mk instead of CONFIG_API=y Getting rid of the quotes lets it compile. -- Jon Smirl jonsm...@gmail.com ___

[U-Boot] Compiling api_examples/demo

2009-03-19 Thread Jon Smirl
u-gcc: 0xFFF0: No such file or directory /opt/OSELAS.Toolchain-1.1.1/powerpc-603e-linux-gnu/gcc-4.1.2-glibc-2.5-kernel-2.6.18/lib/gcc/powerpc-603e-linux-gnu/4.1.2/../../../../powerpc-603e-linux-gnu/bin/as: option '-n' is ambiguous make: *** [api_examples/demo] Error 2 jonsm...@terra:/home/apps/u-

Re: [U-Boot] Mirror to github

2009-03-16 Thread Jon Smirl
On Mon, Mar 16, 2009 at 9:44 PM, Jerry Van Baren wrote: > Jon Smirl wrote: >> >> Six people have various modifications to u-boot hosted on github. >> These projects aren't linked to each other. >> >> I just talked to the github people. To fix this the mai

[U-Boot] Mirror to github

2009-03-16 Thread Jon Smirl
work on patches for u-boot. -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Fwd: [PATCH] MPC5200 FEC MII speed register

2009-03-13 Thread Jon Smirl
, Mar 11, 2009 at 3:08 PM Subject: [PATCH] MPC5200 FEC MII speed register To: u-boot@lists.denx.de From: Jon Smirl Set a non-zero speed in the MII register so that MII commands will work. Signed-off-by: Jon Smirl ---  drivers/net/mpc5xxx_fec.c |   23 ---  1 files change

Re: [U-Boot] [PATCH] MPC5200 FEC MII speed register

2009-03-12 Thread Jon Smirl
On Wed, Mar 11, 2009 at 3:08 PM, Jon wrote: > From: Jon Smirl Who's the maintainer for the mpc5200 core code? It isn't clear from the MAINTAINERS file. > Set a non-zero speed in the MII register so that MII commands will work. > > Signed-off-by: Jon Smirl > --- >

[U-Boot] CPU with USB host mode and a USB console

2009-03-12 Thread Jon Smirl
way. Can you chain two USB-serial converters together? That would let two USB host systems talk to each other. -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Dynamically sized CFI flash.

2009-03-11 Thread Jon Smirl
ate_flash_size(). But how is update_flash_size() going to know the size if it doesn't know where the flash starts? Don't I need this code that manipulate bootcs to determine the starting address of the flash? On Tue, Mar 10, 2009 at 8:45 PM, Jon Smirl wrote: > I'm porting support fo

[U-Boot] Dynamically sized CFI flash.

2009-03-10 Thread Jon Smirl
er than 32MiB */ bank_base[0] = 0x0u - (mb << 20); return 0; } -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] MII on mpc5200

2009-03-07 Thread Jon Smirl
d I haven't stumbled on to the right bits to reenable mii without also enabling everything else. Can someone familiar with the FEC tell me the right bits to poke? -- Jon Smirl jonsm...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot